fix(cmd): show mcp server update cmd (#23629)

This commit is contained in:
屈轩
2025-10-28 18:35:01 +08:00
committed by GitHub
parent 1052eb4451
commit bbf0991bb3
+3
View File
@@ -288,6 +288,9 @@ show_update_cmd() {
'esxi-agent')
spec='esxiagent'
;;
'mcp-server')
spec='mcpServer'
;;
esac
echo "kubectl patch oc -n onecloud default --type='json' -p='[{op: replace, path: /spec/${spec}/imageName, value: ${name}},{"op": "replace", "path": "/spec/${spec}/repository", "value": "${REGISTRY}"},{"op": "add", "path": "/spec/${spec}/tag", "value": "${tag}"}]'"