Hello, Could you explain the mechanism to set and ...
# ask-the-community
f
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
@Frank Shen is it similar to this? https://github.com/flyteorg/flyte/issues/2447
f
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
@David Espejo (he/him) please revisit!
s
@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.
158 Views