Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot list resource "namespaces" in API group "" at the cluster scope #22

Open
tzieleniewski opened this issue Feb 28, 2023 · 0 comments

Comments

@tzieleniewski
Copy link

Description

When tapping a service with the --namespace parameter tap is still trying to access all namespaces. in our situation this is a blocker issue as we have limited access to K8s API outside our namespace. Is there a way to enforce only namespace scope, instead of cluster, for all calls.

kubectl tap on --namespace test -p 8080 service

Error: error fetching namespaces: namespaces is forbidden: User "system:serviceaccount:...:..." cannot list resource "namespaces" in API group "" at the cluster scope

script returned exit code 1

Screenshots or other information

Kubernetes client version: v1.26.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant