diff --git a/helm/admin-hotlist/templates/deployment.yaml b/helm/admin-hotlist/templates/deployment.yaml index ee278401891..05d30d9c212 100644 --- a/helm/admin-hotlist/templates/deployment.yaml +++ b/helm/admin-hotlist/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 }} ports: - name: spring-service diff --git a/helm/admin-hotlist/values.yaml b/helm/admin-hotlist/values.yaml index 2fecbb29760..e7bb46d4f91 100644 --- a/helm/admin-hotlist/values.yaml +++ b/helm/admin-hotlist/values.yaml @@ -251,7 +251,7 @@ extraEnvVarsCM: ## Secret with extra environment variables ## -extraEnvVarsSecret: +extraEnvVarsSecret: [] ## Extra volumes to add to the deployment ## diff --git a/helm/admin-service/templates/deployment.yaml b/helm/admin-service/templates/deployment.yaml index 8477d8fd1bd..dca2ff68cb2 100644 --- a/helm/admin-service/templates/deployment.yaml +++ b/helm/admin-service/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 }} ports: - name: spring-service diff --git a/helm/admin-service/values.yaml b/helm/admin-service/values.yaml index 844f3b8ef7b..2aaedca23de 100644 --- a/helm/admin-service/values.yaml +++ b/helm/admin-service/values.yaml @@ -251,7 +251,7 @@ extraEnvVarsCM: ## Secret with extra environment variables ## -extraEnvVarsSecret: +extraEnvVarsSecret: [] ## Extra volumes to add to the deployment ## diff --git a/helm/masterdata/templates/deployment.yaml b/helm/masterdata/templates/deployment.yaml index 4e79ff24cd2..3400f57c5e0 100644 --- a/helm/masterdata/templates/deployment.yaml +++ b/helm/masterdata/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 }} ports: - name: spring-service diff --git a/helm/masterdata/values.yaml b/helm/masterdata/values.yaml index a50095e4b0a..a47266a0efd 100644 --- a/helm/masterdata/values.yaml +++ b/helm/masterdata/values.yaml @@ -251,7 +251,7 @@ extraEnvVarsCM: ## Secret with extra environment variables ## -extraEnvVarsSecret: +extraEnvVarsSecret: [] ## Extra volumes to add to the deployment ## diff --git a/helm/syncdata/templates/deployment.yaml b/helm/syncdata/templates/deployment.yaml index 81d572d67d2..655206af110 100644 --- a/helm/syncdata/templates/deployment.yaml +++ b/helm/syncdata/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 }} ports: - name: spring-service diff --git a/helm/syncdata/values.yaml b/helm/syncdata/values.yaml index fae5461fd55..56579221b9f 100644 --- a/helm/syncdata/values.yaml +++ b/helm/syncdata/values.yaml @@ -251,7 +251,7 @@ extraEnvVarsCM: ## Secret with extra environment variables ## -extraEnvVarsSecret: +extraEnvVarsSecret: [] ## Extra volumes to add to the deployment ##