-
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
parsing failure when "set {}" value contains a comma and manifest experiment is enabled #1022
Comments
same problem raised with ingress chart:
and it produces:
|
this is incredible how not explained "feature" breaks things... i found old #495 with nice comment: #495 (comment) and it solved. Need to escape comma! |
Indeed, @iaroslav-nakonechnikov, the following syntax works. Thanks!
Turns out the Switching to
Kinda annoying having to escape commas, spaces, etc.. So, I'm sticking with // ..snip
values = [
yamlencode({
commonAnnotations = {
customAnnotation = "something, else, entirely, sort of"
}
})
]
// snip.. |
For the record, I was unable to use the |
It seems to be a valid behavior. Helm treats the comma as a separator when you pass it to
As was mentioned here already, you either need to escape the comma or use I will go ahead and close this issue. Thank you. |
Terraform, Provider, Kubernetes and Helm Versions
Affected Resource(s)
Terraform Configuration Files
Debug Output
Full debug output: https://gist.github.com/anapsix/2902b39e28dd718be91b0dcab89e34c4
Steps to Reproduce
helm
provider withmanifest = true
experiments enabledset {}
inhelm_release
resource with value containing a commaterraform plan
Expected Behavior
Actual Behavior
Important Factoids
Enabling
manifest = true
Helm provider experiment appears to cause an issue whenset {}
value contains a comma. While passing a similar construct viavalues = [...]
is trouble free:This behavior is observed with Helm provider version
2.8.0
andv2.7.x
during "plan", while2.6.x
,2.5.x
,2.4.x
,2.3.x
,2.2.x
, and2.1.x
produce the same error during "apply". I have not tested earlier provider versions sincemanifest = true
experiment is not available before2.1.0
Community Note
The text was updated successfully, but these errors were encountered: