local-up-cluster.sh: Remove ineffective parameters

Because kube-apiserver shows these warnings, this patch removes parameters
which has no effect.

Flag --insecure-bind-address has been deprecated, This flag has no effect now and will be removed in v1.24.
Flag --insecure-port has been deprecated, This flag has no effect now and will be removed in v1.24.
This commit is contained in:
Masashi Honma 2020-10-31 16:04:32 +09:00
parent 19ae1d7edc
commit 0cfb6a16e7

View File

@ -576,8 +576,6 @@ EOF
--secure-port="${API_SECURE_PORT}" \
--tls-cert-file="${CERT_DIR}/serving-kube-apiserver.crt" \
--tls-private-key-file="${CERT_DIR}/serving-kube-apiserver.key" \
--insecure-bind-address="${API_HOST_IP}" \
--insecure-port="${API_PORT}" \
--storage-backend="${STORAGE_BACKEND}" \
--storage-media-type="${STORAGE_MEDIA_TYPE}" \
--etcd-servers="http://${ETCD_HOST}:${ETCD_PORT}" \