kyle.p
02/17/2021, 8:22 PMPREFECT__CONTEXT__SECRETS__GITHUB_ACCESS_TOKEN
on the agent pod but I keep getting this error ValueError('Local Secret "GITHUB_ACCESS_TOKEN" was not found.')
. Does the default secret not get created when using the kubernetes agent?Mariia Kerimova
02/17/2021, 8:34 PMkyle.p
02/17/2021, 8:37 PM--env
when starting the agent? The docs seem a vague but I will try thatenv
variables there. It seems they make it to the pod but I guess do not get forwarded to the flow run environment?Mariia Kerimova
02/17/2021, 9:10 PMPREFECT__CONTEXT__SECRETS__GITHUB_ACCESS_TOKEN
should work, but I would check setting env variable with --env flag. If you'll not figure this out, please open the issue, because it sounds like a bug.kyle.p
02/17/2021, 11:45 PMenv
property in the run_config
Mariia Kerimova
02/17/2021, 11:46 PM