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

@ -2,7 +2,7 @@ apiVersion: v2
appVersion: "v1.0.2" appVersion: "v1.0.2"
description: A Helm chart for Argo Rollouts description: A Helm chart for Argo Rollouts
name: argo-rollouts name: argo-rollouts
version: 2.0.1 version: 2.0.2
icon: https://argoproj.github.io/argo-rollouts/assets/logo.png icon: https://argoproj.github.io/argo-rollouts/assets/logo.png
home: https://github.com/argoproj/argo-helm home: https://github.com/argoproj/argo-helm
maintainers: maintainers:
@ -11,4 +11,4 @@ maintainers:
- name: jessesuen - name: jessesuen
annotations: annotations:
artifacthub.io/changes: | artifacthub.io/changes: |
- "[Fixed]: ServiceMonitor selector labels match metrics Service" - "[Fixed]: use image.tag in app labels if provided"

View file

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