Skip to content

Commit

Permalink
Merge pull request #1155 from rainest/api/allowed-routes-reason
Browse files Browse the repository at this point in the history
api: add RouteReasonNotAllowedByListeners
  • Loading branch information
k8s-ci-robot authored May 19, 2022
2 parents 91cb3c3 + f56f33a commit 7417485
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions apis/v1alpha2/shared_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,11 @@ const (
//
// * "Accepted"
//
// Possible reasons for this condition to be False are:
//
// * "NotAllowedByListeners"
// * "NoMatchingListenerHostname"
//
// Controllers may raise this condition with other reasons,
// but should prefer to use the reasons listed above to improve
// interoperability.
Expand All @@ -202,6 +207,15 @@ const (
// accepted by the Gateway.
RouteReasonAccepted RouteConditionReason = "Accepted"

// This reason is used with the "Accepted" condition when the route has not
// been accepted by a Gateway because the Gateway has no Listener whose
// allowedRoutes criteria permit the route
RouteReasonNotAllowedByListeners RouteConditionReason = "NotAllowedByListeners"

// This reason is used with the "Accepted" condition when the Gateway has no
// compatible Listeners whose Hostname matches the route
RouteReasonNoMatchingListenerHostname RouteConditionReason = "NoMatchingListenerHostname"

// This condition indicates whether the controller was able to resolve all
// the object references for the Route.
//
Expand Down

0 comments on commit 7417485

Please sign in to comment.