In local.go there are a couple of flags that changed their format for etcd > 3.6.0. kubeadm 1.36 no longer supports deploying a k8s version that maps to etcd < 3.6.0, thus the branching and the deprecated flags can be removed.
ErrorContains(t, err
Contains(t, err.Error()