Skip to content

Commit

Permalink
create pod.env field when values are present
Browse files Browse the repository at this point in the history
  • Loading branch information
timtalbot committed Nov 17, 2023
1 parent 9470843 commit 76abe69
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion charts/traefik-forward-auth/templates/pod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ spec:
- name: proxy
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
{{- if .Values.pod.env }}
{{ toYaml .Values.pod.env | indent 8 }}
env:
{{ toYaml .Values.pod.env | indent 10 }}
{{- end }}
{{- if .Values.command }}
command:
Expand Down

0 comments on commit 76abe69

Please sign in to comment.