CloudNativePG
v1.27.2Storage & DataDec 9, 2025
A maintenance release with updated PostgreSQL and PgBouncer defaults, new operator configuration and status capabilities, and fixes for resilience and correctness. It contains no security changes.
All 14 other recorded changesfixes 8 · value changes 3 · additions 2 · constraints 1
fixes (8)
- - Improved resilience of all probe types (liveness, readiness, and startup) to transient Kubernetes API server connectivity issues. Probes now use a caching mechanism that falls back to cached cluster definitions during brief network interruptions, preventing unnecessary pod restarts and probe failures. ([\#9148](https://github.com/cloudnative-pg/cloudnative-pg/pull/9148)) <!-- 1.27 -->
- - Fixed the
CheckEmptyWalArchivesafeguard to run correctly when restoring from a volume snapshot using CNPG-I backup/WAL plugins (e.g.,plugin-barman-cloud). Previously, this check was skipped for plugin-based implementations. ([\#9306](https://github.com/cloudnative-pg/cloudnative-pg/pull/9306)) <!-- 1.27 1.26 1.25 --> - - Improved error reporting when ImageCatalog retrieval fails. The operator now emits a Warning event and logs errors for all failure types, not just
NotFounderrors, improving visibility into configuration issues. ([\#9266](https://github.com/cloudnative-pg/cloudnative-pg/pull/9266)) <!-- 1.27 --> - - Fixed TLS certificate verification issues when connecting to CNPG-I plugins by adding the
cnpg.annotation. This allows customizing the DNS name used for certificate verification in environments where the plugin's certificate uses a different DNS name than the Service name. ([\#9222](https://github.com/cloudnative-pg/cloudnative-pg/pull/9222)) <!-- 1.27 1.26 1.25 -->io/pluginServerName - - Fixed an issue where the instance manager controller could fail to restart after an error, reporting a "controller already exists" message. The controller now uses
SkipNameValidationfor subsequent initialization attempts. Contributed by @mateusoliveira43. ([\#9123](https://github.com/cloudnative-pg/cloudnative-pg/pull/9123)) <!-- 1.27 1.26 1.25 --> - - Fixed incorrect WAL restore path handling in plugins when the destination path is absolute, preventing path duplication issues. Contributed by @Endevir. ([\#9093](https://github.com/cloudnative-pg/cloudnative-pg/pull/9093)) <!-- 1.27 1.26 1.25 -->
- - Fixed backup failures in complex pod definitions by reliably selecting the
postgrescontainer by name instead of by index. Contributed by @Joda89. ([\#8964](https://github.com/cloudnative-pg/cloudnative-pg/pull/8964)) <!-- 1.27 1.26 1.25 --> - - Fixed bugs in
cnpg reportlog collection, especially when fetching previous logs. The collector now correctly fetches previous and current logs in separate requests and gracefully handles missing previous logs (e.g., on containers with no restart history), ensuring current logs are always collected. ([\#8992](https://github.com/cloudnative-pg/cloudnative-pg/pull/8992)) <!-- 1.27 1.26 1.25 -->
value changes (3)
- - Updated the default PostgreSQL version to
18.. ([\#9178](https://github.com/cloudnative-pg/cloudnative-pg/pull/9178)) <!-- 1.27 1.26 1.25 -->1-system-trixie - - Updated the default PgBouncer version to **1.25.1** for new
Poolerdeployments. ([\#9367](https://github.com/cloudnative-pg/cloudnative-pg/pull/9367)) <!-- 1.27 1.26 1.25 --> - - Added the PostgreSQL
majorVersionto theBackupobject's status for easier identification and management. ([\#8464](https://github.com/cloudnative-pg/cloudnative-pg/pull/8464)) <!-- 1.27 1.26 -->
additions (2)
- - Added the
PGBOUNCER_IMAGE_NAMEoperator configuration parameter to allow overriding the default PgBouncer image. This is useful for air-gapped environments or when using internal registries. ([\#9232](https://github.com/cloudnative-pg/cloudnative-pg/pull/9232)) <!-- 1.27 1.26 1.25 --> - - Added a
--timeoutflag to thekubectl cnpg statuscommand for configuring the timeout for filesystem operations such as calculating cluster size. The default remains 10 seconds but can be adjusted for large clusters where operations may take longer. ([\#9201](https://github.com/cloudnative-pg/cloudnative-pg/pull/9201)) <!-- 1.27 -->
constraints (1)
- - Fixed the
CREATE PUBLICATIONSQL generation for multi-table publications to be backward-compatible with PostgreSQL 13+. The previously generated syntax was only valid for PostgreSQL 15+ and caused syntax errors on older versions. ([\#8888](https://github.com/cloudnative-pg/cloudnative-pg/pull/8888)) <!-- 1.27 1.26 1.25 -->
Add CloudNativePG to your stack
A weekly email arrives when a release needs action. Weeks with nothing to act on, like this one, send no email.