From 920736fc777eab9fec077e3d2d4bc5cdd75cecc8 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 17 Jan 2021 23:02:14 +0100 Subject: [PATCH] helm: fix s3 secret key and email password not being base64 encoded --- helm/templates/secret.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helm/templates/secret.yaml b/helm/templates/secret.yaml index abb8ae59b..b972b0bf4 100644 --- a/helm/templates/secret.yaml +++ b/helm/templates/secret.yaml @@ -11,6 +11,6 @@ data: SECRET_KEY: {{ randAlphaNum 50 | b64enc | quote}} {{- end }} {{- if .Values.backup }} - POSTGRESQL__S3_BACKUP__SECRET_KEY: "{{ .Values.backup.secretKey }}" + POSTGRESQL__S3_BACKUP__SECRET_KEY: "{{ .Values.backup.secretKey | b64enc }}" {{- end}} - EMAIL__PASSWORD: "{{ .Values.config.email.password }}" + EMAIL__PASSWORD: "{{ .Values.config.email.password | b64enc }}"