mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-05-06 21:52:54 +08:00
fix(cmd): show mcp server update cmd (#23628)
This commit is contained in:
@@ -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}"}]'"
|
||||
|
||||
Reference in New Issue
Block a user