-
Notifications
You must be signed in to change notification settings - Fork 507
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
Gateway API v0.5.0 API Review #1086
Conversation
Skipping CI for Draft Pull Request. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: robscott 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 |
apis/v1alpha2/shared_types.go
Outdated
// | ||
// +kubebuilder:validation:MinLength=1 | ||
// +kubebuilder:validation:MaxLength=253 | ||
Value string `json:"value"` |
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.
IPv4, IPv6, hostname are unambiguously parseable (with some effort) - is this justified?
If we want to keep this, should it follow the same 1-field-per enum value pattern?
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.
I think it's at least possible that we'd add additional types in the future that may not be as easy to differentiate between. Even with named address, it's possible that in some systems, a name is just a number, or a name is a valid hostname, or something else. I could get on board with the 1-field-per enum pattern here though.
I see no references to "v1beta1" here... I had assumed when I read this that you'd be duplicating the "graduating" parts of
|
@danwinship I think that's the plan for actually cutting the release, but I think that @robscott felt this review would be easier if you didn't need to review files that were just all added lines (since a The plan is absolutely to take the three resources mentioned and copy them into a |
@danwinship Good point, I can make a separate PR with |
Looks like this got closed in error? |
/unassign |
@robscott looks good to me, as someone new to the review. I just had a few nits and minor comments. |
73a77fa
to
aa2c2c3
Compare
aa2c2c3
to
00d0f36
Compare
00d0f36
to
1fa24e4
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.
Discussed in real-time - couple small followups Rob noted. LGTM. Thanks.
SGTM
…On Thu, Jun 9, 2022 at 10:07 PM Nick Young ***@***.***> wrote:
So, I think that once we resolve #1200
<#1200>, #1201
<#1201>, and #1202
<#1202>, we can
close this out as complete?
—
Reply to this email directly, view it on GitHub
<#1086 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABKWAVCWZYWUYSYWPJOABJDVOLEP3ANCNFSM5SQZ3O5Q>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
|
It looks like the three mentioned issues were closed out. Should this stop being a draft PR? |
Yes, I think we may just close this out - this is really a placeholder to give the API reviewers an easier time. Unless there's something else @robscott wants to do here? |
Yep, I think this was good to go. All the changes reviewed here were released as part of v0.5.0-rc1. |
What type of PR is this?
/kind api-change
What this PR does / why we need it:
This PR represents the diff between v0.4.x and a proposed v0.5.0. This was accomplished by copying the apis/v1alpha2 from master to a branch based on the release-0.4 branch.
Current status
We believe GatewayClass, Gateway, and HTTPRoute have met the criteria we defined earlier for graduation to beta (details). The following work is still in progress:
Changes from v0.4
The proposed API is largely identical to what we released in v1alpha2, with the following exceptions:
New experimental features
There are 3 new experimental features included in this change:
Future port changes
As a follow up to the previous review, there has been a lot of discussion around Ports, and potential for port ranges, all ports, and auto assignment:
At this point, we believe that all of the above can be added in the future with backwards compatible changes/additions. Note: this is not saying we should or will make these additions, just that they will still be possible after graduating to beta.
Goals of this review
Since we're an official Kubernetes API, we need formal approval for this change from SIG-Network API Reviewers, assigned below. Of course feedback from others is also welcome here. Our goal is to complete this process by mid to late April.
Note: The aim is not to merge this PR, just to provide a way to review what has changed between v0.4 and v0.5.
/assign @danwinship @khenidak @thockin