Created
January 30, 2019 20:55
-
-
Save superseb/acb944e39c0166ec33aa1c43b5c61f8c to your computer and use it in GitHub Desktop.
cluster.rkestate to kubeconfig
This file contains hidden or 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
#!/bin/sh | |
cat cluster.rkestate | jq -r .desiredState.certificatesBundle.\"kube-admin\".config > kubeconfig |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment