Skip to content

Added support to gateway-api package 1.6.0 version - #5532

Open
vdinesh4738 wants to merge 6 commits into
mainfrom
dinesh/consul-k8s-1.6
Open

Added support to gateway-api package 1.6.0 version#5532
vdinesh4738 wants to merge 6 commits into
mainfrom
dinesh/consul-k8s-1.6

Conversation

@vdinesh4738

Copy link
Copy Markdown
Contributor

Added support to gateway-api package 1.6.0 version:

  1. Added "TCPRoute" under the standard api gateway under the "v1" stable api version.
  2. Moved the "refernceGrants" under the standard api gateway under the "v1" stable api version.

Problems faced:

  1. Platforms which manage the Gateway CRDs like OCP support 1.2.1 package version of the gateway-api while Alibaba cloud is on 1.4.1 and GKE Autopilot is on 1.4.1.

Thus we need to support and watch the "refernceGrants" GVK for both "v1beta" and "v1" based on CRD present in the platform.

  1. Platforms which manage the Gateway CRDs under version 1.6.0, does not support TCPRoute and thus Consul API gateway is recommended if the user wants to use TCPRoute in this case.

Other changes

  1. Updated UT cases and acceptance tcs.

@vdinesh4738 vdinesh4738 added the backport/1.8.x Backport to release/1.8.x branch label Jul 30, 2026
@vdinesh4738
vdinesh4738 requested review from a team as code owners July 30, 2026 06:38
@vdinesh4738 vdinesh4738 added the backport/2.0.x Backport to release/2.0.x branch label Jul 30, 2026
@github-actions

Copy link
Copy Markdown

Go Test Coverage: 61.5%

Patch coverage: 41.7% (25/60 changed lines covered)

See the workflow run for the full per-package breakdown and downloadable HTML report.

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 46.29630% with 29 lines in your changes missing coverage. Please review.
✅ Project coverage is 58.59%. Comparing base (c721734) to head (400f352).

Files with missing lines Patch % Lines
...lane/api-gateway/controllers/gateway_controller.go 21.42% 22 Missing ⚠️
control-plane/helper/controller/controller.go 0.00% 4 Missing ⚠️
control-plane/api-gateway/binding/route_binding.go 90.00% 1 Missing ⚠️
control-plane/api-gateway/common/resources.go 50.00% 1 Missing ⚠️
control-plane/api-gateway/controllers/index.go 75.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5532      +/-   ##
==========================================
- Coverage   58.64%   58.59%   -0.06%     
==========================================
  Files         298      298              
  Lines       36767    36784      +17     
==========================================
- Hits        21562    21553       -9     
- Misses      13261    13286      +25     
- Partials     1944     1945       +1     

☔ View full report in Codecov by Harness.
📢 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport/1.8.x Backport to release/1.8.x branch backport/2.0.x Backport to release/2.0.x branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants