mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-05 18:24:07 +00:00
adding paraneter for API_BIND_ADDRESS in local-up-cluster.sh. Default value is 0.0.0.0
This commit is contained in:
parent
808ed6bfd0
commit
f1b1c92ada
@ -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]+)?$"}
|
||||
|
Loading…
Reference in New Issue
Block a user