Lukas N.08/05/2020, 1:17 PM
Looking at the code of the agent the
is hardwired and I cannot modify it. I've also checked the
which seems like a way to go for a custom
file. But in this case, the environment values specified in the prefect Kubernetes agent
don't get passed to the custom job. They only get passed to the first Job that creates the custom job. Is there another way to have both custom annotations on Jobs and environment values passed from prefect kubernetes agent?
prefect agent start kubernetes --env NAME=value
josh08/05/2020, 1:21 PM
Lukas N.08/05/2020, 1:27 PM
with different environment variables. They need to be passed to the job. If I use
prefect agent start kubernetes --env NAME=...
, the initial job doesn't have access to the vault. If I use
the values don't get injected into the environment of the second (actual) job.