mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-22 04:33:36 +09:00
Single mode stamps the release-scoping cleanup label via spec.storageMetadata, a different field than the cluster path (spec.storage.storage.volumeClaimTemplate), and it was untested, so a dropped storageMetadata block would orphan the VTSingle PVC on tenant deletion with no test to catch it. Add the VTSingle cleanup-label assertion and a single-mode top-level retentionMaxDiskSpaceUsageBytes assertion. Signed-off-by: Alexey Artamonov <aleksei.artamonov@aenix.io> Assisted-by: LLM