From 7f2d3f7d0e20973087b114bf4f43aec9c97fdbb2 Mon Sep 17 00:00:00 2001 From: zetaloop Date: Sat, 25 Apr 2026 08:31:29 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=94=AF=E6=8C=81=E7=A4=BE=E5=8C=BA?= =?UTF-8?q?=E5=85=AC=E5=BC=80=E6=8E=A5=E5=8F=A3=E5=8F=AF=E9=80=89=E8=AE=A4?= =?UTF-8?q?=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy/dev/envoy.yaml | 10 ++++++++++ deploy/k8s/envoy/envoy.yaml | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/deploy/dev/envoy.yaml b/deploy/dev/envoy.yaml index 5a21fc3..a18a89c 100644 --- a/deploy/dev/envoy.yaml +++ b/deploy/dev/envoy.yaml @@ -651,6 +651,11 @@ static_resources: headers: - name: ":method" exact_match: GET + requires: + requires_any: + requirements: + - provider_name: juwan_user_jwt + - allow_missing: {} - match: safe_regex: google_re2: {} @@ -663,6 +668,11 @@ static_resources: headers: - name: ":method" exact_match: GET + requires: + requires_any: + requirements: + - provider_name: juwan_user_jwt + - allow_missing: {} - match: prefix: /api/v1/reviews headers: diff --git a/deploy/k8s/envoy/envoy.yaml b/deploy/k8s/envoy/envoy.yaml index 27e6bb1..b330acc 100644 --- a/deploy/k8s/envoy/envoy.yaml +++ b/deploy/k8s/envoy/envoy.yaml @@ -449,6 +449,11 @@ data: headers: - name: ":method" exact_match: "GET" + requires: + requires_any: + requirements: + - provider_name: juwan_user_jwt + - allow_missing: {} - match: prefix: "/api/v1/reviews" headers: @@ -487,6 +492,11 @@ data: headers: - name: ":method" exact_match: "GET" + requires: + requires_any: + requirements: + - provider_name: juwan_user_jwt + - allow_missing: {} - match: safe_regex: google_re2: {}