Name and Version
bitnami/postgresql main
What is the problem this feature will solve?
The exporter user could be any user with access to postgres database and granted pg_monitor. It's not uncommon to separate it from admin user. This feature will solve the problem of changing user/pass etc in a clean way from values without modifications to hard-coded value in statefulset template directly.
What is the feature you are proposing to solve the problem?
A variable in postgres exporter values, mapped to DATA_SOURCE_* env variables.
What alternatives have you considered?
Maybe also add mapping with configmap or secrets