helm: expose backup settings through helm chart

This commit is contained in:
Jens Langhammer 2020-05-16 14:17:43 +02:00
parent 615cd7870d
commit b23afcfc3b
2 changed files with 14 additions and 0 deletions

View File

@ -8,6 +8,13 @@ data:
host: "{{ .Release.Name }}-postgresql" host: "{{ .Release.Name }}-postgresql"
name: "{{ .Values.postgresql.postgresqlDatabase }}" name: "{{ .Values.postgresql.postgresqlDatabase }}"
user: postgres user: postgres
{{- if .Values.backup }}
backup:
access_key: "{{ .Values.backup.access_key }}"
secret_key: "{{ .Values.backup.secret_key }}"
bucket: "{{ .Values.backup.bucket }}"
host: "{{ .Values.backup.host }}"
{{- end}}
redis: redis:
host: "{{ .Release.Name }}-redis-master" host: "{{ .Release.Name }}-redis-master"
cache_db: 0 cache_db: 0

View File

@ -19,6 +19,13 @@ config:
monitoring: monitoring:
enabled: false enabled: false
# Enable Database Backups to S3
# backup:
# access_key: access-key
# secret_key: secret-key
# bucket: s3-bucket
# host: s3-host
ingress: ingress:
enabled: false enabled: false
annotations: {} annotations: {}