From 34a25dde63843c3637a91d388d05a0d091f26690 Mon Sep 17 00:00:00 2001 From: chrisfu Date: Sat, 2 May 2026 03:00:51 -0700 Subject: [PATCH] =?UTF-8?q?chore(deploy):=20split=20knoe-db-backup-gcs=20m?= =?UTF-8?q?anifest=20=E2=80=94=20SA=20only,=20drop=20legacy=20ScheduledBac?= =?UTF-8?q?kup?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit deploy/gcp/gke/knoe-db-backup-gcs.yaml previously contained both the cnpg-backup-sa ServiceAccount (wanted) and a ScheduledBackup using method: barmanObjectStore (unwanted — legacy in-tree method being removed in CNPG v1.30, and the live cluster already has a plugin-method ScheduledBackup that would be duplicated on re-apply). Verified no other consumers of knoe-db-daily in the repo (grep clean). File is now SA-only, matching its filename's intent. Part 1/2 of queue item #6 fix (docs/plans/junie/06-patch-garage-script-fixes.md). Co-authored-by: Junie --- deploy/gcp/gke/knoe-db-backup-gcs.yaml | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/deploy/gcp/gke/knoe-db-backup-gcs.yaml b/deploy/gcp/gke/knoe-db-backup-gcs.yaml index 7021c32..a631c7e 100644 --- a/deploy/gcp/gke/knoe-db-backup-gcs.yaml +++ b/deploy/gcp/gke/knoe-db-backup-gcs.yaml @@ -9,19 +9,3 @@ metadata: annotations: # Set by etc/init_cnpg_gke.sh — substituted at deploy time iam.gke.io/gcp-service-account: "cnpg-backup@${GCP_PROJECT_ID}.iam.gserviceaccount.com" - ---- -# Daily scheduled backup at 02:00 UTC. -# Backup data lands in gs://knoe-0-backups/ (WAL is streamed continuously by CNPG). -apiVersion: postgresql.cnpg.io/v1 -kind: ScheduledBackup -metadata: - name: knoe-db-daily - namespace: knoe-db-0 -spec: - schedule: "0 0 2 * * *" # 6-field CNPG cron: sec min hour dom mon dow - backupOwnerReference: self - cluster: - name: knoe-db - method: barmanObjectStore - immediate: false