fix(argo-rollouts): use image.tag in labels if provided (#913)

* argod-rollouts: fix app version label

Signed-off-by: sedflix <sedflix@gmail.com>

* bump chart and add changelog

Signed-off-by: sedflix <sedflix@gmail.com>
This commit is contained in:
siddharth 2021-09-17 00:35:49 +05:30 committed by GitHub
parent 258ad7fa64
commit 91aaaf066f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

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