Skip to content

Commit 61c9385

Browse files
committed
E2E: Use kind cluster for clusterctl upgrade tests
This enables the UseKindForManagementCluster flag for all clusterctl upgrade tests, which makes them use a kind cluster as the secondary management cluster instead of creating an OpenStack workload cluster. This significantly reduces the resource requirements for these tests by using lightweight kind containers instead of full VMs, and it also speeds up the test execution. Signed-off-by: Lennart Jern <[email protected]>
1 parent b9fa78b commit 61c9385

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/e2e/suites/e2e/clusterctl_upgrade_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ var _ = Describe("When testing clusterctl upgrades for CAPO (v0.11=>current) and
6868
WorkloadFlavor: shared.FlavorCapiV1Beta1,
6969
InitWithKubernetesVersion: e2eCtx.E2EConfig.MustGetVariable(shared.KubernetesVersion),
7070
InitWithRuntimeExtensionProviders: []string{"openstack-resource-controller:v1.0.2"},
71+
UseKindForManagementCluster: true,
7172
}
7273
})
7374
})
@@ -102,6 +103,7 @@ var _ = Describe("When testing clusterctl upgrades for CAPO (v0.12=>current) and
102103
WorkloadFlavor: shared.FlavorCapiV1Beta1,
103104
InitWithKubernetesVersion: e2eCtx.E2EConfig.MustGetVariable(shared.KubernetesVersion),
104105
InitWithRuntimeExtensionProviders: []string{"openstack-resource-controller:v1.0.2"},
106+
UseKindForManagementCluster: true,
105107
}
106108
})
107109
})
@@ -136,6 +138,7 @@ var _ = Describe("When testing clusterctl upgrades for CAPO (v0.13=>current) and
136138
WorkloadFlavor: shared.FlavorDefault,
137139
InitWithKubernetesVersion: e2eCtx.E2EConfig.MustGetVariable(shared.KubernetesVersion),
138140
InitWithRuntimeExtensionProviders: []string{"openstack-resource-controller:v1.0.2"},
141+
UseKindForManagementCluster: true,
139142
}
140143
})
141144
})

0 commit comments

Comments
 (0)