Skip to content

Commit 404d150

Browse files
authored
docs: mention stream is currently not supported in the CRD docs (#2522)
1 parent 6bc3731 commit 404d150

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

api/v2/apisixroute_types.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ type ApisixRouteSpec struct {
3939
HTTP []ApisixRouteHTTP `json:"http,omitempty" yaml:"http,omitempty"`
4040
// Stream defines a list of stream route rules.
4141
// Each rule specifies conditions to match TCP/UDP traffic and how to forward them.
42+
// Stream is currently not supported.
4243
Stream []ApisixRouteStream `json:"stream,omitempty" yaml:"stream,omitempty"`
4344
}
4445

@@ -106,7 +107,7 @@ type ApisixRouteHTTP struct {
106107
Authentication ApisixRouteAuthentication `json:"authentication,omitempty" yaml:"authentication,omitempty"`
107108
}
108109

109-
// ApisixRouteStream defines the configuration for a Layer 4 (TCP/UDP) route.
110+
// ApisixRouteStream defines the configuration for a Layer 4 (TCP/UDP) route. Currently not supported.
110111
type ApisixRouteStream struct {
111112
// Name is a unique identifier for the route. This field must not be empty.
112113
Name string `json:"name" yaml:"name"`

config/crd/bases/apisix.apache.org_apisixroutes.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,9 +355,10 @@ spec:
355355
description: |-
356356
Stream defines a list of stream route rules.
357357
Each rule specifies conditions to match TCP/UDP traffic and how to forward them.
358+
Stream is currently not supported.
358359
items:
359360
description: ApisixRouteStream defines the configuration for a Layer
360-
4 (TCP/UDP) route.
361+
4 (TCP/UDP) route. Currently not supported.
361362
properties:
362363
backend:
363364
description: Backend specifies the destination service to which

docs/en/latest/reference/api-reference.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1177,7 +1177,7 @@ It defines routing rules for both HTTP and stream traffic.
11771177
| --- | --- |
11781178
| `ingressClassName` _string_ | IngressClassName is the name of the IngressClass this route belongs to. It allows multiple controllers to watch and reconcile different routes. |
11791179
| `http` _[ApisixRouteHTTP](#apisixroutehttp) array_ | HTTP defines a list of HTTP route rules. Each rule specifies conditions to match HTTP requests and how to forward them. |
1180-
| `stream` _[ApisixRouteStream](#apisixroutestream) array_ | Stream defines a list of stream route rules. Each rule specifies conditions to match TCP/UDP traffic and how to forward them. |
1180+
| `stream` _[ApisixRouteStream](#apisixroutestream) array_ | Stream defines a list of stream route rules. Each rule specifies conditions to match TCP/UDP traffic and how to forward them. Stream is currently not supported. |
11811181

11821182

11831183
_Appears in:_
@@ -1186,7 +1186,7 @@ _Appears in:_
11861186
#### ApisixRouteStream
11871187

11881188

1189-
ApisixRouteStream defines the configuration for a Layer 4 (TCP/UDP) route.
1189+
ApisixRouteStream defines the configuration for a Layer 4 (TCP/UDP) route. Currently not supported.
11901190

11911191

11921192

0 commit comments

Comments
 (0)