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 @@ -252,6 +253,11 @@ const (
// reconciled the route.
RouteReasonPending RouteConditionReason = "Pending"

// This reason is used with the "ResolvedRef" condition when one of
// route has not been accepted because a ParentRef references a Gateway
// in another namespace, but no ReferenceGrant allows such a reference.
Sajiyah-Salat marked this conversation as resolved.
Show resolved Hide resolved
RouteReasonParentRefNotPermitted RouteConditionReason = "ParentRefNotPermitted"

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