Skip to content

Releases: Financial-Times/kubectl-login

Display login url on the cli

18 Sep 12:45
61e08a9
Compare
Choose a tag to compare

DutyOps use a linux vm. So for them to be able to use kubectl-login, displaying the dex rediret url on the terminal so that they can open it in a browser.

Read token in clear text under all operating system

15 May 18:45
6ae3dd8
Compare
Choose a tag to compare

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

04 May 06:57
d7bb5fa
Compare
Choose a tag to compare

Support for refresh tokens

30 Apr 10:49
9e0c6e9
Compare
Choose a tag to compare
  • generate kubeconfig with OIDC auth if refresh token is present in input
  • see #6

Support login to different clusters from different cmd/bash sessions

25 Apr 08:27
bf3df65
Compare
Choose a tag to compare

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

16 Apr 09:56
283fd72
Compare
Choose a tag to compare
  • introduced vendoring
  • reformatted and refactored code
  • added support for opening browser on windows and linux
    More details on the PR: #2

2.0.0!

04 Oct 11:30
Compare
Choose a tag to compare
  • Replace cluster flag with aliases for ease of use
  • Hopefully add browser opening support for non mac users

1.0.1

11 Sep 08:45
Compare
Choose a tag to compare
  • Fix issue with kubectl not setting cluster correctly sometimes
  • Reset terminal on ctrl-c

First release!

07 Jun 11:18
Compare
Choose a tag to compare
1.0

first commit