47 lines
1.0 KiB
YAML
47 lines
1.0 KiB
YAML
image:
|
|
repository: bitnami/postgresql
|
|
pullPolicy: IfNotPresent
|
|
tag: 14.0.0@sha256:3e0b927bcc0a09956a4ea91bc90683c1ba198d2d2cf18797e8912ff2c9a9b37d
|
|
|
|
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 }}"
|