2021-10-19 12:20:06 +00:00
|
|
|
image:
|
2021-12-03 12:02:44 +00:00
|
|
|
repository: tccr.io/truecharts/babybuddy
|
2021-10-19 12:20:06 +00:00
|
|
|
pullPolicy: IfNotPresent
|
2022-07-25 18:36:51 +00:00
|
|
|
tag: v1.11.2@sha256:db4258115b64aefeae71308b50e2176bbcdb9795bf3cc1248adf53117744dd5b
|
2021-10-19 12:20:06 +00:00
|
|
|
|
2021-12-19 22:53:28 +00:00
|
|
|
env:
|
2021-10-19 12:20:06 +00:00
|
|
|
DB_ENGINE: "django.db.backends.postgresql"
|
|
|
|
DB_NAME: "{{ .Values.postgresql.postgresqlDatabase }}"
|
|
|
|
DB_USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
|
|
|
DB_PORT: "5432"
|
2022-06-17 08:24:54 +00:00
|
|
|
CSRF_TRUSTED_ORIGINS: ""
|
2021-10-19 12:20:06 +00:00
|
|
|
DB_PASSWORD:
|
|
|
|
secretKeyRef:
|
|
|
|
name: dbcreds
|
|
|
|
key: postgresql-password
|
|
|
|
DB_HOST:
|
|
|
|
secretKeyRef:
|
|
|
|
name: dbcreds
|
|
|
|
key: plainhost
|
|
|
|
|
|
|
|
securityContext:
|
2022-04-18 06:29:33 +00:00
|
|
|
readOnlyRootFilesystem: false
|
2021-10-19 12:20:06 +00:00
|
|
|
runAsNonRoot: false
|
|
|
|
|
|
|
|
podSecurityContext:
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
|
|
|
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
2021-11-28 09:26:31 +00:00
|
|
|
port: 10069
|
2021-11-06 21:55:18 +00:00
|
|
|
targetPort: 8000
|
2021-10-19 12:20:06 +00:00
|
|
|
|
|
|
|
persistence:
|
|
|
|
config:
|
|
|
|
enabled: true
|
2021-11-14 19:19:16 +00:00
|
|
|
mountPath: "/config"
|
2021-10-19 12:20:06 +00:00
|
|
|
varrun:
|
|
|
|
enabled: true
|
|
|
|
|
|
|
|
postgresql:
|
|
|
|
enabled: true
|
|
|
|
existingSecret: "dbcreds"
|
|
|
|
postgresqlUsername: babybuddy
|
|
|
|
postgresqlDatabase: babybuddy
|