Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error during Helm Chart install: failed parsing

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

like image 488
brass monkey Avatar asked May 13 '26 14:05

brass monkey


1 Answers

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 --set lines. You can use a backslash to escape the characters; --set name=value1\,value2 will become: name: "value1,value2"

like image 153
brass monkey Avatar answered May 16 '26 05:05

brass monkey



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!