Allow postgres-exporter to use local socket and Rails db_name
What does this MR do?
Enabling PG to listen on a different address doesn't explicitly disable the unix socket functionality, this would be the easy way to let the postgres-exporter connect to the database using the service account, preventing problems with authentication methods and trusting IPs.
Related issues
Checklist
See Definition of done.
-
Changelog entry created. Not applicable for Documentation changes and minor changes. -
Documentation created/updated -
Tests added -
Integration tests added to GitLab QA, if applicable -
MR targeting master
branch -
MR has a green pipeline on GitLab.com -
Equivalent MR/issue for CNG opened if applicable -
trigger-package
has a green pipeline running against latest commit
Reviewer Checklist
In addition to above, reviewer must:
-
Pipeline is green on dev.gitlab.org if the change is not touching documentation or internal cookbooks
Edited by Catalin Irimie