fix: change auto generate se namespace to mcp (#2398)

This commit is contained in:
EricaLiu
2025-06-11 20:30:48 +08:00
committed by GitHub
parent 312b80f91d
commit d81573e0d2
2 changed files with 2 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ const (
HttpsProtocol = "https"
DubboProtocol = "dubbo"
McpSSEProtocol = "mcp-sse"
McpStreambleProtocol = "mcp-streamble"
McpStreambleProtocol = "mcp-streamable"
)
type McpToolArgsType string

View File

@@ -377,7 +377,7 @@ func (w *watcher) processServerConfig(dataId string, services *model.Service, mc
Meta: config.Meta{
GroupVersionKind: gvk.ServiceEntry,
Name: fmt.Sprintf("%s-%s", provider.IstioMcpAutoGeneratedSeName, strings.TrimSuffix(dataId, ".json")),
Namespace: w.namespace,
Namespace: "mcp",
},
Spec: serviceEntry,
}