CloudNativePG v1.30.1
Release Notes
Release date: Sep 23, 2026
Enhancements
-
Added
restoreAdditionalCommandArgsto.barmanObjectStore.datafor in-tree Barman Cloud recoveries, so custom flags are forwarded tobarman-cloud-restoreduring recovery. (#11278) -
Plugin authors no longer need to re-derive whether an empty WAL archive should be treated as an error: the operator now computes the
check_empty_wal_archivedecision once and passes it to CNPG-I plugins on both WAL archiving and restore hooks. (#11216) -
Allowed setting the
ssl_ecdh_curvePostgreSQL parameter in.spec.postgresql.parameters. It was previously rejected by the validating webhook even though the operator does not manage it. Contributed by @Jamstah. (#11308) -
Added support for setting
auth_userinspec.pgbouncer.parametersto override the user PgBouncer uses for itsauth_queryconnection, instead of always deriving it from theauthQuerySecret. Useful with a customauthQuerySecretwhere the role to authenticate as differs from the one implied by the Secret. Contributed by @jonasbadstuebner. (#10899) -
Fixed PgBouncer metrics silently reporting zero when PgBouncer adds or reorders columns:
SHOW STATSandSHOW POOLSresults are now matched by column name instead of by position. Contributed by @AdzerKI (SHOW STATS). (#11366, #11464) -
cnpgplugin:- Added a
--dry-runoption to thebackupcommand that prints theBackupresource that would be created, without creating it. (#11233)
- Added a
Security and Supply Chain
-
Fixed a webhook validation bypass where an absolute extension path with an embedded
..traversal (e.g./a/../../../../etc) was accepted because only the raw path was checked; such paths still escaped the extension's mount point once resolved at runtime. Affected entries are now resolved and rejected/skipped consistently across admission, the major-upgrade job, and already-persisted Cluster specs. Contributed by @Anand-240. (#11210) -
Updated
google.golang.org/grpcto v1.83.1, fixing CVE-2026-84304 / GHSA-vp52-pcj8-j9qc (gRPC-Go heap memory exhaustion via HTTP/2 DATA frame fragmentation). (#11394)
Changes
-
Updated the default PostgreSQL operand image to 18.6-system-trixie. (#11257)
-
Moved the operator's own base image from Debian 12 (bookworm) to Debian 13 (trixie), now that Debian 12 has moved to LTS-only maintenance. (#11193)
Fixes
-
Demoted an unreachable old primary immediately during failover, instead of waiting on checkpoint and fast-shutdown attempts that could never complete. Previously, an old primary whose PostgreSQL had become unresponsive was never shut down, so it could never rejoin the cluster as a replica of the new primary. The shutdown is now requested without blocking the reconciler, though demotion can still take up to a minute or more if PostgreSQL keeps ignoring shutdown signals. (#11347)
-
Fixed failover and Pod recreation getting stuck while any instance in the cluster was fenced. A fenced instance kept reporting itself as healthy on its status endpoint even though its Pod was permanently not Ready, which blocked the readiness guard, the primary-election logic, and the Pod-reattachment gate from reacting to an unrelated failure elsewhere in the cluster, leaving it stalled until someone manually removed the fencing. All three now recognize and skip fenced instances. (#11274)
-
Fixed a failover that could stall forever or get silently reverted. While a failover was pending, the reconciler could skip checking whether it was ready to complete, or mistake the pending state for a missing Pod and reset the target primary back to the unhealthy one. It now keeps progressing a pending failover and completes it once the WAL receivers are down, rechecking quorum safety right before promoting in case it changed while waiting. (#11336)
-
Fixed the designated-primary sort in
PostgresqlStatusListso a tie on LSN no longer sorts it out of order. If the designated primary's Pod later disappeared from the status list, this could have led the operator to promote the wrong standby. (#11494) -
Gated PostgreSQL startup on the instance manager actually holding the primary
Lease, closing a window where a restarting or rescheduled primary could start accepting writes before acquiring the lease. Lease acquisition now happens during instance initialization, strictly before PostgreSQL is allowed to start, instead of only later in the reconciliation loop once the instance was already reported ready. (#11356) -
Bounded the primary lease take-over
Getcall to the lease'sRenewDeadline, so a call against an unreachable AP
[truncated]