mirror of
https://github.com/dsx-ai-factory/nvke.git
synced 2026-12-07 04:35:58 +08:00
* feat(controller): approve kubelet client CSRs for bootstrap identities Add a management-cluster controller that approves the initial kubelet client CSR for a Machine when the CSR matches the Machine's bootstrap identity and expected node name. The controller reads tenant clusters through ClusterCache, limited to Clusters NVKE manages, and reports the outcome in the nvke.nvidia.com/KubeletClientCertificateIssued condition. The controller runs only when controllers.bootstrap.enabled is set. The chart grants approve on the kube-apiserver-client-kubelet signer inside that block. Signed-off-by: Ryan Bever <rbever@nvidia.com> * fix(controller): approve a kubelet client CSR retry after an earlier certificate is issued Kubelet abandons a CSR after 15 minutes and creates a new one. Stopping approval once any certificate is issued leaves that retry unapproved until the ignored CSR is garbage collected. Signed-off-by: Ryan Bever <rbever@nvidia.com> --------- Signed-off-by: Ryan Bever <rbever@nvidia.com>