Skip to content

Commit

Permalink
gateway interceptor test resource updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Amila-Rukshan committed May 11, 2023
1 parent 9c9dbb2 commit b1fa2bf
Showing 1 changed file with 17 additions and 9 deletions.
26 changes: 17 additions & 9 deletions test/k8s-resources/gw-interceptor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,9 @@ metadata:
namespace: apk-release
spec:
override:
requestInterceptor:
backendRef:
name: interceptor-backend-v1
namespace: apk-release
includes:
- request_body
- request_headers
- invocation_context
requestInterceptors:
- name: interceptor-service-gateway-level
namespace: apk-release
targetRef:
group: gateway.networking.k8s.io
kind: Gateway
Expand Down Expand Up @@ -55,7 +50,20 @@ spec:
hqus
-----END CERTIFICATE-----
---

apiVersion: dp.wso2.com/v1alpha1
kind: InterceptorService
metadata:
name: interceptor-service-gateway-level
namespace: apk-release
spec:
backendRef:
name: interceptor-backend-v1
namespace: apk-release
includes:
- request_body
- request_headers
- invocation_context
---
apiVersion: dp.wso2.com/v1alpha1
kind: RateLimitPolicy
metadata:
Expand Down

0 comments on commit b1fa2bf

Please sign in to comment.