Properly support "application in any namespace" for the argocd-server ClusterRole

Signed-off-by: GuillaumeRemyCSI <30650458+GuillaumeRemyCSI@users.noreply.github.com>
This commit is contained in:
GuillaumeRemyCSI 2024-03-28 16:40:30 +01:00 committed by Guillaume Rémy
parent 6043017f34
commit 5117a6fbcf

View file

@ -48,6 +48,17 @@ rules:
- list - list
- update - update
- watch - watch
{{- if (index .Values.configs.params "application.namespaces") }}
- apiGroups:
- "argoproj.io"
resources:
- "applications"
verbs:
- create
- delete
- update
- patch
{{- end }}
- apiGroups: - apiGroups:
- batch - batch
resources: resources: