From 529139893baadfaefb94b2559c242f6ee547510d Mon Sep 17 00:00:00 2001 From: zetaloop Date: Sun, 5 Apr 2026 18:16:05 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=96=87=E4=BB=B6=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E5=85=AC=E5=BC=80=E8=B7=AF=E7=94=B1=E4=B8=8E=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E6=9D=83=E9=99=90=E8=A6=81=E6=B1=82=E7=9F=9B=E7=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit GET /api/v1/files 在 envoy 里被设为公开路由但 getFileLogic 要求 user_id,去掉 jwt_authn 和 ext_authz 的公开豁免。 --- deploy/dev/envoy.yaml | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/deploy/dev/envoy.yaml b/deploy/dev/envoy.yaml index 69e8176..db2bfdb 100644 --- a/deploy/dev/envoy.yaml +++ b/deploy/dev/envoy.yaml @@ -216,19 +216,6 @@ static_resources: "@type": type.googleapis.com/envoy.extensions.filters.http.ext_authz.v3.ExtAuthzPerRoute disabled: true - - match: - path: /api/v1/files - headers: - - name: ":method" - exact_match: GET - route: - cluster: objectstory_api_cluster - timeout: 30s - typed_per_filter_config: - envoy.filters.http.ext_authz: - "@type": type.googleapis.com/envoy.extensions.filters.http.ext_authz.v3.ExtAuthzPerRoute - disabled: true - - match: prefix: /api/v1/auth route: @@ -534,11 +521,6 @@ static_resources: headers: - name: ":method" exact_match: GET - - match: - path: /api/v1/files - headers: - - name: ":method" - exact_match: GET - match: prefix: /api/v1 requires: