-
Notifications
You must be signed in to change notification settings - Fork 371
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GH-1097 causes metadata
to always be recomputed with some helm charts.
#1150
Comments
metadata
to always be recomputed with some helm charts.metadata
to always be recomputed with some helm charts.
We could witness the same behaviour with 2.10.0 but also, some charts installs started to fail with this message: |
I'm not really familiar with this code base, but looking at the merge request, I see that there is a test for I unfortunately don't have too much availability to dig deeper into this issue, but I suspect that this is reproducible when simply just using the |
Not sure if that's related, but for me plan shows sensitive data from "values" in "metadata" changes now. |
I was able to reproduce this with the chart mentioned in the original issue. It looks like what's happening here is the @shushpanchik I'm not sure if your issue is the same as the one above. Can you share your config so I can try and reproduce? |
This doesn't work we're still seeing plan/apply changes to metadata when no other values change on every run. As you've confirmed, reverting to 2.9.0 solves this problem so we'll stick on this for now. Thanks for attempting to resolve it. Alternatively, you can remove the 'version' input to helm_release and let Terraform use the Chart.yaml's version instead as this resolves the issue. This is spoken about in the following active issue: #1157 |
And we are affected by this bug: hashicorp/terraform-provider-helm#1150
@jrhouston Could this please be reopened? See @SteveJ-IT's comment. This is still a problem in |
Bump! |
Just an FYI, while there still might be a "bug" there is a workaround for this issue on If you're setting a chart version like: version = "0.3.1" (without the
(With a version = "v0.3.1" This should fix the perpetual diff in most cases. |
Isn't that a separate issue? |
I don't think so, I'm 99% that the diff issue is resolved just the If you're still having issues on |
SO close - I thought @BenB196 comment about including if i use: version = "v6.*" # or version = "6.*" i see proposed changes in metadata (but nothing happens) whereas if I pin the version (to the latest one): version = "v6.0.8" # or version = "6.0.8" I get a clean / empty I can pin for now, but any ideas if this is a similar issue? Would love for this code to plan updates "automatically" when there are new releases, but not otherwise. |
I can confirm this behaviour. I would rather not lock the version completely to keep getting minor updates automatically, but that causes the metadata change false positive. We have a lot of helm releases and now these are seriously polluting our plans and making it's review difficult. |
I can also confirm this behavior on 2.14.0 and 2.10.1, downgrading to 2.9.0 solves it. |
reopening since this is still an issue that users are coming across. |
we are still in 2.9.0 too, any news on this issue ? |
@YawataNoKami I don't think @BBBmau's changes have been released yet. You'll have to wait until |
@YawataNoKami @itay-grudev |
It looks like it's working. |
It's fixed indeed. |
Terraform, Provider, Kubernetes and Helm Versions
Affected Resource(s)
Terraform Configuration Files
Debug Output
NOTE: In addition to Terraform debugging, please set HELM_DEBUG=1 to enable debugging info from helm.
Panic Output
N/A
Steps to Reproduce
terraform plan
Downgrading from
2.10.0
to2.9.0
causes the issue to go away.Expected Behavior
I would expect that rerunning Terraform where there are no changes to the Helm values that the metadata should not be recomputed.
Actual Behavior
Observe that the metadata gets regeneratred
Important Factoids
References
Community Note
The text was updated successfully, but these errors were encountered: