You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// e.g. v1alpha3, cluster-api --> v0.3.2, kubeadm bootstrap --> v0.3.2, aws --> v0.5.4 (not supported in current clusterctl release, but upgrade plan should report these options).
123
+
// e.g. v1alpha4, cluster-api --> v0.4.1, kubeadm bootstrap --> v0.4.1, aws --> v0.X.2 (not supported in current clusterctl release, but upgrade plan should report these options).
returnnil, errors.Errorf("current version of clusterctl could only upgrade to %s contract, requested %s", clusterv1.GroupVersion.Version, targetContract)
256
+
}
257
+
248
258
// Builds the custom upgrade plan, by adding all the upgrade items after checking consistency with the targetContract.
Copy file name to clipboardExpand all lines: cmd/clusterctl/client/cluster/upgrader_info.go
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,7 @@ type upgradeInfo struct {
44
44
}
45
45
46
46
// getUpgradeInfo returns all the info required for taking upgrade decisions for a provider.
47
+
// NOTE: This could contain also versions for the previous or next Cluster API contract (not supported in current clusterctl release, but upgrade plan should report this options).
@@ -96,6 +97,7 @@ func (u *providerUpgrader) getUpgradeInfo(provider clusterctlv1.Provider) (*upgr
96
97
// Filters the versions to be considered for upgrading the provider (next
97
98
// versions) and checks if the releaseSeries defined in metadata includes
98
99
// all of them.
100
+
// NOTE: This could contain also versions for the previous or next Cluster API contract (not supported in current clusterctl release, but upgrade plan should report this options).
0 commit comments