Skip to content

Commit

Permalink
Merge pull request #1672 from Sajiyah-Salat/main
Browse files Browse the repository at this point in the history
Add condition in Failed accepted reasons
  • Loading branch information
k8s-ci-robot authored and shaneutt committed Feb 7, 2023
1 parent 55ba25d commit 81d002b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions apis/v1beta1/shared_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ const (
// * "NotAllowedByListeners"
// * "NoMatchingListenerHostname"
// * "UnsupportedValue"
// * "ParentRefNotPermitted"
//
// Possible reasons for this condition to be Unknown are:
//
Expand Down Expand Up @@ -247,6 +248,11 @@ const (
// is not recognized.
RouteReasonUnsupportedValue RouteConditionReason = "UnsupportedValue"

// This reason is used with the "Accepted" condition when the route has not
// been accepted by a Gateway because it has a cross-namespace parentRef,
// but no ReferenceGrant in the other namespace allows such a reference.
RouteReasonParentRefNotPermitted RouteConditionReason = "ParentRefNotPermitted"

// This reason is used with the "Accepted" when a controller has not yet
// reconciled the route.
RouteReasonPending RouteConditionReason = "Pending"
Expand Down

0 comments on commit 81d002b

Please sign in to comment.