Thread
#prefect-server
    l

    Lionel

    1 year ago
    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.
    Zach Schumacher

    Zach Schumacher

    1 year ago
    l

    Lionel

    1 year ago
    @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.')
    Zach Schumacher

    Zach Schumacher

    1 year ago
    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