You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.
I want to pass secret env variables when a new docker image is pulled and as well as eventually when it is used to create container to serve user request.
We have the ability to use environment variables to set parameters in a job that is being run, but it wouldn't be used for secrets (see near the end of the README here: https://github.com/girder/slicer_cli_web). You can also add environment parameters in part of the docker-params markup that a cli has; but that also wouldn't be appropriate for secrets.
There currently isn't a way to do this for secrets -- we'd have to make a change to girder_worker to pass specific environment variable. We could make it so that all environment variables that start with some prefix would be passed without that prefix into all running containers (or maybe it needs to be more constrained than that). Then, you would set environment variables in the main girder or girder worker processes(via docker-compose a environment key, for instance).
We should make an issue in the girder-worker repo and further discuss what would make sense.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I want to pass secret env variables when a new docker image is pulled and as well as eventually when it is used to create container to serve user request.
@manthey 's response
DigitalSlideArchive/digital_slide_archive#300
We have the ability to use environment variables to set parameters in a job that is being run, but it wouldn't be used for secrets (see near the end of the README here: https://github.com/girder/slicer_cli_web). You can also add environment parameters in part of the docker-params markup that a cli has; but that also wouldn't be appropriate for secrets.
There currently isn't a way to do this for secrets -- we'd have to make a change to girder_worker to pass specific environment variable. We could make it so that all environment variables that start with some prefix would be passed without that prefix into all running containers (or maybe it needs to be more constrained than that). Then, you would set environment variables in the main girder or girder worker processes(via docker-compose a environment key, for instance).
We should make an issue in the girder-worker repo and further discuss what would make sense.
The text was updated successfully, but these errors were encountered: