secret_update
Update Kubernetes Secrets in a specified namespace using key-value pairs, with values automatically encoded. Operates via the k8s-pilot MCP server for streamlined multi-cluster management.
Instructions
Update an existing Secret in the specified namespace.
Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The Secret name data: A dictionary of key-value pairs (values will be base64 encoded)
Returns: Status of the update operation
Input Schema
Name | Required | Description | Default |
---|---|---|---|
context_name | Yes | ||
data | Yes | ||
name | Yes | ||
namespace | Yes |
Input Schema (JSON Schema)
{
"properties": {
"context_name": {
"title": "Context Name",
"type": "string"
},
"data": {
"additionalProperties": true,
"title": "Data",
"type": "object"
},
"name": {
"title": "Name",
"type": "string"
},
"namespace": {
"title": "Namespace",
"type": "string"
}
},
"required": [
"context_name",
"namespace",
"name",
"data"
],
"title": "secret_updateArguments",
"type": "object"
}