@@ -866,7 +866,7 @@ func TestApply(t *testing.T) {
866
866
// * A ClusterClass with its corresponding templates:
867
867
// * ControlPlaneTemplate with a corresponding ControlPlane InfrastructureMachineTemplate.
868
868
// * MachineDeploymentClass "default-worker" with corresponding BootstrapTemplate and InfrastructureMachineTemplate.
869
- // * MachinePoolClass "default-mp-worker" with corresponding BootstrapTemplate and InfrastructureMachineTemplate .
869
+ // * MachinePoolClass "default-mp-worker" with corresponding BootstrapTemplate and InfrastructureMachinePoolTemplate .
870
870
// * The corresponding Cluster.spec.topology:
871
871
// * with 3 ControlPlane replicas
872
872
// * with a "default-worker-topo1" MachineDeploymentTopology without replicas (based on "default-worker")
@@ -988,13 +988,13 @@ func setupTestObjects() (*scope.ClusterBlueprint, *scope.ClusterState) {
988
988
989
989
workerInfrastructureMachineTemplate := builder .InfrastructureMachineTemplate (metav1 .NamespaceDefault , "linux-worker-inframachinetemplate" ).
990
990
Build ()
991
- workerInfrastructureMachinePoolTemplate := builder .InfrastructureMachinePoolTemplate (metav1 .NamespaceDefault , "linux-worker-inframachinetemplate " ).
991
+ workerInfrastructureMachinePoolTemplate := builder .InfrastructureMachinePoolTemplate (metav1 .NamespaceDefault , "linux-worker-inframachinepooltemplate " ).
992
992
Build ()
993
- workerInfrastructureMachinePool := builder .InfrastructureMachinePool (metav1 .NamespaceDefault , "linux-worker-inframachinetemplate " ).
993
+ workerInfrastructureMachinePool := builder .InfrastructureMachinePool (metav1 .NamespaceDefault , "linux-worker-inframachinepool " ).
994
994
Build ()
995
- workerBootstrapTemplate := builder .BootstrapTemplate (metav1 .NamespaceDefault , "linux-worker-bootstraptemplate " ).
995
+ workerBootstrapTemplate := builder .BootstrapTemplate (metav1 .NamespaceDefault , "linux-worker-bootstrapconfigtemplate " ).
996
996
Build ()
997
- workerBootstrapConfig := builder .BootstrapConfig (metav1 .NamespaceDefault , "linux-worker-bootstraptemplate " ).
997
+ workerBootstrapConfig := builder .BootstrapConfig (metav1 .NamespaceDefault , "linux-worker-bootstrapconfig " ).
998
998
Build ()
999
999
mdClass1 := builder .MachineDeploymentClass ("default-worker" ).
1000
1000
WithInfrastructureTemplate (workerInfrastructureMachineTemplate ).
@@ -1064,7 +1064,7 @@ func setupTestObjects() (*scope.ClusterBlueprint, *scope.ClusterState) {
1064
1064
},
1065
1065
{
1066
1066
Name : "default-mp-worker-infra" ,
1067
- // This value should be overwritten for the default-mp-worker-topo1 MachineDeployment .
1067
+ // This value should be overwritten for the default-mp-worker-topo1 MachinePool .
1068
1068
Value : apiextensionsv1.JSON {Raw : []byte (`"default-mp-worker-topo2"` )},
1069
1069
DefinitionFrom : "inline" ,
1070
1070
},
0 commit comments