argod-rollouts: fix app version label

Signed-off-by: sedflix <sedflix@gmail.com>
This commit is contained in:
siddharth 2021-08-30 18:48:50 +05:30 committed by sedflix
parent 32a6aa70ed
commit 7a3fbbc8b7

View file

@ -38,7 +38,7 @@ Common labels
helm.sh/chart: {{ include "argo-rollouts.chart" . }}
{{ include "argo-rollouts.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
app.kubernetes.io/version: {{ default .Chart.AppVersion $.Values.controller.image.tag | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/part-of: argo-rollouts