Export manifest
k8s_export_manifestExports live Kubernetes objects as clean manifests for Git persistence, stripping status and runtime metadata. Refuses Secrets, directing sensitive values to OpenBao-backed ExternalSecrets.
Instructions
The live object as a clean manifest to persist in services//k8s/.
Status, managed fields, server ids and rollout bookkeeping annotations are stripped. A Secret is refused: its values belong in OpenBao behind an ExternalSecret, never in git.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"api_version": "<api_version>",
"kind": "<kind>",
"name": "<name>"
},
"name": "k8s_export_manifest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| name | Yes | ||
| context | No | Named context of the multi-context pool to run against (see cm_multi_context list_contexts); the default context if omitted. | |
| namespace | No | ||
| api_version | Yes |