Skip to content

Commit

Permalink
docker fix extraEnvVars (#5516)
Browse files Browse the repository at this point in the history
  • Loading branch information
filiprafaj authored May 7, 2024
1 parent 67d9141 commit 800b7dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docker/kubernetes/helm/templates/worker/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion docker/kubernetes/helm/templates/ws/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 800b7dd

Please sign in to comment.