46 lines
1.0 KiB
YAML
46 lines
1.0 KiB
YAML
image:
|
|
repository: bitnami/postgresql
|
|
pullPolicy: IfNotPresent
|
|
tag: 14.0.0@sha256:6737f46e3ffebbf384e9f4024120844dae9b270454954243dbf98cca41b3e17c
|
|
|
|
securityContext:
|
|
readOnlyRootFilesystem: false
|
|
|
|
service:
|
|
main:
|
|
enabled: true
|
|
ports:
|
|
main:
|
|
port: 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 }}"
|