Skip to content

fix(kopiur): retain snapshots on CR deletion during the pilot - #1559

Merged
alex-matthews merged 1 commit into
mainfrom
fix/kopiur-retain-pilot
Jul 18, 2026
Merged

alex-matthews merged 1 commit into
mainfrom
fix/kopiur-retain-pilot

Conversation

@alex-matthews

Copy link
Copy Markdown
Owner

0.7.5 has no cascade guard — deleting the SnapshotPolicy/SnapshotSchedule (a Flux prune counts) under the default deletionPolicy: Delete mass-deletes repo snapshots via one Job each (community incident: 600–700 pods). Upstream fix home-operations/kopiur#265 merged the day after 0.7.5 was tagged and is unreleased.

Sets defaultDeletionPolicy: Retain on the pilot policy as an explicitly pilot-term guard: retention still prunes CRs but kopia snapshots accumulate; irrelevant at Bazarr scale, revisit at the first release containing #265 (tracked in the storage doc quirks section, updated here too).

Validation: kustomize + oxfmt clean. Note: existing Snapshot CRs keep their stamped policy — the already-taken manual snapshot needs a one-off patch, proposed separately.

0.7.5 predates upstream's mass-deletion protection (kopiur#265): CR
deletion, including a Flux prune, cascades into per-snapshot delete jobs
that purge the repository. Retain disables repo-side GFS pruning, which is
acceptable at pilot scale; revisit on the first release containing #265.
Also records the failure mode in the storage doc's quirks section.
@kon-cierge

kon-cierge Bot commented Jul 18, 2026

Copy link
Copy Markdown

konflate — summary

Note

+0 added · 1 changed · −0 removed — 1 resource · 1 app

View the full rendered diff →

konflate · rendered 8198d2f · advisory, not a gate

@alex-matthews
alex-matthews merged commit 3065a4d into main Jul 18, 2026
7 checks passed
@alex-matthews
alex-matthews deleted the fix/kopiur-retain-pilot branch July 18, 2026 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant