Hi!
"--all-namespaces" is a rather useful flag for resources discovery, for example, if one needs to peek at a configmap in a different namespace before creating it for the workload one. This functionality is present in the TUI app for kubernetes, k9s.
I'm working on implementation for it, adding a special value ("ALL") to kubel--get-namespace call, and binding kubel-namespace in every namespace-specific function to whatever namespace is currently under cursor. kubel--populate-list gets a bit of a special treatment, as it's the only function that will possible append "--all-namespaces" to kubectl call.
Please tell me if this sounds reasonable; if it does, I'll push the PR as soon as I test it works.
P.S. @abrochard thank you so much for this package -- out of all others I tried, this gets the closest to be a k8s interface useable to admin large and complex setups!
Hi!
"--all-namespaces" is a rather useful flag for resources discovery, for example, if one needs to peek at a configmap in a different namespace before creating it for the workload one. This functionality is present in the TUI app for kubernetes, k9s.
I'm working on implementation for it, adding a special value ("ALL") to
kubel--get-namespacecall, and bindingkubel-namespacein every namespace-specific function to whatever namespace is currently under cursor.kubel--populate-listgets a bit of a special treatment, as it's the only function that will possible append "--all-namespaces" to kubectl call.Please tell me if this sounds reasonable; if it does, I'll push the PR as soon as I test it works.
P.S. @abrochard thank you so much for this package -- out of all others I tried, this gets the closest to be a k8s interface useable to admin large and complex setups!