mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
gce: plumb --kubelet-certificate-authority flag to apiserver
We want to start signing kubelets' serving certs with cluster CA. This flag is required to enforce that on apiserver side.
This commit is contained in:
parent
b36743fe30
commit
e86bdf5801
@ -1583,6 +1583,9 @@ function start-kube-apiserver {
|
||||
if [[ "${ENABLE_APISERVER_LOGS_HANDLER:-}" == "false" ]]; then
|
||||
params+=" --enable-logs-handler=false"
|
||||
fi
|
||||
if [[ -n "${APISERVER_KUBELET_CA:-}" ]]; then
|
||||
params+=" --kubelet-certificate-authority=${APISERVER_KUBELET_CA}"
|
||||
fi
|
||||
|
||||
local admission_controller_config_mount=""
|
||||
local admission_controller_config_volume=""
|
||||
|
Loading…
Reference in New Issue
Block a user