update_configmap
Update a Kubernetes ConfigMap by patching its data with key-value pairs. Supports dry-run simulation and multi-cluster targeting.
Instructions
Updates an existing ConfigMap by patching its data.
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": {
"namespace": "<namespace>",
"configMapName": "<configMapName>",
"data": "<data>"
},
"name": "update_configmap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Key-value string pairs to merge into the ConfigMap | |
| dryRun | No | If true, simulates the action without making changes | |
| cluster | No | Target cluster name (default: 'default') | |
| namespace | Yes | The Kubernetes namespace | |
| configMapName | Yes | The name of the ConfigMap to update |