Skip to content

Document uninstall hook apply method follows release latching behavior#2142

Open
promptless-for-oss wants to merge 1 commit into
helm:mainfrom
Promptless:promptless/document-uninstall-server-side-apply
Open

Document uninstall hook apply method follows release latching behavior#2142
promptless-for-oss wants to merge 1 commit into
helm:mainfrom
Promptless:promptless/document-uninstall-server-side-apply

Conversation

@promptless-for-oss

Copy link
Copy Markdown
Contributor

Open this suggestion in Promptless to view citations and reasoning process

Updates the Server-Side Apply section in the Helm 4 overview to note that uninstall (pre-delete and post-delete hooks) follows the release's previous apply method by default, and can be overridden with the --server-side flag — matching upgrade and rollback. Reflects helm/helm PR #32232.

Trigger Events


Tip: Worried about broken links? Ask Promptless to find and fix them automatically 🔗

helm/helm PR #32232 adds a --server-side flag to helm uninstall so
pre-delete and post-delete hooks follow the release's previous apply
method by default instead of hardcoding server-side apply. Extend the
Server-Side Apply overview section to cover uninstall.

Signed-off-by: promptless[bot] <promptless[bot]@users.noreply.github.com>
Comment thread docs/overview.md
The behavior can be overridden by setting the `--server-side` flag explicitly.
When you upgrade, roll back, or uninstall a release, Helm follows the release's previous apply method by default.
This latching behavior ensures continuity of operation for existing releases that used client-side apply.
For `helm uninstall`, the previous apply method governs the pre-delete and post-delete hooks.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

helm/helm PR #32232 adds a --server-side flag (auto/true/false, default auto) to helm uninstall. Per pkg/action/uninstall.go, pre-delete and post-delete hooks previously hardcoded server-side apply to true; the change wires them through getServerSideApplyValue() so auto follows the release's stored apply method — matching upgrade and rollback. This extends the overview's latching-behavior description to cover uninstall.

Source: helm/helm#32232

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hold Do not merge yet size/XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants