mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
Merge pull request #63323 from awly/gce-kubelet-ca
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. gce: plumb --kubelet-certificate-authority flag to apiserver **What this PR does / why we need it**: We want to start signing kubelets' serving certs with cluster CA. This flag is required to enforce that on apiserver side. **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: **Special notes for your reviewer**: **Release note**: ```release-note NONE ```
This commit is contained in:
commit
940e716c06
@ -1592,6 +1592,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