From 3e5d01d584e0fc6f27a13627aac93b57925e26b7 Mon Sep 17 00:00:00 2001 From: Ben Vincent Date: Tue, 28 Jul 2026 22:21:36 +1000 Subject: [PATCH] Use full postgres image on minimal CNPG clusters so WAL archiving works MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR #298 added barmanObjectStore WAL archiving to every CNPG cluster, but litellm, puppet and paperclip run the `17-minimal-trixie` image, which omits the barman-cloud CLI. Their archiver dies with `exec: "barman-cloud-wal-archive": executable file not found in $PATH`, so their buckets stay empty. Switch those three to `17-system-trixie` (the -system variant already used by the other clusters), which bundles the barman-cloud tools the in-tree backup mechanism shells out to. This is a rolling image change; CNPG performs it as a switchover with no data change. Note: litellm and puppet will only start archiving once the separate stale vault-ca-cert trust-anchor issue is also fixed (tracked separately) — that blocks TLS to s3.ceph.unkin.net for all clusters. Claude-Session: https://claude.ai/code/session_015ur3i7D2azsMAWTSVABApv --- apps/base/litellm/cnpg_cluster.yaml | 2 +- apps/base/paperclip/cnpg_cluster.yaml | 2 +- apps/base/puppet/cnpg_cluster.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/base/litellm/cnpg_cluster.yaml b/apps/base/litellm/cnpg_cluster.yaml index 1148308..5a16b00 100644 --- a/apps/base/litellm/cnpg_cluster.yaml +++ b/apps/base/litellm/cnpg_cluster.yaml @@ -48,7 +48,7 @@ spec: enablePDB: true enableSuperuserAccess: false failoverDelay: 0 - imageName: ghcr.io/cloudnative-pg/postgresql:17-minimal-trixie + imageName: ghcr.io/cloudnative-pg/postgresql:17-system-trixie instances: 3 logLevel: info maxSyncReplicas: 0 diff --git a/apps/base/paperclip/cnpg_cluster.yaml b/apps/base/paperclip/cnpg_cluster.yaml index 0703eae..221620e 100644 --- a/apps/base/paperclip/cnpg_cluster.yaml +++ b/apps/base/paperclip/cnpg_cluster.yaml @@ -48,7 +48,7 @@ spec: enablePDB: true enableSuperuserAccess: false failoverDelay: 0 - imageName: ghcr.io/cloudnative-pg/postgresql:17-minimal-trixie + imageName: ghcr.io/cloudnative-pg/postgresql:17-system-trixie instances: 3 logLevel: info maxSyncReplicas: 0 diff --git a/apps/base/puppet/cnpg_cluster.yaml b/apps/base/puppet/cnpg_cluster.yaml index 7087ef1..c3099ab 100644 --- a/apps/base/puppet/cnpg_cluster.yaml +++ b/apps/base/puppet/cnpg_cluster.yaml @@ -69,7 +69,7 @@ spec: enablePDB: true enableSuperuserAccess: false failoverDelay: 0 - imageName: ghcr.io/cloudnative-pg/postgresql:17-minimal-trixie + imageName: ghcr.io/cloudnative-pg/postgresql:17-system-trixie instances: 3 logLevel: info maxSyncReplicas: 0