hawtio / hawtio-kubernetes

hawtio plugin for working with kubernetes
Apache License 2.0
24 stars 14 forks source link

kubernetes/projects tab should disable themselves when kubernetes isn't available #34

Open gashcrumb opened 9 years ago

gashcrumb commented 9 years ago

We could base this off of whether or not we detect configuration from /config.js, though I think that's openshift specific. At the very least we should maybe add a pre-bootstrap task to try and query the API server, and if not available we should disable the kubernetes tab. Same goes for projects, so we can hide the projects tab if the openshift API isn't available.