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:
commit
7839539383
|
@ -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"},
|
||||
|
|
Loading…
Reference in New Issue