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
feat: implement Gateway API allowedRoutes namespace and kind validation (#845)
* feat: implement Gateway API allowedRoutes namespace and kind validation
* fix tests
* fix unit tests
* add assertions to wait for gateway to be updated before each test
* use diff namespace for label selector test
---------
Co-authored-by: VikramBedi <[email protected]>
Co-authored-by: Ryan Lymburner <[email protected]>
"No VPC Lattice resources created. Route's parentRefs rejected by all Gateway listeners due to allowedRoutes policies. Check route status conditions for more detail.")
489
+
returnfmt.Errorf("%w: route has validation errors, see status", ErrValidation)
490
+
}
491
+
492
+
// Additional broader validation check for any issues
485
493
ifr.hasNotAcceptedCondition(route) {
486
494
returnfmt.Errorf("%w: route has validation errors, see status", ErrValidation)
0 commit comments