kind: KubeadmControlPlane apiVersion: controlplane.cluster.x-k8s.io/v1alpha3 metadata: name: cluster-controlplane spec: replicas: 1 version: v1.18.6 infrastructureTemplate: kind: Metal3MachineTemplate apiVersion: infrastructure.cluster.x-k8s.io/v1alpha3 name: cluster-controlplane kubeadmConfigSpec: clusterConfiguration: apiServer: timeoutForControlPlane: 1000s preKubeadmCommands: - echo 'root:r00tme' | chpasswd - echo 'ubuntu:r00tme' | chpasswd - | cat <