Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
dashboard https Unauthorized #31665
Dashboard version: 1.1
I'm guessing that your clusters are using certificates for secure communication over HTTPS. There are 2 issues here.
It's easy to authorize with curl because you can easily provide required data.
With browser it's more complicated than that. There are several ways to access dashboard:
Regarding second option. I can provide some information how to do that using firefox.
I don't know how to use bearer token in browser. Possibly it requires some manual work to add data to HTTP header before sending request to api server.
There are of course other options to authorize user. Kubernetes supports ABAC, RBAC and much more.
referenced this issue
Sep 30, 2016
The browser is required to authenticate when accessing the secured API server port. As #31665 (comment) demonstrates, that can be done with certificate-based authentication.
For token-based authentication, browsers do not give you a way to send bearer tokens automatically with your requests.
The dashboard describes how you can use