generated from kubernetes/kubernetes-template-project
-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add a preflight check to prevent provider downgrades
Cluster API doesn't support provider downgrades due to potential breaking changes in CRDs. Currently, if users try to downgrade for example from v1.6.0 to v1.5.2, they get a error: "invalid provider metadata: version v1.6.1 (the current version) for the provider capi-system/cluster-api does not match any release series". This is not really informative, so it is better to add a preflight check to fail earlier and provide more descriptive error messages.
- Loading branch information
Showing
3 changed files
with
147 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters