-
Notifications
You must be signed in to change notification settings - Fork 118
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
BareMetalHost API v1beta1 #332
Conversation
If my opinion counts, I like that, removing legacy with API version bump |
/cc @zaneb |
I am heavily in favor of new API version for BMH. I am interested to know how would we maintain versioning API for BMH in general for future? Would we go to v1beta2 for example and what would be criterions to go to beta2? Shall we document it somewhere if not existing already? Thanks @dtantsur for taking care of this, happy top help in this. |
I don't know the kubernetes practices for sure, but I'd not expect us to plan beta2 right now. We may need to do it if we decide that our API has to change again before v1 (e.g. to include Zane's ideas about splitting BareMetalHost object). |
9a7e12d
to
d9e7c60
Compare
Updated the document with my reasoning against v1alpha2 and added a proposal by Zane to rename online to poweredOn. |
/lgtm |
@zaneb could you take another look and see if this design can get approved? |
I would like to introduce |
Yes I believe this would be 100% backward compatible , but I would still modify the API with this I thought all change to the API would cause a version bump. |
I will paste here a link, just to better highlight the parallel discussion about the branching #345 |
For me the question in https://github.com/metal3-io/metal3-docs/pull/332/files#r1245928458 is still not answered by this. The part about the storage version is now explicit, but there's no mention of when the controller starts using the new version. In fact there's no mention at all of changing the version the controller uses, despite all the preliminary work that has gone into it ("Refactor the BMO code to avoid referring directly to the current version"). I gather that the backward-compatibility changes included here mean we can theoretically continue indefinitely using the older client. So it sounds like we're signing future-us up for a big-bang rewrite of the controller at some unknown time? |
@zaneb updated, PTAL. |
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.
OK, I'm happy that this makes explicit how we expect to handle the rest of the transition now.
/lgtm |
@elfosardo: adding LGTM is restricted to approvers and reviewers in OWNERS files. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/approve |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lentzi90, Rozzii 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 |
Okay, the new revision leaves the actual code removal an open question. @zaneb @kashifest @lentzi90 could you please take another look and lgtm/approve? I think that was the last concern. |
/lgtm |
No description provided.