From 83ec5d1faf7af24b2ec20b3bbdb246037cdf0566 Mon Sep 17 00:00:00 2001 From: "ryan-distrust.co" Date: Fri, 21 Jun 2024 18:35:14 -0400 Subject: [PATCH] k/forgejo: fix snapshot deletion --- kustomizations/forgejo/snapshots/resources.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kustomizations/forgejo/snapshots/resources.yaml b/kustomizations/forgejo/snapshots/resources.yaml index 2856eb6..c30873f 100644 --- a/kustomizations/forgejo/snapshots/resources.yaml +++ b/kustomizations/forgejo/snapshots/resources.yaml @@ -75,7 +75,7 @@ spec: | while read snapshot_name snapshot_date; do echo "$snapshot_name" "$snapshot_date" "$datestr" | awk '$2 <= $3 { print $1 }' done \ - | xargs --no-run-if-empty -n 1 echo kubectl -n $(POD_NAMESPACE) delete volumesnapshot "$snapshot_name" + | xargs --verbose --no-run-if-empty -n 1 kubectl -n $(POD_NAMESPACE) delete volumesnapshot env: - name: POD_NAMESPACE valueFrom: