TrueChartsClone/charts/stable/postgresql/values.yaml

51 lines
1.0 KiB
YAML
Raw Normal View History

image:
repository: postgres
pullPolicy: IfNotPresent
tag: "13.4"
strategy:
type: Recreate
service:
main:
enabled: true
ports:
main:
port: 5432
## TODO: Fix the backup-on-upgrade system
enableUpgradeBackup: false
persistence:
2021-08-13 21:43:13 +00:00
db:
enabled: true
2021-08-13 21:43:13 +00:00
mountPath: "/var/lib/postgresql/data"
type: pvc
accessMode: ReadWriteOnce
size: "100Gi"
2021-08-13 21:43:13 +00:00
dbbackups:
enabled: true
mountPath: "/dbbackups"
type: pvc
accessMode: ReadWriteOnce
size: "100Gi"
postgresqlPassword: "testpass"
postgresqlUsername: "test"
postgresqlDatabase: "test"
2021-08-27 14:50:19 +00:00
existingSecret: ""
envValueFrom:
POSTGRES_PASSWORD:
secretKeyRef:
2021-08-27 14:50:19 +00:00
name: '{{ ( tpl .Values.existingSecret $ ) | default ( include "common.names.fullname" . ) }}'
key: "postgresql-password"
envTpl:
POSTGRES_USER: "{{ .Values.postgresqlUsername }}"
POSTGRES_DB: "{{ .Values.postgresqlDatabase }}"
# POSTGRESQL_POSTGRES_PASSWORD: "{{ .Values.postgrespassword }}"
# POSTGRESQL_PASSWORD: "{{ .Values.password }}"