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