Skip to content

Conversation

@adrianmace
Copy link

Description

This PR aims to fix #1363

By passing through the DeletionPropagation value down to the Helm library, we can support the foreground cascading deletion feature of Kubernetes.

Acceptance tests

  • Have you added an acceptance test for the functionality being added?

TODO

Release Note

Release note for CHANGELOG:

`helm_release`: Add `deletion_propagation` property to control Kubernetes Cascading Deletion behaviour.

References

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

@hashicorp-cla-app
Copy link

hashicorp-cla-app bot commented May 10, 2024

CLA assistant check
All committers have signed the CLA.

@adrianmace
Copy link
Author

Due to my limited knowledge of Golang and the way in which this codebase is structured/tested, I'd be happy to hand this PR over in this state to a maintainer to complete and release the work.

The only elements I was unsure about is test coverage (if required) and if the Schema version needs to be updated due to this additional field.

@brcourt
Copy link

brcourt commented Apr 16, 2025

Would very much like to see this merged.

@adrianmace adrianmace marked this pull request as ready for review June 10, 2025 11:59
@adrianmace adrianmace requested a review from a team as a code owner June 10, 2025 11:59
@adrianmace adrianmace marked this pull request as draft June 10, 2025 12:00
This exposes functionality akin to the `--cascade` flag as found in the
Helm CLI.

Fixes hashicorp#1363
@adrianmace adrianmace force-pushed the 1363-support-deletion-propagation branch from 66b6462 to 943e420 Compare June 11, 2025 00:26
@adrianmace adrianmace marked this pull request as ready for review June 11, 2025 00:28
@adrianmace
Copy link
Author

Marking this as "Ready for Review" since there does not appear to be any test coverage for existing uninstall functionality.

Happy to be pointed in the right direction if tests are required here, otherwise will leave up to a reviewer to decide.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support DeletionPropagation in Uninstall

2 participants