summaryrefslogtreecommitdiffstats
path: root/samples/scenarios/istio_ingressgateway_envoyfilter.yaml
diff options
context:
space:
mode:
authorJingLu5 <lvjing5@huawei.com>2018-09-07 16:18:15 +0800
committerJingLu5 <lvjing5@huawei.com>2018-09-07 17:15:05 +0800
commit0ade6b1a529828c72d68ae2c42d17a33dd61586e (patch)
tree9f896a86522652cc662a2d3565428cdb90caae80 /samples/scenarios/istio_ingressgateway_envoyfilter.yaml
parent9919161fee48f5f212611ade97d513f146f0139f (diff)
Add ModSecurity config guide
This patch adds ModSecurity config guide. This patch also deploy the modsecurity and ext_authz filter to clover-gateway namespace. Change-Id: I5ab21e6337b8f8b839ddd028370df378686bd017 Signed-off-by: JingLu5 <lvjing5@huawei.com>
Diffstat (limited to 'samples/scenarios/istio_ingressgateway_envoyfilter.yaml')
-rw-r--r--samples/scenarios/istio_ingressgateway_envoyfilter.yaml24
1 files changed, 0 insertions, 24 deletions
diff --git a/samples/scenarios/istio_ingressgateway_envoyfilter.yaml b/samples/scenarios/istio_ingressgateway_envoyfilter.yaml
deleted file mode 100644
index 46f730c..0000000
--- a/samples/scenarios/istio_ingressgateway_envoyfilter.yaml
+++ /dev/null
@@ -1,24 +0,0 @@
-apiVersion: networking.istio.io/v1alpha3
-kind: EnvoyFilter
-metadata:
- name: ext-authz
- namespace: istio-system
-spec:
- workloadLabels:
- app: istio-ingressgateway
- filters:
- - insertPosition:
- index: FIRST
- listenerMatch:
- portNumber: 80
- listenerType: GATEWAY
- listenerProtocol: HTTP
- filterType: HTTP
- filterName: "envoy.ext_authz"
- filterConfig:
- http_service:
- server_uri:
- uri: "http://modsecurity-crs.istio-system.svc.cluster.local"
- cluster: "outbound|80||modsecurity-crs.istio-system.svc.cluster.local"
- timeout: 0.5s
- failure_mode_allow: false