hack/local-up-cluster.sh: fix API_PORT

commit kubernetes/kubernetes@cfc2b33 causes a local cluster to not come up because it sets the default insecure port to 8080, which is no longer valid

Signed-off-by: Peter Hunt <pehunt@redhat.com>
This commit is contained in:
Peter Hunt 2020-10-29 17:17:53 -04:00
parent 26c8ce57a5
commit 174548659f

View File

@ -207,7 +207,7 @@ fi
# Shut down anyway if there's an error.
set +e
API_PORT=${API_PORT:-8080}
API_PORT=${API_PORT:-0}
API_SECURE_PORT=${API_SECURE_PORT:-6443}
# WARNING: For DNS to work on most setups you should export API_HOST as the docker0 ip address,