onyxia icon indicating copy to clipboard operation
onyxia copied to clipboard

Add a "Connect to Kubernetes" tab in the "My account" page

Open sathieu opened this issue 4 years ago • 4 comments

This could be configurable at region level.

This tab would show all parameters needed to connect to k8s API, as in k8s-onboarding:

image

Inspired by the storage tab:

image

sathieu avatar Nov 25 '21 15:11 sathieu

I'm okay with this as long as it's optional and configurable. Not every cluster exposes the API server publicly.

olevitt avatar Nov 25 '21 15:11 olevitt

How do you want to make it optional ? The API will send a param ?

ddecrulle avatar Sep 08 '22 08:09 ddecrulle

@ddecrulle I think it should be a region config, probably near: https://github.com/InseeFrLab/onyxia-api/blob/9349b5c327f5a6b75d259f6970fe31b672a2ea1c/docs/region-configuration.md#k8spublicendpoint-properties

sathieu avatar Sep 08 '22 08:09 sathieu

I think having K8sPublicEndpoint.URL defined in the region configuration may be enough to signify to the UI that it can display the "connect to kubernetes" tab.
By the way, it seems there is a typo in the documentation : https://vault.change.me does not look that great as a k8s apiserver endpoint URL :smiley:

olevitt avatar Sep 08 '22 08:09 olevitt

🎉

sathieu avatar Jan 05 '23 12:01 sathieu