fix(argo-events): Fix selectorLabels of ServiceMonitor (#1361)

Signed-off-by: darklore <zodiac.brave.story@gmail.com>
main argo-events-2.0.3
darklore 2022-07-06 21:38:55 +09:00 committed by GitHub
parent 6d2dd8cca7
commit e40abee91f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View File

@ -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"

View File

@ -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 }}