From d2ffc3179c1d82c7652f4d3d973e9e5bf3c1e8ce Mon Sep 17 00:00:00 2001 From: Matt Boersma Date: Tue, 21 Jan 2025 13:06:43 -0700 Subject: [PATCH] Default to topology flavor in NodeDrainTimeoutSpec --- test/e2e/node_drain.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e/node_drain.go b/test/e2e/node_drain.go index 7297ae6e1b00..aa87185d33d5 100644 --- a/test/e2e/node_drain.go +++ b/test/e2e/node_drain.go @@ -58,7 +58,7 @@ type NodeDrainTimeoutSpecInput struct { // Flavor, if specified, must refer to a template that uses a Cluster with ClusterClass. // The cluster must use a KubeadmControlPlane and a MachineDeployment. - // If not specified, "node-drain" is used. + // If not specified, "topology" is used. Flavor *string // Allows to inject a function to be run after test namespace is created. @@ -138,7 +138,7 @@ func NodeDrainTimeoutSpec(ctx context.Context, inputGetter func() NodeDrainTimeo ClusterctlConfigPath: input.ClusterctlConfigPath, KubeconfigPath: input.BootstrapClusterProxy.GetKubeconfigPath(), InfrastructureProvider: infrastructureProvider, - Flavor: ptr.Deref(input.Flavor, "node-drain"), + Flavor: ptr.Deref(input.Flavor, "topology"), Namespace: namespace.Name, ClusterName: clusterName, KubernetesVersion: input.E2EConfig.GetVariable(KubernetesVersion),