Automated Manifest Update (#2768)

This PR contains newly rendered Kubernetes manifests automatically generated by the CI workflow.

Reviewed-on: #2768
Co-authored-by: gitea-bot <gitea-bot@alexlebens.net>
Co-committed-by: gitea-bot <gitea-bot@alexlebens.net>
This commit was merged in pull request #2768.
This commit is contained in:
2025-12-20 22:36:40 +00:00
committed by Alex Lebens
parent a21cb7b7d4
commit f3acf85124

View File

@@ -19,14 +19,13 @@ data:
echo " "; echo " ";
echo ">> Configured Date Range is $(date -u -d @${DATE_RANGE_SECONDS} +"%j days, %H hours, %M minutes")"; echo ">> Configured Date Range is $(date -u -d @${DATE_RANGE_SECONDS} +"%j days, %H hours, %M minutes")";
echo ">> Backups prior to '$DATE_RANGE' will be removed"; echo ">> Backups prior to '$DATE_RANGE' will be removed";
echo " "; FILES=$(s3cmd ls --no-check-certificate ${BUCKET}/cl01tl/etcd/ |
echo ">> Backups to be removed:"; awk -v file_match="$FILE_MATCH" '$4 < file_match {print $4}');
$FILES=$(s3cmd ls --no-check-certificate ${BUCKET}/cl01tl/etcd/ |
awk -v file_match="$FILE_MATCH" '$4 < file_match {print $4}' |
grep . | sort -u);
echo "$FILES"
if [ -n "${FILES}" ]; then if [ -n "${FILES}" ]; then
echo " ";
echo ">> Backups to be removed:";
echo "$FILES"
echo " "; echo " ";
echo ">> Deleting ..."; echo ">> Deleting ...";
$FILES | while read file; do $FILES | while read file; do
@@ -36,6 +35,9 @@ data:
echo ">> Detected error, will send message to ntfy"; echo ">> Detected error, will send message to ntfy";
fi; fi;
done; done;
else
echo " ";
echo ">> No backups to remove";
fi; fi;
if [ "$ERROR" = "true" ]; then if [ "$ERROR" = "true" ]; then