adding paraneter for API_BIND_ADDRESS in local-up-cluster.sh. Default value is 0.0.0.0

pull/6/head
Bernard Van De Walle 2016-10-06 14:30:29 -07:00
parent 808ed6bfd0
commit f1b1c92ada
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ set +e
API_PORT=${API_PORT:-8080}
API_HOST=${API_HOST:-127.0.0.1}
API_HOST_IP=${API_HOST_IP:-${API_HOST}}
API_BIND_ADDR=${API_HOST_IP:-"0.0.0.0"}
API_BIND_ADDR=${API_BIND_ADDR:-"0.0.0.0"}
KUBELET_HOST=${KUBELET_HOST:-"127.0.0.1"}
# By default only allow CORS for requests on localhost
API_CORS_ALLOWED_ORIGINS=${API_CORS_ALLOWED_ORIGINS:-"/127.0.0.1(:[0-9]+)?$,/localhost(:[0-9]+)?$"}