https://dagster.io/ logo
#ask-community
Title
# ask-community
s

Scott Hood

04/05/2022, 3:22 PM
Hey all quick questions about environment variables being passed to jobs in k8. In the helm chart, what is the difference between setting variables on the
pipelineRun
configuration and the
runLauncher
configuration? Does pipelineRun assure that no matter what the config type is set at the runLauncher, it will have those values, and then the envs in the runLancher are for whatever is utilized?
j

johann

04/05/2022, 3:24 PM
The
pipelineRun
block is going to be deprecated,
runLauncher
is the correct place
s

Scott Hood

04/05/2022, 3:36 PM
Ok got it, and the idea is that you would set the variables you want to be passed from your user-deployment via the
envVars
? So if the user-deployment contained
MY_VAR: test
, for
envVars
you would just pass
MY_VAR
.
j

johann

04/05/2022, 5:05 PM
Those env vars are actually going to be sourced from Dagit or the Daemon (depending where the run is launched from). For a lot of cases that doesn’t make a bunch of sense, so we often recommend k8s configmaps instead
s

Scott Hood

04/05/2022, 5:07 PM
Got it, alright will make that change then. Thanks!
2 Views