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

Signed-off-by: sukimoyoi <alice89yryr0@gmail.com>
pull/7201/head
Shota Nakamura 5 years ago committed by Martin Hickey
parent 5e3c7d7eb8
commit 0beb9f7040

@ -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:
@ -413,7 +413,7 @@ spec:
- name: wget
image: busybox
command: ['wget']
args: ['{{ include "<CHARTNAME>.fullname" . }}:{{ .Values.service.port }}']
args: ['{{ include "<CHARTNAME>.fullname" . }}:{{ .Values.service.port }}']
restartPolicy: Never
`

Loading…
Cancel
Save