You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Supply a value to helm_releaseset_sensitive (or set) containing an escape sequence e.g. "\\(", e.g. as client_secret in the example above.
terraform apply
Workaround:
set_sensitive {
name="hub.config.GenericOAuthenticator.client_secret"value=replace(var.client_secret, "\\", "\\\\") # HACK workaround for "\\" in client_secret being replaced
}
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 "(".
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
The text was updated successfully, but these errors were encountered: