2022-04-28 20:00:02 +00:00
|
|
|
image:
|
2022-05-07 21:59:53 +00:00
|
|
|
repository: tccr.io/truecharts/inventree
|
2022-08-28 10:39:51 +00:00
|
|
|
tag: 0.8.2@sha256:6e25164df98d08f0539941599a35fb3c6d043181a7b8847f47c1eba981877d74
|
2022-04-28 20:00:02 +00:00
|
|
|
pullPolicy: IfNotPresent
|
|
|
|
|
2022-05-06 09:30:47 +00:00
|
|
|
nginxImage:
|
|
|
|
repository: tccr.io/truecharts/nginx
|
2022-09-15 15:42:23 +00:00
|
|
|
tag: v1.23.1@sha256:751dcda748469474cf4f0c8f404671d6d0e6b39f26d92196aa9312d9633b5f7b
|
2022-09-03 08:01:51 +00:00
|
|
|
pullPolicy: IfNotPresent
|
2022-04-28 20:00:02 +00:00
|
|
|
|
|
|
|
securityContext:
|
|
|
|
readOnlyRootFilesystem: false
|
2022-08-28 09:50:32 +00:00
|
|
|
runAsNonRoot: false
|
|
|
|
# https://github.com/inventree/InvenTree/pull/3096
|
2022-04-28 20:00:02 +00:00
|
|
|
podSecurityContext:
|
2022-08-28 09:50:32 +00:00
|
|
|
runAsUser: 0
|
2022-05-06 09:30:47 +00:00
|
|
|
runAsGroup: 0
|
2022-04-28 20:00:02 +00:00
|
|
|
|
2022-08-28 09:50:32 +00:00
|
|
|
envFrom:
|
|
|
|
- secretRef:
|
|
|
|
name: '{{ include "tc.common.names.fullname" . }}-inventree-secret'
|
|
|
|
- configMapRef:
|
|
|
|
name: '{{ include "tc.common.names.fullname" . }}-inventree-config'
|
2022-06-07 17:41:19 +00:00
|
|
|
|
2022-08-28 09:50:32 +00:00
|
|
|
inventree:
|
|
|
|
credentials:
|
|
|
|
admin_mail: "test@example.com"
|
|
|
|
admin_user: "testuser"
|
|
|
|
admin_password: "secret"
|
|
|
|
general:
|
|
|
|
debug: false
|
|
|
|
log_level: "INFO"
|
|
|
|
plugins_enabled: false
|
|
|
|
login_confirm_days: 3
|
|
|
|
login_attempts: 5
|
|
|
|
mail:
|
|
|
|
backend: "django.core.mail.backends.smtp.EmailBackend"
|
|
|
|
host: ""
|
|
|
|
port: 587
|
|
|
|
username: ""
|
|
|
|
password: ""
|
|
|
|
tls: false
|
|
|
|
ssl: false
|
|
|
|
sender: ""
|
2022-04-28 20:00:02 +00:00
|
|
|
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
port: 10231
|
|
|
|
|
|
|
|
persistence:
|
|
|
|
data:
|
|
|
|
enabled: true
|
|
|
|
mountPath: "/home/inventree/data"
|
2022-08-28 09:50:32 +00:00
|
|
|
inventree-nginx:
|
2022-09-03 08:01:51 +00:00
|
|
|
enabled: true
|
2022-08-28 09:50:32 +00:00
|
|
|
noMount: true
|
2022-09-03 08:41:23 +00:00
|
|
|
type: custom
|
|
|
|
mountPath: "/etc/nginx/conf.d"
|
|
|
|
volumeSpec:
|
|
|
|
configMap:
|
|
|
|
name: '{{ include "tc.common.names.fullname" . }}-inventree-config-nginx'
|
|
|
|
items:
|
|
|
|
- key: nginx.conf
|
|
|
|
path: default.conf
|
2022-04-28 20:00:02 +00:00
|
|
|
|
|
|
|
postgresql:
|
|
|
|
enabled: true
|
|
|
|
existingSecret: "dbcreds"
|
|
|
|
postgresqlUsername: inventree
|
|
|
|
postgresqlDatabase: inventree
|
2022-07-19 09:06:34 +00:00
|
|
|
|
|
|
|
redis:
|
|
|
|
enabled: true
|
|
|
|
existingSecret: "rediscreds"
|
2022-08-28 09:50:32 +00:00
|
|
|
redisUsername: default
|
2022-08-08 21:25:02 +00:00
|
|
|
|
|
|
|
portal:
|
|
|
|
enabled: true
|