Skip to content

feat: enable connection pooling#188

Closed
mkm29 wants to merge 29 commits into
mainfrom
feat/enable-connection-pooling
Closed

feat: enable connection pooling#188
mkm29 wants to merge 29 commits into
mainfrom
feat/enable-connection-pooling

Conversation

@mkm29

@mkm29 mkm29 commented Apr 22, 2026

Copy link
Copy Markdown

Description

Enable connection pooling, required 2 changes:

  • Use zalando pgBouncer image (CNPG image is not compatible with Zalando)
  • Add enableConnectionPooler and enableReplicaConnectionPooler to allowlist of values to pass through to upstream chart in postgres-minimal.yaml

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Other (security config, docs update, etc)

Checklist before merging

@mkm29 mkm29 requested review from a team as code owners April 22, 2026 21:30
@github-actions

github-actions Bot commented Apr 22, 2026

Copy link
Copy Markdown
Contributor

Full scan comparison results are too large to post as a comment. Link to full results artifact: Results
Summarized results are below:

quay.io/rfcurated/zalando/postgres-operator:1.15-jammy-scratch-fips-rfcurated -> cgr.dev/defenseunicorns.com/postgres-operator:1.15.1

New vulnerabilities: 0
Fixed vulnerabilities: 14
Existing vulnerabilities: 0


quay.io/rfcurated/zalando/postgres-operator/logical-backup

quay.io/rfcurated/zalando/postgres-operator/logical-backup 1.15-jammy-scratch-fips-rfcurated -> 1.15-jammy-scratch-fips-rfcurated

New vulnerabilities: 0
Fixed vulnerabilities: 0
Existing vulnerabilities: 13


quay.io/rfcurated/zalando/pgbouncer:32-jammy-rfcurated -> cgr.dev/defenseunicorns.com/pgbouncer:1.25.1

New vulnerabilities: 4
Fixed vulnerabilities: 8
Existing vulnerabilities: 0


quay.io/rfcurated/zalando/spilo-17:4.0-p3-jammy-fips-rfcurated -> cgr.dev/defenseunicorns.com/spilo-17:4.1.2

New vulnerabilities: 10
Fixed vulnerabilities: 84
Existing vulnerabilities: 0


cgr.dev/defenseunicorns.com/prometheus-postgres-exporter

cgr.dev/defenseunicorns.com/prometheus-postgres-exporter 0.19.1 -> 0.19.1

New vulnerabilities: 0
Fixed vulnerabilities: 0
Existing vulnerabilities: 0


registry1.dso.mil/ironbank/opensource/zalando/postgres-operator

registry1.dso.mil/ironbank/opensource/zalando/postgres-operator v1.15.0 -> v1.15.0

New vulnerabilities: 0
Fixed vulnerabilities: 0
Existing vulnerabilities: 257


registry1.dso.mil/ironbank/opensource/zalando/logical-backup

registry1.dso.mil/ironbank/opensource/zalando/logical-backup v1.15.1 -> v1.15.1

New vulnerabilities: 4
Fixed vulnerabilities: 60
Existing vulnerabilities: 272


registry1.dso.mil/ironbank/opensource/zalando/pgbouncer

registry1.dso.mil/ironbank/opensource/zalando/pgbouncer 1.25.1 -> 1.25.1

New vulnerabilities: 0
Fixed vulnerabilities: 0
Existing vulnerabilities: 293


ghcr.io/zalando/spilo-17

ghcr.io/zalando/spilo-17 4.0-p3 -> 4.0-p3

New vulnerabilities: 0
Fixed vulnerabilities: 0
Existing vulnerabilities: 702


registry1.dso.mil/ironbank/opensource/prometheus/postgres-exporter

registry1.dso.mil/ironbank/opensource/prometheus/postgres-exporter v0.19.1 -> v0.19.1

New vulnerabilities: 0
Fixed vulnerabilities: 0
Existing vulnerabilities: 245


quay.io/prometheuscommunity/postgres-exporter

quay.io/prometheuscommunity/postgres-exporter v0.19.1 -> v0.19.1

New vulnerabilities: 0
Fixed vulnerabilities: 0
Existing vulnerabilities: 26


ghcr.io/zalando/postgres-operator

ghcr.io/zalando/postgres-operator v1.15.1 -> v1.15.1

New vulnerabilities: 0
Fixed vulnerabilities: 0
Existing vulnerabilities: 103


ghcr.io/zalando/postgres-operator/logical-backup

ghcr.io/zalando/postgres-operator/logical-backup v1.15.1 -> v1.15.1

New vulnerabilities: 25
Fixed vulnerabilities: 25
Existing vulnerabilities: 570


ghcr.io/cloudnative-pg/pgbouncer:1.24.1-23 -> registry.opensource.zalan.do/acid/pgbouncer:master-32

New vulnerabilities: 91
Fixed vulnerabilities: 367
Existing vulnerabilities: 0


ghcr.io/zalando/spilo-17

ghcr.io/zalando/spilo-17 4.0-p3 -> 4.0-p3

New vulnerabilities: 0
Fixed vulnerabilities: 0
Existing vulnerabilities: 702



generated with uds-pk scan compare

@mkm29 mkm29 closed this Apr 22, 2026
@mkm29 mkm29 reopened this Apr 22, 2026

@zachariahmiller zachariahmiller left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Proposed update makes sense. Requesting a couple changes and test/docs updates.

Comment thread chart/templates/postgres-minimal.yaml Outdated
Comment thread chart/templates/postgres-minimal.yaml Outdated
Comment thread chart/templates/postgres-minimal.yaml Outdated
Comment thread tasks.yaml Outdated
@mkm29 mkm29 marked this pull request as draft April 23, 2026 18:58
@mkm29 mkm29 marked this pull request as ready for review April 24, 2026 21:50
Comment thread zarf.yaml Outdated
@mkm29 mkm29 force-pushed the feat/enable-connection-pooling branch from a53cfaa to 8301447 Compare May 14, 2026 18:14
…avor)

Signed-off-by: Mitch Murphy <mitchell.murphy@defenseunicorns.com>
@mkm29 mkm29 force-pushed the feat/enable-connection-pooling branch from 815c158 to 53eabf5 Compare May 14, 2026 18:19
@mkm29 mkm29 closed this Jun 4, 2026
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.

5 participants