Skip to content

bump Gateway API v1.5.0-rc.1#8161

Merged
zirain merged 15 commits intoenvoyproxy:mainfrom
zirain:e2e-fail-fast
Feb 23, 2026
Merged

bump Gateway API v1.5.0-rc.1#8161
zirain merged 15 commits intoenvoyproxy:mainfrom
zirain:e2e-fail-fast

Conversation

@zirain
Copy link
Copy Markdown
Member

@zirain zirain commented Feb 3, 2026

  • Move test to a separated package to decoupe the sigs.k8s.io/gateway-api and sigs.k8s.io/gateway-api/conformance
  • Move internal/gatewayapi/conformace under test, it's not used, and production shouldn't rely on conformance.

@netlify
Copy link
Copy Markdown

netlify bot commented Feb 3, 2026

Deploy Preview for cerulean-figolla-1f9435 canceled.

Name Link
🔨 Latest commit b9ffa24
🔍 Latest deploy log https://app.netlify.com/projects/cerulean-figolla-1f9435/deploys/6999c3040f22b900086d341c

@codecov
Copy link
Copy Markdown

codecov bot commented Feb 3, 2026

Codecov Report

❌ Patch coverage is 67.68559% with 74 lines in your changes missing coverage. Please review.
✅ Project coverage is 73.71%. Comparing base (f884a6e) to head (b9ffa24).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
internal/gatewayapi/runner/runner.go 5.55% 14 Missing and 3 partials ⚠️
internal/provider/kubernetes/indexers.go 64.10% 4 Missing and 10 partials ⚠️
internal/provider/kubernetes/controller.go 64.86% 6 Missing and 7 partials ⚠️
internal/provider/kubernetes/routes.go 18.75% 9 Missing and 4 partials ⚠️
internal/gatewayapi/resource/resource.go 14.28% 5 Missing and 1 partial ⚠️
internal/provider/kubernetes/status.go 33.33% 4 Missing and 2 partials ⚠️
internal/gatewayapi/xlistenerset.go 90.38% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8161      +/-   ##
==========================================
+ Coverage   73.64%   73.71%   +0.07%     
==========================================
  Files         242      240       -2     
  Lines       37007    36917      -90     
==========================================
- Hits        27255    27215      -40     
+ Misses       7831     7774      -57     
- Partials     1921     1928       +7     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@zirain zirain force-pushed the e2e-fail-fast branch 2 times, most recently from 5c438ec to 71d124b Compare February 3, 2026 12:21
@zirain zirain changed the title e2e: fail fast chore: decoupe conformance package Feb 4, 2026
@zirain zirain changed the title chore: decoupe conformance package chore: decouple conformance package Feb 4, 2026
@zirain zirain force-pushed the e2e-fail-fast branch 3 times, most recently from b71c336 to a36af69 Compare February 6, 2026 01:20
@zirain zirain changed the title chore: decouple conformance package e2e: decouple conformance package Feb 6, 2026
@zirain zirain marked this pull request as ready for review February 6, 2026 01:25
@zirain zirain requested a review from a team as a code owner February 6, 2026 01:25
@arkodg arkodg added this to the v1.8.0-rc.1 Release milestone Feb 8, 2026
@zirain zirain changed the title e2e: decouple conformance package e2e: bump Gateway API v1.5.0-rc.1 Feb 13, 2026
@zirain zirain changed the title e2e: bump Gateway API v1.5.0-rc.1 bump Gateway API v1.5.0-rc.1 Feb 13, 2026
@zirain zirain force-pushed the e2e-fail-fast branch 5 times, most recently from 0c478ed to 7ced098 Compare February 14, 2026 06:33

// GatewayAPI defines an experimental Gateway API resource that can be enabled.
// +enum
// +kubebuilder:validation:Enum=XListenerSet;XBackendTrafficPolicy
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

XListenerSet promote to v1 in Gateway API v1.5

Copy link
Copy Markdown
Contributor

@arkodg arkodg Feb 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

guessing this is the breaking change because even if a user wants to stay on XListenerSet, then cant ? and must migrate to ListenerSet when upgrading to v1.8 ?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, If we need rethink about this in the future, do we need to support X API.

Copy link
Copy Markdown

@maelvls maelvls Feb 17, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for what it's worth, we (cert-manager) have decided to do a clean cut upgrade to ListenerSet as opposed to keeping both resources. There was a discussion on whether to keep the X resources around in 1.5: https://kubernetes.slack.com/archives/CR0H13KGA/p1770328007249819

Copy link
Copy Markdown
Member

@zhaohuabing zhaohuabing Feb 18, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 to removing XListenerSet support from 1.8 since we've already set expectations in the GatewayAPISettings that These APIs are experimental today and are subject to change or removal as they mature.

Maintaining both XListenerSet and ListenerSet would add quite a bit of ongoing overhead, and it might not be worth keeping both around.

- attachedRoutes: 0
conditions:
- lastTransitionTime: null
message: Listener must have TLS set when protocol is TLS.
Copy link
Copy Markdown
Member Author

@zirain zirain Feb 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gateway API add CEL validation for this.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we then add another rejected route rule test here that adds a negative status

@zirain zirain force-pushed the e2e-fail-fast branch 4 times, most recently from f862d52 to 0e211a9 Compare February 14, 2026 12:19
Comment on lines +19 to +40
// TODO: fix following conformance tests
tests.ListenerSetHostnameConflict,
tests.ListenerSetProtocolConflict,
tests.TLSRouteHostnameIntersection,
tests.TLSRouteInvalidNoMatchingListener,
tests.TLSRouteInvalidNoMatchingListenerHostname,
tests.TLSRouteInvalidReferenceGrant,
tests.TLSRouteListenerTerminateSupportedKinds,
tests.TLSRouteSimpleSameNamespace,
tests.TLSRouteTerminateSimpleSameNamespace,
tests.TLSRouteMixedTerminationSameNamespace,
tests.GatewayInvalidTLSBackendConfiguration,
tests.GatewayWithAttachedRoutes,
tests.GatewayTLSBackendClientCertificate,
tests.GatewayFrontendClientCertificateValidation,
tests.GatewayInvalidFrontendClientCertificateValidation,
tests.GatewayFrontendInvalidDefaultClientCertificateValidation,
tests.HTTPRouteHTTPSListenerDetectMisdirectedRequests,
tests.HTTPRoute303Redirect,
tests.HTTPRoute307Redirect,
tests.HTTPRoute308Redirect,
tests.HTTPRouteHostnameIntersection,
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: Tracked in seperated issue.

Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: zirain <zirain2009@gmail.com>
Namespace: namespace,
},
Spec: typedSpec.(gwapiv1a3.TLSRouteSpec),
Spec: typedSpec.(gwapiv1.TLSRouteSpec),
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this needed

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

v1alpa3.TLSRoute alias to v1.TLSRoute cause this.

@zirain
Copy link
Copy Markdown
Member Author

zirain commented Feb 22, 2026

/retest

maelvls referenced this pull request in cert-manager/cert-manager Feb 22, 2026
Before my changes, the Gateway tests would create a "test" Gateway resource,
but the Issuer would have a parentRefs pointing to a common "acmesolver"
Gateway. So, there would be a weird split: the Certificate would be created off
the annotations coming from the "test" Gateway, but the HTTPRoute would be
pointing a different Gateway.

But in practice, people will want these two Gateway resources to be the same,
as it would make little sense to create a separate Gateway resource for the
purpose of solving challenges.

To solve this, we no longer have a central "acmesolver" Gateway with the IP
10.0.0.4. Instead, each Gateway will use its own cluster IP and a domain is
dynamically added to Bind.

Regarding ListenerSet, we could have kept using the shared "acmesolver", which
would have worked well. But I've decided to also use dynamic cluster IPs for
these for consistency.

Signed-off-by: Maël Valais <mael@vls.dev>
@zirain zirain merged commit d1b1e5c into envoyproxy:main Feb 23, 2026
64 of 67 checks passed
@zirain zirain deleted the e2e-fail-fast branch February 23, 2026 13:02
@zirain zirain mentioned this pull request Mar 4, 2026
antonio-mazzini pushed a commit to antonio-mazzini/gateway that referenced this pull request Mar 5, 2026
* sep e2e gomod

Signed-off-by: zirain <zirain2009@gmail.com>

* fix cel test

Signed-off-by: zirain <zirain2009@gmail.com>

* fix e2e

Signed-off-by: zirain <zirain2009@gmail.com>

* fix gen

Signed-off-by: zirain <zirain2009@gmail.com>

* fix lint and gen

Signed-off-by: zirain <zirain2009@gmail.com>

* fix test

Signed-off-by: zirain <zirain2009@gmail.com>

* revert

Signed-off-by: zirain <zirain2009@gmail.com>

* skip ListenerSet

Signed-off-by: zirain <zirain2009@gmail.com>

* skip more

Signed-off-by: zirain <zirain2009@gmail.com>

* skip tlsroute

Signed-off-by: zirain <zirain2009@gmail.com>

* skip more test

Signed-off-by: zirain <zirain2009@gmail.com>

* fix RunTest

Signed-off-by: zirain <zirain2009@gmail.com>

* support FailFast

Signed-off-by: zirain <zirain2009@gmail.com>

* bump golang 1.25.7

Signed-off-by: zirain <zirain2009@gmail.com>

* bump Gateway API v1.5.0-rc.1

Signed-off-by: zirain <zirain2009@gmail.com>

---------

Signed-off-by: zirain <zirain2009@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants