Update cluster role

This commit is contained in:
RainbowMango 2020-11-20 17:20:57 +08:00 committed by Kevin Wang
parent 3cce1a06c1
commit e6ed8df1e5
1 changed files with 10 additions and 20 deletions

View File

@ -3,18 +3,8 @@ kind: ClusterRole
metadata:
name: karmada-controller-manager
rules:
- apiGroups: [""] # "" indicates the core API group
resources:
- '*'
verbs: ["get", "watch", "list", "create", "update", "delete"]
- apiGroups: ["coordination.k8s.io"]
resources: ["leases"]
verbs: ["get", "watch", "list", "create", "update", "delete"]
- apiGroups: ["membercluster.karmada.io"]
resources:
- '*'
verbs: ["get", "watch", "list", "create", "update", "delete"]
- apiGroups: ["propagationstrategy.karmada.io"]
resources:
- '*'
- apiGroups: ['*']
resources: ['*']
verbs: ["get", "watch", "list", "create", "update", "delete"]
- nonResourceURLs: ['*']
verbs: ["get"]