|
37 | 37 | providerDockerPrefix = "docker:v%s"
|
38 | 38 | )
|
39 | 39 |
|
40 |
| -var _ = Describe("When testing clusterctl upgrades (v0.3=>v1.6=>current)", func() { |
| 40 | +var _ = Describe("When testing clusterctl upgrades (v0.3=>v1.5=>current)", func() { |
| 41 | + // We are testing v0.3=>v1.5=>current to ensure that old entries with v1alpha3 in managed files do not cause issues |
| 42 | + // as described in https://github.com/kubernetes-sigs/cluster-api/issues/10051. |
| 43 | + // NOTE: The combination of v0.3=>v1.5=>current allows us to verify this without being forced to upgrade |
| 44 | + // the management cluster in the middle of the test as all 3 versions are ~ compatible with the same mgmt and workload Kubernetes versions. |
| 45 | + // Additionally, clusterctl v1.5 still allows the upgrade of management clusters from v1alpha3 (v1.6 doesn't). |
| 46 | + |
41 | 47 | // Get v0.3 latest stable release
|
42 | 48 | version03 := "0.3"
|
43 | 49 | stableRelease03, err := GetStableReleaseOfMinor(ctx, version03)
|
@@ -105,6 +111,12 @@ var _ = Describe("When testing clusterctl upgrades (v0.3=>v1.6=>current)", func(
|
105 | 111 | })
|
106 | 112 |
|
107 | 113 | var _ = Describe("When testing clusterctl upgrades (v0.4=>v1.6=>current)", func() {
|
| 114 | + // We are testing v0.4=>v1.6=>current to ensure that old entries with v1alpha4 in managed files do not cause issues |
| 115 | + // as described in https://github.com/kubernetes-sigs/cluster-api/issues/10051. |
| 116 | + // NOTE: The combination of v0.4=>v1.6=>current allows us to verify this without being forced to upgrade |
| 117 | + // the management cluster in the middle of the test as all 3 versions are ~ compatible with the same mgmt and workload Kubernetes versions. |
| 118 | + // Additionally, clusterctl v1.6 still allows the upgrade of management clusters from v1alpha4 (v1.7 doesn't). |
| 119 | + |
108 | 120 | // Get v0.4 latest stable release
|
109 | 121 | version04 := "0.4"
|
110 | 122 | stableRelease04, err := GetStableReleaseOfMinor(ctx, version04)
|
|
0 commit comments