Skip to content
This repository was archived by the owner on Apr 2, 2024. It is now read-only.

Commit ab16e62

Browse files
committed
deploy/helm: sanitize extra environment variables
1 parent 73d7c71 commit ab16e62

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

deploy/helm-chart/templates/deployment-promscale.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,10 @@ spec:
5151
{{- end }}
5252
{{- if .Values.extraEnv }}
5353
env:
54-
{{- tpl (toYaml .Values.extraEnv) . | nindent 12 }}
54+
{{- range $.Values.extraEnv }}
55+
- name: {{ .name }}
56+
value: {{ tpl (.value | quote) $ }}
57+
{{- end }}
5558
{{- end }}
5659
envFrom:
5760
- secretRef:

0 commit comments

Comments
 (0)