diff --git a/util/kubernetes/client/templates.go b/util/kubernetes/client/templates.go index 9c2851c8..5e5721d3 100644 --- a/util/kubernetes/client/templates.go +++ b/util/kubernetes/client/templates.go @@ -139,11 +139,11 @@ metadata: {{- end }} {{- end }} data: -{{- with .Data }} -{{- range $key, $value := . }} -{{ $key }}: "{{ $value }}" -{{- end }} -{{- end }} + {{- with .Data }} + {{- range $key, $value := . }} + {{ $key }}: "{{ $value }}" + {{- end }} + {{- end }} ` var serviceAccountTmpl = `