From 5bc76abce01e337947d02bc1a2a5a99de6704c96 Mon Sep 17 00:00:00 2001 From: Mattia Lavacca Date: Mon, 22 May 2023 09:46:18 +0200 Subject: [PATCH] docs: attachedRoutes comment updated 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 --- apis/v1beta1/gateway_types.go | 2 +- .../experimental/gateway.networking.k8s.io_gateways.yaml | 8 ++++---- .../crd/standard/gateway.networking.k8s.io_gateways.yaml | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/apis/v1beta1/gateway_types.go b/apis/v1beta1/gateway_types.go index 305bff37c7..58c3598355 100644 --- a/apis/v1beta1/gateway_types.go +++ b/apis/v1beta1/gateway_types.go @@ -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"` diff --git a/config/crd/experimental/gateway.networking.k8s.io_gateways.yaml b/config/crd/experimental/gateway.networking.k8s.io_gateways.yaml index 6438c3546b..3612e15f37 100644 --- a/config/crd/experimental/gateway.networking.k8s.io_gateways.yaml +++ b/config/crd/experimental/gateway.networking.k8s.io_gateways.yaml @@ -586,8 +586,8 @@ spec: description: ListenerStatus is the status associated with a Listener. properties: attachedRoutes: - description: AttachedRoutes represents the total number of Routes - that have been successfully attached to this Listener. + description: AttachedRoutes represents the total number of accepted + Routes that have been successfully attached to this Listener. format: int32 type: integer conditions: @@ -1289,8 +1289,8 @@ spec: description: ListenerStatus is the status associated with a Listener. properties: attachedRoutes: - description: AttachedRoutes represents the total number of Routes - that have been successfully attached to this Listener. + description: AttachedRoutes represents the total number of accepted + Routes that have been successfully attached to this Listener. format: int32 type: integer conditions: diff --git a/config/crd/standard/gateway.networking.k8s.io_gateways.yaml b/config/crd/standard/gateway.networking.k8s.io_gateways.yaml index 8fd39625fb..218088b7c0 100644 --- a/config/crd/standard/gateway.networking.k8s.io_gateways.yaml +++ b/config/crd/standard/gateway.networking.k8s.io_gateways.yaml @@ -586,8 +586,8 @@ spec: description: ListenerStatus is the status associated with a Listener. properties: attachedRoutes: - description: AttachedRoutes represents the total number of Routes - that have been successfully attached to this Listener. + description: AttachedRoutes represents the total number of accepted + Routes that have been successfully attached to this Listener. format: int32 type: integer conditions: @@ -1289,8 +1289,8 @@ spec: description: ListenerStatus is the status associated with a Listener. properties: attachedRoutes: - description: AttachedRoutes represents the total number of Routes - that have been successfully attached to this Listener. + description: AttachedRoutes represents the total number of accepted + Routes that have been successfully attached to this Listener. format: int32 type: integer conditions: