diff --git a/docker/kubernetes/helm/templates/worker/deployment.yaml b/docker/kubernetes/helm/templates/worker/deployment.yaml index df2d0ebd458..b82a5241de2 100644 --- a/docker/kubernetes/helm/templates/worker/deployment.yaml +++ b/docker/kubernetes/helm/templates/worker/deployment.yaml @@ -149,8 +149,8 @@ spec: secretKeyRef: name: {{ include "common.names.fullname" . }} 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 54df75c13c1..4347ffe49d9 100644 --- a/docker/kubernetes/helm/templates/ws/deployment.yaml +++ b/docker/kubernetes/helm/templates/ws/deployment.yaml @@ -119,7 +119,7 @@ spec: name: {{ include "common.names.fullname" . }} 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 }}