percona-postgresql-operator icon indicating copy to clipboard operation
percona-postgresql-operator copied to clipboard

Being able to create or import PgBouncer users through the PerconaPGCluster CR

Open ennekein opened this issue 6 months ago • 2 comments

Proposal

At the moment, the operator creates only one user _crunchypgbouncer in the users.txt file for PgBouncer. We would benefit from being able to create our own users with the right set of permissions,

Either of these options would work:

  1. Being able to create users for PgBouncer in the proxy config in the PerconaPGCluster the same way it is done for PostgreSQL in the users section.
  2. Being able to propagate roles created in the users section to PgBouncer.

Use-Case

This would allow us to use the PgBouncer metrics exporter with a user that has the appropriate permissions.

Is this a feature you are interested in implementing yourself?

No

Anything else?

No response

ennekein avatar Jun 18 '25 18:06 ennekein

Hi @ennekein we have a task about it https://perconadev.atlassian.net/browse/K8SPG-650 . We will implement it soon

hors avatar Sep 26 '25 09:09 hors

@hors Great, thank you!

ennekein avatar Sep 26 '25 14:09 ennekein