so0k / powerline-kubernetes

A Powerline segment to show your current Kubernetes context
MIT License
41 stars 19 forks source link

Error when multiple files listed in `KUBECONFIG` env-variable #17

Open mortenlj opened 4 years ago

mortenlj commented 4 years ago

The KUBECONFIG env-variable supports multiple files (separated by :). The kubernetes library supports this, but powerline-kubernetes does it's own thing when loading the context, and doesn't handle multiple files.

wwmoraes commented 4 years ago

I have a working patch on my fork, MR #22

to start using it right away while the MR is not merged:

pip uninstall powerline-kubernetes
pip install https://github.com/wwmoraes/powerline-kubernetes/tarball/master#egg=powerline-kubernetes