Merge pull request #2430 from lonelyCZ/pr-fix-agent-rbac

failed to remove cluster which is registered by karmadactl register command
This commit is contained in:
karmada-bot 2022-08-26 17:29:53 +08:00 committed by GitHub
commit 7839539383
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ func grantAccessPermissionToAgent(clientSet *kubernetes.Clientset) error {
{ {
APIGroups: []string{"work.karmada.io"}, APIGroups: []string{"work.karmada.io"},
Resources: []string{"works"}, Resources: []string{"works"},
Verbs: []string{"get", "list", "watch"}, Verbs: []string{"get", "list", "watch", "update"},
}, },
{ {
APIGroups: []string{"work.karmada.io"}, APIGroups: []string{"work.karmada.io"},