mirror of
https://github.com/alibaba/higress.git
synced 2026-06-10 05:07:30 +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{
|
wasmPlugin := &extensions.WasmPlugin{
|
||||||
ImagePullPolicy: extensions.PullPolicy_Always,
|
ImagePullPolicy: extensions.PullPolicy_Always,
|
||||||
Phase: extensions.PluginPhase_UNSPECIFIED_PHASE,
|
Phase: extensions.PluginPhase_UNSPECIFIED_PHASE,
|
||||||
Priority: &wrapperspb.Int32Value{Value: 30},
|
Priority: &wrapperspb.Int32Value{Value: 999},
|
||||||
PluginConfig: pbs,
|
PluginConfig: pbs,
|
||||||
Url: higressconfig.McpServerWasmImageUrl,
|
Url: higressconfig.McpServerWasmImageUrl,
|
||||||
|
FailStrategy: extensions.FailStrategy_FAIL_OPEN,
|
||||||
}
|
}
|
||||||
|
|
||||||
return map[string]*config.Config{"wasm": &config.Config{
|
return map[string]*config.Config{"wasm": &config.Config{
|
||||||
|
|||||||
Reference in New Issue
Block a user