siderolabs / cluster-api-control-plane-provider-talos

A control plane provider for CAPI + Talos
Mozilla Public License 2.0
60 stars 20 forks source link

refactor: change reconcile loop flow #99

Closed rsmitty closed 2 years ago

rsmitty commented 2 years ago

Refactor reconcile loop to resemble Kubeadm controlplane controller. Now it tries to reconcile: etcd status, nodes health, bootstrap status and kubeconfig on each reconcile call. This makes kubeconfig available much earlier and also different reconcile phases do not cancel each other anymore.

Signed-off-by: Artem Chernyshev artem.chernyshev@talos-systems.com (cherry picked from commit f3cba54e1f3f62116e728023731e0f4a6ad5a6a1)

rsmitty commented 2 years ago

/m