-
Notifications
You must be signed in to change notification settings - Fork 21
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
Conversation
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. |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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]>
There was a problem hiding this 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]>
syncUsers
field to pgbouncer api
Signed-off-by: Hiranmoy Das Chowdhury <[email protected]>
Signed-off-by: Hiranmoy Das Chowdhury [email protected]