Fix it is error to delete member clusters

Signed-off-by: lonelyCZ <531187475@qq.com>
This commit is contained in:
lonelyCZ 2022-08-26 15:48:09 +08:00
parent f70fe8a0e6
commit 83cd8cd9bc
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"},
Resources: []string{"works"},
Verbs: []string{"get", "list", "watch"},
Verbs: []string{"get", "list", "watch", "update"},
},
{
APIGroups: []string{"work.karmada.io"},