lens
lens copied to clipboard
App cash when searching namespace with and start with backslash "\"
Describe the bug
This was not intentional but an accidental discovery, I wanted to search for a namespace in my cluster, and accidentally hit backslash and got and error: App crash at /pods
That app is then broken and even if you navigate to deployments or any other tab is hows App crash at /deployment
etc.
You then have to disconnect from the cluster and reconnect for the view to return to expected.
To Reproduce Steps to reproduce the behavior:
- Open Lens
- Connect to a Cluster
- Click on Pods or any tab that you can search a
namespace
- Enter the backspace char
\
- See Error produced
Expected behavior I would expect an empty result with the All Namespaces as a selectable, like when you start with a char you dont have any namespace in.
Screenshots
Problem:
Expectation:
Environment (please complete the following information):
- Lens Version: 2023.10.181418-latest
- OS: Windows 10 Enterprise, Version 22H2, Build: 19045.2604
- Installation method (e.g. snap or AppImage in Linux): Downloaded from
https://k8slens.dev/
Logs: When you run the application executable from command line you will see some logging output. Please paste them here: Please let me know if there is a specifc section of the logs required, theres a lot of log output to filter for sensitive information. I can say, once the "App Crash" happens, there is no additional logging output, only the cluster refresh after a few seconds (which does not fail)
Your logs go here...
Kubeconfig: I can share the config if really required, but Honestly am not sure if this is related to the kube config at all.
your kubeconfig here