litmus-helm
litmus-helm copied to clipboard
Feature request: add extra environment variables to Litmus Helm chart and its templates
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:
- https://github.com/bitnami/charts/blob/main/bitnami/mongodb/values.yaml#L414
- https://github.com/bitnami/charts/blob/main/bitnami/mongodb/templates/standalone/dep-sts.yaml#L254
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.
Hi @whereismybugfix , Thanks for raising this request, we will be looking forward to implement this.