From a767b700b4b81ee75092d6b0856a2422c4f4a0f0 Mon Sep 17 00:00:00 2001 From: Andrew Stuart Date: Mon, 29 Feb 2016 13:47:12 -0700 Subject: [PATCH] Update start_kubedns to use API_{HOST,PORT} vars --- hack/local-up-cluster.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/local-up-cluster.sh b/hack/local-up-cluster.sh index f049e5243b8..d6bebd83e6e 100755 --- a/hack/local-up-cluster.sh +++ b/hack/local-up-cluster.sh @@ -386,7 +386,7 @@ kind: Namespace metadata: name: kube-system EOF - ${KUBECTL} config set-cluster local --server=http://127.0.0.1:8080 --insecure-skip-tls-verify=true + ${KUBECTL} config set-cluster local --server=http://${API_HOST}:${API_PORT} --insecure-skip-tls-verify=true ${KUBECTL} config set-context local --cluster=local ${KUBECTL} config use-context local