ProxyAuthK8s Docs
ApiAuth_clusters

Redirect to the cluster's login page

Last updated on

If the cluster is not found or disabled, return 404.

GET
/clusters/{ns}/{cluster}/auth/login

Authorization

bearer_auth
AuthorizationBearer <token>

In: header

Path Parameters

ns*string

Namespace containing the cluster.

cluster*string

Cluster name that should exist in the namespace.

Header Parameters

x-front-callback*|

If it's from the frontend, this header will be set.

x-kubectl-callback*|

If it's from kubectl plugin, this header will be set.

Response Body

text/plain

curl -X GET "https://loading/clusters/string/string/auth/login" \  -H "x-front-callback: string" \  -H "x-kubectl-callback: string"
"string"
Empty
Empty

Have feedback?

Share on GitHub