Skip to content

Instantly share code, notes, and snippets.

@mimizone
Created August 8, 2018 18:59
Show Gist options
  • Save mimizone/c9717157d8fdd9b3ae1e5c7e9997d32f to your computer and use it in GitHub Desktop.
Save mimizone/c9717157d8fdd9b3ae1e5c7e9997d32f to your computer and use it in GitHub Desktop.
get kubernetes CA cert
kubectl config view --minify=true --flatten -o json | jq '.clusters[0].cluster."certificate-authority-data"' -r | base64 --decode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment