cloud-native-toolkit / cloud-native-toolkit/ibm-garage-cloud-cli

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

Open
#124 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
15
Forks
8
PR merge metrics
No merged PRs in 30d

Description

**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 `
- You'll see the output:
```
Setting up namespace
Setting up namespace:
Checking for existing project:
Creating project:
```

The project will not be created.

**Expected behavior:**

I would expect an error message to appear indicating that the command failed.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.