k8s_create_secret_resource
Create Kubernetes Secrets with automatic base64 encoding. Supports Opaque, TLS, and Docker config types.
Instructions
Create a new Kubernetes Secret. Values in data will be automatically base64-encoded. Common types: Opaque (default), kubernetes.io/tls, kubernetes.io/dockerconfigjson.
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": {
"context": "<context>",
"name": "<name>",
"namespace": "<namespace>",
"data": "<data>"
},
"name": "k8s_create_secret_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| name | Yes | ||
| labels | No | ||
| context | Yes | ||
| namespace | Yes | ||
| secret_type | No | Opaque |