Created
February 5, 2020 03:44
-
-
Save onelittlenightmusic/8e143fa0f9522a39cec7a5b242a9d4b4 to your computer and use it in GitHub Desktop.
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
sed -i -e "s/server:.*/server: https:\/\/$(docker port capi-quickstart-lb 6443/tcp | sed "s/0.0.0.0/127.0.0.1/")/g" ./capi-quickstart.kubeconfig | |
# Ignore the CA, because it is not signed for 127.0.0.1 | |
sed -i -e "s/certificate-authority-data:.*/insecure-skip-tls-verify: true/g" ./capi-quickstart.kubeconfig |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment