docker-vernemq icon indicating copy to clipboard operation
docker-vernemq copied to clipboard

Howto add additionalEnv from commandline ?

Open nachten opened this issue 5 years ago • 1 comments

Hi there,

I'm kinda new to HELM so I hope i'm not asking any stupid question ... but I would like to know how to set extra additionalEnv from command line ?

Thanks in advance.

Nick

nachten avatar Feb 26 '20 14:02 nachten

Hi @nachten

You would set it like this:

helm install vernemq . -f values.yaml --set additionalEnv[0].name="DOCKER_VERNEMQ_ALLOW_REGISTER_DURING_NETSPLIT" --set additionalEnv[0].value="off"

Note that if you are using zsh, then you need to escape square brackets like \[0\] (as shown below).

helm install vernemq . -f values.yaml --set additionalEnv\[0\].name="DOCKER_VERNEMQ_ALLOW_REGISTER_DURING_NETSPLIT" --set additionalEnv\[0\].value="off"

a7i avatar Jul 16 '20 20:07 a7i