Releases: Financial-Times/kubectl-login
Releases · Financial-Times/kubectl-login
Display login url on the cli
Read token in clear text under all operating system
We had issues with terminals on Mac not reading very long tokens correctly, similar to what happened in windows, therefore we switched to always reading the tokens in clear text.
Reuse existing cluster login sessions
Support for refresh tokens
- generate kubeconfig with OIDC auth if refresh token is present in input
- see #6
Support login to different clusters from different cmd/bash sessions
Summary
- enable a user to be logged in several clusters (one per command line/bash session)
- kubectl login generates a kubeconfig for the cluster we want to use
- a copy of the master kubeconfig is made, in the same folder
- credentials and contexts are set in this new config
- the path to the new config is returned as output
- the app is now run with a wrapper, which we source in order to set the
KUBECONFIG
environment variable
Migration from 2.x.x versions:
- download the new kubectl-login binary for your platform and place it in PATH
- download cluster-login.sh and make it available in PATH
- use from now on
source cluster-login.sh {cluster-alias}
in order to login to your cluster
Refactoring & vendoring
- introduced vendoring
- reformatted and refactored code
- added support for opening browser on windows and linux
More details on the PR: #2
2.0.0!
1.0.1
First release!
1.0 first commit