You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
In K9s 0.30.3, switching contexts to contexts that are give specific names with mixed letter case (Human friendly string like "Dev-US", instead of EKS cluster arn:aws:eks:region:1234556678899:cluster/cluster-name-goes-here), results in a quick "invalid context: `Dev-US specified" (yes, a single, single quote is right there - checked the code: it's an issue with the logged message).
This started with the 0.30 release of K9s (not sure about specific regressions until the current 0.30.3).
Removing the K9s config directory and starting over doesn't seem to have a positive effect.
To Reproduce
Switch to contexts view: ':ctx'
Select a named context (one that has a "name:" attribute in ~/.kube/config), which has at least one uppercase letter.
Get error message (the one with the single quote...)
Expected behavior
Changing contexts by name should work normally regardless of name composition.
Versions (please complete the following information):
OS: 13.6.3
K9s: 0.30.3
K8s: 1.24
The text was updated successfully, but these errors were encountered:
omry-arpaly
changed the title
Named contexts cannot be switched to from contexts view
Named mixed-case named contexts cannot be switched to from contexts view
Dec 26, 2023
omry-arpaly
changed the title
Named mixed-case named contexts cannot be switched to from contexts view
Mixed-case named contexts cannot be switched to from contexts view
Dec 26, 2023
Describe the bug
In K9s 0.30.3, switching contexts to contexts that are give specific names with mixed letter case (Human friendly string like "Dev-US", instead of EKS cluster arn:aws:eks:region:1234556678899:cluster/cluster-name-goes-here), results in a quick "invalid context: `Dev-US specified" (yes, a single, single quote is right there - checked the code: it's an issue with the logged message).
This started with the 0.30 release of K9s (not sure about specific regressions until the current 0.30.3).
Removing the K9s config directory and starting over doesn't seem to have a positive effect.
To Reproduce
Errors logged:
Expected behavior
Changing contexts by name should work normally regardless of name composition.
Versions (please complete the following information):
The text was updated successfully, but these errors were encountered: