Steps to reproduce:
- Create a user in the cluster who does not have permission to
oc new-project
- Login as that user
- Run
oc sync <project name>
- You'll see the output:
Setting up namespace <project name>
Setting up namespace: <project name>
Checking for existing project: <project name>
Creating project: <project name>
The project will not be created.
Expected behavior:
I would expect an error message to appear indicating that the command failed.