mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 18:00:08 +00:00
Update according to review comments.
Will rebase before merge
This commit is contained in:
parent
385d18d05e
commit
f4d8aa1ca4
@ -233,7 +233,7 @@ CLUSTER_SIGNING_CERT_FILE=${CLUSTER_SIGNING_CERT_FILE:-"${ROOT_CA_FILE}"}
|
|||||||
CLUSTER_SIGNING_KEY_FILE=${CLUSTER_SIGNING_KEY_FILE:-"${ROOT_CA_KEY}"}
|
CLUSTER_SIGNING_KEY_FILE=${CLUSTER_SIGNING_KEY_FILE:-"${ROOT_CA_KEY}"}
|
||||||
# Reuse certs will skip generate new ca/cert files under CERT_DIR
|
# Reuse certs will skip generate new ca/cert files under CERT_DIR
|
||||||
# it's useful with PRESERVE_ETCD=true because new ca will make existed service account secrets invalided
|
# it's useful with PRESERVE_ETCD=true because new ca will make existed service account secrets invalided
|
||||||
REUSE_CERTS=${REUSE_CERTS:-"false"}
|
REUSE_CERTS=${REUSE_CERTS:-false}
|
||||||
|
|
||||||
# name of the cgroup driver, i.e. cgroupfs or systemd
|
# name of the cgroup driver, i.e. cgroupfs or systemd
|
||||||
if [[ ${CONTAINER_RUNTIME} == "docker" ]]; then
|
if [[ ${CONTAINER_RUNTIME} == "docker" ]]; then
|
||||||
@ -550,7 +550,7 @@ function start_apiserver {
|
|||||||
node_port_range="--service-node-port-range=${NODE_PORT_RANGE}"
|
node_port_range="--service-node-port-range=${NODE_PORT_RANGE}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "${REUSE_CERTS}" == "false" ]]; then
|
if [[ "${REUSE_CERTS}" != true ]]; then
|
||||||
# Create Certs
|
# Create Certs
|
||||||
generate_certs
|
generate_certs
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user