Merge pull request #5661 from hickeyma/fix-scaffold-chart-labels

fix(chartutil): Scaffold chart label in helper template
pull/5669/head
Martin Hickey 7 years ago committed by GitHub
commit f0218d00f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -301,9 +301,9 @@ Common labels
app.kubernetes.io/name: {{ include "<CHARTNAME>.name" . }}
helm.sh/chart: {{ include "<CHARTNAME>.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 -}}
`

Loading…
Cancel
Save