Im using helm chart in k8s for running prefect ser...
# ask-community
j
Im using helm chart in k8s for running prefect server. In it's value.yaml, I've passed env (which gets populated from secrets). Problem is, context secrets gets populated only if I manually edit the agent deployment and set the --env argument in "agent start" command. just setting the env doesnt populate the context.secret in tasks. Any help?
k
I’m thinking about this. Could you try adding the secret to the storage of your Flow?
flow.storage = XXXStorage(…, secrets=["DB_URI"])