Merge pull request #1616 from micro/k8s/secret-template-fix

Fix k8s secret template (yaml)
This commit is contained in:
ben-toogood 2020-05-12 11:45:12 +01:00 committed by GitHub
commit 89f86167ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 = `