Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add gitlab-consul auth for pgbouncer database #255

Merged
merged 5 commits into from
Jul 13, 2018

Conversation

LongLiveCHIEF
Copy link
Contributor

This enhancement allows for the configuration of the authentication required for enabling built in database failover/service discovery. This PR adds configuration for the file the gitlab-omnibus package uses to authenticate the service discovery agent (consul) against the pgbouncer database.

closes #229

@LongLiveCHIEF LongLiveCHIEF added this to the Gitlab HA Support milestone Jul 11, 2018
@LongLiveCHIEF LongLiveCHIEF added the enhancement New feature or request label Jul 11, 2018
@@ -0,0 +1 @@
127.0.0.1:*:pgbouncer:pgbouncer:<%= @pgbouncer_password -%>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please provide this an an epp template?
From our guidelines;

Is a new template added? The preferred language is epp, not erb

Please provide the needed variable as parameter.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure, will do.

@bastelfreak bastelfreak added the needs-work not ready to merge just yet label Jul 11, 2018
@bastelfreak
Copy link
Member

Thanks for the enhancement @LongLiveCHIEF, can you please take a look at the inline comments I made?

@LongLiveCHIEF LongLiveCHIEF removed the needs-work not ready to merge just yet label Jul 12, 2018
@LongLiveCHIEF
Copy link
Contributor Author

@bastelfreak changed to epp and also added an additional test condition for template content that I forgot about. Ready to Pull.

@LongLiveCHIEF LongLiveCHIEF merged commit 3b4328b into voxpupuli:master Jul 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support creation of .pgpass file
2 participants