[e2e] Update ClusterLabelName usage
@@ -219,7 +219,7 @@ func makeMachineDeployment(namespace, mdName, awsMachineTemplateName, bootstrapC
Name: mdName,
Namespace: namespace,
Labels: map[string]string{
- clusterv1.MachineClusterLabelName: clusterName,
+ clusterv1.ClusterLabelName: clusterName,
"nodepool": mdName,
},
},
@@ -227,14 +227,14 @@ func makeMachineDeployment(namespace, mdName, awsMachineTemplateName, bootstrapC
Replicas: &replicas,
Selector: metav1.LabelSelector{
MatchLabels: map[string]string{
- clusterv1.MachineClusterLabelName: clusterName,
+ clusterv1.ClusterLabelName: clusterName,
"nodepool": mdName,
},
},
Template: clusterv1.MachineTemplateSpec{
ObjectMeta: clusterv1.ObjectMeta{
Labels: map[string]string{
- clusterv1.MachineClusterLabelName: clusterName,
+ clusterv1.ClusterLabelName: clusterName,
"nodepool": mdName,
},
},
