uninstall_addon_from_stack
Mark an addon for uninstallation from a deployed stack. The agent uninstalls the addon's release, which removes its objects from the cluster; data its chart or operator deletes on uninstall is gone either way (an operator that owns its volume claims, such as CloudNativePG, deletes them and their data). Use this for direct removal of a single addon without going through the draft system. delete_permanently defaults to false (the same default as the REST API): Ankra keeps the addon's definition so it can be restored, not its cluster objects or data. Pass delete_permanently=true only when the user explicitly wants the addon permanently deleted. An addon of a stack a managed service owns is refused: retire the service instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| addon_name | Yes | Name of the addon to uninstall. | |
| cluster_id | Yes | Ankra cluster id (UUID) the call targets. Discover ids with list_clusters. | |
| stack_name | Yes | Name of the stack containing the addon. | |
| delete_permanently | No | If true, the addon is fully removed. If false, Ankra keeps its definition so it can be restored; its cluster objects, and any data its chart deletes on uninstall, are removed either way. Defaults to false. Pass true to permanently delete. |