From 3dfd3249875f0039cf018cb683277c5116017f7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Martins?= Date: Tue, 27 Sep 2016 17:52:07 +0100 Subject: [PATCH] hack: fix local-cluster-up advertise_address default value MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes: 9fc1d61ab70c3d72cb6bf16d5d6b002074a0f6cd Signed-off-by: André Martins --- hack/local-up-cluster.sh | 2 +- hack/verify-flags/exceptions.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/local-up-cluster.sh b/hack/local-up-cluster.sh index d1403280e69..c95abaf1d58 100755 --- a/hack/local-up-cluster.sh +++ b/hack/local-up-cluster.sh @@ -293,7 +293,7 @@ function start_apiserver { # is set to 127.0.0.1 advertise_address="" if [[ "${API_HOST}" != "127.0.0.1" ]]; then - advertise_address="--advertise_address=${API_HOST}" + advertise_address="--advertise_address=${API_HOST_IP}" fi APISERVER_LOG=/tmp/kube-apiserver.log diff --git a/hack/verify-flags/exceptions.txt b/hack/verify-flags/exceptions.txt index 3c14ea8b30d..9b7bc3085c5 100644 --- a/hack/verify-flags/exceptions.txt +++ b/hack/verify-flags/exceptions.txt @@ -86,7 +86,7 @@ federation/deploy/config.json.sample: "cluster_name": "cluster3-kubernetes" federation/deploy/config.json.sample: "num_nodes": 3, federation/deploy/config.json.sample: "num_nodes": 3, federation/deploy/config.json.sample: "num_nodes": 3, -hack/local-up-cluster.sh: advertise_address="--advertise_address=${API_HOST}" +hack/local-up-cluster.sh: advertise_address="--advertise_address=${API_HOST_IP}" hack/local-up-cluster.sh: runtime_config="--runtime-config=${RUNTIME_CONFIG}" hack/local-up-cluster.sh: advertise_address="" hack/local-up-cluster.sh: runtime_config=""