don't request applicationsets if its disabled

Signed-off-by: Wim Fournier <github@fournier.nl>
This commit is contained in:
Wim Fournier 2023-05-22 14:14:05 +02:00 committed by GitHub
parent 650a9ec7ef
commit c10dec34ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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