From 9cccc68218b31db84a355e9ffff64d1715c0bb3e Mon Sep 17 00:00:00 2001 From: G1 Date: Wed, 6 Mar 2024 14:59:05 +0900 Subject: [PATCH 1/2] Update apisix_route_v2.md --- docs/en/latest/references/apisix_route_v2.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/en/latest/references/apisix_route_v2.md b/docs/en/latest/references/apisix_route_v2.md index 5ea3cd5039..d1dabfb2bc 100644 --- a/docs/en/latest/references/apisix_route_v2.md +++ b/docs/en/latest/references/apisix_route_v2.md @@ -72,6 +72,9 @@ The table below describes each of the attributes in the spec. The fields `apiVer | http[].authentication.type | string | Type of authentication. Set to one of `basicAuth` or `keyAuth`. | | http[].authentication.keyAuth | object | Unique key for a [Consumer](https://apisix.apache.org/docs/apisix/terminology/consumer/). | | http[].authentication.keyAuth.header | string | Header to get the key from. | +| http[].upstreams | array | Upstreams refer to ApisixUpstream CRD. | +| http[].upstreams[].name | string | Upstream name refer to ApisixUpstream CRD. | +| http[].upstreams[].weight | integer | The proportion of selections for each upstream. | | stream | array | Stream route rules. Contains TCP or UDP rules. | | stream[].protocol | string (required) | The protocol of rule. Support `TCP` or `UDP` | | stream[].name | string (required) | Name of the rule. | From 5b33420ef72bf1cd62c41db39b3d2cda58d64fe3 Mon Sep 17 00:00:00 2001 From: G1 Date: Thu, 7 Mar 2024 17:00:44 +0900 Subject: [PATCH 2/2] Update docs/en/latest/references/apisix_route_v2.md Co-authored-by: Navendu Pottekkat --- docs/en/latest/references/apisix_route_v2.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/en/latest/references/apisix_route_v2.md b/docs/en/latest/references/apisix_route_v2.md index d1dabfb2bc..27910083a1 100644 --- a/docs/en/latest/references/apisix_route_v2.md +++ b/docs/en/latest/references/apisix_route_v2.md @@ -72,9 +72,9 @@ The table below describes each of the attributes in the spec. The fields `apiVer | http[].authentication.type | string | Type of authentication. Set to one of `basicAuth` or `keyAuth`. | | http[].authentication.keyAuth | object | Unique key for a [Consumer](https://apisix.apache.org/docs/apisix/terminology/consumer/). | | http[].authentication.keyAuth.header | string | Header to get the key from. | -| http[].upstreams | array | Upstreams refer to ApisixUpstream CRD. | -| http[].upstreams[].name | string | Upstream name refer to ApisixUpstream CRD. | -| http[].upstreams[].weight | integer | The proportion of selections for each upstream. | +| http[].upstreams | array | List of `ApisixUpstream` resources. | +| http[].upstreams[].name | string | Name of the `ApisixUpstream` resource. | +| http[].upstreams[].weight | integer | Weight with which to split traffic to the upstream. | | stream | array | Stream route rules. Contains TCP or UDP rules. | | stream[].protocol | string (required) | The protocol of rule. Support `TCP` or `UDP` | | stream[].name | string (required) | Name of the rule. |