Unverified Commit f0218d00 authored by Martin Hickey's avatar Martin Hickey Committed by GitHub

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

fix(chartutil): Scaffold chart label in helper template
parents 3da600d0 470d92e1
......@@ -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 -}}
`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment