2023-04-11 10:15:00 +00:00
|
|
|
image:
|
2023-04-16 20:41:22 +00:00
|
|
|
repository: tccr.io/truecharts/babybuddy
|
2023-04-11 10:15:00 +00:00
|
|
|
pullPolicy: IfNotPresent
|
2023-04-16 20:41:22 +00:00
|
|
|
tag: 1.15.0@sha256:8a692204e529c12755e5fdc3f641a113c1ee1d3d33d197b8112edcad7ed0bb36
|
2023-04-11 10:15:00 +00:00
|
|
|
|
|
|
|
securityContext:
|
|
|
|
container:
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
runAsNonRoot: false
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
2023-04-16 20:41:22 +00:00
|
|
|
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
port: 10069
|
|
|
|
protocol: http
|
|
|
|
targetPort: 8000
|
|
|
|
|
2023-04-11 10:15:00 +00:00
|
|
|
workload:
|
|
|
|
main:
|
|
|
|
podSpec:
|
|
|
|
containers:
|
|
|
|
main:
|
|
|
|
env:
|
2023-04-16 20:41:22 +00:00
|
|
|
DB_ENGINE: "django.db.backends.postgresql"
|
|
|
|
DB_NAME: "{{ .Values.cnpg.main.database }}"
|
2023-04-11 10:15:00 +00:00
|
|
|
DB_USER: "{{ .Values.cnpg.main.user }}"
|
2023-04-16 20:41:22 +00:00
|
|
|
DB_PORT: "5432"
|
|
|
|
CSRF_TRUSTED_ORIGINS: ""
|
2023-04-11 10:15:00 +00:00
|
|
|
DB_PASSWORD:
|
|
|
|
secretKeyRef:
|
|
|
|
name: cnpg-main-user
|
|
|
|
key: password
|
2023-04-16 20:41:22 +00:00
|
|
|
DB_HOST:
|
|
|
|
secretKeyRef:
|
|
|
|
name: cnpg-main-urls
|
|
|
|
key: host
|
|
|
|
|
|
|
|
persistence:
|
|
|
|
config:
|
|
|
|
enabled: true
|
|
|
|
mountPath: /config
|
|
|
|
|
|
|
|
cnpg:
|
|
|
|
main:
|
|
|
|
enabled: true
|
|
|
|
user: babybuddy
|
|
|
|
database: babybuddy
|
|
|
|
|
|
|
|
portal:
|
|
|
|
open:
|
|
|
|
enabled: true
|