44 lines
838 B
YAML
44 lines
838 B
YAML
image:
|
|
repository: postgres
|
|
pullPolicy: IfNotPresent
|
|
tag: "13.3"
|
|
|
|
strategy:
|
|
type: Recreate
|
|
|
|
|
|
service:
|
|
main:
|
|
enabled: true
|
|
ports:
|
|
main:
|
|
port: 5432
|
|
|
|
persistence:
|
|
db:
|
|
enabled: true
|
|
type: emptyDir
|
|
mountPath: "/var/lib/postgresql/data"
|
|
dbbackups:
|
|
enabled: true
|
|
type: emptyDir
|
|
|
|
|
|
postgresqlPassword: "testpass"
|
|
postgresqlUsername: "test"
|
|
postgresqlDatabase: "test"
|
|
# existingSecret: ""
|
|
|
|
|
|
envValueFrom:
|
|
POSTGRES_PASSWORD:
|
|
secretKeyRef:
|
|
name: '{{ .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 }}"
|