1Panel-dev / webkubectl

Run kubectl command in Web Browser.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for multiple username and password for login

jainpratik163 opened this issue · comments

is there any way 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.

or can we get integration with LDAP.
can we have such a feature?

I think adding a new environment variable GOTTY_CREDENTIAL_FILE that specifies a password file which contains multiple usernames and passwords in lines will be ok.

Integration with LDAP is a little bit complex for now...

Hi,
v2.11.0 has just been released to support multi username and password.
Usage:
docker run --name="webkubectl" -p 8080:8080 -v /tmp/webkubectl.passwd:/opt/webkubectl.passwd -e GOTTY_CREDENTIAL_FILE=/opt/webkubectl.passwd -d --privileged kubeoperator/webkubectl
image
You can have a try.