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: preKubeadmCommands: - | cat <