I am trying to install a Helm Chart using this command
helm install chartName --dry-run -f "values.yaml" --set noProxy="127.0.0.1,localhost" myChart
and getting the following error
Error: failed parsing --set data: key "localhost" has no value
Turned out that this --set noProxy="127.0.0.1,localhost" was causing the issue.
The , need to be escaped using \,.
The following command worked.
helm install chartName --set noProxy="127.0.0.1\,localhost" myChart
As the docs specify
Sometimes you need to use special characters in your
--setlines. You can use a backslash to escape the characters;--set name=value1\,value2will become:name: "value1,value2"