k8s-pilot

by bourbonkk

secret_create

Generate and deploy Kubernetes Secrets in a specific namespace using key-value pairs, automatically base64 encoding values with the 'k8s-pilot' MCP server tool.

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

NameRequiredDescriptionDefault
context_nameYes
dataYes
nameYes
namespaceYes
secret_typeNoOpaque

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" }, "secret_type": { "default": "Opaque", "title": "Secret Type", "type": "string" } }, "required": [ "context_name", "namespace", "name", "data" ], "title": "secret_createArguments", "type": "object" }
ID: varavj97rf