docker-vernemq
docker-vernemq copied to clipboard
Howto add additionalEnv from commandline ?
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
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"