-
Notifications
You must be signed in to change notification settings - Fork 702
conformance: add Zentinel v0.6.1 report for Gateway API v1.4.1 #4711
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
Open
raffaelschneider
wants to merge
1
commit into
kubernetes-sigs:main
Choose a base branch
from
raffaelschneider:conformance/zentinel-v0.6.1
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+44
−0
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
conformance/reports/v1.4.1/zentinelproxy-zentinel/README.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| # Zentinel | ||
|
|
||
| [Zentinel](https://github.com/zentinelproxy/zentinel) is a security-first reverse proxy built on Cloudflare's Pingora framework. It emphasizes predictability, transparency, and operational simplicity. | ||
|
|
||
| ## Table of Contents | ||
|
|
||
| | API channel | Implementation version | Mode | Report | | ||
| |-------------|-------------------------------------------------------------------------------|---------|----------------------------------------------------------------| | ||
| | standard | [v0.6.1](https://github.com/zentinelproxy/zentinel/releases/tag/v0.6.1) | default | [v0.6.1 report](./standard-v0.6.1-default-report.yaml) | | ||
|
|
||
| ## Reproduce | ||
|
|
||
| Clone the Zentinel repository and run the conformance test script: | ||
|
|
||
| ```shell | ||
| git clone https://github.com/zentinelproxy/zentinel.git && cd zentinel | ||
| ./scripts/conformance-test.sh --report | ||
| ``` | ||
|
|
||
| Prerequisites: Docker, kind, kubectl, helm, Go 1.22+. | ||
|
|
||
| The script creates a kind cluster, builds the gateway controller and proxy images, installs Gateway API CRDs (v1.4.1), deploys Zentinel via Helm, and runs the official conformance suite. The report is written to `conformance/reports/standard-v0.6.1-default-report.yaml`. | ||
22 changes: 22 additions & 0 deletions
22
conformance/reports/v1.4.1/zentinelproxy-zentinel/standard-v0.6.1-default-report.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| apiVersion: gateway.networking.k8s.io/v1 | ||
| date: "2026-03-21T06:37:35-07:00" | ||
| gatewayAPIChannel: standard | ||
| gatewayAPIVersion: v1.4.1 | ||
| implementation: | ||
| contact: | ||
| - '@zentinelproxy' | ||
| organization: zentinelproxy | ||
| project: zentinel | ||
| url: https://github.com/zentinelproxy/zentinel | ||
| version: 0.6.1 | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @raffaelschneider can you please explain how the tag |
||
| kind: ConformanceReport | ||
| mode: default | ||
| profiles: | ||
| - core: | ||
| result: success | ||
| statistics: | ||
| Failed: 0 | ||
| Passed: 33 | ||
| Skipped: 0 | ||
| name: GATEWAY-HTTP | ||
| summary: Core tests succeeded. | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
the fact the test is setting
GATEWAY_ADDRESS=127.0.0.1makes me think the test script is not really passing the tests in good faith and instead just an AI taking the shortest path to getting a green checkmark on the test. Which is not the intention of the conformance program.Uh oh!
There was an error while loading. Please reload this page.
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.
GATEWAY_ADDRESSis an env var override only used for kind testing, in production, the controller discovers the address from the proxy Service LoadBalancer IP. The kind cluster maps127.0.0.1:80→ NodePort 30080 → proxy pod port 8080, so the full data plane path is exercised. This is the same pattern used by other implementations testing on kind (e.g. the conformance suite 's ownWaitForGatewayAddressreads fromstatus.addresses). Happy to add a comment in the README clarifying this.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.
Good question. PR #4687 was opened prematurely. At that point only 31/33 tests passed (HTTPRouteHTTPSListener and HTTPRouteServiceTypes were failing). We closed it and fixed the underlying bugs:
HTTPRouteServiceTypes: The controller had no EndpointSlice watcher, so headless service pod IPs were not picked up when endpoints appeared after the HTTPRoute. Also missing RBAC for
discovery.k8s.io/endpointslices.HTTPRouteHTTPSListener: Multiple issues. Pingora's TLS stack did not support dynamic cert resolution (we added
TlsSettings::from_server_config()to our fork), the translator was dropping HTTPS listeners sharing a port instead of merging SNI certs, the KDL config writer was not emitting SNI blocks, and wildcard listeners (no hostname) incorrectly filtered route hostnames.The fixes span the gateway controller, proxy, Helm RBAC, and our Pingora fork. All are on
main. You are right that thev0.6.1tag is missing, we will push it before this merges.