Make vSphere scripts work for binary deploys

Fixes #1732.
This commit is contained in:
Pieter Noordhuis
2014-10-10 18:52:02 -07:00
parent 74998eead4
commit e90f98a52c
13 changed files with 467 additions and 334 deletions

View File

@@ -36,7 +36,7 @@ MINIONS_FILE=/tmp/minions
"${KUBE_ROOT}/cluster/kubecfg.sh" -template $'{{range.Items}}{{.Name}}\n{{end}}' list minions > ${MINIONS_FILE}
# On vSphere, use minion IPs as their names
if [ "$KUBERNETES_PROVIDER" == "vsphere" ]; then
if [[ "${KUBERNETES_PROVIDER}" == "vsphere" ]]; then
for (( i=0; i<${#MINION_NAMES[@]}; i++)); do
MINION_NAMES[i]=${KUBE_MINION_IP_ADDRESSES[i]}
done