mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Merge pull request #55385 from xiangpengzhao/remove-script-1.6
Automatic merge from submit-queue (batch tested with PRs 55265, 54092, 55353, 53733, 55385). 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>. Symbol links of key and cert are no longer used. **What this PR does / why we need it**: This is unused for current cycle. **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: ref #42660 **Special notes for your reviewer**: /cc @mikedanese **Release note**: ```release-note NONE ```
This commit is contained in:
commit
e64dc21ba6
@ -66,10 +66,6 @@ function create-node-pki {
|
||||
KUBELET_KEY_PATH="${pki_dir}/kubelet.key"
|
||||
echo "${KUBELET_KEY}" | base64 --decode > "${KUBELET_KEY_PATH}"
|
||||
fi
|
||||
|
||||
# TODO(mikedanese): remove this when we don't support downgrading to versions
|
||||
# < 1.6.
|
||||
ln -sf "${CA_CERT_BUNDLE_PATH}" /etc/kubernetes/ca.crt
|
||||
}
|
||||
|
||||
# A hookpoint for setting up local devices
|
||||
|
@ -244,10 +244,6 @@ function create-node-pki {
|
||||
KUBELET_KEY_PATH="${pki_dir}/kubelet.key"
|
||||
write-pki-data "${KUBELET_KEY}" "${KUBELET_KEY_PATH}"
|
||||
fi
|
||||
|
||||
# TODO(mikedanese): remove this when we don't support downgrading to versions
|
||||
# < 1.6.
|
||||
ln -sf "${CA_CERT_BUNDLE_PATH}" /etc/srv/kubernetes/ca.crt
|
||||
}
|
||||
|
||||
function create-master-pki {
|
||||
@ -298,11 +294,6 @@ function create-master-pki {
|
||||
SERVICEACCOUNT_KEY_PATH="${pki_dir}/serviceaccount.key"
|
||||
write-pki-data "${SERVICEACCOUNT_KEY}" "${SERVICEACCOUNT_KEY_PATH}"
|
||||
|
||||
# TODO(mikedanese): remove this when we don't support downgrading to versions
|
||||
# < 1.6.
|
||||
ln -sf "${APISERVER_SERVER_KEY_PATH}" /etc/srv/kubernetes/server.key
|
||||
ln -sf "${APISERVER_SERVER_CERT_PATH}" /etc/srv/kubernetes/server.cert
|
||||
|
||||
if [[ ! -z "${REQUESTHEADER_CA_CERT:-}" ]]; then
|
||||
AGGREGATOR_CA_KEY_PATH="${pki_dir}/aggr_ca.key"
|
||||
write-pki-data "${AGGREGATOR_CA_KEY}" "${AGGREGATOR_CA_KEY_PATH}"
|
||||
|
Loading…
Reference in New Issue
Block a user