1Panel-dev / webkubectl

Run kubectl command in Web Browser.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is there any authentication for the UI ?

saiyam1814 opened this issue · comments

It would be good if there is any authentication for login into the UI

Yes, you can set env GOTTY_CREDENTIAL=user:pwd to enable the basic authentication.
docker run --name="webkubectl" -p 8080:8080 -e GOTTY_CREDENTIAL=user01:password01 -d --privileged kubeoperator/webkubectl

Awesome thanks, So I am writing a blog (almost finished) where I show how to deploy and use webkubectl inside Kubernetes cluster

Good to know that, thank you. 😃

is there any way where we can define multiple usernames and passwords for diff people as I can see with basic authentication we can only provide one username and password?

Not support this.

any plan for this support?

any plan for this support?

Would you please log a new issue for this feature?

is there any way where we can define multiple usernames and passwords for diff people as I can see with basic authentication we can only provide one username and password?

Multiple username and password is supported since v2.11.0