hashicorp / terraform-provider-helm

Terraform Helm provider
https://www.terraform.io/docs/providers/helm/
Mozilla Public License 2.0
997 stars 368 forks source link

feat: support Helm DeletionPropagation in Uninstall #1365

Open adrianmace opened 4 months ago

adrianmace commented 4 months ago

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

TODO

Release Note

Release note for CHANGELOG:

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

References

Community Note

hashicorp-cla-app[bot] commented 4 months ago

CLA assistant check
All committers have signed the CLA.

adrianmace commented 4 months ago

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.