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

Commit 1ceecae

Browse files
committed
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. Signed-off-by: Paweł Krupa (paulfantom) <[email protected]>
1 parent 856e477 commit 1ceecae

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ We use the following categories for changes:
2121
- Fix spans with end < start. Start and end are swapped in this case. [#1096]
2222
- Disable push downs which use `offset`, as they are broken [#1129]
2323
- Fix aggregate pushdown evaluation [#1098]
24+
- Fix broken `extraEnv` parameter in helm chart values [#1126]
2425

2526
## [0.9.0] - 2022-02-02
2627

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)