secret_create
Create Kubernetes Secrets in any namespace with automatic base64 encoding of provided key-value pairs, supporting custom secret types and multiple cluster contexts.
Instructions
Create a 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) secret_type: The type of the Secret (default is "Opaque")
Returns: Status of the creation operation
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| name | Yes | ||
| namespace | Yes | ||
| secret_type | No | Opaque | |
| context_name | Yes |