https://prefect.io logo
Title
c

CJ

07/20/2020, 2:08 PM
Hey, I've got a question for y'all. I recently upgraded from prefect 0.8.x to 0.12.4, and noticed a behavior change related to the docker agent. Previously, on my local machine, I would start prefect server and then start the docker agent with
prefect agent start --volume /path/to/local/.config.toml:/root/.prefect/config.toml docker
. Then, when I registered and ran my flow, it would have access to variables I had set in my local
.config.toml
, especially secrets. After upgrading, I noticed this was no longer the case. I would start the agent in the same way, but
context.secrets
would be empty, and the values returned from
prefect config
look like the factory defaults (eg
use_local_secrets=false
).