8000 [Breaking change] Mark grpcroutes spec as required by rikatz · Pull Request #3937 · kubernetes-sigs/gateway-api · GitHub
[go: up one dir, main page]

Skip to content

Conversation

rikatz
Copy link
Member
@rikatz rikatz commented Jul 21, 2025

What type of PR is this?
/kind bug

What this PR does / why we need it:

This PR marks grpcroute.spec as required. During this API implementation, the field omitempty was added to .spec, as opposed to other APIs.

Because we don't rely (yet) on explicit required markers, this caused the spec field of grpcroute to be optional, making it "useless'ish" (as the .spec field of grpc route contains vital information to implement a route, it will simply fail).

Which issue(s) this PR fixes:
Fi 8000 xes #

Does this PR introduce a user-facing change?:

Mark grpcroute.spec field as required

@k8s-ci-robot k8s-ci-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. kind/bug Categorizes issue or PR as related to a bug. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Jul 21, 2025
@k8s-ci-robot k8s-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jul 21, 2025
@rikatz
Copy link
Member Author
rikatz commented Jul 21, 2025

/cc @arkodg @howardjohn @sunjayBhatia

@youngnick
Copy link
Contributor

Agreed that this is a breaking change, but it's effectively fixing a bug - we should always have made .spec be required.

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rikatz, youngnick

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 Jul 22, 2025
@youngnick youngnick added the release-blocker MUST be completed to complete the milestone label Jul 24, 2025
@youngnick youngnick added this to the v1.4.0 milestone Jul 24, 2025
@robscott
Copy link
Member

Thanks @rikatz!

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jul 24, 2025
@k8s-ci-robot k8s-ci-robot merged commit 222a1f8 into kubernetes-sigs:main Jul 24, 2025
14 checks passed
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. kind/bug Categorizes issue or PR as related to a bug. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-blocker MUST be completed to complete the milestone release-note Denotes a PR that will be considered when it comes time to generate release notes. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0