Tom Klein
04/04/2022, 1:16 PMKevin Kho
Tom Klein
04/04/2022, 1:37 PMTom Klein
04/04/2022, 1:37 PMTom Klein
04/04/2022, 1:39 PMKevin Kho
flow.run_config = RunConfig(..., env={...})Anna Geller
Tom Klein
04/04/2022, 1:42 PMTom Klein
04/04/2022, 1:45 PMAnna Geller
i’m talking about altering them from run to run (but still having most of them “persisted”)It seems like you are looking for some external storage solution like Redis - it would allow you to do that. You shouldn't really use Prefect as a parameter store; Prefect is mostly about orchestration and execution
Anna Geller
our flow actually runs (as one of its steps) a Kubernetes job of a specific docker image, and its that internal job that needs to have the env vars, not the flowmaybe Kubernetes secrets is the right approach here?
Tom Klein
04/04/2022, 2:14 PMKevin Kho
Anna Geller
because it’s orchestrated by Prefect i’m not sure what the correct approach would beI don't think Prefect puts any restrictions in that regard. You can totally still use parameter store or secrets manager for that, and this would be actually quite useful because it makes your code easy to migrate to Prefect 2.0
Anna Geller
Tom Klein
04/04/2022, 2:53 PMAnna Geller
Tom Klein
04/05/2022, 12:26 PMTom Klein
04/05/2022, 12:26 PMAnna Geller
Tom Klein
04/05/2022, 12:34 PMRunNamespacedJobAnna Geller
Tom Klein
04/05/2022, 12:47 PMRunNamespacedJobAnna Geller
