From a0a4a349dbd2e8dc0f584461a9e5d4856bd56d82 Mon Sep 17 00:00:00 2001 From: aicee Date: Mon, 24 Nov 2025 12:16:46 +0800 Subject: [PATCH 1/3] replace workloadSelector with targetRefs in rate limiling doc Signed-off-by: aicee --- docs/application-layer/rate-limiting.md | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/docs/application-layer/rate-limiting.md b/docs/application-layer/rate-limiting.md index 199a3c3..0131e81 100644 --- a/docs/application-layer/rate-limiting.md +++ b/docs/application-layer/rate-limiting.md @@ -45,7 +45,7 @@ This `EnvoyFilter` resource injects a local rate-limit filter into the `httpbin` - A request with the header `quota: medium` will be limited to **3 requests per 300 seconds**. - Other requests will be subject to a default limit of **10 requests per 300 seconds**. -The `workloadSelector` ensures that this filter is applied only to the `httpbin-waypoint` proxy. +The `targetRefs` ensures that this filter is applied only to the `httpbin-waypoint` proxy. ```sh kubectl apply -f -< Date: Mon, 24 Nov 2025 12:45:23 +0800 Subject: [PATCH 2/3] docs: fix grammatical incorrect in rate limiting guide Signed-off-by: aicee --- docs/application-layer/rate-limiting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/application-layer/rate-limiting.md b/docs/application-layer/rate-limiting.md index 0131e81..8859e63 100644 --- a/docs/application-layer/rate-limiting.md +++ b/docs/application-layer/rate-limiting.md @@ -45,7 +45,7 @@ This `EnvoyFilter` resource injects a local rate-limit filter into the `httpbin` - A request with the header `quota: medium` will be limited to **3 requests per 300 seconds**. - Other requests will be subject to a default limit of **10 requests per 300 seconds**. -The `targetRefs` ensures that this filter is applied only to the `httpbin-waypoint` proxy. +The `targetRefs` field ensures that this filter is applied only to the `httpbin-waypoint` proxy. ```sh kubectl apply -f -< Date: Mon, 24 Nov 2025 12:47:18 +0800 Subject: [PATCH 3/3] docs: replace workloadSelector with targetRefs in rate limiting guide Signed-off-by: aicee --- docs/application-layer/rate-limiting.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/application-layer/rate-limiting.md b/docs/application-layer/rate-limiting.md index 8859e63..bf24cab 100644 --- a/docs/application-layer/rate-limiting.md +++ b/docs/application-layer/rate-limiting.md @@ -142,9 +142,9 @@ spec: maxTokens: 10 tokensPerFill: 10 targetRefs: - - kind: Gateway - group: gateway.networking.k8s.io - name: httpbin-waypoint + - kind: Gateway + group: gateway.networking.k8s.io + name: httpbin-waypoint EOF ```