OKD deployment fails with CAPI 1.11+

Testing new CAPI version in !5900 shows OKD workload cluster cannot be deployed.

Error in bootstrap controller:

E1223 16:31:04.792698       1 controller.go:316] "Reconciler error"
 err="failed to get owner:
 failed to construct object of type cluster.x-k8s.io/v1beta2, Kind=Machine:
 no kind \"Machine\" is registered for version \"cluster.x-k8s.io/v1beta2\"
   in scheme \"bootstrap/main.go:64\""

controller="openshiftassistedconfig" controllerGroup="bootstrap.cluster.x-k8s.io" controllerKind="OpenshiftAssistedConfig" OpenshiftAssistedConfig="okd-capm3-virt/wc-2230053423-okd-capm3-virt-md0-k88cb-jl97d" namespace="okd-capm3-virt" name="wc-2230053423-okd-capm3-virt-md0-k88cb-jl97d" reconcileID="59ed8b7a-9d01-4ee1-8cea-4156bbd41da2"
Edited by Thomas Morin