Sync configmap from file
k8s_sync_configmap_from_fileSync a Kubernetes ConfigMap from a local file to keep cluster configuration current. Specify the ConfigMap name, namespace, and file path to apply file-based config changes.
Instructions
Sync ConfigMap from a file.
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": {
"name": "<name>",
"namespace": "<namespace>",
"file_path": "<file_path>"
},
"name": "k8s_sync_configmap_from_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. | |
| file_path | Yes | ||
| namespace | Yes |