adjust wasm plugin doc (#146)

This commit is contained in:
澄潭
2023-01-28 19:58:56 +08:00
committed by GitHub
parent 059f4c682e
commit 4cd7975295
3 changed files with 51 additions and 45 deletions

View File

@@ -27,7 +27,7 @@
例如用如下配置使用 request-block 插件 的 1.0.0 版本:
```yaml
apiVersion: extensions.istio.io/v1alpha1
apiVersion: extensions.higress.io/v1alpha1
kind: WasmPlugin
metadata:
name: request-block
@@ -36,7 +36,7 @@ spec:
selector:
matchLabels:
higress: higress-system-higress-gateway
pluginConfig:
defaultConfig:
block_urls:
- "swagger.html"
url: oci://higress-registry.cn-hangzhou.cr.aliyuncs.com/plugins/request-block:1.0.0