Skip to content

Commit

Permalink
fix(helm): parse error when using extraEnvs
Browse files Browse the repository at this point in the history
  • Loading branch information
zbindenren committed Oct 24, 2022
1 parent f04a6f7 commit e5513af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helm/kubenurse/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ spec:
value: {{ .Values.namespace }}
- name: KUBENURSE_NEIGHBOUR_FILTER
value: app={{ include "name" . }}
{{- if .Values.daemonset.extraEnvs }}
{{- toYaml .Values.daemonset.extraEnvs | indent 12 }}
{{- if .Values.daemonset.extraEnvs -}}
{{- toYaml .Values.daemonset.extraEnvs | nindent 8 }}
{{- end }}
image: {{ include "image" . | quote }}
ports:
Expand Down

0 comments on commit e5513af

Please sign in to comment.