Skip to content

The AttachedRoutes field does not reflect the expected route status #1913

@mlavacca

Description

@mlavacca

Problem statement

The Gateway AttachedRoutes field states:

// AttachedRoutes represents the total number of Routes that have been
// successfully attached to this Listener.
AttachedRoutes int32 `json:"attachedRoutes"`

But the *Route Attached condition does not exist (the Detached condition with reason Attached was used in the past, and it is now deprecated). The Accepted condition is meant to be used that a route can be considered accepted by (attached to) a Gateway.

Proposed solution

We could rename the AttachedRoutes field of the Gateway status to AcceptedRoutes to reflect the route status condition to check in order to increment (or decrement) the number of routes considered accepted.

Metadata

Metadata

Assignees

Labels

priority/important-longtermImportant over the long term, but may not be staffed and/or may need multiple releases to complete.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions