style: trim whitespaces before {{include}}

This commit is contained in:
Chi-En Wu
2020-04-22 12:23:57 +08:00
parent cf0679333c
commit de752b0fb1
11 changed files with 16 additions and 16 deletions

View File

@ -20,7 +20,7 @@ app.kubernetes.io/name: {{ include "common.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end -}}
{{ define "common.metadata.tpl" -}}
{{- define "common.metadata.tpl" -}}
{{- $top := first . -}}
name: {{ include "common.fullname" $top }}
labels:
@ -30,6 +30,6 @@ labels:
{{- /*
Create a standard metadata header
*/ -}}
{{ define "common.metadata" -}}
{{- define "common.metadata" -}}
{{- include "common.utils.merge" (append . "common.metadata.tpl") -}}
{{- end -}}