-
Notifications
You must be signed in to change notification settings - Fork 278
⚠️ Remove v1alpha3 and v1alpha4 #1527
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
Conversation
✅ Deploy Preview for kubernetes-sigs-cluster-api-openstack ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
8cd5a42
to
2e23f97
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.
any chance to remove this too:
cluster-api-provider-openstack/.golangci.yml
Lines 175 to 178 in 17d3f36
# Can be drop once kubernetes-sigs/cluster-api-provider-openstack#1326 is done. | |
- linters: | |
- staticcheck | |
text: "SA1019" |
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.
Added as a second commit.
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.
Looks good, CI lint is passing. 👌
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.
Keeping compatibility for that many revisions of the API of course is a pain and should be minimized. So thanks beforehand for working on this.
Two thoughts on this:
- Looking at CAPI, where they did almost the same for their Alpha versions. CAPI deprecated the API before removing it. kubernetes-sigs/cluster-api#8071. Should we deprecate first and then remove - regardless the fact, that this is an alpha API version? From src:
Alpha API versions may be removed in any release without prior deprecation notice
- Should we adapt kubernetes-sigs/cluster-api#8038?
Especially this part
- We will set
served
tofalse
for the apiVersions in all our CRDs.- Then users can’t read or write with the old apiVersions anymore.
- The API server will still be able to read and convert the old apiVersions.
- If necessary, users can easily enable the apiVersions again by reverting
served
back totrue
on the CRD.
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.
This might need modification too:
cluster-api-provider-openstack/config/crd/kustomization.yaml
Lines 1 to 3 in 17d3f36
commonLabels: | |
cluster.x-k8s.io/v1alpha3: v1alpha3 | |
cluster.x-k8s.io/v1beta1: v1alpha4_v1alpha5_v1alpha6_v1alpha7 |
4e5dac5
to
9ed91a7
Compare
I think this is the important discussion, and I'm ambivalent. I am inclined to say lets get these 2 specifically gone and do better in the future. The reasons are:
However, I appreciate this is a bullish view and I could easily be persuaded otherwise. In the spirit of 'do better in the future', though, I wonder if we should immediately deprecate v1alpha5 and v1alpha6 with a target of setting 'unserved' in v0.9 and removal in 'v0.10'? |
9ed91a7
to
c40801b
Compare
is this CAPI or other provider should consider already? we may not be identical to them but reference should be helpful anyway, I think your statement is reasonable and we want folks to keep upgrade to save effort with lower API version maintainance |
I've added this to the agenda of this week's office hours. Lets make a decision on this by the end of this week at the latest. |
@mdbooth the documentation/readme is not updated at the moment: cluster-api-provider-openstack/README.md Line 36 in 1b32291
|
/hold cancel |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mdbooth, mnaser, seanschneeweiss 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 |
/lgtm thanks for the update |
Which issue(s) this PR fixes:
Fixes #1326
Special notes for your reviewer:
This PR relies on behaviour in clusterctl which updates storage versions on upgrade.
/hold