From 671d69c16195f815484c1f4f69336b87e5782a72 Mon Sep 17 00:00:00 2001 From: huabing zhao Date: Wed, 13 Dec 2023 19:07:04 +0800 Subject: [PATCH] fix test Signed-off-by: huabing zhao --- .../translate/out/jwt-single-route-single-match-to-xds.all.json | 1 + .../translate/out/jwt-single-route-single-match-to-xds.all.yaml | 1 + .../out/jwt-single-route-single-match-to-xds.listener.yaml | 1 + 3 files changed, 3 insertions(+) diff --git a/internal/cmd/egctl/testdata/translate/out/jwt-single-route-single-match-to-xds.all.json b/internal/cmd/egctl/testdata/translate/out/jwt-single-route-single-match-to-xds.all.json index 16c1d3522fc..f3452b71909 100644 --- a/internal/cmd/egctl/testdata/translate/out/jwt-single-route-single-match-to-xds.all.json +++ b/internal/cmd/egctl/testdata/translate/out/jwt-single-route-single-match-to-xds.all.json @@ -394,6 +394,7 @@ "@type": "type.googleapis.com/envoy.extensions.filters.http.jwt_authn.v3.JwtAuthentication", "providers": { "httproute/envoy-gateway-system/backend/rule/0/match/0/www_example_com/example": { + "forward": true, "remoteJwks": { "asyncFetch": {}, "cacheDuration": "300s", diff --git a/internal/cmd/egctl/testdata/translate/out/jwt-single-route-single-match-to-xds.all.yaml b/internal/cmd/egctl/testdata/translate/out/jwt-single-route-single-match-to-xds.all.yaml index 8b70c138d50..6f26675e23f 100644 --- a/internal/cmd/egctl/testdata/translate/out/jwt-single-route-single-match-to-xds.all.yaml +++ b/internal/cmd/egctl/testdata/translate/out/jwt-single-route-single-match-to-xds.all.yaml @@ -233,6 +233,7 @@ xds: '@type': type.googleapis.com/envoy.extensions.filters.http.jwt_authn.v3.JwtAuthentication providers: httproute/envoy-gateway-system/backend/rule/0/match/0/www_example_com/example: + forward: true remoteJwks: asyncFetch: {} cacheDuration: 300s diff --git a/internal/cmd/egctl/testdata/translate/out/jwt-single-route-single-match-to-xds.listener.yaml b/internal/cmd/egctl/testdata/translate/out/jwt-single-route-single-match-to-xds.listener.yaml index 273ca89e7c7..7c8a353b83c 100644 --- a/internal/cmd/egctl/testdata/translate/out/jwt-single-route-single-match-to-xds.listener.yaml +++ b/internal/cmd/egctl/testdata/translate/out/jwt-single-route-single-match-to-xds.listener.yaml @@ -48,6 +48,7 @@ xds: '@type': type.googleapis.com/envoy.extensions.filters.http.jwt_authn.v3.JwtAuthentication providers: httproute/envoy-gateway-system/backend/rule/0/match/0/www_example_com/example: + forward: true remoteJwks: asyncFetch: {} cacheDuration: 300s