Skip to content

Commit

Permalink
Merge pull request #9346 from mercedes-benz/machinepool-test-builder
Browse files Browse the repository at this point in the history
🌱 Add MachinePool Builders
  • Loading branch information
k8s-ci-robot committed Sep 5, 2023
2 parents 65c2418 + f0ffda0 commit 8516dae
Show file tree
Hide file tree
Showing 4 changed files with 647 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2249,7 +2249,7 @@ func newMachinePool(cluster *clusterv1.Cluster, name string) *expv1.MachinePool
m := builder.MachinePool(cluster.Namespace, name).
WithClusterName(cluster.Name).
WithLabels(map[string]string{clusterv1.ClusterNameLabel: cluster.Name}).
WithBootstrapTemplate(bootstrapbuilder.KubeadmConfig(cluster.Namespace, "conf1").Unstructured()).
WithBootstrap(bootstrapbuilder.KubeadmConfig(cluster.Namespace, "conf1").Unstructured()).
WithVersion("1.19.1").
Build()
return m
Expand Down
Loading

0 comments on commit 8516dae

Please sign in to comment.