create_secret
Creates a Kubernetes Opaque Secret. Accepts plain text key-value pairs for automatic base64 encoding or a full YAML manifest for advanced use.
Instructions
Creates a new Opaque Secret. Use either basic stringData or provide a raw YAML manifest. stringData values will be base64-encoded automatically.
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_secret"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | If true, simulates the action without making changes | |
| cluster | No | Target cluster name (default: 'default') | |
| namespace | Yes | The Kubernetes namespace | |
| secretName | No | The name of the Secret to create | |
| stringData | No | Plain text key-value pairs. Will be encoded automatically. | |
| yamlManifest | No | Full YAML manifest for advanced Secret creation |