beacon-biosignals / julia_pod

k8s native julia development
MIT License
10 stars 3 forks source link

Allow user env variables to modify driver template #36

Closed ericphanson closed 2 years ago

ericphanson commented 2 years ago

That way the user can add additional templated variables without needing to modify julia_pod. For example, I want to check in a template to a repo but make the GPU configurable by env variable.

I have a Julia launch script using REPL.TerminalMenu so I can ask the user if they want a GPU then fill the env variable then launch julia pod.

I'm no expect but I think removing -i here means we start with the inherited env, which will let any other env variables pass through. And in practice this seems to work.