mbecker20 / komodo

🦎 a tool to build and deploy software on many servers 🦎
GNU General Public License v3.0
1.21k stars 20 forks source link

Substitute variable in Extra Commands #42

Closed beraj closed 1 week ago

beraj commented 3 weeks ago

This may be more of a question or something I am doing wrong, but wanted to mention it in case it is something that needs attention. I am working on moving all my containers over to deployments in Monitor. One of my containers needs extra commands appended:

--workspace=/siyuan/workspace/ --accessAuthCode=${AuthCode}

It appears that the environment file variable doesn't get substituted. If I replace the variable with a literal, it is working fine. If this is something I am doing incorrectly, I apologize. I tried several different iterations including the syntax noted in docs of '[[AuthCode]]'.

Thanks for your work on this project! It is really cool and I am having fun playing with it.

mbecker20 commented 3 weeks ago

Good point, the variables are currently only interpolated into the actual environment variables.

I've considered this as well and will add "interpolate variables into extra args" in 1.14.

Thanks the feedback and I'm thrilled you are enjoying it 🦎