Skip to content

Commit

Permalink
Add MachinePool Builders
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes Frey committed Sep 5, 2023
1 parent 3ea7155 commit f0ffda0
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 f0ffda0

Please sign in to comment.