Skip to content

Commit

Permalink
add subjectaccessreviews permission for placement (#208)
Browse files Browse the repository at this point in the history
Signed-off-by: haoqing0110 <[email protected]>
  • Loading branch information
haoqing0110 authored Jul 4, 2023
1 parent 40bc557 commit fe550eb
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down Expand Up @@ -42,3 +46,4 @@ rules:
- apiGroups: ["config.openshift.io"]
resources: ["infrastructures"]
verbs: ["get"]

0 comments on commit fe550eb

Please sign in to comment.