From d17d2453740aa39e39f4ccb171cf83677bf4a324 Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Mon, 19 Aug 2024 12:08:48 +0100 Subject: [PATCH] allow values to be passed in secrets --- charts/budibase/templates/secrets.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/budibase/templates/secrets.yaml b/charts/budibase/templates/secrets.yaml index 861442acac..a44d2c0d9b 100644 --- a/charts/budibase/templates/secrets.yaml +++ b/charts/budibase/templates/secrets.yaml @@ -23,7 +23,7 @@ data: jwtSecret: {{ template "budibase.defaultsecret" .Values.globals.jwtSecret }} objectStoreAccess: {{ template "budibase.defaultsecret" .Values.services.objectStore.accessKey }} objectStoreSecret: {{ template "budibase.defaultsecret" .Values.services.objectStore.secretKey }} - bbEncryptionKey: {{ template "budibase.defaultsecret" "" }} - apiEncryptionKey: {{ template "budibase.defaultsecret" "" }} + bbEncryptionKey: {{ template "budibase.defaultsecret" .Values.globals.bbEncryptionKey }} + apiEncryptionKey: {{ template "budibase.defaultsecret" .Values.globals.apiEncryptionKey }} {{- end }} {{- end }}