Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add condition in Failed accepted reasons #1672

Merged
merged 15 commits into from
Feb 1, 2023
6 changes: 6 additions & 0 deletions apis/v1beta1/shared_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ const (
// * "NoMatchingListenerHostname"
// * "NoMatchingParent"
// * "UnsupportedValue"
// * "ParentRefNotPermitted"
//
// Possible reasons for this condition to be Unknown are:
//
Expand Down Expand Up @@ -248,6 +249,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