Skip to content

Commit

Permalink
fix helm syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
pyalex committed Sep 8, 2020
1 parent fa2fab7 commit 10679ce
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,12 @@ spec:

{{- range $key, $value := .Values.envOverrides }}
- name: {{ printf "%s" $key | replace "." "_" | upper | quote }}
{{ - if eq (kindOf $value) "map" }}
{{- if eq (kindOf $value) "map" }}
valueFrom:
{{ - toYaml $value | nindent 12 }}
{{ - else }}
{{- toYaml $value | nindent 12 }}
{{- else }}
value: {{ $value | quote }}
{{ - end }}
{{- end }}
{{- end }}

command:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,12 @@ spec:

{{- range $key, $value := .Values.envOverrides }}
- name: {{ printf "%s" $key | replace "." "_" | upper | quote }}
{{ - if eq (kindOf $value) "map" }}
{{- if eq (kindOf $value) "map" }}
valueFrom:
{{ - toYaml $value | nindent 12 }}
{{ - else }}
{{- toYaml $value | nindent 12 }}
{{- else }}
value: {{ $value | quote }}
{{ - end }}
{{- end }}
{{- end }}

command:
Expand Down

0 comments on commit 10679ce

Please sign in to comment.