mirror of
https://github.com/open-cluster-management-io/ocm.git
synced 2026-02-14 18:09:57 +00:00
add subjectaccessreviews permission for placement (#208)
Signed-off-by: haoqing0110 <qhao@redhat.com>
This commit is contained in:
@@ -10,6 +10,10 @@ rules:
|
||||
- apiGroups: ["apps"]
|
||||
resources: ["replicasets"]
|
||||
verbs: ["get"]
|
||||
# Allow create subjectaccessreviews to access debug path
|
||||
- apiGroups: ["authorization.k8s.io"]
|
||||
resources: ["subjectaccessreviews"]
|
||||
verbs: ["create"]
|
||||
# Allow controller to create/patch/update events
|
||||
- apiGroups: ["", "events.k8s.io"]
|
||||
resources: ["events"]
|
||||
@@ -42,3 +46,4 @@ rules:
|
||||
- apiGroups: ["config.openshift.io"]
|
||||
resources: ["infrastructures"]
|
||||
verbs: ["get"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user