kiwigrid/helm-charts

Document how to use --set to pass environment variable key/value pairs to fluentd-elasticsearch chart

Closed this issue · 1 comments

Would it be possible to provide an example of how to pass environment variables to the fluentd-elasticsearch chart using --set? I'm tearing my hair out trying all kinds of syntax, but as someone who isn't a Helm chart expert, I can't for the life of my figure it out.

I've tried:
--set env.FOO=bar
--set env[0].FOO=bar
--set env[0].key=FOO,env[0].value=bar
--set env={FOO=bar}

I've even tried inventing my own syntax with things like:
--set env=[{FOO=bar}]
--set env={{FOO=bar}}

Please help?

It seems that the first syntax I tried should work, but it's failing due to an issue with the chart itself. I've opened a PR to address that problem. At which point, I think a doc change is probably not required.