litmuschaos / litmus-helm

Helm Charts for the Litmus Chaos Operator & CRDs
Apache License 2.0
45 stars 85 forks source link

Feature request: add extra environment variables to Litmus Helm chart and its templates #322

Open whereismybugfix opened 1 year ago

whereismybugfix commented 1 year ago

Greetings,

I've been working on Litmus Chaos custom installation for a while and noticed that currently there's no way to set your own custom environment variables for any Litmus pods. At least that I'm aware of.

It can be useful for users to configure their own env vars for different purposes. As a good example, setting HTTP_PROXY can be one of those.

Bitnami MongoDB Helm chart used in litmus-helm as a subchart implements it this way:

They support extraEnvVars parameter defined in Helm chart as well as extraEnvVarsCM that come from configmaps and also extraEnvVarsSecret that come from secrets.

Please consider implementation of some kinda functionality that mocks extraEnvVars, so that the users can set their own things. Especially when it comes to HTTP_PROXY it can be crucial for the tool functionality.

uditgaurav commented 4 months ago

Hi @whereismybugfix , Thanks for raising this request, we will be looking forward to implement this.