mirror of
https://github.com/alibaba/higress.git
synced 2026-06-09 04:37:31 +08:00
fix: change auto generate se namespace to mcp (#2398)
This commit is contained in:
@@ -29,7 +29,7 @@ const (
|
|||||||
HttpsProtocol = "https"
|
HttpsProtocol = "https"
|
||||||
DubboProtocol = "dubbo"
|
DubboProtocol = "dubbo"
|
||||||
McpSSEProtocol = "mcp-sse"
|
McpSSEProtocol = "mcp-sse"
|
||||||
McpStreambleProtocol = "mcp-streamble"
|
McpStreambleProtocol = "mcp-streamable"
|
||||||
)
|
)
|
||||||
|
|
||||||
type McpToolArgsType string
|
type McpToolArgsType string
|
||||||
|
|||||||
@@ -377,7 +377,7 @@ func (w *watcher) processServerConfig(dataId string, services *model.Service, mc
|
|||||||
Meta: config.Meta{
|
Meta: config.Meta{
|
||||||
GroupVersionKind: gvk.ServiceEntry,
|
GroupVersionKind: gvk.ServiceEntry,
|
||||||
Name: fmt.Sprintf("%s-%s", provider.IstioMcpAutoGeneratedSeName, strings.TrimSuffix(dataId, ".json")),
|
Name: fmt.Sprintf("%s-%s", provider.IstioMcpAutoGeneratedSeName, strings.TrimSuffix(dataId, ".json")),
|
||||||
Namespace: w.namespace,
|
Namespace: "mcp",
|
||||||
},
|
},
|
||||||
Spec: serviceEntry,
|
Spec: serviceEntry,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user