2023-08-01 09:25:32 +00:00
|
|
|
image:
|
2023-12-03 22:39:13 +00:00
|
|
|
repository: ghcr.io/linuxserver/babybuddy
|
2023-08-01 09:25:32 +00:00
|
|
|
pullPolicy: IfNotPresent
|
2023-12-03 22:39:13 +00:00
|
|
|
tag: 2.1.2@sha256:316fe49a356ee2ff5e5a670ce17968089c6ef35cc71426c242801e579b196cca
|
2023-08-01 09:25:32 +00:00
|
|
|
securityContext:
|
|
|
|
container:
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
runAsNonRoot: false
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
2023-12-03 22:39:13 +00:00
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
port: 10069
|
|
|
|
protocol: http
|
|
|
|
targetPort: 8000
|
2023-08-01 09:25:32 +00:00
|
|
|
workload:
|
|
|
|
main:
|
|
|
|
podSpec:
|
|
|
|
containers:
|
|
|
|
main:
|
|
|
|
env:
|
2023-12-03 22:39:13 +00:00
|
|
|
DB_ENGINE: "django.db.backends.postgresql"
|
|
|
|
DB_NAME: "{{ .Values.cnpg.main.database }}"
|
2023-08-01 09:25:32 +00:00
|
|
|
DB_USER: "{{ .Values.cnpg.main.user }}"
|
2023-12-03 22:39:13 +00:00
|
|
|
DB_PORT: "5432"
|
|
|
|
CSRF_TRUSTED_ORIGINS: ""
|
2023-08-01 09:25:32 +00:00
|
|
|
DB_PASSWORD:
|
|
|
|
secretKeyRef:
|
|
|
|
name: cnpg-main-user
|
|
|
|
key: password
|
2023-12-03 22:39:13 +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
|