diff --git a/helm/resident-ui/templates/deployment.yaml b/helm/resident-ui/templates/deployment.yaml index 9855b858..54f0d0d2 100644 --- a/helm/resident-ui/templates/deployment.yaml +++ b/helm/resident-ui/templates/deployment.yaml @@ -105,8 +105,10 @@ spec: {{- end }} {{- end }} {{- if .Values.extraEnvVarsSecret }} + {{- range .Values.extraEnvVarsSecret }} - secretRef: - name: {{ include "common.tplvalues.render" (dict "value" .Values.extraEnvVarsSecret "context" $) }} + name: {{ . }} + {{- end }} {{- end }} volumeMounts: - name: ui-config diff --git a/helm/resident-ui/values.yaml b/helm/resident-ui/values.yaml index 198bad06..f8e0dc72 100644 --- a/helm/resident-ui/values.yaml +++ b/helm/resident-ui/values.yaml @@ -248,7 +248,7 @@ extraEnvVarsCM: ## Secret with extra environment variables ## -extraEnvVarsSecret: +extraEnvVarsSecret: [] ## Extra volumes to add to the deployment ##