cloud-native-toolkit / cloud-native-toolkit/planning

Users cannot create projects, only admins can

Open
#423 6 comments 0 reactions 1 assignee Claimed by @bwoolf1 View on GitHub
bug ocp4
Dominant language
No language data
Stars
4
Forks
1
PR merge metrics
No merged PRs in 30d

Description

`oc sync {DEV_NAMESPACE} --dev` fails with a permission error when run by a member of the USER access group:
```
oc sync inventory --dev
Setting up namespace inventory and serviceAccount default
⠋ Creating namespace: inventoryError preparing namespace Error: projects.project.openshift.io is forbidden: User "IAM#devbob101@gmail.com" cannot create resource "projects" in API group "project.openshift.io" at the cluster scope
at /Users/bwoolf/.npm/lib/node_modules/@ibmgaragecloud/cloud-native-toolkit-cli/node_modules/kubernetes-client/backends/request/client.js:231:25
```

I assume this also means that users also cannot create namespaces in a Kubernetes cluster.

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.