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.
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 |