fix: add permission to watch devworkspaces (#1242)
Signed-off-by: Michal Vala <mvala@redhat.com>pull/1251/head
parent
6dc1085f17
commit
488054eb45
|
|
@ -225,7 +225,7 @@ func (wp *WorkspacePermissionsReconciler) getDevWorkspacePolicies() []rbacv1.Pol
|
|||
{
|
||||
APIGroups: []string{"workspace.devfile.io"},
|
||||
Resources: []string{"devworkspaces", "devworkspacetemplates"},
|
||||
Verbs: []string{"get", "create", "delete", "list", "update", "patch"},
|
||||
Verbs: []string{"get", "create", "delete", "list", "update", "patch", "watch"},
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue