Skip to content

Commit

Permalink
test/e2e: use topology cluster-template for clusterctl upgrade mgmt
Browse files Browse the repository at this point in the history
cluster

Signed-off-by: Stefan Büringer [email protected]
  • Loading branch information
sbueringer committed Mar 19, 2023
1 parent 96e4fd6 commit 25a9ac1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test/e2e/clusterctl_upgrade_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ var _ = Describe("When testing clusterctl upgrades (v0.3=>current)", func() {
UpgradeClusterctlVariables: map[string]string{
"CLUSTER_TOPOLOGY": "false",
},
MgmtFlavor: "topology",
WorkloadFlavor: "",
}
})
})
Expand All @@ -54,6 +56,8 @@ var _ = Describe("When testing clusterctl upgrades (v0.4=>current)", func() {
InitWithBinary: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.4.8/clusterctl-{OS}-{ARCH}",
InitWithProvidersContract: "v1alpha4",
InitWithKubernetesVersion: "v1.23.13",
MgmtFlavor: "topology",
WorkloadFlavor: "",
}
})
})
Expand All @@ -78,6 +82,8 @@ var _ = Describe("When testing clusterctl upgrades (v1.0=>current)", func() {
// try to deploy the latest version of our test-extension from docker.yaml.
InitWithRuntimeExtensionProviders: []string{},
InitWithKubernetesVersion: "v1.23.13",
MgmtFlavor: "topology",
WorkloadFlavor: "",
}
})
})
Expand All @@ -102,6 +108,8 @@ var _ = Describe("When testing clusterctl upgrades (v1.2=>current)", func() {
// try to deploy the latest version of our test-extension from docker.yaml.
InitWithRuntimeExtensionProviders: []string{},
InitWithKubernetesVersion: "v1.26.0",
MgmtFlavor: "topology",
WorkloadFlavor: "",
}
})
})
Expand All @@ -126,6 +134,7 @@ var _ = Describe("When testing clusterctl upgrades using ClusterClass (v1.2=>cur
// try to deploy the latest version of our test-extension from docker.yaml.
InitWithRuntimeExtensionProviders: []string{},
InitWithKubernetesVersion: "v1.26.0",
MgmtFlavor: "topology",
WorkloadFlavor: "topology",
}
})
Expand All @@ -142,6 +151,8 @@ var _ = Describe("When testing clusterctl upgrades (v1.3=>current)", func() {
InitWithBinary: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.3.0/clusterctl-{OS}-{ARCH}",
InitWithProvidersContract: "v1beta1",
InitWithKubernetesVersion: "v1.26.0",
MgmtFlavor: "topology",
WorkloadFlavor: "",
}
})
})
Expand All @@ -157,6 +168,7 @@ var _ = Describe("When testing clusterctl upgrades using ClusterClass (v1.3=>cur
InitWithBinary: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.3.0/clusterctl-{OS}-{ARCH}",
InitWithProvidersContract: "v1beta1",
InitWithKubernetesVersion: "v1.26.0",
MgmtFlavor: "topology",
WorkloadFlavor: "topology",
}
})
Expand Down

0 comments on commit 25a9ac1

Please sign in to comment.