1
0
Fork 0

k/forgejo: fix snapshot deletion

This commit is contained in:
Ryan Heywood 2024-06-21 18:35:14 -04:00
parent 0331504457
commit 83ec5d1faf
Signed by: ryan
GPG Key ID: 8E401478A3FBEF72
1 changed files with 1 additions and 1 deletions

View File

@ -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: