mirror of
https://github.com/helm/helm.git
synced 2026-02-21 17:04:52 -05:00
Fix scaffold chart label in helper template
The 'app.kubernetes.io/version' label was not being rendered as expected. It was appending onto the label before it and also the next label label was appending onto it on the same line. Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
This commit is contained in:
parent
2a06c2baba
commit
ecf4eda6c5
1 changed files with 2 additions and 2 deletions
|
|
@ -314,9 +314,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…
Reference in a new issue