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:
parent
6043017f34
commit
5117a6fbcf
1 changed files with 11 additions and 0 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue