Use the kubectl binary rather than the wrapper shell script in the

kubectl e2e test.
This commit is contained in:
Robert Bailey
2015-02-27 18:29:28 -08:00
parent cc3c4414f8
commit 3ae85812bd
2 changed files with 18 additions and 9 deletions

View File

@@ -103,6 +103,8 @@ else
auth_config=()
fi
# Use the kubectl binary from the same directory as the e2e binary.
export PATH=$(dirname "${e2e}"):"${PATH}"
"${e2e}" "${auth_config[@]:+${auth_config[@]}}" \
--host="https://${KUBE_MASTER_IP-}" \
--provider="${KUBERNETES_PROVIDER}" \