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

Commit

Permalink
deploy/helm: sanitize extra environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
paulfantom committed Feb 16, 2022
1 parent 73d7c71 commit ab16e62
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion deploy/helm-chart/templates/deployment-promscale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@ spec:
{{- end }}
{{- if .Values.extraEnv }}
env:
{{- tpl (toYaml .Values.extraEnv) . | nindent 12 }}
{{- range $.Values.extraEnv }}
- name: {{ .name }}
value: {{ tpl (.value | quote) $ }}
{{- end }}
{{- end }}
envFrom:
- secretRef:
Expand Down

0 comments on commit ab16e62

Please sign in to comment.