create_configmap
Create Kubernetes ConfigMaps by specifying key-value pairs or providing a raw YAML manifest. Supports dry-run and multi-cluster targets.
Instructions
Creates a new ConfigMap. Use either basic key-value data or provide a raw YAML manifest.
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>"
},
"name": "create_configmap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Key-value string pairs for the ConfigMap data | |
| dryRun | No | If true, simulates the action without making changes | |
| cluster | No | Target cluster name (default: 'default') | |
| namespace | Yes | The Kubernetes namespace | |
| yamlManifest | No | Full YAML manifest for advanced ConfigMap creation | |
| configMapName | No | The name of the ConfigMap to create |