2021-08-12 07:55:45 -04:00
|
|
|
image:
|
2021-09-11 14:58:37 -04:00
|
|
|
repository: bitnami/postgresql
|
2021-08-12 07:55:45 -04:00
|
|
|
pullPolicy: IfNotPresent
|
2021-10-26 10:28:32 -04:00
|
|
|
tag: 14.0.0@sha256:3076561d591ccd3a3629851997bef40a92eee9e7686de33b586efc8d35e7d9ca
|
2021-08-12 07:55:45 -04:00
|
|
|
|
2021-09-26 14:05:21 -04:00
|
|
|
securityContext:
|
|
|
|
readOnlyRootFilesystem: false
|
2021-08-12 07:55:45 -04:00
|
|
|
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
enabled: true
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
port: 5432
|
|
|
|
|
2021-08-17 05:52:34 -04:00
|
|
|
## TODO: Fix the backup-on-upgrade system
|
|
|
|
enableUpgradeBackup: false
|
|
|
|
|
2021-09-11 14:58:37 -04:00
|
|
|
podSecurityContext:
|
|
|
|
runAsGroup: 0
|
|
|
|
|
2021-08-12 07:55:45 -04:00
|
|
|
persistence:
|
2021-08-13 17:43:13 -04:00
|
|
|
db:
|
2021-08-12 07:55:45 -04:00
|
|
|
enabled: true
|
2021-10-26 05:04:33 -04:00
|
|
|
mountPath: "/bitnami/postgresql"
|
2021-09-11 14:58:37 -04:00
|
|
|
type: pvc
|
|
|
|
accessMode: ReadWriteOnce
|
|
|
|
size: "999Gi"
|
2021-08-12 07:55:45 -04:00
|
|
|
|
|
|
|
postgresqlPassword: "testpass"
|
|
|
|
postgresqlUsername: "test"
|
|
|
|
postgresqlDatabase: "test"
|
2021-10-09 19:20:01 -04:00
|
|
|
existingSecret: ""
|
2021-08-12 07:55:45 -04:00
|
|
|
|
|
|
|
envValueFrom:
|
|
|
|
POSTGRES_PASSWORD:
|
|
|
|
secretKeyRef:
|
2021-08-27 10:50:19 -04:00
|
|
|
name: '{{ ( tpl .Values.existingSecret $ ) | default ( include "common.names.fullname" . ) }}'
|
2021-08-12 07:55:45 -04:00
|
|
|
key: "postgresql-password"
|
|
|
|
|
|
|
|
envTpl:
|
|
|
|
POSTGRES_USER: "{{ .Values.postgresqlUsername }}"
|
|
|
|
POSTGRES_DB: "{{ .Values.postgresqlDatabase }}"
|
|
|
|
# POSTGRESQL_POSTGRES_PASSWORD: "{{ .Values.postgrespassword }}"
|
|
|
|
# POSTGRESQL_PASSWORD: "{{ .Values.password }}"
|