Add support for 'DATA_SOURCE_URI_FILE' envvar.
Closes #326 as is provides a viable solution to use a K8S init container to fully contruct the PostgreSQL URI and 'hand it over' to the postgres_exporter process.
This commit is contained in:
committed by
Will Rouesnel
parent
852ec5d9a1
commit
9b13f5ec57
@@ -85,6 +85,9 @@ The following environment variables configure the exporter:
|
||||
an alternative to `DATA_SOURCE_NAME` which exclusively accepts the raw URI
|
||||
without a username and password component.
|
||||
|
||||
* `DATA_SOURCE_URI_FILE`
|
||||
The same as above but reads the URI from a file.
|
||||
|
||||
* `DATA_SOURCE_USER`
|
||||
When using `DATA_SOURCE_URI`, this environment variable is used to specify
|
||||
the username.
|
||||
|
||||
Reference in New Issue
Block a user