51 lines
978 B
YAML
51 lines
978 B
YAML
|
image:
|
||
|
repository: tccr.io/truecharts/babybuddy
|
||
|
pullPolicy: IfNotPresent
|
||
|
tag: 1.13.2@sha256:6ed7a38260fa25213db105a2c42bfae343815dc74bd3a1e0e8a5cf1f032dd400
|
||
|
|
||
|
env:
|
||
|
DB_ENGINE: "django.db.backends.postgresql"
|
||
|
DB_NAME: "{{ .Values.postgresql.postgresqlDatabase }}"
|
||
|
DB_USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
||
|
DB_PORT: "5432"
|
||
|
CSRF_TRUSTED_ORIGINS: ""
|
||
|
DB_PASSWORD:
|
||
|
secretKeyRef:
|
||
|
name: dbcreds
|
||
|
key: postgresql-password
|
||
|
DB_HOST:
|
||
|
secretKeyRef:
|
||
|
name: dbcreds
|
||
|
key: plainhost
|
||
|
|
||
|
securityContext:
|
||
|
readOnlyRootFilesystem: false
|
||
|
runAsNonRoot: false
|
||
|
|
||
|
podSecurityContext:
|
||
|
runAsUser: 0
|
||
|
runAsGroup: 0
|
||
|
|
||
|
service:
|
||
|
main:
|
||
|
ports:
|
||
|
main:
|
||
|
port: 10069
|
||
|
targetPort: 8000
|
||
|
|
||
|
persistence:
|
||
|
config:
|
||
|
enabled: true
|
||
|
mountPath: "/config"
|
||
|
varrun:
|
||
|
enabled: true
|
||
|
|
||
|
postgresql:
|
||
|
enabled: true
|
||
|
existingSecret: "dbcreds"
|
||
|
postgresqlUsername: babybuddy
|
||
|
postgresqlDatabase: babybuddy
|
||
|
|
||
|
portal:
|
||
|
enabled: true
|