Revert PR 8562

Revert of PR 8562 as the container version may not represent the
application version.

Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
pull/8695/head
Martin Hickey 5 years ago
parent e454e6a910
commit daa104d60e

@ -425,7 +425,9 @@ Common labels
{{- define "<CHARTNAME>.labels" -}}
helm.sh/chart: {{ include "<CHARTNAME>.chart" . }}
{{ include "<CHARTNAME>.selectorLabels" . }}
app.kubernetes.io/version: {{ .Values.image.tag | default .Chart.AppVersion | quote }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end }}

Loading…
Cancel
Save