delete_namespace_annotation
Remove a specified annotation from a Kubernetes namespace. If the annotation does not exist, the operation still succeeds.
Instructions
Delete an annotation from a namespace.
This function removes an annotation from a Kubernetes namespace. If the annotation doesn't exist, the operation is considered successful.
Args: namespace: The name of the namespace to remove the annotation from. key: The annotation key to delete. kubeconfig_path: Optional path to a kubeconfig file. If not provided, the default kubeconfig from the environment will be used.
Returns: Union[bool, str]: True on success (or if annotation didn't exist), or error object if failed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| namespace | Yes | ||
| kubeconfig_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |