diff --git a/pkg/chartutil/create.go b/pkg/chartutil/create.go index 18769b051..01b7fb43b 100644 --- a/pkg/chartutil/create.go +++ b/pkg/chartutil/create.go @@ -314,9 +314,9 @@ Common labels app.kubernetes.io/name: {{ include ".name" . }} helm.sh/chart: {{ include ".chart" . }} app.kubernetes.io/instance: {{ .Release.Name }} -{{- if .Chart.AppVersion -}} +{{- if .Chart.AppVersion }} app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} -{{- end -}} +{{- end }} app.kubernetes.io/managed-by: {{ .Release.Service }} {{- end -}} `