Shaoyi Zhang
03/16/2022, 11:56 PMKevin Kho
03/17/2022, 12:01 AMinstall
, you can use the --env
flag. This will add the env var to the flows spun by the agent.Shaoyi Zhang
03/17/2022, 12:05 AMprefect agent kubernetes install --env myenv="22"
will introduce a new environment variable PREFECT__CLOUD__AGENT__ENV_VARS
and you can add the env vars you’d like to see in Kubernetes Jobs as a JSON file.