Skip to content

use v1 for referencegrant apiversion, allow finalizers to be customized for gateway api - #4886

Merged
zac-nixon merged 2 commits into
kubernetes-sigs:mainfrom
zac-nixon:main
Aug 26, 2026
Merged

zac-nixon merged 2 commits into
kubernetes-sigs:mainfrom
zac-nixon:main

Conversation

@zac-nixon

Copy link
Copy Markdown
Collaborator

Description

referencegrant has been v1 for a while, however gateway api serves both v1 and v1beta1. This PR bumps the api version to v1 (confirmed w/ gateway api v1.6.)

we need to be able to customize finalizer names in the gateway api. this allows for customization.

Checklist

  • Added tests that cover your change (if possible)
  • Added/modified documentation as required (such as the README.md, or the docs directory)
  • Manually tested
  • Made sure the title of the PR is a good description that can go into the release notes

BONUS POINTS checklist: complete for good vibes and maybe prizes?! 🤯

  • Backfilled missing tests for code in same general area 🎉
  • Refactored something and made the world a better place 🌟

@kubernetes-prow kubernetes-prow Bot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Aug 25, 2026
@kubernetes-prow kubernetes-prow Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 25, 2026
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 8.47458% with 54 lines in your changes missing coverage. Please review.
✅ Project coverage is 57.49%. Comparing base (057c70f) to head (ba0f432).
⚠️ Report is 30 commits behind head on main.

Files with missing lines Patch % Lines
...rs/gateway/eventhandlers/reference_grant_events.go 0.00% 8 Missing ⚠️
pkg/config/gateway_finalizer_config.go 0.00% 8 Missing ⚠️
...ollers/aga/eventhandlers/reference_grant_events.go 0.00% 7 Missing ⚠️
...rs/gateway/targetgroup_configuration_controller.go 0.00% 6 Missing ⚠️
controllers/gateway/gateway_class_controller.go 0.00% 5 Missing ⚠️
controllers/gateway/gateway_controller.go 0.00% 5 Missing ⚠️
...s/gateway/listenerrule_configuration_controller.go 0.00% 5 Missing ⚠️
...s/gateway/loadbalancer_configuration_controller.go 0.00% 5 Missing ⚠️
controllers/gateway/config_resolver.go 33.33% 2 Missing and 2 partials ⚠️
controllers/aga/globalaccelerator_controller.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4886   +/-   ##
=======================================
  Coverage   57.49%   57.49%           
=======================================
  Files         396      397    +1     
  Lines       31621    31688   +67     
=======================================
+ Hits        18179    18219   +40     
- Misses      12384    12410   +26     
- Partials     1058     1059    +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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@kubernetes-prow

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: wweiwei-li, zac-nixon

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [wweiwei-li,zac-nixon]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@wweiwei-li

Copy link
Copy Markdown
Collaborator

Approved, looks like there is no prod code actually using gwbeta1 anymore, Do we want to clean up it from tests and drop gwbeta1.AddToScheme(scheme)

@zac-nixon
zac-nixon merged commit df94714 into kubernetes-sigs:main Aug 26, 2026
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants