RATATOSKRATATOSK
ログイン

CloudNativePG

v1.29.2Storage & Data
2026年6月29日

CHECK 4PLAN 1OTHER 38

セキュリティ修正を含むメンテナンスリリースで、検証の厳格化、互換性の改善、多数の正確性修正が行われています。PostgreSQL の既定値が変更され、新しい Kubernetes バージョンにも対応しています。

影響確認 (4)

  • securitycriticalプール接続の search_path を固定

    プール接続を使用している場合に適用されます。

    プール接続ごとに search_path = pg_catalog, public, pg_temp を固定するようになりました。

  • securityhighロールパスワードを SCRAM-SHA-256 でエンコード

    cnpg.io/passwordPassthrough を設定している場合に適用されます。

    cnpg.io/passwordPassthrough を設定した場合、クリアテキストのロールパスワードを SCRAM-SHA-256 でエンコードしてから CREATE または ALTER ROLE ... PASSWORD を発行するようになりました。

  • security不正な値の検証を強化

    validating webhook で拒否される値を使用している場合に適用されます。

    該当する値は validating webhook で拒否され、書き込み時にも再検証されるようになりました。

  • breakingリソースの cluster 参照を不変化

    Database、Pooler、Publication、Subscription、ScheduledBackup リソースで cluster 参照を使用している場合に適用されます。

    Database、Pooler、Publication、Subscription、ScheduledBackup リソースの cluster 参照が変更できない属性になりました。

事前準備 (1)

  • deprecatedBarman Cloud サポートの削除予定を 1.31.0 に変更1.31.0で削除予定

    ネイティブの Barman Cloud サポートを利用している場合に適用されます。

    ネイティブ(in-tree)の Barman Cloud サポートに関する廃止告知が更新され、削除時期は CloudNativePG 1.31.0 になりました。従来の 1.30.0 から変更されています。

その他の記録済み変更 38 件すべてfixes 31 · additions 3 · value changes 3 · constraints 1

fixes (31)

  • Fixed spec.postgresql.parameters accepting keys that are not valid PostgreSQL parameter names
  • Fixed declarative Database, Publication, and Subscription objects reporting a stale primary-side status forever after their cluster was demoted to a replica
  • Fixed non-sequential pod names (for example -1, -3) caused by the instance serial counter being advanced before the corresponding Job and PVCs were created
  • Fixed a switchover deadlock when a WAL-archiver plugin was enabled on an existing cluster
  • Fixed a cluster staying in Setting up primary indefinitely when the instance-creation Job exhausted its backoff limit
  • Fixed deletion of a Database, Publication, or Subscription getting stuck in Terminating on a replica cluster
  • Fixed a conflicting duplicate Database or Subscription with a delete reclaim policy dropping the PostgreSQL object owned by the surviving CR
  • Fixed the postgres superuser being left locked out after superuser access was disabled and then re-enabled
  • Fixed backups getting stuck in the started phase when the instance manager running them was restarted
  • Fixed exec/attach streaming to negotiate WebSocket with a SPDY fallback
  • Fixed resource leaks when concurrent Backup objects raced
  • Fixed role reconciliation clearing the password on a PostgreSQL role when the referenced Secret could not be fetched
  • Fixed a bootstrap failure where a metrics-exporter setup error
  • Fixed a ScheduledBackup controller loop that occurred when a Backup was created but its status patch never landed
  • Fixed a nil-pointer panic when reconciling a Pooler whose Cluster has been deleted.
  • Fixed bootstrap log handling so that all named log pipes (postgres, postgres.csv, and postgres.json) get consumers
  • Fixed generation of invalid IPv6 URLs by wrapping the address in square brackets.
  • Fixed an external cluster plugin still being treated as active when its configuration set enabled: false.
  • Fixed a race during bootstrap recovery from an object store where the restore job could read a stale Cluster
  • Fixed a cache race during cluster creation when the server and client CA resolve to the same Secret
  • Fixed the pg_basebackup bootstrap path overwriting or failing on a pre-existing PGDATA
  • Fixed the Cluster phase flapping between Healthy and a plugin-failure phase
  • Fixed stale certificate data and partial reads after an external server's Secret was rotated
  • Fixed plugin connectivity to use the plugin Service FQDN instead of its short name
  • Fixed a first-primary bootstrap deadlock where a status-patch conflict after the data PVC was created but before the initialization Job was started
  • Fixed a backup getting stuck in pending forever
  • Fixed a declarative VolumeSnapshot backup being permanently marked as failed
  • Fixed a volume snapshot backup being discarded on a transient instance-manager connection error
  • Fixed a replica switchover losing its status.demotionToken
  • Fixed kubectl cnpg psql on Windows
  • Fixed an unbounded memory leak in kubectl cnpg logs -f on busy clusters

additions (3)

  • Enabled pg_upgrade in-place major upgrades to PostgreSQL 19 or later for clusters that use Image Volume extensions
  • Added a label selector to the Cluster scale subresource (status.selector)
  • The operator now emits a Warning PrimaryStatusCheckFailed event on the Cluster

value changes (3)

  • The operator now reloads a CNPG-i plugin automatically when its pods are rolled
  • Updated the default PostgreSQL version to 18.4.
  • Fixed excessive operator log noise from the per-request Cluster create/update validation webhook messages, now logged at debug instead of info.

constraints (1)

  • Added support for Kubernetes 1.36.
CloudNativePGをスタックに追加

対応が必要なリリースが出たときに、週次メールでお知らせします。 今回のセキュリティパッチと破壊的変更も、その一例です。

スタックに追加 →