optimize e2e test of rust wasm plugin (#1277)

This commit is contained in:
澄潭
2024-09-03 14:18:39 +08:00
committed by GitHub
parent ffc0c0976f
commit 55c0eb38d4
2 changed files with 1 additions and 10 deletions

View File

@@ -112,8 +112,7 @@ spec:
headers:
- Content-Type=application/json
"body": "{\"res\":\"costom_word\"}"
url: file:///opt/plugins/wasm-go/extensions/custom-response/plugin.wasm
url: oci://higress-registry.cn-hangzhou.cr.aliyuncs.com/plugins/go-custom-response:1.0.0
---
apiVersion: extensions.higress.io/v1alpha1
kind: WasmPlugin
@@ -146,5 +145,4 @@ spec:
- regex: "sk-[0-9a-zA-Z]*"
restore: true
type: "hash"
url: file:///opt/plugins/wasm-rust/extensions/ai-data-masking/plugin.wasm