49 lines
942 B
YAML
49 lines
942 B
YAML
image:
|
|
repository: tccr.io/truecharts/babybuddy
|
|
pullPolicy: IfNotPresent
|
|
tag: v1.11.0@sha256:45733fc8bb55e840ca42e7648fb715931e199049c094d6fb280f1e8e0ebd0880
|
|
|
|
env:
|
|
DB_ENGINE: "django.db.backends.postgresql"
|
|
DB_NAME: "{{ .Values.postgresql.postgresqlDatabase }}"
|
|
DB_USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
|
DB_PORT: "5432"
|
|
|
|
envValueFrom:
|
|
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
|