Skip to content

Instantly share code, notes, and snippets.

@bkmeneguello
Created April 24, 2019 18:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bkmeneguello/d4bda299832741d9509c3385e489a0e9 to your computer and use it in GitHub Desktop.
Save bkmeneguello/d4bda299832741d9509c3385e489a0e9 to your computer and use it in GitHub Desktop.
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