Repository navigation
update(deps): update module github.com/cloudnative-pg/cloudnative-pg to v1.30.2 - #842
Open
codesphere-renovate[bot] wants to merge 1 commit into
Open
codesphere-renovate[bot] wants to merge 1 commit into
codesphere-renovate[bot] wants to merge 1 commit into
Conversation
Contributor
Author
ℹ️ Artifact update noticeFile name: go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
|
codesphere-renovate
Bot
force-pushed
the
renovate/github.com-cloudnative-pg-cloudnative-pg-1.x
branch
19 times, most recently
from
September 30, 2026 13:06
03f05b7 to
8d75228
Compare
codesphere-renovate
Bot
force-pushed
the
renovate/github.com-cloudnative-pg-cloudnative-pg-1.x
branch
8 times, most recently
from
October 2, 2026 17:07
d43da81 to
46d6f81
Compare
codesphere-renovate
Bot
force-pushed
the
renovate/github.com-cloudnative-pg-cloudnative-pg-1.x
branch
29 times, most recently
from
October 12, 2026 16:12
0f9c81e to
4c07f8b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v1.30.0→v1.30.2Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
cloudnative-pg/cloudnative-pg (github.com/cloudnative-pg/cloudnative-pg)
v1.30.2Compare Source
Release date: Nov 17, 2026
Important changes
PostgreSQL 18.7 is the new default image: the default operand image is now
18.7-system-trixie, which fixes several CVEs. It applies only to new clusters that don't set an image. To get the fixes, update existing clusters to 18.7, 17.12, 16.16 or 15.20 by changingimageNameor theImageCatalog. Before updating, read the PostgreSQL 18.7 announcement and the release notes it links. (#11833)PostgreSQL 14 is no longer supported: the PostgreSQL community stopped fixing PostgreSQL 14 on November 12, 2026, and CloudNativePG supports a major version only as long as PostgreSQL does. If you still run PostgreSQL 14, plan an upgrade to a newer major version. PostgreSQL 15 stops receiving fixes on November 11, 2027. (#11935)
The operator now needs the
deletepermission onleases. Users who manage the RBAC manually must add it. (#11609)Enhancements
Streaming retry for standbys on the WAL archive: PostgreSQL tries streaming only after a restore from the archive fails. If WAL is produced about as fast as it is restored, that may never happen, and the standby stays on the archive, with no WAL receiver and no part in synchronous replication. Now, after 30 seconds of continuous restores, WAL restore fails on purpose for 5 seconds, so PostgreSQL tries streaming. These failures are expected and can appear in the logs. (#11868)
Server-side encryption with customer-provided keys (SSE-C): added
sseCustomerKeyins3Credentials, to use SSE-C with S3-compatible object stores. It works with backups, WAL archiving and recovery. (#11711, #11775)BackupandScheduledBackupresources that use thebarmanObjectStoremethod now return an admission warning about the removal of native Barman Cloud support in 1.32, asClusterresources already did. (#11725)extension_control_pathanddynamic_library_pathno longer list directories that are missing from an extension image, for examplesharein an image that ships onlylib. (#11652)Transient network errors from
barman-cloud-wal-restoreare now logged (needs Barman 3.20.0 or later). (#11541)Moved the "Defaulting for ..." operator log lines from info to debug level. They were printed at every reconciliation and hid other messages. (#11790)
cnpgplugin:kubectl cnpg statusno longer fails without thepods/execpermission. It showsnot permitted: requires the pods/exec permissioninstead of the size and configuration sections. (#11687)Security and Supply Chain
golang.org/x/netto v0.62.0, fixing GO-2026-6617, GO-2026-6612, GO-2026-6611, GO-2026-6610, GO-2026-6603, GO-2026-6860 and GO-2026-6866, and bumped the othergolang.org/xmodules. (#11631, #11867)Changes
Updated the default PgBouncer image from 1.25.2 to 1.26.1. Poolers that use the default image roll out the new version when the operator is upgraded. (#11571, #11704)
Updated the
barman-cloudlibrary to v0.7.0, which skips failed backups when it reads the backup catalog. (#11711)Fixes
Fixed enabling a sidecar plugin on a running cluster. Pods created before that have no sidecar until they are recreated. They logged
Unknown pluginerrors, their metrics scrapes failed, and a switchover could wait forever. When the plugin archives WAL, the former primary crash looped until the Pod was deleted. The operator now recreates it. (#11858)Fixed replicas created from an online volume snapshot ignoring the
backup_labelandtablespace_mapstored in the snapshot. PostgreSQL did crash recovery and did not fetch WAL from the archive. (#11847)Fixed logical decoding stalling while a new replica was bootstrapping, with
synchronizeLogicalDecodingenabled. The replica is now left out ofsynchronized_standby_slots(orpg_failover_slots.standby_slot_names) until its volume is initialized. (#11802)Fixed
status.phaseReasonbeing cleared and set again several times a second while a cluster was being created or changed, for example "Some instances are not yet active". This loaded the API server and madekubectl get cluster -wnoisy. (#11789)Fixed the operator retrying instance status requests that failed with an error response, as if the failure was a network error. During a switchover the old primary answers with an error while PostgreSQL is stopped, so each reconciliation waited about 1.6 seconds, which slowed the whole switchover. Contributed by @kabbydriver. (#11793)
Fixed the WAL count and size metrics counting
.partial,.backupand.historyfiles. (#9967)Fixed replicas crash looping with
recovery aborted because of insufficient parameter settingsafter a hot standby parameter such asmax_connectionswas removed from.spec.postgresql.parameters. Contributed by @ichibahn. (#11236)Fixed the instance manager waiting forever on a frozen postmaster, one that accepts connections but never answers. This blocked the instance status, the metrics exporter and the check before an in-tree backup. Local connection attempts to PostgreSQL now time out after 5 seconds. (#11718)
Fixed a
Clusterrecreated over leftover resources (for example by a backup tool) staying inUnable to create required cluster objectswithcannot set an ownerRef on a resource you can't delete. This happened with theOwnerReferencesPermissionEnforcementadmission plugin. When restoring over orphan PVCs, the operator now deletes the stale primaryLease, so the new primary does not wait for it to expire. (#11609)Fixed WAL restore reporting the end of the WAL archive on the wrong timeline. A replica restored from a snapshot could miss valid WAL of the new timeline and replay WAL of the parent timeline instead. Contributed by @ardentperf. (#11133)
Fixed a
Clusternot being reconciled again when a plugin asked for a retry without a delay. For example, aClustercreated before theObjectStoreof the Barman Cloud plugin stayed inBootstrapPending. The operator now retries after one second. Contributed by @valeriodelsarto. (#11683)Fixed
ConsistentSystemIDturningFalsewhile PostgreSQL is not running, for example in replica clusters after a demotion, or on fenced instances. The system ID is now read from disk, so it no longer needs a running PostgreSQL. (#11645)Fixed a
Backupthat could be started more than once, or moved back topendingafter it started. (#11617)cnpgplugin:kubectl cnpg backupfor volume snapshot backups: when only one of--immediate-checkpointand--wait-for-archivewas set, the other option used its default instead of the value in.spec.backup.volumeSnapshot.onlineConfiguration. (#11733)v1.30.1Compare Source
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:--dry-runoption to thebackupcommand that prints theBackupresource that would be created, without creating it. (#11233)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 API server now fails fast and retries instead of blocking indefinitely. Left unbounded, the same stalled call could also delay a primary's own lease renewal after a transient API server blip, risking an unwanted takeover by another instance once the lease appeared to expire. (#11350)Stopped abandoning a fast shutdown after 60 seconds. The request carried no explicit timeout, so
pg_ctlfell back to its own implicit 60-second limit, and the instance manager, being PID 1 in the container, took PostgreSQL down mid-shutdown regardless of a larger configuredstopDelay. The fast phase now waits for the fullstopDelayinstead. (#11263)Waited for certificate status before refreshing secrets during bootstrap. (#11450)
Fixed in-tree Barman Cloud recovery ignoring
wal.maxParallelandwal.restoreAdditionalCommandArgs, fetching WAL one segment at a time instead of using the configured parallelism. (#11105)Honored the
unrecoverableannotation on pending and terminating instances. (#11241)Honored
Backup.spec.onlinewhen finalizing VolumeSnapshot-based backups, so a cold backup is no longer reported as online in status. (#11276)Set
--no-data-checksumsexplicitly when.spec.postgresql.dataChecksumsisfalseon PostgreSQL 18+, which now enables checksums by default ininitdb. Contributed by @evan314159. (#11488)Stopped discarding
.spec.inheritedMetadatalabels on PVC reconciliation; they were applied before, and then overwritten by, the operator's own labels. Contributed by @GellertBabel. (#11499)Stopped
PoolerandDatabaseRolefrom recreating their owned resources after being marked for deletion, which could block an external finalizer (e.g. ArgoCD foreground deletion) waiting for those resources to disappear. Contributed by @mjlshen. (#11359)Handled a
NULLstats_resetvalue in thepg_stat_walmetric, which could occasionally break Prometheus scraping on PostgreSQL 18 clusters. Contributed by @HoniSanders. (#11207)Recovered log streaming when a stale non-FIFO file blocked the log pipe. (#11246)
Stopped sampling logs of the Pods' processes, so no log lines are silently dropped. (#11131)
Stopped caching Helm release Secrets in the operator, which could spike memory usage and crashloop the operator on clusters with large Helm releases installed alongside it. (#11211)
Re-ran owned-resource finalizer cleanup after an operator restart, so a namespace deleted while the operator was down doesn't hang in
Terminatingforever. (#11215)Fixed rejoining replicas taking a long time to complete
pg_rewindwhen WAL prefetching (wal.maxParallel > 1) was enabled. (#11204)Treated a PostgreSQL instance rejecting connections as started up in probes. (#11152)
Stopped issuing a redundant PATCH on every reconciliation when a cluster's
pvcTemplatesetvolumeAttributesClass. Contributed by @andrew-farries. (#11196)Stopped halting replication slot reconciliation at the first failing slot. (#11119)
During rollouts, compared the running configuration hash, rather than the on-disk one, avoiding unnecessary switchovers. (#11130)
Retried
VolumeSnapshoterrors until the deadline, instead of giving up early. (#11132)Symlinked
pg_walto the WAL volume during plugin-based recovery, instead of replaying WAL onto the data volume, which could exhaust it on a large point-in-time recovery. (#11127)Corrected grammar in
PhaseUpgradeDelayedstatus messages. Contributed by @Utkarsh-sharma47. (#11065)CloudNativePG Interface (CNPG-I):
Terminatingstate when the operator and its plugins run in the same namespace. Contributed by @maxlengdell. (#10940)cnpgplugin:cnpg destroy, avoiding a race that could leave dangling PVCs needing a second invocation to clean up. Contributed by @daanvinken. (#10847)Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate CLI.