Skip to content

Commit a79cce9

Browse files
committed
clusterctl: add InitWithKubernetesVersion to ClusterctlUpgradeSpecInput
As we are only interested in testing a CAPO upgrade, this should stay in sync with the k8s version used in other tests.
1 parent b3b320e commit a79cce9

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

test/e2e/data/e2e_conf.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,6 @@ variables:
181181
OPENSTACK_VOLUME_TYPE_ALT: "test-volume-type"
182182
CONFORMANCE_WORKER_MACHINE_COUNT: "5"
183183
CONFORMANCE_CONTROL_PLANE_MACHINE_COUNT: "1"
184-
INIT_WITH_KUBERNETES_VERSION: "v1.30.1"
185184
E2E_IMAGE_URL: "http://10.0.3.15/capo-e2e-image.tar"
186185
# The default user for SSH connections from bastion to machines
187186
SSH_USER_MACHINE: "ubuntu"

test/e2e/suites/e2e/clusterctl_upgrade_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ var _ = Describe("When testing clusterctl upgrades (v0.9=>current) [clusterctl-u
5959
InitWithControlPlaneProviders: []string{"kubeadm:" + OldCAPIVersion},
6060
MgmtFlavor: shared.FlavorDefault,
6161
WorkloadFlavor: shared.FlavorV1alpha7,
62+
InitWithKubernetesVersion: e2eCtx.E2EConfig.GetVariable(shared.KubernetesVersion),
6263
}
6364
})
6465
})

0 commit comments

Comments
 (0)