RFE: Support setting config-file and config-dir from environment variables
Bug #1858708 reported by
Ben Nemec
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.config |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
Just had a deployer ask about setting the config-file and config-dir options via environment variables (specifically for WSGI-based deployments). It looks to me like we don't support that today[0] because the code that processes those options doesn't use the normal lookup logic so it doesn't benefit from the environment driver. I think it would be fairly simple to add logic to look up those options from the environment though. If we do so, the env vars should match the format that the environment driver uses (e.g. OS_DEFAULT_
To post a comment you must log in.