headlamp-k8s / headlamp

A Kubernetes web UI that is fully-featured, user-friendly and extensible
https://headlamp.dev
Apache License 2.0
2.42k stars 170 forks source link

Auth failed dialog has no option to go home when there's only 1 cluster #2591

Open joaquimrocha opened 1 week ago

joaquimrocha commented 1 week ago

Describe the bug

This is a reminiscence of when we didn't show the home if only one cluster was configured (because there's not much sense for pure in-cluster deployments): the auth dialog is not showing an option to go back home if there's only one cluster configured.

To Reproduce

Steps to reproduce the bug:

  1. Have only one cluster configured for Headlamp; make sure the cluster is unnaccessible.
  2. Open Headlamp try to access that cluster -> it should bring you to the auth failed dialog and there's no option to go back to the home view

Environment (please provide info about your environment):