2022-08-28 05:57:58 -04:00
|
|
|
image:
|
|
|
|
repository: tccr.io/truecharts/inventree
|
2022-10-25 02:26:14 -04:00
|
|
|
tag: 0.8.4@sha256:57888f289eb9b2f03c141842eec5ae3946df1176ddcde4810c70307df8429edd
|
2022-08-28 05:57:58 -04:00
|
|
|
pullPolicy: IfNotPresent
|
|
|
|
|
|
|
|
nginxImage:
|
|
|
|
repository: tccr.io/truecharts/nginx
|
2022-10-28 05:18:42 -04:00
|
|
|
tag: 1.23.2@sha256:4fcc18dd9432aa527f5ce55cca0045a1b94d6229a56671b8b6a902f0dbaa74fd
|
2022-09-03 04:20:37 -04:00
|
|
|
pullPolicy: IfNotPresent
|
2022-08-28 05:57:58 -04:00
|
|
|
|
|
|
|
securityContext:
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
runAsNonRoot: false
|
|
|
|
# https://github.com/inventree/InvenTree/pull/3096
|
|
|
|
podSecurityContext:
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
|
|
|
|
|
|
|
envFrom:
|
|
|
|
- secretRef:
|
|
|
|
name: '{{ include "tc.common.names.fullname" . }}-inventree-secret'
|
|
|
|
- configMapRef:
|
|
|
|
name: '{{ include "tc.common.names.fullname" . }}-inventree-config'
|
|
|
|
|
|
|
|
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: ""
|
|
|
|
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
port: 10231
|
|
|
|
|
|
|
|
persistence:
|
|
|
|
data:
|
|
|
|
enabled: true
|
|
|
|
mountPath: "/home/inventree/data"
|
|
|
|
inventree-nginx:
|
2022-09-03 04:20:37 -04:00
|
|
|
enabled: true
|
2022-08-28 05:57:58 -04:00
|
|
|
noMount: true
|
2022-09-03 05:02:40 -04: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-08-28 05:57:58 -04:00
|
|
|
|
|
|
|
postgresql:
|
|
|
|
enabled: true
|
|
|
|
existingSecret: "dbcreds"
|
|
|
|
postgresqlUsername: inventree
|
|
|
|
postgresqlDatabase: inventree
|
|
|
|
|
|
|
|
redis:
|
|
|
|
enabled: true
|
|
|
|
existingSecret: "rediscreds"
|
|
|
|
redisUsername: default
|
|
|
|
|
|
|
|
portal:
|
|
|
|
enabled: true
|