Skip to content

Commit 24bb4ba

Browse files
committed
E2e: Document self hosted machine templates
The self hosted test has optional variables that can be used to switch the infrastructure machine template when doing the upgrade. This documents the variables and also explains that the templates will need to be labeled in order to move with the cluster.
1 parent ac5e546 commit 24bb4ba

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/e2e/self_hosted.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ type SelfHostedSpecInput struct {
5959
// If true, the variable KUBERNETES_VERSION is expected to be set.
6060
// If false, the variables KUBERNETES_VERSION_UPGRADE_FROM, KUBERNETES_VERSION_UPGRADE_TO,
6161
// ETCD_VERSION_UPGRADE_TO and COREDNS_VERSION_UPGRADE_TO are expected to be set.
62+
// There are also (optional) variables CONTROL_PLANE_MACHINE_TEMPLATE_UPGRADE_TO and
63+
// WORKERS_MACHINE_TEMPLATE_UPGRADE_TO to change the infrastructure machine template
64+
// during the upgrade. Note that these templates need to have the clusterctl.cluster.x-k8s.io/move
65+
// label in order to be moved to the self hosted cluster (since they are not part of the owner chain).
6266
SkipUpgrade bool
6367

6468
// ControlPlaneMachineCount is used in `config cluster` to configure the count of the control plane machines used in the test.

0 commit comments

Comments
 (0)