1Panel-dev / webkubectl

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

Is there any authentication for the UI ? #19

Closed saiyam1814 closed 3 years ago

saiyam1814 commented 3 years ago

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

liqiang-fit2cloud commented 3 years ago

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

saiyam1814 commented 3 years ago

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

liqiang-fit2cloud commented 3 years ago

Good to know that, thank you. :smiley:

jainpratik163 commented 2 years ago

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?

liqiang-fit2cloud commented 2 years ago

Not support this.

jainpratik163 commented 2 years ago

any plan for this support?

liqiang-fit2cloud commented 2 years ago

any plan for this support?

Would you please log a new issue for this feature?

liqiang-fit2cloud commented 2 years ago

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