mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-11-11 21:01:41 +00:00
Before the bootstrap client is used, check a number of conditions that ensure it can be safely loaded by the server. If any of those conditions are invalid, re-bootstrap the node. This is primarily to force bootstrapping without human intervention when a certificate is expired, but also handles partial file corruption.