propose_manifestwork
Propose a change to a managed cluster as a ManifestWork, validate it with static guardrails and Kyverno dry-run, and store it pending human approval before any application.
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 |