diff --git a/api/v2/apisixroute_types.go b/api/v2/apisixroute_types.go index 1054277f..dd30d021 100644 --- a/api/v2/apisixroute_types.go +++ b/api/v2/apisixroute_types.go @@ -61,7 +61,7 @@ type ApisixRouteStatus = ApisixStatus // +kubebuilder:printcolumn:name="Target Service (TCP)",type="string",JSONPath=".spec.tcp[].match.backend.serviceName",description="Backend Service for TCP",priority=1 // +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp",description="Creation time",priority=0 -// ApisixRoute is defines configuration for HTTP and stream routes. +// ApisixRoute defines configuration for HTTP and stream routes. type ApisixRoute struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` @@ -112,7 +112,7 @@ type ApisixRouteHTTP struct { Authentication ApisixRouteAuthentication `json:"authentication,omitempty" yaml:"authentication,omitempty"` } -// ApisixRouteStream defines the configuration for a Layer 4 (TCP/UDP) route. Currently not supported. +// ApisixRouteStream defines the configuration for a Layer 4 (TCP/UDP) route. type ApisixRouteStream struct { // Name is a unique identifier for the route. This field must not be empty. Name string `json:"name" yaml:"name"` diff --git a/config/crd/bases/apisix.apache.org_apisixroutes.yaml b/config/crd/bases/apisix.apache.org_apisixroutes.yaml index f0760d3b..ff2c6dd3 100644 --- a/config/crd/bases/apisix.apache.org_apisixroutes.yaml +++ b/config/crd/bases/apisix.apache.org_apisixroutes.yaml @@ -47,7 +47,7 @@ spec: name: v2 schema: openAPIV3Schema: - description: ApisixRoute is defines configuration for HTTP and stream routes. + description: ApisixRoute defines configuration for HTTP and stream routes. properties: apiVersion: description: |- @@ -361,7 +361,7 @@ spec: Each rule specifies conditions to match TCP/UDP traffic and how to forward them. items: description: ApisixRouteStream defines the configuration for a Layer - 4 (TCP/UDP) route. Currently not supported. + 4 (TCP/UDP) route. properties: backend: description: Backend specifies the destination service to which diff --git a/docs/en/latest/reference/api-reference.md b/docs/en/latest/reference/api-reference.md index baf9166e..5c0eaf9b 100644 --- a/docs/en/latest/reference/api-reference.md +++ b/docs/en/latest/reference/api-reference.md @@ -560,7 +560,7 @@ ApisixPluginConfig defines a reusable set of plugin configuration that can be re ### ApisixRoute -ApisixRoute is defines configuration for HTTP and stream routes. +ApisixRoute defines configuration for HTTP and stream routes. @@ -1187,7 +1187,7 @@ _Appears in:_ #### ApisixRouteStream -ApisixRouteStream defines the configuration for a Layer 4 (TCP/UDP) route. Currently not supported. +ApisixRouteStream defines the configuration for a Layer 4 (TCP/UDP) route.