Skip to content

Commit 11bccb3

Browse files
committed
Grant workpsace SA permissions to list DWs
1 parent c39db56 commit 11bccb3

File tree

1 file changed

+1
-1
lines changed
  • controllers/workspace/provision

1 file changed

+1
-1
lines changed

controllers/workspace/provision/rbac.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ func generateRBAC(namespace string) []runtime.Object {
5757
{
5858
Resources: []string{"devworkspaces"},
5959
APIGroups: []string{"workspace.devfile.io"},
60-
Verbs: []string{"patch", "get", "update", "watch"},
60+
Verbs: []string{"get", "watch", "list", "patch", "update"},
6161
},
6262
{
6363
Resources: []string{"workspaceroutings"},

0 commit comments

Comments
 (0)