Hey all quick questions about environment variable...
# ask-community
s
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
The
pipelineRun
block is going to be deprecated,
runLauncher
is the correct place
s
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
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
Got it, alright will make that change then. Thanks!