Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin didn't process correctly bash array #7

Open
UmanGarbag opened this issue May 6, 2024 · 0 comments
Open

Plugin didn't process correctly bash array #7

UmanGarbag opened this issue May 6, 2024 · 0 comments

Comments

@UmanGarbag
Copy link

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

image

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant