Open tomasfabian opened 2 years ago
You need to escape the comma, as otherwise the parsing logic (which equals --set
as helm
itself has when targetPath
is used) will trip over the value. See also: https://helm.sh/docs/intro/using_helm/#the-format-and-limitations-of---set
The correct value would be: kafka01.net:9092\,kafka02.net:9092\,kafka03.net:9092
Hi thanks for you reply @hiddeco.
The creation of the secret is not under our control. We are using the following kafka-topic-operator.
Thx
You need to escape the comma, as otherwise the parsing logic (which equals
--set
ashelm
itself has whentargetPath
is used) will trip over the value. See also: https://helm.sh/docs/intro/using_helm/#the-format-and-limitations-of---setThe correct value would be:
kafka01.net:9092\,kafka02.net:9092\,kafka03.net:9092
may be it can be solved when flux2 using --set-file
instead of --set
.
I occured the issue also, but my content is a json.
I was also hoping that valuesFrom
could allow using a ConfigMap whose content is a regular values.yaml
with comments etc.
Have the same issue, but I am trying to set a JSON document (which is also full of commas). After escaping them, I get the same error now at dots (.), which also seem to have special semantics with --set.
I basically want to insert a full JSON object subtree at the targetPath
. I know that with the current approach, I will put the rendered string representation of the JSON document at that position, which might, depending on the implementation of the helm chart, not work either.
The JSON is provided externally, so would prefer to not modify it.
The current workaround:
targetPath
Apparently removing targetPath
does the trick, now the document is taken as is without that comma/dot-parsing, and merged into the values tree.
Describe the bug
Hi, in case that the secret value contains a comma character we receive the following error message:
Steps to reproduce
Secret with a comma separated list of brokers:
brokers value:
Example HelmRelease yaml:
Expected behavior
The secret value shouldn't be "parsed" with an error outcome.
Screenshots and recordings
No response
OS / Distro
N/A
Flux version
v0.17.1
Flux check
N/A
Git provider
No response
Container Registry provider
No response
Additional context
No response
Code of Conduct