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

Can not switch to namespace without the global list namespaces permission #112

Open
synox opened this issue Jul 4, 2022 · 1 comment
Open

Comments

@synox
Copy link

synox commented Jul 4, 2022

❯ kubie ctx cluster1
❯ kubie ns my-ns
Error: Error calling kubectl: Error from server (Forbidden): namespaces is forbidden: User "...." cannot list resource "namespaces" in API group "" at the cluster scope

@TyBrown
Copy link
Contributor

TyBrown commented Jul 4, 2022

Per the info in the README:

# Behavior
behavior:
    # Make sure the namespace exists with `kubectl get namespaces` when switching
    # namespaces. If you do not have the right to list namespaces, disable this.
    # Default: true
    validate_namespaces: true

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

2 participants