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 syncUsers field to pgbouncer api #1206

Merged
merged 5 commits into from
May 8, 2024
Merged

Conversation

HiranmoyChowdhury
Copy link
Contributor

Signed-off-by: Hiranmoy Das Chowdhury [email protected]

Signed-off-by: Hiranmoy Das Chowdhury <[email protected]>
Signed-off-by: Hiranmoy Das Chowdhury <[email protected]>
@@ -118,10 +118,17 @@ const (
)

type Databases struct {
// SyncUsers is a boolean type and when enabled, operator fetches all users created in the backend server to the
// PgBouncer server. Password changes are also synced in pgBouncer when it is enabled.
Copy link
Contributor

Choose a reason for hiding this comment

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

fetches Postgres users from externally managed secrets and sync them to PgBouncer.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@MobarakHsn I got this comment from pgpool though. I already replaced the comment. Can you review it again if it's ok?

Copy link
Contributor

Choose a reason for hiding this comment

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

It was previous mechanism for Pgpool now it works differently.

Signed-off-by: Hiranmoy Das Chowdhury <[email protected]>
Signed-off-by: Hiranmoy Das Chowdhury <[email protected]>
Copy link
Member

@ArnobKumarSaha ArnobKumarSaha left a comment

Choose a reason for hiding this comment

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

Run go mod tidy && go mod vendor , & make gen fmt

Signed-off-by: Hiranmoy Das Chowdhury <[email protected]>
@ArnobKumarSaha ArnobKumarSaha changed the title sync user field is added in pgbouncer api Add syncUsers field to pgbouncer api May 8, 2024
@ArnobKumarSaha ArnobKumarSaha merged commit 945f983 into master May 8, 2024
14 checks passed
@ArnobKumarSaha ArnobKumarSaha deleted the multipleUserSupport branch May 8, 2024 08:38
tapojit047 pushed a commit that referenced this pull request May 20, 2024
Signed-off-by: Hiranmoy Das Chowdhury <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants