Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

oc sync silently fails if oc new-project fails (for example if there are not sufficient permissions) #124

Open
zilkey opened this issue May 6, 2021 · 0 comments

Comments

@zilkey
Copy link

zilkey commented May 6, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant