https://flyte.org logo
#ask-the-community
Title
# ask-the-community
f

Frank Shen

02/02/2023, 5:34 PM
Hello, Could you explain the mechanism to set and retrieve globally defined variables so that they are available to all workflows and tasks in Flyte? Ideally, they can be changed dynamically through Flyte Admin, not baked into the docker image as env vars. E.g. an S3 bucket name for all the flyte projects, etc.
d

David Espejo (he/him)

02/06/2023, 10:14 PM
@Frank Shen is it similar to this? https://github.com/flyteorg/flyte/issues/2447
f

Frank Shen

02/06/2023, 10:48 PM
Hi @David Espejo (he/him), No. I need global constants that will be available to all tasks to retrieve in code by constant name in development, beta and prod.
t

Tyler Su

02/15/2023, 11:03 PM
@David Espejo (he/him) please revisit!
s

Samhita Alla

02/28/2023, 7:39 AM
@Frank Shen, are you able to find a solution? I think you can set env variables in your helm chart: https://github.com/flyteorg/flyte/blob/7f66e475b522745f3721170906db32f61d9af357/charts/flyte-binary/eks-production.yaml#L47.
2 Views