diff --git a/helm/admin-ui/templates/deployment.yaml b/helm/admin-ui/templates/deployment.yaml index 3e2e2054..22838e00 100644 --- a/helm/admin-ui/templates/deployment.yaml +++ b/helm/admin-ui/templates/deployment.yaml @@ -104,8 +104,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: conf-file diff --git a/helm/admin-ui/values.yaml b/helm/admin-ui/values.yaml index 1e412fe3..767506ce 100644 --- a/helm/admin-ui/values.yaml +++ b/helm/admin-ui/values.yaml @@ -252,7 +252,7 @@ extraEnvVarsCM: ## Secret with extra environment variables ## -extraEnvVarsSecret: +extraEnvVarsSecret: [] ## Extra volumes to add to the deployment ##