From 1bfb0db6f1f3f2141cf170796ab05921e6d9f8fb Mon Sep 17 00:00:00 2001 From: Keith Jackson Date: Wed, 26 Aug 2026 12:14:59 -0500 Subject: [PATCH] =?UTF-8?q?chore(flux):=20cutover=20step=201=20=E2=80=94?= =?UTF-8?q?=20disable=20prune=20on=20`apps`=20before=20wave=20split?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Temporary: with prune:false, removing the `apps` Kustomization object in the follow-up wave-split commit will NOT garbage-collect its owned resources (CNPG Clusters -> PVCs). The apps-wave-* Kustomizations adopt them in place. Co-Authored-By: Claude Opus 4.8 --- clusters/base/apps.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/clusters/base/apps.yaml b/clusters/base/apps.yaml index 4159c72..b55cff2 100644 --- a/clusters/base/apps.yaml +++ b/clusters/base/apps.yaml @@ -10,7 +10,11 @@ spec: interval: 10m retryInterval: 2m timeout: 5m - prune: true + # CUTOVER STEP 1 (temporary): prune disabled so that when this `apps` Kustomization object is + # removed in the wave-split commit, Flux does NOT garbage-collect the resources it owns (notably + # the CNPG database Clusters -> PVCs). The apps-wave-* Kustomizations then adopt them in place. + # This whole file is deleted in the follow-up wave-split commit. + prune: false wait: true # Ordering: the full platform (controllers + their configs) must be healthy first. # platform-config dependsOn platform, so depending on platform-config transitively waits for both.