Add local scripts, simplify kubecfg.sh

This commit is contained in:
derekwaynecarr
2014-08-11 11:49:04 -04:00
parent e35dfedd79
commit fea7b61b81
5 changed files with 150 additions and 13 deletions

View File

@@ -27,15 +27,4 @@ fi
detect-master > /dev/null
# detect-master returns this if there is no master found.
if [ "$KUBE_MASTER_IP" == "external-ip" ]; then
KUBE_MASTER_IP=""
fi
if [ "$KUBERNETES_MASTER" == "" ]; then
if [ "${KUBE_MASTER_IP}" != "" ]; then
$CLOUDCFG -h https://${KUBE_MASTER_IP} $@
exit $?
fi
fi
$CLOUDCFG $@