Last active
June 8, 2019 05:57
-
-
Save pgilad/8b81779ce94d76e2a90b9bee73defd40 to your computer and use it in GitHub Desktop.
Get k8s dashboard token for dashboard
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
#!/usr/bin/env fish | |
kubectl -n kube-system describe secrets (kubectl -n kube-system get secrets | awk '/clusterrole-aggregation-controller/ {print $1}') | awk '/token:/ {print $2}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment