Skip to content

feat(pgbouncer): make more auth-related parameters configurable#8674

Merged
armru merged 1 commit intocloudnative-pg:mainfrom
leonardoce:pgbouncer-custom
Sep 29, 2025
Merged

feat(pgbouncer): make more auth-related parameters configurable#8674
armru merged 1 commit intocloudnative-pg:mainfrom
leonardoce:pgbouncer-custom

Conversation

@leonardoce
Copy link
Contributor

@leonardoce leonardoce commented Sep 27, 2025

The operator now allows overriding auth_type, server_tls_sslmode, and client_tls_sslmode, which were previously hardcoded.

Default values remain aligned with the former hardcoded settings, but can be customised when needed.

Closes: #8673

@leonardoce leonardoce requested review from a team and jsilvela as code owners September 27, 2025 20:12
@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Sep 27, 2025
@cnpg-bot cnpg-bot added backport-requested ◀️ This pull request should be backported to all supported releases release-1.25 release-1.26 release-1.27 labels Sep 27, 2025
@github-actions
Copy link
Contributor

❗ By default, the pull request is configured to backport to all release branches.

  • To stop backporting this pr, remove the label: backport-requested ◀️ or add the label 'do not backport'
  • To stop backporting this pr to a certain release branch, remove the specific branch label: release-x.y

@dosubot dosubot bot added enhancement 🪄 New feature or request ok to merge 👌 This PR can be merged labels Sep 27, 2025
@leonardoce leonardoce removed the ok to merge 👌 This PR can be merged label Sep 27, 2025
@gbartolini gbartolini changed the title feat: allow customization of PgBouncer parameters feat(pgbouncer): make more auth-related parameters configurable Sep 28, 2025
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Sep 28, 2025
@armru
Copy link
Member

armru commented Sep 29, 2025

/test limit=local

@github-actions
Copy link
Contributor

@armru, here's the link to the E2E on CNPG workflow run: https://github.com/cloudnative-pg/cloudnative-pg/actions/runs/18093936518

Users can now customize the `auth_type`, `server_tls_sslmode`, and
`client_tls_sslmode` parameters, which were previously hardcoded by the
operator.

The former hardcoded values are now used as defaults, but can be overridden
as needed.

Closes: cloudnative-pg#8673

Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
@cnpg-bot cnpg-bot added the ok to merge 👌 This PR can be merged label Sep 29, 2025
@armru armru merged commit 5d2c596 into cloudnative-pg:main Sep 29, 2025
31 of 32 checks passed
cnpg-bot pushed a commit that referenced this pull request Sep 29, 2025
The operator now allows overriding `auth_type`, `server_tls_sslmode`,
and `client_tls_sslmode`, which were previously hardcoded.

Default values remain aligned with the former hardcoded settings, but
can be customised when needed.

Closes: #8673

Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
(cherry picked from commit 5d2c596)
cnpg-bot pushed a commit that referenced this pull request Sep 29, 2025
The operator now allows overriding `auth_type`, `server_tls_sslmode`,
and `client_tls_sslmode`, which were previously hardcoded.

Default values remain aligned with the former hardcoded settings, but
can be customised when needed.

Closes: #8673

Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
(cherry picked from commit 5d2c596)
cnpg-bot pushed a commit that referenced this pull request Sep 29, 2025
The operator now allows overriding `auth_type`, `server_tls_sslmode`,
and `client_tls_sslmode`, which were previously hardcoded.

Default values remain aligned with the former hardcoded settings, but
can be customised when needed.

Closes: #8673

Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
(cherry picked from commit 5d2c596)
@gbartolini
Copy link
Contributor

(this should not have been backported ... but it is harmless)

rossigee pushed a commit to rossigee/cloudnative-pg that referenced this pull request Oct 2, 2025
…dnative-pg#8674)

The operator now allows overriding `auth_type`, `server_tls_sslmode`,
and `client_tls_sslmode`, which were previously hardcoded.

Default values remain aligned with the former hardcoded settings, but
can be customised when needed.

Closes: cloudnative-pg#8673

Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
THE-BRAHMA pushed a commit to THE-BRAHMA/cloudnative-pg that referenced this pull request Oct 30, 2025
…dnative-pg#8674)

The operator now allows overriding `auth_type`, `server_tls_sslmode`,
and `client_tls_sslmode`, which were previously hardcoded.

Default values remain aligned with the former hardcoded settings, but
can be customised when needed.

Closes: cloudnative-pg#8673

Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
Signed-off-by: theBrahma <office.utpal.brahma@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-requested ◀️ This pull request should be backported to all supported releases enhancement 🪄 New feature or request lgtm This PR has been approved by a maintainer ok to merge 👌 This PR can be merged release-1.25 release-1.26 release-1.27 size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Allow customisation of authentication-related options in PgBouncer

4 participants