Skip to content

Commit 4cc32f8

Browse files
committed
Remove cloud-provider arg for kube-apiserver in local-up-cluster.sh
1 parent 2ca9e2d commit 4cc32f8

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

hack/local-up-cluster.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -572,11 +572,6 @@ function start_apiserver {
572572
generate_certs
573573
fi
574574

575-
cloud_config_arg="--cloud-provider=${CLOUD_PROVIDER} --cloud-config=${CLOUD_CONFIG}"
576-
if [[ "${EXTERNAL_CLOUD_PROVIDER:-}" == "true" ]]; then
577-
cloud_config_arg="--cloud-provider=external"
578-
fi
579-
580575
if [[ -z "${EGRESS_SELECTOR_CONFIG_FILE:-}" ]]; then
581576
cat <<EOF > "${TMP_DIR}"/kube_egress_selector_configuration.yaml
582577
apiVersion: apiserver.k8s.io/v1beta1
@@ -609,7 +604,6 @@ EOF
609604
APISERVER_LOG=${LOG_DIR}/kube-apiserver.log
610605
# shellcheck disable=SC2086
611606
${CONTROLPLANE_SUDO} "${GO_OUT}/kube-apiserver" "${authorizer_args[@]}" "${priv_arg}" ${runtime_config} \
612-
${cloud_config_arg} \
613607
"${advertise_address}" \
614608
"${node_port_range}" \
615609
--v="${LOG_LEVEL}" \

0 commit comments

Comments
 (0)