helm-subenv
helm-subenv copied to clipboard
Plugin didn't process correctly bash array
Hello !
When trying to use bash env variable define in a .env:
.env
variables0="cool"
variables1=("components3" "components3" "components3" )
variables2="notcool"
After reference this value in a values.yaml and using the command to make substitution :
helm subenv -f $ENV/$components/values.yaml
I got the following error when the plugin try to substitute the last vars from my file to a values.yaml
To make this work i need to define the variable in this order
.env
variables0="cool"
variables2="notcool"
variables1=("components3" "components3" "components3" )
When i want to define a new variable i need to be aware about this comportement, so for new user joining my project it can be difficult if this error appear.
Is it possible to take in count this type of variable from bash ?
Thanks