From 5f1e0a0b365f6a12affe39276504add2c1bc5d7f Mon Sep 17 00:00:00 2001 From: Iain Sproat <68657+iainsproat@users.noreply.github.com> Date: Tue, 26 Nov 2024 17:07:11 +0000 Subject: [PATCH] fix(helm chart): allow service account access to gendo secret (#3560) --- .../helm/speckle-server/templates/objects/serviceaccount.yml | 3 +++ utils/helm/speckle-server/templates/server/serviceaccount.yml | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/utils/helm/speckle-server/templates/objects/serviceaccount.yml b/utils/helm/speckle-server/templates/objects/serviceaccount.yml index 7a23a3a130..8114ca7feb 100644 --- a/utils/helm/speckle-server/templates/objects/serviceaccount.yml +++ b/utils/helm/speckle-server/templates/objects/serviceaccount.yml @@ -41,4 +41,7 @@ secrets: {{- if .Values.featureFlags.workspacesMultiRegionEnabled }} - name: {{ default .Values.secretName .Values.multiRegion.config.secretName }} {{- end }} +{{- if .Values.featureFlags.gendoAIModuleEnabled }} + - name: {{ default .Values.secretName .Values.server.gendoAI.key.secretName }} +{{- end }} {{- end -}} diff --git a/utils/helm/speckle-server/templates/server/serviceaccount.yml b/utils/helm/speckle-server/templates/server/serviceaccount.yml index a4dc4805cd..7b762a3da5 100644 --- a/utils/helm/speckle-server/templates/server/serviceaccount.yml +++ b/utils/helm/speckle-server/templates/server/serviceaccount.yml @@ -41,5 +41,7 @@ secrets: {{- if .Values.featureFlags.workspacesMultiRegionEnabled }} - name: {{ default .Values.secretName .Values.multiRegion.config.secretName }} {{- end }} - +{{- if .Values.featureFlags.gendoAIModuleEnabled }} + - name: {{ default .Values.secretName .Values.server.gendoAI.key.secretName }} +{{- end }} {{- end -}}