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

Add option to disable namespace validation #60

Merged
merged 3 commits into from
Feb 15, 2021
Merged

Conversation

sbstp
Copy link
Owner

@sbstp sbstp commented Feb 14, 2021

Fixes #59

Simon Bernier St-Pierre and others added 2 commits February 14, 2021 12:25
@sbstp
Copy link
Owner Author

sbstp commented Feb 14, 2021

@rombert works for you?

@rombert
Copy link

rombert commented Feb 15, 2021

Thanks for preparing the changes, @sbstp ! With the PR applied, kubie ctx -n $NS $CTX works, but kubie ctx $CTX followed by kubie ns $NS does not. The error is the same:

User ... cannot list resource "namespaces" in API group "" at the cluster scope

@sbstp
Copy link
Owner Author

sbstp commented Feb 15, 2021

Thanks for testing, there was indeed an issue with the code. Can you try again?

@rombert
Copy link

rombert commented Feb 15, 2021

It works perfectly now, thanks @sbstp !

@sbstp sbstp merged commit e5797b7 into master Feb 15, 2021
@sbstp sbstp deleted the validate-namespaces branch February 15, 2021 21:42
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

Successfully merging this pull request may close these issues.

Allow switching namespaces without trying to list them
2 participants