Skip to content

Commit 4cd4bee

Browse files
authored
Fix duplicate key issue when using configmap config target (#2584)
1 parent 0f96eb2 commit 4cd4bee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

charts/postgres-operator/templates/_helpers.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ Flatten nested config options when ConfigMap is used as ConfigTarget
7070
{{- $list := list }}
7171
{{- range $subKey, $subValue := $value }}
7272
{{- $list = append $list (printf "%s:%s" $subKey $subValue) }}
73-
{{ $key }}: {{ join "," $list | quote }}
7473
{{- end }}
74+
{{ $key }}: {{ join "," $list | quote }}
7575
{{- else }}
7676
{{ $key }}: {{ $value | quote }}
7777
{{- end }}

0 commit comments

Comments
 (0)