Skip to content

Commit

Permalink
add required RBAC for new addon framework in workmgr addon (#692)
Browse files Browse the repository at this point in the history
Signed-off-by: haoqing0110 <[email protected]>
  • Loading branch information
haoqing0110 authored May 6, 2024
1 parent 1834067 commit 91a8a20
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -584,6 +584,12 @@ rules:
- managedclusteraddons/finalizers
verbs:
- update
- apiGroups:
- addon.open-cluster-management.io
resources:
- clustermanagementaddons/status
verbs:
- patch
- apiGroups:
- addon.open-cluster-management.io
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ rules:
- apiGroups: ["addon.open-cluster-management.io"]
resources: ["clustermanagementaddons/finalizers"]
verbs: ["update"]
- apiGroups: ["addon.open-cluster-management.io"]
resources: ["clustermanagementaddons/status"]
verbs: ["patch"]
- apiGroups: ["addon.open-cluster-management.io"]
resources: ["clustermanagementaddons"]
verbs: ["get", "list", "watch"]
Expand Down
1 change: 1 addition & 0 deletions pkg/templates/rbac_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 91a8a20

Please sign in to comment.