Merge pull request #1547 from derekwaynecarr/do_not_certify_cert_with_vagrant

Do not verify certs against vagrant
This commit is contained in:
erictune 2014-10-02 15:31:35 -07:00
commit 82674d9c75

View File

@ -33,6 +33,7 @@ if [ "$KUBERNETES_PROVIDER" == "vagrant" ]; then
}
EOF
AUTH_CONFIG="-auth $HOME/.kubernetes_vagrant_auth"
SKIP_VERIFY="-insecure_skip_tls_verify"
fi
detect-master > /dev/null
@ -40,4 +41,4 @@ if [ "$KUBE_MASTER_IP" != "" ] && [ "$KUBERNETES_MASTER" == "" ]; then
export KUBERNETES_MASTER=https://${KUBE_MASTER_IP}
fi
$KUBECFG $AUTH_CONFIG "$@"
$KUBECFG $SKIP_VERIFY $AUTH_CONFIG "$@"