Skip to content

Commit

Permalink
fix e2e
Browse files Browse the repository at this point in the history
Signed-off-by: huabing zhao <zhaohuabing@gmail.com>
  • Loading branch information
zhaohuabing committed Oct 27, 2023
1 parent 04e18c4 commit 4726428
Showing 1 changed file with 14 additions and 15 deletions.
29 changes: 14 additions & 15 deletions test/e2e/testdata/ratelimit-based-jwt-claims.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@
apiVersion: gateway.envoyproxy.io/v1alpha1
kind: AuthenticationFilter
kind: SecurityPolicy
metadata:
name: jwt-example
namespace: gateway-conformance-infra
spec:
type: JWT
jwtProviders:
- name: example
remoteJWKS:
uri: https://raw.githubusercontent.com/envoyproxy/gateway/main/examples/kubernetes/authn/jwks.json
claimToHeaders:
- claim: name
header: x-claim-name
targetRef:
group: gateway.networking.k8s.io
kind: HTTPRoute
name: http-ratelimit-based-jwt-claims
namespace: gateway-conformance-infra
jwt:
providers:
- name: example
remoteJWKS:
uri: https://raw.githubusercontent.com/envoyproxy/gateway/main/examples/kubernetes/authn/jwks.json
claimToHeaders:
- claim: name
header: x-claim-name
---
apiVersion: gateway.envoyproxy.io/v1alpha1
kind: BackendTrafficPolicy
Expand Down Expand Up @@ -48,12 +53,6 @@ spec:
- backendRefs:
- name: infra-backend-v1
port: 8080
filters:
- extensionRef:
group: gateway.envoyproxy.io
kind: AuthenticationFilter
name: jwt-example
type: ExtensionRef
matches:
- path:
type: PathPrefix
Expand Down

0 comments on commit 4726428

Please sign in to comment.