Skip to content

Commit

Permalink
Allow work agent to create subjectaccessreviews (open-cluster-managem…
Browse files Browse the repository at this point in the history
…ent-io#273)

Signed-off-by: zhujian <jiazhu@redhat.com>

Signed-off-by: zhujian <jiazhu@redhat.com>
  • Loading branch information
zhujian7 authored Sep 15, 2022
1 parent ca32de7 commit 3d0b5cd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions manifests/klusterlet/managed/klusterlet-work-clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@ rules:
- apiGroups: ["work.open-cluster-management.io"]
resources: ["appliedmanifestworks/finalizers"]
verbs: ["update"]
# Allow agent to create subjectaccessreviews
- apiGroups: ["authorization.k8s.io"]
resources: ["subjectaccessreviews"]
verbs: ["create"]

0 comments on commit 3d0b5cd

Please sign in to comment.