docs: translate the document of request block plugin to English. (#150)

This commit is contained in:
Kent Dong
2023-01-31 10:13:04 +08:00
committed by GitHub
parent c8d84a0ad5
commit a5ef4cd482
11 changed files with 137 additions and 43 deletions

View File

@@ -83,20 +83,20 @@ spec:
- default/foo
# the ingress foo in namespace default will use this config
config:
block_bodys:
block_bodies:
- "foo"
- ingress:
- default/bar
# the ingress bar in namespace default will use this config
config:
block_bodys:
block_bodies:
- "bar"
# domain-level takes effect
- domain:
- "*.example.com"
# if the request's domain matched, this config will be used
config:
block_bodys:
block_bodies:
- "foo"
- "bar"
url: oci://<your_registry_hub>/request-block:1.0.0