Hi, how do we add ENV variables when installing wi...
# prefect-server
l
Hi, how do we add ENV variables when installing with Helm ? Specifically to add
GITHUB_ACCESS_TOKEN
to use GitHub as the script storage backend.
👀 1
z
l
@Zach Schumacher no they're not helpful in this case... I had to add the SECRET manually in the UI for it to work.. is there a way to pass ENV variables to the Job scheduled by Kubernetes agent??
PREFECT__CONTEXT__SECRETS__GITHUB_ACCESS_TOKEN
doesn't get passed to Jobs when set in the Agent
I'm getting ValueError('Local Secret "GITHUB_ACCESS_TOKEN" was not found.')
z
I’d either pass it in the template or pass it on startup to teh agent if every job needs it. I’m also not an expert because we use cloud, not server so we get the managed vault backend