Skip to content

Commit 98afd8e

Browse files
stephenfinMaysaMacedo
authored andcommitted
cluster-api: Configure CAPO controller
Signed-off-by: Stephen Finucane <[email protected]>
1 parent 78c2d44 commit 98afd8e

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

pkg/clusterapi/system.go

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,21 @@ func (c *system) Run(ctx context.Context, installConfig *installconfig.InstallCo
194194
case nutanix.Name:
195195
// TODO
196196
case openstack.Name:
197-
// TODO
197+
controllers = append(controllers,
198+
c.getInfrastructureController(
199+
&OpenStack,
200+
[]string{
201+
"-v=2",
202+
"--metrics-bind-addr=0",
203+
"--health-addr={{suggestHealthHostPort}}",
204+
"--webhook-port={{.WebhookPort}}",
205+
"--webhook-cert-dir={{.WebhookCertDir}}",
206+
},
207+
map[string]string{
208+
"EXP_KUBEADM_BOOTSTRAP_FORMAT_IGNITION": "true",
209+
},
210+
),
211+
)
198212
case vsphere.Name:
199213
controllers = append(controllers,
200214
c.getInfrastructureController(

0 commit comments

Comments
 (0)