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
The filter by label is case-sensetive and should preserve it's case in history of filters. Currently it's not and I cannot reuse the same filter. Also writing a custom alias to aliases.yaml turns my command to lowercase - that breaks my flow and does not allow to filter what I want to filter.
To Reproduce
Steps to reproduce the behavior:
Type :Node command
Filter by label /-l eks.amazonaws.com/nodegroup=MyCluster-node-group-1 (this will work fine)
press Esc to clear the filter
Type / and then Tab (it will be lowercased) - press Enter - this filter now is not working, because it's lowercased
Also alias like: my-cluster-node-1: node -l eks.amazonaws.com/nodegroup=MyCluster-node-group-1 won't work, because when I type alias - it's command is also lowercased.
Expected behavior
Don't lowercase commands in aliases and filter by labels, because they are case sensitive.
Versions (please complete the following information):
OS: OSX
K9s: 0.32.5
K8s: 1.28
The text was updated successfully, but these errors were encountered:
Yunir
changed the title
Filter by label should be case-sensetive, otherwise it does not work (-l key) (+ also in alias commands)
Filter by label should be case-sensitive, otherwise it does not work (-l key) (+ also in alias commands)
Aug 28, 2024
Describe the bug
The filter by label is case-sensetive and should preserve it's case in history of filters. Currently it's not and I cannot reuse the same filter. Also writing a custom alias to aliases.yaml turns my command to lowercase - that breaks my flow and does not allow to filter what I want to filter.
To Reproduce
Steps to reproduce the behavior:
:Node
command/-l eks.amazonaws.com/nodegroup=MyCluster-node-group-1
(this will work fine)Esc
to clear the filter/
and thenTab
(it will be lowercased) - pressEnter
- this filter now is not working, because it's lowercasedAlso alias like:
my-cluster-node-1: node -l eks.amazonaws.com/nodegroup=MyCluster-node-group-1
won't work, because when I type alias - it's command is also lowercased.Expected behavior
Don't lowercase commands in aliases and filter by labels, because they are case sensitive.
Versions (please complete the following information):
The text was updated successfully, but these errors were encountered: