Last active
December 4, 2017 20:57
-
-
Save ipolyzos/667d8fe23a156a54d9ebb00b68ce92d4 to your computer and use it in GitHub Desktop.
retrieve kubernetes bearer token
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ TOKEN=$(kubectl describe secret $(kubectl get secrets | grep default | cut -f1 -d ' ') | grep -E '^token' | cut -f2 -d':' | tr -d '\t') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment