Create configmap
k8s_create_configmapCreate a Kubernetes ConfigMap from key-value data or a file in a chosen namespace and context, making configuration available to your workloads.
Instructions
Create a ConfigMap.
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>"
},
"name": "k8s_create_configmap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| 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. | |
| from_file | No | ||
| namespace | No |