Skip to content

Commit

Permalink
Iterate over the values
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgianaElena committed Sep 3, 2024
1 parent c6de83d commit 6f9b38c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion helm-chart/templates/configmap-yamlconf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ metadata:
name: {{ include "unnamed.fullname" . }}-django-yamlconf
data:
comptest.yaml: |
{{- toYaml .Values.yamlSettings | indent 4 }}
{{- range $key, $val := .Values.yamlSettings }}
{{ $key }}: {{ $val | quote }}
{{- end }}

0 comments on commit 6f9b38c

Please sign in to comment.