diff --git a/cluster/local/util.sh b/cluster/local/util.sh index 8473e1a5e0b..c019ee4926d 100755 --- a/cluster/local/util.sh +++ b/cluster/local/util.sh @@ -16,5 +16,10 @@ # Perform preparations required to run e2e tests function prepare-e2e() { echo "Local doesn't need special preparations for e2e tests" 1>&2 - +} + +# Must ensure that the following ENV vars are set +function detect-master { + export KUBE_MASTER_IP="127.0.0.1" + export KUBE_MASTER="localhost" }