From 0cfb6a16e7cb433ac753cf93ae84acb8da6c01ce Mon Sep 17 00:00:00 2001 From: Masashi Honma Date: Sat, 31 Oct 2020 16:04:32 +0900 Subject: [PATCH] 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. --- hack/local-up-cluster.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/hack/local-up-cluster.sh b/hack/local-up-cluster.sh index 02a434f8234..8f5f931d026 100755 --- a/hack/local-up-cluster.sh +++ b/hack/local-up-cluster.sh @@ -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}" \