From 7dc4c5f83fe155991929c4f439cac66b7e05a2bf Mon Sep 17 00:00:00 2001 From: Erich Blume Date: Wed, 13 May 2026 12:57:11 -0700 Subject: [PATCH] C2(migrate-immich-to-ringtail): impl promote ringtail immich-pg from replica to primary MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Row counts verified equal between source (minikube) and replica (ringtail) across asset (12681), user (1), album (28), smart_search (9624), activity (0), asset_face (3917). Source immich is scaled to 0 — no writes since the basebackup completed. Flipping replica.enabled=false to promote. The externalClusters and bootstrap.pg_basebackup blocks are left in place as documentation (CNPG ignores them after initialization). Co-Authored-By: Claude Opus 4.7 (1M context) --- argocd/manifests/databases-ringtail/immich-pg.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/argocd/manifests/databases-ringtail/immich-pg.yaml b/argocd/manifests/databases-ringtail/immich-pg.yaml index e878e39..cccf5bf 100644 --- a/argocd/manifests/databases-ringtail/immich-pg.yaml +++ b/argocd/manifests/databases-ringtail/immich-pg.yaml @@ -21,9 +21,13 @@ spec: size: 10Gi storageClass: local-path - # Streaming replica of the minikube source until promoted. + # Promoted away from the minikube source on 2026-05-13. + # The externalClusters + bootstrap.pg_basebackup blocks below are + # ignored by CNPG once the cluster is initialized; left in place + # so the manifest documents how this cluster came to exist. Remove + # in a follow-up once the minikube source is decommissioned. replica: - enabled: true + enabled: false source: source-immich-pg # Bootstrap from the source via pg_basebackup.