As part of a recent discussion with Engineering, it came to light that it's entirely possible to configure the Postgres DSN using environment variables using the existing library we utilize when making connections to postgres (see https://www.postgresql.org/docs/current/libpq-envars.html). The docs should provide some example of a config illustrating the configuration via environment variables.
Current behavior
We don't presently have any discussion or breadcrumbs of what's possible with environment variables.
Description
Category
This is an issue with:
Affected pages
https://docs.sensu.io/sensu-go/latest/operations/deploy-sensu/datastore/
Expected behavior
As part of a recent discussion with Engineering, it came to light that it's entirely possible to configure the Postgres DSN using environment variables using the existing library we utilize when making connections to postgres (see https://www.postgresql.org/docs/current/libpq-envars.html). The docs should provide some example of a config illustrating the configuration via environment variables.
Current behavior
We don't presently have any discussion or breadcrumbs of what's possible with environment variables.
Corrections needed
Screenshots
Additional context
It is entirely possible to use something like:
Sensu Postgres Config
Sensu environment variable configuration
This is worth highlighting for several recent use cases we've encountered.