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 @@ -254,6 +254,9 @@ func SetRouteConditionResolvedRefs(routeParentStatus *gatewayv1.RouteParentStatu
254254 if ! status && strings .Contains (message , string (gatewayv1 .RouteReasonInvalidKind )) {
255255 reason = string (gatewayv1 .RouteReasonInvalidKind )
256256 }
257+ if ! status && strings .Contains (message , "Service" ) && strings .Contains (message , "not found" ) {
258+ reason = string (gatewayv1 .RouteReasonBackendNotFound )
259+ }
257260
258261 condition := metav1.Condition {
259262 Type : string (gatewayv1 .RouteConditionResolvedRefs ),
Original file line number Diff line number Diff line change @@ -40,7 +40,6 @@ var skippedTestsForTraditionalRoutes = []string{
4040 tests .GatewayInvalidTLSConfiguration .ShortName ,
4141 // tests.HTTPRouteInvalidBackendRefUnknownKind.ShortName,
4242 tests .HTTPRouteInvalidCrossNamespaceParentRef .ShortName ,
43- tests .HTTPRouteInvalidNonExistentBackendRef .ShortName ,
4443 tests .HTTPRouteInvalidParentRefNotMatchingSectionName .ShortName ,
4544}
4645
You can’t perform that action at this time.
0 commit comments