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

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

fix: refactor reconcile loop #98

Closed Unix4ever closed 2 years ago

Unix4ever 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

smira commented 2 years ago

I think PR title should be updated as well as the commit messages ;)

Unix4ever commented 2 years ago

/m