mirror of
https://github.com/alibaba/higress.git
synced 2026-04-22 12:37:26 +08:00
Support wasm api (#129)
This commit is contained in:
10
samples/wasmplugin/default-config.yaml
Normal file
10
samples/wasmplugin/default-config.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
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"
|
||||
Reference in New Issue
Block a user