Skip to content

Commit

Permalink
Merge pull request #11727 from mboersma/replace-dead-template
Browse files Browse the repository at this point in the history
🐛 Default to topology flavor in NodeDrainTimeoutSpec
  • Loading branch information
k8s-ci-robot authored Jan 22, 2025
2 parents 2096276 + d2ffc31 commit c165096
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/node_drain.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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),
Expand Down

0 comments on commit c165096

Please sign in to comment.