Skip to content

Commit 8516dae

Browse files
authored
Merge pull request #9346 from mercedes-benz/machinepool-test-builder
🌱 Add MachinePool Builders
2 parents 65c2418 + f0ffda0 commit 8516dae

File tree

4 files changed

+647
-24
lines changed

4 files changed

+647
-24
lines changed

bootstrap/kubeadm/internal/controllers/kubeadmconfig_controller_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2249,7 +2249,7 @@ func newMachinePool(cluster *clusterv1.Cluster, name string) *expv1.MachinePool
22492249
m := builder.MachinePool(cluster.Namespace, name).
22502250
WithClusterName(cluster.Name).
22512251
WithLabels(map[string]string{clusterv1.ClusterNameLabel: cluster.Name}).
2252-
WithBootstrapTemplate(bootstrapbuilder.KubeadmConfig(cluster.Namespace, "conf1").Unstructured()).
2252+
WithBootstrap(bootstrapbuilder.KubeadmConfig(cluster.Namespace, "conf1").Unstructured()).
22532253
WithVersion("1.19.1").
22542254
Build()
22552255
return m

0 commit comments

Comments
 (0)