Skip to content

Gateway API 1.6.0#69

Open
hjames9 wants to merge 1 commit into
gemyago:mainfrom
hjames9:feature/gateway-api-1.6.0
Open

Gateway API 1.6.0#69
hjames9 wants to merge 1 commit into
gemyago:mainfrom
hjames9:feature/gateway-api-1.6.0

Conversation

@hjames9

@hjames9 hjames9 commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Gateway API v1.6.0

  • Bumps Gateway API to v1.6.0 and updates compatible Kubernetes/controller-runtime dependencies.
  • Replaces TCPRoute/UDPRoute usage from v1alpha2 to v1.
  • Removes v1alpha2 scheme registration.
  • Updates L4 examples and install docs to use Gateway API v1.6.0 standard CRDs.
  • Documents which Gateway API resources are supported and which installed CRDs are ignored.

@hjames9 hjames9 force-pushed the feature/gateway-api-1.6.0 branch from 7a2bdce to 6f339c6 Compare July 2, 2026 01:17
@gemyago

gemyago commented Jul 3, 2026

Copy link
Copy Markdown
Owner

I think I have to create it myself, there was some permission issue with github, I had no time to figure-out, so I disabled docker build for contributors. I'll re-create the release once I merge your pending PR, I'll give it a quick look after your fixes, and merge hopefully soon, and then will do the release.

@gemyago gemyago closed this Jul 3, 2026
@gemyago gemyago reopened this Jul 3, 2026
@gemyago

gemyago commented Jul 3, 2026

Copy link
Copy Markdown
Owner

@hjames9 ignore my previous comment, Friday night for me :). For some reason I thought you're creating a new release... :)

@hjames9 hjames9 force-pushed the feature/gateway-api-1.6.0 branch from 0c4da6d to 28adc92 Compare July 3, 2026 21:42
@hjames9 hjames9 marked this pull request as ready for review July 3, 2026 21:43
Copilot AI review requested due to automatic review settings July 3, 2026 21:43

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates the OKE Gateway API controller to Gateway API v1.6.0, aligning Kubernetes/controller-runtime dependencies and migrating L4 route support from v1alpha2 to v1, with corresponding documentation and example updates.

Changes:

  • Bump sigs.k8s.io/gateway-api to v1.6.0 and update Kubernetes + controller-runtime dependencies.
  • Migrate TCPRoute/UDPRoute usage to sigs.k8s.io/gateway-api/apis/v1 and drop v1alpha2 scheme registration.
  • Update README and example manifests to reference Gateway API v1.6.0 CRDs and v1 route APIs.

Reviewed changes

Copilot reviewed 16 out of 18 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
README.md Documents supported/ignored Gateway API kinds and updates install/example references to v1.6.0.
internal/services/k8sapi/mock_sub_resource_writer.go Updates mock to match newer controller-runtime subresource writer surface (adds Apply).
internal/services/k8sapi/client.go Removes v1alpha2 Gateway API scheme registration.
internal/k8s/start_manager.go Switches TCP/UDP route detection and controller wiring from v1alpha2 to v1.
internal/k8s/start_manager_test.go Updates RESTMapper-based capability tests to expect v1 TCP/UDP routes.
internal/app/watches_model.go Migrates TCP/UDP route indexing and watch mapping from v1alpha2 to v1.
internal/app/watches_model_test.go Updates watches model tests for gateway-api/apis/v1 TCP/UDP route types.
internal/app/udproute_model.go Migrates UDPRoute model to gatewayv1.UDPRoute.
internal/app/udproute_model_test.go Updates UDPRoute model tests to use gatewayv1.UDPRoute.
internal/app/tcproute_model.go Migrates TCPRoute model to gatewayv1.TCPRoute.
internal/app/tcproute_model_test.go Updates TCPRoute model tests to use gatewayv1.TCPRoute.
internal/app/l4_route_model_integration_test.go Updates L4 integration tests to use v1 TCP/UDP routes (and scheme setup).
internal/app/l4_route_model_helpers_test.go Updates test helper casting/switches to v1 TCP/UDP route types.
internal/app/l4_controller_test.go Updates L4 controller tests to use v1 TCP/UDP route types.
go.sum Refreshes dependency checksums after module upgrades.
go.mod Bumps Gateway API + Kubernetes/controller-runtime dependencies and adjusts module Go version directive.
deploy/manifests/examples/udproute-nlb.yaml Updates UDPRoute examples from apiVersion: .../v1alpha2 to .../v1.
deploy/manifests/examples/tcproute-nlb.yaml Updates TCPRoute example from apiVersion: .../v1alpha2 to .../v1.
Files not reviewed (1)
  • internal/services/k8sapi/mock_sub_resource_writer.go: Generated file

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread internal/app/l4_route_model_integration_test.go
Comment thread go.mod
@hjames9 hjames9 force-pushed the feature/gateway-api-1.6.0 branch from 28adc92 to f6d73c1 Compare July 3, 2026 21:49
@hjames9 hjames9 force-pushed the feature/gateway-api-1.6.0 branch from f6d73c1 to dc0795d Compare July 3, 2026 22:00
@hjames9

hjames9 commented Jul 3, 2026

Copy link
Copy Markdown
Contributor Author

@hjames9 ignore my previous comment, Friday night for me :). For some reason I thought you're creating a new release... :)

@gemyago Haha, no worries. This is just an upgrade to Gateway API 1.6.0, which only really affects TCPRoute and UDPRoute for this library, so it's a relatively simple change.

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.

3 participants