1Panel-dev / webkubectl

Run kubectl command in Web Browser.
Apache License 2.0
854 stars 117 forks source link

Sharing sessions between multiple users #50

Open guymenahem opened 1 year ago

guymenahem commented 1 year ago

Hi, I want to add a kubeconfig file and share it between multiple users. They will access the dashboard and the session configuration will be ready for them to "connect" without further configuration. Is there a way to do it?

FrankAnk commented 1 year ago

The kubeconfig is stored in the browser storage when creating e new session. You would have to share the kubeconfig file with other users so that they can each use the file to create a personal session. I don't think there is any other way to accomplish this.

guymenahem commented 1 year ago

Thank you @FrankAnk! If it keeps it on the browser storage it isn't possible.

I'm creating a hands-on workshop session when everyone can access kubectl that I've added in advance. I'll load the kubeconfig and it will be there available.