# CloudNativePG v1.30.2

2026-11-17 · [元のリリースノート](https://github.com/cloudnative-pg/cloudnative-pg/releases/tag/v1.30.2) · [全体のまとめ](https://ratatosk.io/ja/releases/cloudnativepg/v1.30.2)

セキュリティ 2 · 破壊的変更 1 · 非推奨 1 · 重大な修正 6 · その他の変更 15

## アップグレード前の確認事項

### 既知の問題

- **PostgreSQL 14のコミュニティによる修正終了**: PostgreSQLコミュニティは2026年11月12日にPostgreSQL 14の修正を終了しました。PostgreSQL 15の修正提供は2027年11月11日に終了する予定です。
  >   - **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](https://github.com/cloudnative-pg/cloudnative-pg/pull/11935)) <!-- 1.28 -->

## セキュリティ (2)

### `golang.org/x/net` の HTTP/2 と HTML 処理の不具合修正

- 影響対象: 影響を受ける `golang.org/x/net` の HTTP/2 クライアントまたはサーバーの処理経路にトラフィックが到達する構成
- [GO-2026-6603](https://osv.dev/vulnerability/GO-2026-6603), [GO-2026-6610](https://osv.dev/vulnerability/GO-2026-6610), [GO-2026-6611](https://osv.dev/vulnerability/GO-2026-6611), [GO-2026-6612](https://osv.dev/vulnerability/GO-2026-6612), [GO-2026-6617](https://osv.dev/vulnerability/GO-2026-6617), [GO-2026-6860](https://osv.dev/vulnerability/GO-2026-6860), [GO-2026-6866](https://osv.dev/vulnerability/GO-2026-6866)

アップグレード前は、影響を受ける HTTP/2 の処理経路でクラッシュが発生する、フロー制御のクレジットが二重に返却される、CPU を過剰に消費する、不正なフレーミング関連ヘッダーが正しく処理されない、といった問題がありました。また、ピアがストリームをリセットする、設定フレームを繰り返し送信する、または多数のトレーラーフィールドを宣言すると、メモリーが不釣り合いに多く割り当てられる場合がありました。この更新では、特定の HTML テキスト入力による二次的なメモリー割り当てと、レンダリング後に再解析した際の名前空間の変更も修正されています。`x/net/html` は間接依存関係であり、CloudNativePG のコードからはインポートされていません。

>   - Updated `golang.org/x/net` to 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 other `golang.org/x` modules. ([\#11631](https://github.com/cloudnative-pg/cloudnative-pg/pull/11631), <!-- 1.28 --> [\#11867](https://github.com/cloudnative-pg/cloudnative-pg/pull/11867)) <!-- 1.28 -->

### 新しいデフォルトオペランドイメージとしての PostgreSQL 18.7

- 影響対象: イメージが設定されていない新規クラスター、および `imageName` または `ImageCatalog` を使用する既存クラスター
- 追加の対応: 既存クラスターで修正を適用するために必要な、`imageName` または `ImageCatalog` の 18.7、17.12、16.16、または 15.20 への変更

更新されたイメージでは複数のCVEが修正されていますが、既存クラスターのイメージは自動では変更されません。

>   - **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 changing `imageName` or the `ImageCatalog`. Before updating, read the [PostgreSQL 18.7 announcement](https://www.postgresql.org/about/news/postgresql-187-1712-1616-1520-1425-and-19-rc-2-released-3442/) and the release notes it links. ([\#11833](https://github.com/cloudnative-pg/cloudnative-pg/pull/11833)) <!-- 1.28 -->

## 破壊的変更 (1)

### デフォルトの PgBouncer イメージを 1.26.1 に更新

- 影響対象: デフォルトの PgBouncer イメージを使用するプーラー

従来のイメージは 1.25.2 でした。オペレーターをアップグレードすると、これらのプーラーに新しいイメージが展開されます。

>   - 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](https://github.com/cloudnative-pg/cloudnative-pg/pull/11571), <!-- 1.28 --> [\#11704](https://github.com/cloudnative-pg/cloudnative-pg/pull/11704)) <!-- 1.28 -->

## 非推奨 (1)

### `barmanObjectStore` バックアップの削除に関する警告

- 影響対象: `barmanObjectStore` メソッドを使用する `Backup` および `ScheduledBackup` リソース
- 削除予定: 1.32

この警告は、1.32でネイティブな Barman Cloud サポートが削除されることに関するものです。`Cluster` リソースには、この警告がすでにありました。この警告の動作は前のリリースですでに導入されているため、アップグレードしても新たな警告は追加されません。

>   - `Backup` and `ScheduledBackup` resources that use the `barmanObjectStore` method now return an admission warning about the removal of native Barman Cloud support in 1.32, as `Cluster` resources already did. ([\#11725](https://github.com/cloudnative-pg/cloudnative-pg/pull/11725)) <!-- 1.28 -->

## 重大な修正 (6)

### インスタンスマネージャーによる拡張機能イメージ内の存在しないパスの省略

- 影響対象: デフォルトパスまたはカスタムパスを設定した拡張機能イメージを使用するクラスター

拡張機能イメージにデフォルトパスまたはカスタムパスで指定されたディレクトリがない場合（`lib` だけを含むイメージでの `share` など）、生成される `extension_control_path` と `dynamic_library_path` にはそのディレクトリが記載されていましたが、PostgreSQL は警告なしに無視していました。現在は、カスタムパスを含め、存在しないディレクトリはエラーを発生させずに記載されなくなりました。

>   - `extension_control_path` and `dynamic_library_path` no longer list directories that are missing from an extension image, for example `share` in an image that ships only `lib`. ([\#11652](https://github.com/cloudnative-pg/cloudnative-pg/pull/11652))

### WAL 件数・サイズメトリクスのファイル計数の修正

- 影響対象: WAL 件数・サイズメトリクスを使用する環境 (推定)

メトリクスの集計対象に `.partial`、`.backup`、`.history` ファイルが含まれていました。

>   - Fixed the WAL count and size metrics counting `.partial`, `.backup` and `.history` files. ([\#9967](https://github.com/cloudnative-pg/cloudnative-pg/pull/9967)) <!-- 1.28 -->

### 復元した Cluster の primary Lease 処理の修正

- 影響対象: `OwnerReferencesPermissionEnforcement` を使用する Cluster

リソースが残った状態で Cluster を再作成すると、オペレーターが既存の primary Lease を引き継げず、Cluster が `Unable to create required cluster objects` の状態にとどまることがありました。ステータスのない孤立 PVC を使った復元では、所有者のない古い Lease を引き継ぐと、新しい primary の起動がリース期間分遅れる可能性がありました。オペレーターはその Lease を削除して新しい Lease を作成し、ほかの残存 Lease は引き継ぐようになりました。これらの操作を機能させるには、RBAC を手動管理している場合、`leases` に対する `delete` 権限を付与する必要があります。

>   - The operator now needs the `delete` permission on `leases`. Users who manage the RBAC manually must add it. ([\#11609](https://github.com/cloudnative-pg/cloudnative-pg/pull/11609))
>   - Fixed a `Cluster` recreated over leftover resources (for example by a backup tool) staying in `Unable to create required cluster objects` with `cannot set an ownerRef on a resource you can't delete`. This happened with the `OwnerReferencesPermissionEnforcement` admission plugin. When restoring over orphan PVCs, the operator now deletes the stale primary `Lease`, so the new primary does not wait for it to expire. ([\#11609](https://github.com/cloudnative-pg/cloudnative-pg/pull/11609))

### バックアップカタログ読み取り時に失敗したバックアップのスキップ

- 影響対象: `barman-cloud` でバックアップカタログを読み取る構成 (推定)

>   - Updated the `barman-cloud` library to v0.7.0, which skips failed backups when it reads the backup catalog. ([\#11711](https://github.com/cloudnative-pg/cloudnative-pg/pull/11711)) <!-- 1.28 -->

### ホットスタンバイパラメーター削除後にレプリカがクラッシュループする問題の修正

- 影響対象: `max_connections` などのホットスタンバイパラメーターを使用するレプリカ

`.spec.postgresql.parameters` からホットスタンバイパラメーターを削除した後、レプリカが `recovery aborted because of insufficient parameter settings` というエラーでクラッシュループすることがありました。この状況で、レプリカがこのエラーによってクラッシュループすることはなくなりました。

>   - Fixed replicas crash looping with `recovery aborted because of insufficient parameter settings` after a hot standby parameter such as `max_connections` was removed from `.spec.postgresql.parameters`. Contributed by @ichibahn. ([\#11236](https://github.com/cloudnative-pg/cloudnative-pg/pull/11236)) <!-- 1.28 -->

### インスタンスマネージャーがフリーズした postmaster を待ち続ける問題の修正

- 影響対象: postmaster がフリーズする可能性のある PostgreSQL インスタンス

フリーズした postmaster が接続を受け付けても応答しない場合、インスタンスマネージャーが無期限に待機し、インスタンスの状態確認、メトリクスエクスポーター、インツリーのバックアップ前チェックがブロックされることがありました。代わりに、ローカル接続の試行は5秒後にタイムアウトするようになりました。

>   - 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](https://github.com/cloudnative-pg/cloudnative-pg/pull/11718)) <!-- 1.28 -->

## その他の変更 (15)

- スタンバイのアーカイブ復元を契機とするストリーミング再試行
- S3 互換オブジェクトストア向け SSE-C キーフィールド
- `barman-cloud-wal-restore` による一時的な接続エラーのログ記録
- オペレーターのデフォルト値設定ログをデバッグレベルに
- `kubectl cnpg status` の `pods/exec` 権限不足への対応
- 稼働中クラスターでのサイドカープラグイン Pod の再作成
- オンラインスナップショットレプリカのWALアーカイブリカバリ修正
- ブートストラップ中のレプリカをスタンバイスロット一覧から除外
- CloudNativePG オペレーターによる `status.phaseReason` の連続更新停止
- インスタンス状態エラーのネットワーク障害扱いによる再試行の停止
- WAL リストアのアーカイブ終端マーカーの適用範囲を修正
- 遅延なしで再キューするプラグインの1秒後の再試行
- PostgreSQL 停止中に `pg_control` からシステム ID を読み取るステータスプローブ
- 古い Backup の再調整による重複起動とステータスの巻き戻り防止
- ボリュームスナップショットバックアップでクラスター設定を保持するオプション

---

整理した内容は AI が作成するため誤っている可能性があり、無保証で提供されます。
