Open IvanDimitrov2002 opened 3 years ago
This is caused by these lines:
env := strings.Replace(strings.TrimSpace(envVal), "$", "", -1)
envMap[envName] = os.Getenv(env)
It basically pulls the value from the environment. If it is not there, it overwrites it anyway.
Dirty way to fix this on our side is to have all the parameters in the environment for this action. In your case, add the DB_DRIVER
to your environment for the parsing step.
Yep, I did exactly that back then :)
Hello,
I have issue with env variables that are not secrets. For example:
got compiled to:
In this case DB_DRIVER is not a secret and got wiped out. Is it expected behavior?