Skip to content

Commit

Permalink
docs: attachedRoutes comment updated
Browse files Browse the repository at this point in the history
The go comment for the Gateway's AttachedRoutes field has been updated
by adding the condition that the Routes need to be accepted to be
considered successfully attached to a listener.

Signed-off-by: Mattia Lavacca <lavacca.mattia@gmail.com>
  • Loading branch information
mlavacca authored and k8s-infra-cherrypick-robot committed May 22, 2023
1 parent 6696019 commit 5bc76ab
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion apis/v1beta1/gateway_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@ type ListenerStatus struct {
// +kubebuilder:validation:MaxItems=8
SupportedKinds []RouteGroupKind `json:"supportedKinds"`

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

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions config/crd/standard/gateway.networking.k8s.io_gateways.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5bc76ab

Please sign in to comment.