Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adds a way to specify the configstore to use #361

Open
nicoovh opened this issue Sep 1, 2022 · 0 comments
Open

adds a way to specify the configstore to use #361

nicoovh opened this issue Sep 1, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@nicoovh
Copy link

nicoovh commented Sep 1, 2022

Is your feature request related to a problem? Please describe.
I am deploying utask in an environnement that has already defined CONFIGURATION_FROM venv value to a location with limited rights.
Since utask is using configstore.DefaultStore that basically use this venv to find its configuration I can't configure it properly.

Describe the solution you'd like
A better approach would be to look for a UTASK_CONFIGURATION_FROM venv, and if defined, initialise the configstore.Store on that venv.
If not defined, use the configstore.DefaultStore like before.

Describe alternatives you've considered
The only workaround I have is to fill the defined location with utask configuration values, but some configuration could collide at some point, (especially those without UTASK_ prefix)

Additional context
requires an evolution of configstore: ovh/configstore#32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant