Unverified Commit bfca0d32 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #63689 from awly/gce-fix-kubelet-ca-path

Automatic merge from submit-queue (batch tested with PRs 63969, 63902, 63689, 63973, 63978). 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>. Reuse existing CA cert path for kubelet certs **What this PR does / why we need it**: configure-helper.sh already knows the path to CA cert, re-use that to avoid typos. **Special notes for your reviewer**: **Release note**: ```release-note NONE ```
parents 2d1f42e0 1c94d0bd
...@@ -1594,8 +1594,8 @@ function start-kube-apiserver { ...@@ -1594,8 +1594,8 @@ function start-kube-apiserver {
if [[ "${ENABLE_APISERVER_LOGS_HANDLER:-}" == "false" ]]; then if [[ "${ENABLE_APISERVER_LOGS_HANDLER:-}" == "false" ]]; then
params+=" --enable-logs-handler=false" params+=" --enable-logs-handler=false"
fi fi
if [[ -n "${APISERVER_KUBELET_CA:-}" ]]; then if [[ "${APISERVER_SET_KUBELET_CA:-false}" == "true" ]]; then
params+=" --kubelet-certificate-authority=${APISERVER_KUBELET_CA}" params+=" --kubelet-certificate-authority=${CA_CERT_BUNDLE_PATH}"
fi fi
local admission_controller_config_mount="" local admission_controller_config_mount=""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment