Shaoyi Zhang
03/16/2022, 11:56 PMShaoyi Zhang
03/16/2022, 11:58 PMShaoyi Zhang
03/17/2022, 12:01 AMKevin Kho
install
, you can use the --env
flag. This will add the env var to the flows spun by the agent.Kevin Kho
Shaoyi Zhang
03/17/2022, 12:05 AMShaoyi Zhang
03/17/2022, 12:37 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.