Kubernetes denying permission
See original GitHub issueI have permission to one OpenShift project but I am unable to interact with the project in VSCode. I get an error:
Error from server (Forbidden): namespaces is forbidden: User cannot list namespaces at the cluster scope: no RBAC policy matched
I do not care about listing all namespaces. I only want to work with one namespace where I do have permissions.
Is this expected error?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Kubernetes Permission denied in container - Stack Overflow
I tried to remove said initcontainer, so the pod was executed but I still have the permission denied error. That being said, the...
Read more >Kubernetes auth method : Permission Denied error
This article outlines the configuration needed to help fix the permission denied error in k8s auth. Introduction. The kubernetes auth method ...
Read more >Access to Kubernetes-mounted File System is Denied
When a non-root user tries to write to File Storage directories, they receive a "permission denied" error. Symptom:
Read more >Container permission denied: How to diagnose this error
You can diagnose this by telling the user to attempt to run the container as root, which would match up to the default...
Read more >Authorization Overview - Kubernetes
Kubernetes authorizes API requests using the API server. It evaluates all of the request attributes against all policies and allows or denies ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It is expected. This is because OpenShift has more strict security policies than default Kubernetes. In fact, OpenShift has a concept called projects, which is namespaces with additional features, if you install the OpenShift Connector extension. It enhances this kubernetes extension and adds
Projects
to your cluster tree which you should be able to use like a regular namespace.@lslavkov Can you close this issue please, since you are ok with the resolution?