Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
$ kubectl --namespace kube-system describe secret $(kubectl --namespace kube-system get secret | grep admin-user | awk '{print $1}') | 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