docs:fix broken link

This commit is contained in:
uucloud 2024-05-09 17:28:17 +08:00
parent d36b267023
commit 23f4f02bb0
2 changed files with 2 additions and 2 deletions

View File

@ -561,7 +561,7 @@ function Create-NodePki {
}
# Creates the bootstrap kubelet kubeconfig at $env:BOOTSTRAP_KUBECONFIG.
# https://kubernetes.io/docs/reference/command-line-tools-reference/kubelet-tls-bootstrapping/
# https://kubernetes.io/docs/reference/access-authn-authz/kubelet-tls-bootstrapping/
#
# Create-NodePki() must be called first.
#

View File

@ -883,7 +883,7 @@ func waitForAPIServerForever(client clientset.Interface, nodeName types.NodeName
// Get a CSINode from API server to make sure 1) kubelet can reach API server
// and 2) it has enough permissions. Kubelet may have restricted permissions
// when it's bootstrapping TLS.
// https://kubernetes.io/docs/reference/command-line-tools-reference/kubelet-tls-bootstrapping/
// https://kubernetes.io/docs/reference/access-authn-authz/kubelet-tls-bootstrapping/
_, lastErr = client.StorageV1().CSINodes().Get(context.TODO(), string(nodeName), opts)
if lastErr == nil || apierrors.IsNotFound(lastErr) {
// API server contacted