Last active
February 7, 2019 17:17
-
-
Save renatoassis01/35b59412a55ec4a3ae01f8310685bac5 to your computer and use it in GitHub Desktop.
Get the token kubernetes
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 -n kube-system $(kubectl get secrets -n kube-system | grep default | cut -f1 -d ' ') | grep -E '^token' | cut -f2 -d':' | tr -d '\t' | tr -d " ") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment