-
Notifications
You must be signed in to change notification settings - Fork 368
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
cannot unmarshal number into Go struct field ChartVersion.appVersion of type string #368
Comments
We are finding the same problem since the release of 0.10.3. We are wondering if the parsing of the file is being done differently because of this upgrade: 107d7de One theory in our case is when a version string happens to look like |
Yes, but I think you meant that it's getting parsed as float. I believe this is also related to go-yaml/yaml#290 which fixed Specifically, the error we were getting was:
The problematic We happen to be using Artifactory as our repo provider, and it looks like there is an existing bug about this issue: https://www.jfrog.com/jira/browse/RTFACT-20334 However, it might be good to have a workaround on the Helm Provider side as well. |
Also, I don't know exactly where this should be done, but ideally the YAML->JSON code would be able to produce a more informative error message, or there could be a setting for increased logging verbosity. As it stands, the output does not provide enough information to identify which specific value or line caused the problem. |
Same exact problem here with kedacore. As a workaround I had to downgrade to version 0.9.1 provider "helm" { kubernetes {
} install_tiller = "true" } Cheers |
Closing this issue since is making reference to a version based on Helm 2, if this is still valid to the master branch please reopen it. Thanks. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks! |
Terraform Version
Terraform v0.12.12
Affected Resource(s)
Terraform Configuration Files
Debug Output
It worked perfectly in previous versions (<= 0.12), but since appVersion is commit hash in keda repo, if you added number type restriction, it cannot work. The repository is valid => https://kedacore.azureedge.net/helm/index.yaml
Expected Behavior
Since the spec does not provide type information, we should not expect it to be a number. I've seen many things like vx.x.x
Actual Behavior
Crash while attempting to convert a string into a number
Steps to Reproduce
terraform plan
The text was updated successfully, but these errors were encountered: