From 680f55d23a41cd0a5157612a7930e4d739bb30fe Mon Sep 17 00:00:00 2001 From: Andrew Gershman Date: Fri, 19 Apr 2024 16:50:06 -0400 Subject: [PATCH] feat(argocd-apps): allow plugin config in applicationsets This change enables configuration of configuration management plugins (cmp) in an ApplicationSet template. Signed-off-by: Andrew Gershman --- charts/argocd-apps/Chart.yaml | 4 ++-- charts/argocd-apps/templates/applicationsets.yaml | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/charts/argocd-apps/Chart.yaml b/charts/argocd-apps/Chart.yaml index 397e9db6..b3bdff09 100644 --- a/charts/argocd-apps/Chart.yaml +++ b/charts/argocd-apps/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: argocd-apps description: A Helm chart for managing additional Argo CD Applications and Projects type: application -version: 2.0.0 +version: 2.1.0 home: https://github.com/argoproj/argo-helm icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png keywords: @@ -18,4 +18,4 @@ annotations: url: https://argoproj.github.io/argo-helm/pgp_keys.asc artifacthub.io/changes: | - kind: added - description: make the chart use maps instead of lists + description: allow config of applicationsets plugin diff --git a/charts/argocd-apps/templates/applicationsets.yaml b/charts/argocd-apps/templates/applicationsets.yaml index e8ae2134..f7fae8b6 100644 --- a/charts/argocd-apps/templates/applicationsets.yaml +++ b/charts/argocd-apps/templates/applicationsets.yaml @@ -67,6 +67,10 @@ spec: sources: {{- toYaml . | nindent 8 }} {{- end }} + {{- with .plugin }} + plugin: + {{- toYaml . | nindent 8 }} + {{- end }} destination: {{- toYaml .destination | nindent 8 }} {{- with .syncPolicy }}