Apply MachineDeployment labels on the Node object
@@ -124,6 +124,9 @@ func createMachineDeployment(cluster *kubeoneapi.KubeOneCluster, workerset kubeo
Labels: labels.Merge(workerset.Config.Labels, workersetNameLabels),
},
Spec: clusterv1alpha1.MachineSpec{
+ ObjectMeta: metav1.ObjectMeta{
+ Labels: labels.Merge(workerset.Config.Labels, workersetNameLabels),
+ },
Versions: clusterv1alpha1.MachineVersionInfo{
Kubelet: cluster.Versions.Kubernetes,
},
