Skip to content

Commit

Permalink
[installer] add node get/list permission to ws-manager
Browse files Browse the repository at this point in the history
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
  • Loading branch information
jenting authored and roboquat committed Jul 14, 2022
1 parent 7619689 commit 95ec04a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions install/installer/pkg/components/ws-manager/role.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,16 @@ func role(ctx *common.RenderContext) ([]runtime.Object, error) {
Labels: labels,
},
Rules: []rbacv1.PolicyRule{
{
APIGroups: []string{""},
Resources: []string{
"nodes",
},
Verbs: []string{
"get",
"list",
},
},
{
APIGroups: []string{"snapshot.storage.k8s.io"},
Resources: []string{
Expand Down

0 comments on commit 95ec04a

Please sign in to comment.