Open stemann opened 2 months ago
Hi @stemann,
Escaping special characters is mandatory when they pass a value, here is a long discussion with the Helm authors. It seems to be addressed with --set-literal
option, however, it is not implemented yet in this provider.
Terraform, Provider, Kubernetes and Helm Versions
Affected Resource(s)
Terraform Configuration Files
Debug Output
N/A
Panic Output
N/A
Steps to Reproduce
helm_release
set_sensitive
(orset
) containing an escape sequence e.g."\\("
, e.g. asclient_secret
in the example above.terraform apply
Workaround:
Expected Behavior
Value is set to value provided to
set
.Or optionally, the double-escape necessary for set and set_sensitive is documented, also for simple (string) values.
Actual Behavior
Given the value
"\\("
,"\\"
is replaced with"\"
which yields the string"\("
, which is then replaced with"("
.Important Factoids
N/A
References
Community Note