From b23afcfc3bc9d179a5161b391b70a8a703d69b09 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sat, 16 May 2020 14:17:43 +0200 Subject: [PATCH] helm: expose backup settings through helm chart --- helm/templates/configmap.yaml | 7 +++++++ helm/values.yaml | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/helm/templates/configmap.yaml b/helm/templates/configmap.yaml index d4084b1fe..aab03823d 100644 --- a/helm/templates/configmap.yaml +++ b/helm/templates/configmap.yaml @@ -8,6 +8,13 @@ data: host: "{{ .Release.Name }}-postgresql" name: "{{ .Values.postgresql.postgresqlDatabase }}" 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: host: "{{ .Release.Name }}-redis-master" cache_db: 0 diff --git a/helm/values.yaml b/helm/values.yaml index f3edc5a87..e568c68b8 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -19,6 +19,13 @@ config: monitoring: enabled: false +# Enable Database Backups to S3 +# backup: +# access_key: access-key +# secret_key: secret-key +# bucket: s3-bucket +# host: s3-host + ingress: enabled: false annotations: {}