hashicorp / terraform-provider-helm

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

Fix nil pointer deref panic on helm_release destroy #1501

Closed sbocinec closed 1 month ago

sbocinec commented 1 month ago

Description

Fix nil pointer deref panic in helm_resource introduced in 2.16.0 through GH-1487. This occurs, when the to-be-destroyed resource no more exists in K8s and helm returns "release not found" as the response is nil in this case.

Fixes https://github.com/hashicorp/terraform-provider-helm/issues/1500

Acceptance tests

Release Note

Release note for CHANGELOG:

Fix helm_resource destroy panic when helm chart release is not found

References

Community Note