https://rancher.com/ logo
Title
l

little-autumn-44758

03/07/2023, 7:50 PM
Hello, I'm on Rancher 2.6.5 and K8s 1.19.16. When I assign a user "Cluster Member" they're able to do a
kubectl create namespace <namespace>
but then they're unable to access that namespace again (since they didn't create a project to put that namespace in). I have a few users that keep running into this issue because they have automated tests/ CI/CD stuff that create namespaces, and try to deploy stuff into them. Is there a way to make this easier for them instead of having to create projects/namespaces in the UI ?
c

curved-student-83302

03/07/2023, 8:02 PM
kubectl annotate namespace my-namespace field.cattle.io/projectId=<PROJECT_ID>
1