Revert "remove second CA used for kubelet auth in favor of webhook auth"

This commit is contained in:
Aleksandra Malinowska
2017-02-08 13:22:10 +01:00
committed by GitHub
parent d953402cdf
commit 1841e5b2e0
9 changed files with 50 additions and 61 deletions

View File

@@ -233,6 +233,9 @@ function prepare-node-upgrade() {
KUBELET_CERT_BASE64=$(get-env-val "${node_env}" "KUBELET_CERT")
KUBELET_KEY_BASE64=$(get-env-val "${node_env}" "KUBELET_KEY")
local master_env=$(get-master-env)
KUBELET_AUTH_CA_CERT_BASE64=$(get-env-val "${master_env}" "KUBELET_AUTH_CA_CERT")
# TODO(zmerlynn): How do we ensure kube-env is written in a ${version}-
# compatible way?
write-node-env