mirror of
https://github.com/alibaba/higress.git
synced 2026-02-23 12:10:53 +08:00
22 lines
437 B
YAML
22 lines
437 B
YAML
apiVersion: extensions.higress.io/v1alpha1
|
|
kind: WasmPlugin
|
|
metadata:
|
|
name: request-block
|
|
namespace: higress-system
|
|
spec:
|
|
url: oci://higress-registry.cn-hangzhou.cr.aliyuncs.com/plugins/request-block:1.0.0
|
|
defaultConfig:
|
|
block_urls:
|
|
- "swagger.html"
|
|
matchRules:
|
|
- ingress:
|
|
- default/foo
|
|
config:
|
|
block_bodies:
|
|
- "foo"
|
|
- ingress:
|
|
- default/bar
|
|
config:
|
|
block_bodies:
|
|
- "bar"
|