fix: add permission to watch devworkspaces (#1242)

Signed-off-by: Michal Vala <mvala@redhat.com>
pull/1251/head
Michal Vala 2021-12-09 17:26:51 +01:00 committed by GitHub
parent 6dc1085f17
commit 488054eb45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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"},
},
}