From 275c29e208813c11fc08f0caf8614bb23886a9b0 Mon Sep 17 00:00:00 2001 From: derekwaynecarr Date: Mon, 29 Aug 2016 17:16:13 -0400 Subject: [PATCH] Fix running e2e against local cluster --- cluster/local/util.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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" }