-
Bug
-
Resolution: Done
-
Major
-
CRW 2.1.0
-
None
-
devex docs #182 Apr 1-Apr 21
-
By default the plugin is logs into the cluster as `inClusterUser` which may not have permission to manage projects.
In this case, an error may be thrown:
Failed to create Project with error 'Error: Command failed: "/tmp/vscode-unpacked/redhat.vscode-openshift-connector.latest.qvkozqtkba.openshift-connector-0.1.4-523.vsix/extension/out/tools/linux/odo" project create test-project ✗ projectrequests.project.openshift.io is forbidden: User "system:serviceaccount:admin-codeready:che-workspace" cannot create resource "projectrequests" in API group "project.openshift.io" at the cluster scope '
To work around this, the user simply needs to log out from the local cluster, and log in as the correct openshift user / cluster details.