Skip to content

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

@zilkey

Description

@zilkey

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions