From 1444e3f930aa3acb72c26ceadfc4e436f3ef3fd4 Mon Sep 17 00:00:00 2001 From: michaeljguarino Date: Sat, 24 Aug 2024 12:02:06 -0400 Subject: [PATCH] stabilize secret key base (#1348) --- plural/helm/plural/Chart.yaml | 2 +- plural/helm/plural/templates/secrets.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plural/helm/plural/Chart.yaml b/plural/helm/plural/Chart.yaml index c34990d6c..cc55a305f 100644 --- a/plural/helm/plural/Chart.yaml +++ b/plural/helm/plural/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: plural description: A helm chart for installing plural appVersion: 0.11.8 -version: 0.10.99 +version: 0.10.100 dependencies: - name: hydra version: 0.26.5 diff --git a/plural/helm/plural/templates/secrets.yaml b/plural/helm/plural/templates/secrets.yaml index 78935a8fc..a0c017c1c 100644 --- a/plural/helm/plural/templates/secrets.yaml +++ b/plural/helm/plural/templates/secrets.yaml @@ -11,7 +11,7 @@ data: BUCKET: {{ .Values.api.bucket | b64enc | quote }} DKR_DNS: {{ .Values.ingress.dkr_dns | b64enc | quote }} JWT_SECRET: {{ .Values.secrets.jwt | b64enc | quote }} - SECRET_KEY_BASE: {{ randAlphaNum 10 | b64enc | quote }} + SECRET_KEY_BASE: {{ .Values.secrets.key_base | default (randAlphaNum 24) | b64enc | quote }} ERLANG_COOKIE: {{ .Values.secrets.erlang | b64enc | quote }} JWT_PRIVATE_KEY: {{ .Values.secrets.jwt_pk | b64enc | quote }} JWT_CERT: {{ .Values.secrets.jwt_cert | b64enc | quote }}