klio
klio copied to clipboard
Provide access to the --env-file docker parameter through the klio job run command
Describe the feature you'd like
I would like to be able to pass env variables to my application using the --env-file flag of the docker-run command
Is your feature request related to a problem?
We are currently struggling to pass secrets to our klio pipeline, and I'm not sure the template feature is the right way to achieve this.
An option is to use an environment variable to transmit docker run arguments via klio job commands.
Example:
DOCKER_RUN_OPTS="--network=my-network --env MY_VAR=42" klio job ...