You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(gateway): skip target group creation for HTTPRoute redirect-only rules
HTTPRoute rules with only RequestRedirect filters and no BackendRefs
were incorrectly creating target groups, consuming AWS resources
unnecessarily and causing deployment failures.
This change implements redirect-only rule detection to skip target
group creation for rules that don't route to backends, while
maintaining redirect action creation for proper ALB configuration.
Key changes:
- Add IsRedirectOnlyRule() function to detect redirect-only rules
- Modify buildListenerRules() to skip target group creation for redirect-only rules
- Add comprehensive resource management and cleanup logic
- Include extensive property-based testing with 8 correctness properties
The fix ensures redirect-only rules don't consume AWS target group quotas
while maintaining full functionality for redirect actions and preserving
backward compatibility with Gateway API v1 specifications.
Fixes#4497
0 commit comments