-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[chectl] Add server:login
command
#16415
Labels
area/chectl
Issues related to chectl, the CLI of Che
kind/task
Internal things, technical debt, and to-do tasks to be performed.
severity/P1
Has a major impact to usage or development of the system.
Milestone
Comments
Also, please consider the ability to have different contexts, like kubectl, oc have. > chectl server:start --platform=kubernetes --installer=helm --multiuser -n che-helm
...
Started and accessible https://che-helm...
> chectl context
K8s Che User
192.168.0.101(minikube)#che-helm https://che-helm... -
> chectl server:stop
https://che-helm... is suspended # Note the namespace is got from context
> oc login https://my-openshift.com
> chectl server:start --platform=openshift --installer=operator --multiuser
...
Started and accessible https://che-che...
> chectl login -u admin -p admin
> chectl context
K8s Che User
192.168.0.101(minikube)#che-helm https://che-helm... -
* my-openshift.com#che https://che-che... Admin |
@sleshchenko |
you're are talking about accessToken, right? Don't refresh token has longer lifetime? BTW asking a user to type username and password is better than fails with requiring set environment variable with token and retry. |
9 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/chectl
Issues related to chectl, the CLI of Che
kind/task
Internal things, technical debt, and to-do tasks to be performed.
severity/P1
Has a major impact to usage or development of the system.
Is your task related to a problem? Please describe.
In multi-user installation every chectl commands require access-token.
It is better to get it once, store it and use.
Describe the solution you'd like
Add
server:login
command to login into Eclipse Che, retrieve token as store it.The text was updated successfully, but these errors were encountered: