Skip to content

Connection pooler pgbouncer pod is missing imagePullSecrets #1969

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

Open
ErikLundJensen opened this issue Jul 21, 2022 · 3 comments
Open

Connection pooler pgbouncer pod is missing imagePullSecrets #1969

ErikLundJensen opened this issue Jul 21, 2022 · 3 comments

Comments

@ErikLundJensen
Copy link

Feature:

When adding connection pooler in the Postgresql CR then the pgbouncer deployment/pods do not get the imagePullSecrets specified in the Helm chart. The pgbouncer pod is using service account "default" and not the account specified in "pod_service_account_name".

Thereby it is not possible to run the connection pooler using a private container registry.

I suggest that the specified service account "pod_service_account_name" is used for the pgbouncer deployment like it is done for the postgresql statefulset. Thereby the imagePullSecrets defined in "pod_service_account_definition" will be used for the pgbouncer as well.

Alternative is to expand the connection pooler configuration with imagePullSecrets options, however, that would just make the usage more complex.

I recommend to reuse the existing service account created for the database pods.

General information:
We are running operator registry.opensource.zalan.do/acid/postgres-operator:v1.8.0 at Kubernetes on-premises

@FxKu
Copy link
Member

FxKu commented Aug 23, 2022

Sounds like a good PR for me. You want to give it a shot @ErikLundJensen ?

@Jokertwo
Copy link

We have the same problem, any progress?

@pitwegner
Copy link

Isn't this fixed by #2352?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants