47 lines
1.0 KiB
YAML
47 lines
1.0 KiB
YAML
image:
|
|
repository: bitnami/postgresql
|
|
pullPolicy: IfNotPresent
|
|
tag: 14.0.0@sha256:a95e5588c9f716bfc716b090f3cea41cbefb0d2c6e1c3c6de5514a5c2d1ce416
|
|
|
|
securityContext:
|
|
readOnlyRootFilesystem: false
|
|
|
|
service:
|
|
main:
|
|
enabled: true
|
|
ports:
|
|
main:
|
|
port: 5432
|
|
targetPort: 5432
|
|
|
|
## TODO: Fix the backup-on-upgrade system
|
|
enableUpgradeBackup: false
|
|
|
|
podSecurityContext:
|
|
runAsGroup: 0
|
|
|
|
persistence:
|
|
db:
|
|
enabled: true
|
|
mountPath: "/bitnami/postgresql"
|
|
type: pvc
|
|
accessMode: ReadWriteOnce
|
|
size: "999Gi"
|
|
|
|
postgresqlPassword: "testpass"
|
|
postgresqlUsername: "test"
|
|
postgresqlDatabase: "test"
|
|
existingSecret: ""
|
|
|
|
envValueFrom:
|
|
POSTGRES_PASSWORD:
|
|
secretKeyRef:
|
|
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 }}"
|