AlinsRan opened a new pull request, #2804:
URL: https://github.com/apache/apisix-ingress-controller/pull/2804

   ### Type of change:
   
   - [x] New feature provided
   - [x] CI/CD or Tests
   
   ### What this PR does / why we need it:
   
   Upgrade `sigs.k8s.io/gateway-api` from `v1.3.0` to `v1.6.0`, so the 
controller can run against Gateway API 1.6 and we can submit conformance 
reports for the current releases.
   
   The bump pulls in `k8s.io` v0.36 and `controller-runtime` v0.24 (both 
require Go 1.26), so the `go` directive and CI Go version are bumped to 1.26.
   
   **Gateway API v1.6 API changes handled:**
   - Frontend mTLS validation moved from the per-listener TLS config 
(`listener.tls.frontendValidation`) to the Gateway level (`spec.tls.frontend`). 
The validation that applies to each HTTPS listener is now resolved by port 
(`perPort` overrides `default`) in the gateway translator, indexer, and 
status/reconcile paths.
   - `listener.TLS` type renamed `GatewayTLSConfig` → `ListenerTLSConfig`.
   - `HTTPCORSFilter.AllowCredentials` is now `*bool`.
   - Policy status/target types and `Policy*` condition/reason constants 
graduated to `apis/v1`; usages switched off `v1alpha2`.
   - `PortNumber` is now an alias of `int32`; redundant conversions dropped.
   
   **controller-runtime v0.24 changes handled:**
   - Webhook builder migrated to the generic 
`NewWebhookManagedBy[runtime.Object](mgr, obj)` + typed `Validator[T]` API.
   
   **Conformance:**
   - Suite rewritten for the v1.6 conformance-module API 
(`RunConformanceWithOptions`, report via `ReportOutputPath`).
   
   **Tooling:**
   - `golangci-lint` is built from source with the local toolchain and the lint 
target Go version is pinned, since the released binary cannot type-check a Go 
1.26 module.
   
   ### Pre-submission checklist:
   
   - [x] Did you explain what problem does this PR solve? Or what new features 
have been added?
   - [x] Have you added corresponding test cases? (existing unit + conformance 
suites updated; conformance run validates behavior)
   - [ ] Have you modified the corresponding document?
   - [x] Is this PR backward compatible? Downstream mTLS users must move 
`frontendValidation` from the listener to `gateway.spec.tls.frontend`, 
following the upstream Gateway API 1.6 change.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to