mirror of
https://github.com/helm/helm.git
synced 2026-05-28 04:35:48 -04:00
fix(chartutil): remove empty lines and a space from rendered chart templates (#7455)
Signed-off-by: sukimoyoi <alice89yryr0@gmail.com>
This commit is contained in:
parent
5e3c7d7eb8
commit
0beb9f7040
1 changed files with 3 additions and 3 deletions
|
|
@ -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…
Reference in a new issue