metadata
always recomputes, causing redeployment for every single plan-apply
#1344
Labels
metadata
always recomputes, causing redeployment for every single plan-apply
#1344
Terraform, Provider, Kubernetes and Helm Versions
Affected Resource(s)
Terraform Configuration Files
Debug Output
https://gist.github.com/meysam81/8b4c8805d7dcfa7dd116443c4cc42841
NOTE: In addition to Terraform debugging, please set HELM_DEBUG=1 to enable debugging info from helm.
Panic Output
Steps to Reproduce
Either of the following:
terraform apply
terraform plan -out tfplan && terraform apply tfplan
Expected Behavior
Even in the case where the latest chart version is the same as the running helm-release, it is still updating the metadata and trying to re-deploy the release. A frustrating experience really. Ansible helm module is doing a much better job in this regards when it comes to idempotency.
The funny thing is, if you pin the version to exact version, e.g.
19.0.1
, this won't happen and aNo changes
will be printed on the screen. But any version wildcard versioning causes the release to recompute the metadata. 🤷Actual Behavior
It finds
metadata
changed for every single plan-apply.Important Factoids
Nothing special. I have tried this in different clusters with different versions. All have the same outcome.
References
metadata
to always be recomputed with some helm charts. #1150Community Note
The text was updated successfully, but these errors were encountered: