diff --git a/charts/argo-events/Chart.yaml b/charts/argo-events/Chart.yaml index ecf2d612..4ebfea81 100644 --- a/charts/argo-events/Chart.yaml +++ b/charts/argo-events/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: v1.7.1 description: A Helm chart for Argo Events, the event-driven workflow automation framework name: argo-events -version: 2.0.2 +version: 2.0.3 home: https://github.com/argoproj/argo-helm icon: https://argoproj.github.io/argo-events/assets/logo.png keywords: @@ -16,5 +16,4 @@ maintainers: - name: whynowy annotations: artifacthub.io/changes: | - - "[Changed]: Upgrade Argo events controller to v1.7.1" - - "[Changed]: Upgrade sample configuration for NATs images" + - "[Fixed]: Fixed selectorLabel of ServiceMonitor that doesn't match metrics Service" diff --git a/charts/argo-events/templates/argo-events-controller/servicemonitor.yaml b/charts/argo-events/templates/argo-events-controller/servicemonitor.yaml index c24979eb..6c1f23ca 100644 --- a/charts/argo-events/templates/argo-events-controller/servicemonitor.yaml +++ b/charts/argo-events/templates/argo-events-controller/servicemonitor.yaml @@ -34,5 +34,5 @@ spec: - {{ .Release.Namespace }} selector: matchLabels: - {{- include "argo-events.selectorLabels" (dict "context" . "component" .Values.controller.name "name" "metrics") | nindent 6 }} + {{- include "argo-events.selectorLabels" (dict "context" . "component" .Values.controller.name "name" (printf "%s-metrics" .Values.controller.name)) | nindent 6 }} {{- end }}