propose_manifestwork
Propose a Kubernetes change to a managed cluster as an OCM ManifestWork, passing static checks and Kyverno dry-run. The proposal is stored pending and requires a human approval token before being applied.
Instructions
Propose a change to one cluster as an OCM ManifestWork. Does NOT apply anything.
Args: cluster: target managed cluster name. name: a short kebab-case name for the ManifestWork. summary: one or two sentences a human approver will read. Be precise about what changes and why. manifests_json: JSON array of complete Kubernetes manifests (allowed kinds only; all namespaced; images pinned).
The proposal must pass static guardrails and a Kyverno dry-run on the hub.
On success it is stored pending and the human operator must run
ocm-mcp approve <id> to mint an approval token.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| cluster | Yes | ||
| summary | Yes | ||
| manifests_json | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |