Skip to content

Conversation

@pranaysreeram
Copy link

@pranaysreeram pranaysreeram commented Nov 3, 2025

kubectl works fine with context names that have whitespace

For context name "ctx1 (with whitespace)", you see the following error in k9s:
image

@pranaysreeram pranaysreeram changed the title Quote context names fix: Quote context names Nov 3, 2025
@mpas97
Copy link
Contributor

mpas97 commented Nov 4, 2025

There was already a similar issue and MR. But they were closed. I guess due to missing cli integration. Maybe you could also include some tests like done previously (see #3302 and #3303)

@derailed
Copy link
Owner

derailed commented Nov 6, 2025

/cc @pranaysreeram

@pranaysreeram
Copy link
Author

/cc @pranaysreeram

@derailed @mpas97 Let me know if anything else needed!

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.

3 participants