From 04d053439234532628007769c04a9be7672a5edd Mon Sep 17 00:00:00 2001 From: Oleksandr Saulyak Date: Mon, 22 Jan 2024 12:12:43 +0200 Subject: [PATCH] ARGOCD_APPLICATION_NAMESPACES env for argo-cd.event-reporter --- charts/argo-cd/Chart.yaml | 4 ++-- charts/argo-cd/templates/event-reporter/statefulset.yaml | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/charts/argo-cd/Chart.yaml b/charts/argo-cd/Chart.yaml index f52a7b852..c1442ced1 100644 --- a/charts/argo-cd/Chart.yaml +++ b/charts/argo-cd/Chart.yaml @@ -3,7 +3,7 @@ appVersion: v2.9-2024.01.17-0d221227f kubeVersion: ">=1.23.0-0" description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes. name: argo-cd -version: 5.51.6-5-cap-2.9-2024.1.17-0d221227f +version: 5.51.6-6-cap-2.9-2024.1.17-0d221227f home: https://github.com/argoproj/argo-helm icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png sources: @@ -27,4 +27,4 @@ annotations: url: https://argoproj.github.io/argo-helm/pgp_keys.asc artifacthub.io/changes: | - kind: changed - description: Upgrade Argo CD to v2.9-2024.01.17-0d221227f + description: Added new env variable to argocd-event-reporter sts diff --git a/charts/argo-cd/templates/event-reporter/statefulset.yaml b/charts/argo-cd/templates/event-reporter/statefulset.yaml index 16437a004..7bf7f5b6a 100644 --- a/charts/argo-cd/templates/event-reporter/statefulset.yaml +++ b/charts/argo-cd/templates/event-reporter/statefulset.yaml @@ -73,6 +73,12 @@ spec: {{- end }} - name: EVENT_REPORTER_REPLICAS value: {{ .Values.eventReporter.replicas | quote }} + - name: ARGOCD_APPLICATION_NAMESPACES + valueFrom: + configMapKeyRef: + name: argocd-cmd-params-cm + key: application.namespaces + optional: true - name: ARGOCD_TOKEN valueFrom: secretKeyRef: