ahmetb / kubectl-tree

kubectl plugin to browse Kubernetes object hierarchies as a tree 🎄 (star the repo if you are using)
Apache License 2.0
2.98k stars 122 forks source link

Doesn't read current namespace from kubeconfig as CLI fallback #1

Closed ahmetb closed 4 years ago

ahmetb commented 4 years ago

If --namespace/-n is not specified we currently hardcode "default" because genericclioptions isn't setting/providing the namespace from context object of kubeconfig.

Tracking at https://github.com/kubernetes/cli-runtime/issues/9