fix(argo-cd): Add missing permission for Dynamic Cluster Distribution (#2754)

This commit is contained in:
Aikawa 2024-06-09 14:22:44 +09:00 committed by GitHub
parent 3dd3e1a754
commit 377332f8c7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 17 additions and 3 deletions

View file

@ -43,3 +43,17 @@ rules:
- get
- list
- watch
{{- if and (not .Values.createClusterRoles) .Values.controller.dynamicClusterDistribution }}
- apiGroups:
- ""
resources:
- configmaps
resourceNames:
- argocd-app-controller-shard-cm
verbs:
- get
- list
- watch
- create
- update
{{- end }}