Skip to content

Passing large number of secrets/env variables to a docker executor run #21100

Closed Answered by cody-scott
cody-scott asked this question in Q&A
Discussion options

You must be logged in to vote

For closing this out we ended up doing the easy way of creating our own run launcher, subclassing the DockerRunLauncher. It basically just passes all but a few of the daemons environment variables over to the launched container. Has tradeoffs, but works great for us.

As a suggestion, if there was a config flag to pass_all_env_vars this is basically what we did, so an option to do this would help.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@cody-scott
Comment options

@lfagliano
Comment options

Answer selected by cody-scott
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
area: deployment Related to deploying Dagster
3 participants