mirror of
https://github.com/alibaba/higress.git
synced 2026-06-05 10:37:28 +08:00
Fix : add fail strategy for wasmplugin generated by mcp server (#2237)
This commit is contained in:
@@ -101,9 +101,10 @@ func (s *store) GetAllConfigs(kind config.GroupVersionKind) map[string]*config.C
|
||||
wasmPlugin := &extensions.WasmPlugin{
|
||||
ImagePullPolicy: extensions.PullPolicy_Always,
|
||||
Phase: extensions.PluginPhase_UNSPECIFIED_PHASE,
|
||||
Priority: &wrapperspb.Int32Value{Value: 30},
|
||||
Priority: &wrapperspb.Int32Value{Value: 999},
|
||||
PluginConfig: pbs,
|
||||
Url: higressconfig.McpServerWasmImageUrl,
|
||||
FailStrategy: extensions.FailStrategy_FAIL_OPEN,
|
||||
}
|
||||
|
||||
return map[string]*config.Config{"wasm": &config.Config{
|
||||
|
||||
Reference in New Issue
Block a user