fix(argo-cd): don't request applicationsets if its disabled (#2069)
* don't request applicationsets if its disabled Signed-off-by: Wim Fournier <github@fournier.nl> * Update Chart.yaml Signed-off-by: Wim Fournier <github@fournier.nl> --------- Signed-off-by: Wim Fournier <github@fournier.nl>
This commit is contained in:
parent
650a9ec7ef
commit
1d999e0552
2 changed files with 5 additions and 3 deletions
|
@ -3,7 +3,7 @@ appVersion: v2.7.2
|
||||||
kubeVersion: ">=1.22.0-0"
|
kubeVersion: ">=1.22.0-0"
|
||||||
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
||||||
name: argo-cd
|
name: argo-cd
|
||||||
version: 5.34.1
|
version: 5.34.2
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
||||||
sources:
|
sources:
|
||||||
|
@ -26,5 +26,5 @@ annotations:
|
||||||
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
|
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
|
||||||
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
|
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- kind: added
|
- kind: fixed
|
||||||
description: Add new bitbucket cloud SSH key to configs.ssh.knownHosts
|
description: don't request applicationSets in the role, if applicationSets are disabled
|
||||||
|
|
|
@ -23,7 +23,9 @@ rules:
|
||||||
- argoproj.io
|
- argoproj.io
|
||||||
resources:
|
resources:
|
||||||
- applications
|
- applications
|
||||||
|
{{- if .Values.applicationSet.enabled }}
|
||||||
- applicationsets
|
- applicationsets
|
||||||
|
{{- end }}
|
||||||
- appprojects
|
- appprojects
|
||||||
{{- if .Values.server.extensions.enabled }}
|
{{- if .Values.server.extensions.enabled }}
|
||||||
- argocdextensions
|
- argocdextensions
|
||||||
|
|
Loading…
Reference in a new issue