-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🌱 Deprecate v1alpha3 & v1alpha4 #8071
Conversation
Signed-off-by: Stefan Büringer buringerst@vmware.com
a057e03
to
9bee35d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, just one question
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
I'm +1 to deprecate packages, it is simple and it is recognized by IDE and tools.
I'm +1 to deprecate top-level types, it reinforces the message.
I'm ok with not adding a deprecated notice on sub-level types and fields given 1 and 2
I don't think we should add noise to logs, unless we find a way to add a warning the appears once in the controllers bootstrap sequence.
LGTM label has been added. Git tree hash: 3c8a316f5f4ba78d8b82679a9f2cf8f81e9e8b58
|
We should also think about some of the provider contracts which are only there to provide backward compatibility e.g. #8096. Maybe I should open an issue to find and track these? WDYT @sbueringer @fabriziopandini @CecileRobertMichon ? |
Should be fine to open an issue to track things like this. But how is this related to dropping v1alpha3 and v1alpha4? |
AFAIU this field - providerMachine |
This can probably be covered by the issue at #8038 - didn't realize I commented this on the PR - will continue the discussion there. |
@CecileRobertMichon @jackfrancis any objections to merging this as is? I'm open to follow-up issues or PRs if someone wants to do more |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
/hold
feel free to remove the hold
Jack is oof on paternity leave so he might not get back to you for a while
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: CecileRobertMichon 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 |
Alright, thx! /hold cancel |
My plan was to remove the v1alpha3 & v1alpha4 API types and packages in core CAPI. I wasn't planning to touch the contract stuff. I think we should have a separate discussion & issue about leftovers of previous contracts. In my mind the contract covers how core Cluster API interacts with providers (specifically bootstrap, control plane, infra resources). As far as I can tell a specific Cluster API version only is supposed to support one contract "version" (e.g. v1beta1) at a time. If we still have code in Cluster API today that covers "previous contract versions" I think we now have to consider this as part of the v1beta1 contract. We should figure out what code that exactly is and then I think we should deprecate this behavior ("with the v1beta1 contract") and can eventually get rid of it once we bump the contract to v1beta2. |
Signed-off-by: Stefan Büringer buringerst@vmware.com
What this PR does / why we need it:
Note: The apiVersions were already deprecated before, we just forgot to mark the Go types accordingly.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Part of #8038