diff --git a/controlplane/kubeadm/internal/controllers/status.go b/controlplane/kubeadm/internal/controllers/status.go index 7ebdbe6da49e..d24589047fb2 100644 --- a/controlplane/kubeadm/internal/controllers/status.go +++ b/controlplane/kubeadm/internal/controllers/status.go @@ -56,8 +56,7 @@ func (r *KubeadmControlPlaneReconciler) updateStatus(ctx context.Context, contro return nil } - machinesWithHealthyAPIServer := controlPlane.Machines.Filter(collections.HealthyAPIServer()) - lowestVersion := machinesWithHealthyAPIServer.LowestVersion() + lowestVersion := controlPlane.Machines.LowestVersion() if lowestVersion != nil { controlPlane.KCP.Status.Version = lowestVersion }