Skip to content

Conversation

Fedosin
Copy link
Contributor

@Fedosin Fedosin commented Jan 25, 2024

What this PR does / why we need it:

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.1 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.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

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.
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jan 25, 2024
@k8s-ci-robot k8s-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jan 25, 2024
Copy link
Member

@Danil-Grigorev Danil-Grigorev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jan 26, 2024
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 63d37329d78ecd9fef50c57857df9d5e5f3ff5b9

Copy link
Contributor

@alexander-demicev alexander-demicev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: alexander-demicev

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 6, 2024
@k8s-ci-robot k8s-ci-robot merged commit 630ec4b into kubernetes-sigs:main Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants