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

Commit ea18a9f

Browse files
authored
deploy/helm: fix order of templating
To use `tpl` function, content needs to be first unpacked/serialized with `toYaml` and not the other way round.
1 parent 5014b73 commit ea18a9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ spec:
5151
{{- end }}
5252
{{- if .Values.extraEnv }}
5353
env:
54-
{{- toYaml (tpl .Values.extraEnv .) | nindent 12 }}
54+
{{- tpl (toYaml .Values.extraEnv) . | nindent 12 }}
5555
{{- end }}
5656
envFrom:
5757
- secretRef:

0 commit comments

Comments
 (0)