File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -264,6 +264,9 @@ func SetRouteConditionResolvedRefs(routeParentStatus *gatewayv1.RouteParentStatu
264264 if ! status && strings .Contains (message , string (gatewayv1 .RouteReasonInvalidKind )) {
265265 reason = string (gatewayv1 .RouteReasonInvalidKind )
266266 }
267+ if ! status && strings .Contains (message , "Service" ) && strings .Contains (message , "not found" ) {
268+ reason = string (gatewayv1 .RouteReasonBackendNotFound )
269+ }
267270
268271 condition := metav1.Condition {
269272 Type : string (gatewayv1 .RouteConditionResolvedRefs ),
Original file line number Diff line number Diff line change @@ -37,7 +37,6 @@ var skippedTestsForTraditionalRoutes = []string{
3737
3838 tests .GatewayInvalidTLSConfiguration .ShortName ,
3939 tests .HTTPRouteInvalidCrossNamespaceParentRef .ShortName ,
40- tests .HTTPRouteInvalidNonExistentBackendRef .ShortName ,
4140 tests .HTTPRouteInvalidParentRefNotMatchingSectionName .ShortName ,
4241}
4342
You can’t perform that action at this time.
0 commit comments