@@ -39,6 +39,7 @@ type MachineRemediationSpecInput struct {
3939 BootstrapClusterProxy framework.ClusterProxy
4040 ArtifactFolder string
4141 SkipCleanup bool
42+ ControlPlaneWaiters clusterctl.ControlPlaneWaiters
4243
4344 // KCPFlavor, if specified, must refer to a template that has a MachineHealthCheck
4445 // resource configured to match the control plane Machines (cluster.x-k8s.io/controlplane: "" label)
@@ -96,6 +97,7 @@ func MachineRemediationSpec(ctx context.Context, inputGetter func() MachineRemed
9697 ControlPlaneMachineCount : pointer .Int64Ptr (1 ),
9798 WorkerMachineCount : pointer .Int64Ptr (1 ),
9899 },
100+ ControlPlaneWaiters : input .ControlPlaneWaiters ,
99101 WaitForClusterIntervals : input .E2EConfig .GetIntervals (specName , "wait-cluster" ),
100102 WaitForControlPlaneIntervals : input .E2EConfig .GetIntervals (specName , "wait-control-plane" ),
101103 WaitForMachineDeployments : input .E2EConfig .GetIntervals (specName , "wait-worker-nodes" ),
@@ -128,6 +130,7 @@ func MachineRemediationSpec(ctx context.Context, inputGetter func() MachineRemed
128130 ControlPlaneMachineCount : pointer .Int64Ptr (3 ),
129131 WorkerMachineCount : pointer .Int64Ptr (1 ),
130132 },
133+ ControlPlaneWaiters : input .ControlPlaneWaiters ,
131134 WaitForClusterIntervals : input .E2EConfig .GetIntervals (specName , "wait-cluster" ),
132135 WaitForControlPlaneIntervals : input .E2EConfig .GetIntervals (specName , "wait-control-plane" ),
133136 WaitForMachineDeployments : input .E2EConfig .GetIntervals (specName , "wait-worker-nodes" ),
0 commit comments