apply_manifest
Apply a Kubernetes manifest (YAML) to create or update resources. Supports any Kubernetes resource type. For resources managed by a stack, prefer add_manifest_to_draft + apply_stack_changes. Direct apply_manifest on ArgoCD-managed resources is rejected unless allow_bypass=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | If true, preview the change without executing it. | |
| manifest | Yes | YAML manifest content to apply. | |
| namespace | No | Default namespace for namespaced resources without explicit namespace. | |
| cluster_id | Yes | Ankra cluster id (UUID) the call targets. Discover ids with list_clusters. | |
| allow_bypass | No | Bypass the ArgoCD-managed-resource safety check. Set ONLY when the user explicitly asked to override ArgoCD (e.g. 'force', 'bypass argo'). The confirmation dialog still appears with an enhanced warning. |