Skip to content

Commit fbc6b88

Browse files
fix servicemonitor selectors (#85)
1 parent 849fdae commit fbc6b88

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

charts/argo-cd/Chart.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ appVersion: v2.11-2024.7.3-c0941bcb4
33
kubeVersion: ">=1.23.0-0"
44
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
55
name: argo-cd
6-
version: 6.11.1-3-cap-2.11-2024.7.3-c0941bcb4
6+
version: 6.11.1-4-cap-2.11-2024.7.3-c0941bcb4
77
home: https://github.com/argoproj/argo-helm
88
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
99
sources:
@@ -28,3 +28,5 @@ annotations:
2828
artifacthub.io/changes: |
2929
- kind: changed
3030
description: Upgrade argo-cd to v2.11-2024.7.3-c0941bcb4 with fix - report application event from queue instead of requesting actual state again which potentially means doesn't get same data as in original event
31+
- kind: fixed
32+
description: Event reporter selector labeles

charts/argo-cd/ci/codefresh.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Values file to debug templates that rely on Codefresh values
2+
global:
3+
codefresh:
4+
tls:
5+
caCerts:
6+
secret:
7+
create: false

charts/argo-cd/templates/event-reporter/servicemonitor.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,5 @@ spec:
4343
- {{ .Release.Namespace }}
4444
selector:
4545
matchLabels:
46-
{{- include "argo-cd.selectorLabels" (dict "context" . "component" .Values.eventReporter.name "name" "metrics") | nindent 6 }}
46+
{{- include "argo-cd.selectorLabels" (dict "context" . "component" .Values.eventReporter.name "name" (printf "%s-metrics" .Values.eventReporter.name)) | nindent 6 }}
4747
{{- end }}

0 commit comments

Comments
 (0)