diff --git a/docker/kubernetes/helm/templates/worker/deployment.yaml b/docker/kubernetes/helm/templates/worker/deployment.yaml index 02236493430..c4fc5270131 100644 --- a/docker/kubernetes/helm/templates/worker/deployment.yaml +++ b/docker/kubernetes/helm/templates/worker/deployment.yaml @@ -149,8 +149,8 @@ spec: secretKeyRef: name: {{ if .Values.existingSecret -}} {{ .Values.existingSecret }} {{- else -}} {{ include "common.names.fullname" . }} {{- end }} key: store-encryption-key - {{- if .Values.api.extraEnvVars }} - {{- include "common.tplvalues.render" (dict "value" .Values.api.extraEnvVars "context" $) | nindent 12 }} + {{- if .Values.worker.extraEnvVars }} + {{- include "common.tplvalues.render" (dict "value" .Values.worker.extraEnvVars "context" $) | nindent 12 }} {{- end }} envFrom: {{- if .Values.worker.extraEnvVarsCM }} diff --git a/docker/kubernetes/helm/templates/ws/deployment.yaml b/docker/kubernetes/helm/templates/ws/deployment.yaml index 572d158be58..41a4c35c24f 100644 --- a/docker/kubernetes/helm/templates/ws/deployment.yaml +++ b/docker/kubernetes/helm/templates/ws/deployment.yaml @@ -119,7 +119,7 @@ spec: name: {{ if .Values.existingSecret -}} {{ .Values.existingSecret }} {{- else -}} {{ include "common.names.fullname" . }} {{- end }} key: jwt-secret {{- if .Values.ws.extraEnvVars }} - {{- include "common.tplvalues.render" (dict "value" .Values.api.extraEnvVars "context" $) | nindent 12 }} + {{- include "common.tplvalues.render" (dict "value" .Values.ws.extraEnvVars "context" $) | nindent 12 }} {{- end }} envFrom: {{- if .Values.ws.extraEnvVarsCM }}