Hello, Could you explain the mechanism to set and ...
# flyte-support
s
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.
a
@salmon-refrigerator-32115 is it similar to this? https://github.com/flyteorg/flyte/issues/2447
s
Hi @average-finland-92144, No. I need global constants that will be available to all tasks to retrieve in code by constant name in development, beta and prod.
w
@average-finland-92144 please revisit!
t
@salmon-refrigerator-32115, 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.
thx 1
158 Views