[k9s] allow `k9s -n` to list all namespaces
AlanSyue opened this issue · comments
Alan Syue commented
Sanity checks
- My issue relates to a specific CLI completion spec (e.g.
git checkout
is missing options ingit
completion spec). If your issue is more general, please create your issue here: withfig/fig - I have searched github.com/withfig/autocomplete/issues and there are no duplicates of my issue
- I would like to work on this.
What CLI tool does this relate to?
k9s
Which statement makes the most sense?
This completion spec isn't complete
Issue Details
When I use k9s -n
commands, I found we should support it to list all namespaces to make users can choose the namespace they want to use easily.
Maybe we can use kubectl
command to find all namespaces.
reference: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/#viewing-namespaces
kubectl get namespace