mirror of
https://github.com/dsx-ai-factory/nvke.git
synced 2026-12-07 04:35:58 +08:00
The orphan sweep and the sibling cleanup kept an entry only while a Machine carried its host ID. An adopted control-plane node has a node record and no Machine, so the operator's labelled entry for it was deleted after an hour. Make the NVKE node record the source of truth: an entry is live while the node its SPIFFE ID names has a record, and the sibling cleanup also drops a record that is being deleted. Signed-off-by: Abhinav Pandey <abhinavmpandey08@gmail.com>
CAPI Controllers
This package is for new controller-runtime or otherwise Kubernetes-native controllers in CWE.
These controllers should reconcile Kubernetes API state only. They should not depend on CWE-specific systems such as Temporal workflows or PostgreSQL state.
Most of the older controllers in internal/controllers/ predate this split and are still CWE-specific. Many of them use Temporal and/or Postgres directly, and some are hybrid controllers that combine Kubernetes reconciliation with CWE-owned state.
Longer term, controllers in this package are expected to move into the Cluster API NVKE providers (bootstrap, controlplane, or capn) once that code is ready to live outside CWE.