Fix it is error to delete member clusters
Signed-off-by: lonelyCZ <531187475@qq.com>
This commit is contained in:
parent
f70fe8a0e6
commit
83cd8cd9bc
|
@ -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"},
|
||||||
|
|
Loading…
Reference in New Issue