fix(chartutil): remove empty lines and a space from rendered chart templates

Signed-off-by: sukimoyoi <alice89yryr0@gmail.com>
pull/7455/head
sukimoyoi 6 years ago
parent 8175c79dd9
commit f8e8bd059d
No known key found for this signature in database
GPG Key ID: 6F9011E626203133

@ -304,7 +304,7 @@ kind: ServiceAccount
metadata:
name: {{ include "<CHARTNAME>.serviceAccountName" . }}
labels:
{{ include "<CHARTNAME>.labels" . | nindent 4 }}
{{- include "<CHARTNAME>.labels" . | nindent 4 }}
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
@ -405,7 +405,7 @@ kind: Pod
metadata:
name: "{{ include "<CHARTNAME>.fullname" . }}-test-connection"
labels:
{{ include "<CHARTNAME>.labels" . | nindent 4 }}
{{- include "<CHARTNAME>.labels" . | nindent 4 }}
annotations:
"helm.sh/hook": test-success
spec:

Loading…
Cancel
Save