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

This commit is contained in:
屈轩
2025-10-28 18:24:35 +08:00
committed by GitHub
parent ff404302cb
commit 899c105bd0

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}"}]'"