Skip to content

Commit 83f69a0

Browse files
Jing-zejohnlanni
andauthored
fix: mcp server config map (#1969)
Co-authored-by: 澄潭 <[email protected]>
1 parent 8495d17 commit 83f69a0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/ingress/kube/configmap/mcp_server.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,8 @@ func (m *McpServerController) constructMcpServerStruct(mcp *McpServer) string {
356356
structFmt := `{
357357
"name": "envoy.filters.http.golang",
358358
"typed_config": {
359-
"@type": "type.googleapis.com/envoy.extensions.filters.http.golang.v3alpha.Config",
359+
"@type": "type.googleapis.com/udpa.type.v1.TypedStruct",
360+
"type_url": "type.googleapis.com/envoy.extensions.filters.http.golang.v3alpha.Config",
360361
"value": {
361362
"library_id": "mcp-server",
362363
"library_path": "/var/lib/istio/envoy/mcp-server.so",

0 commit comments

Comments
 (0)