diff --git a/clusters/cl01tl/helm/talos/templates/config.yaml b/clusters/cl01tl/helm/talos/templates/config.yaml index 6f31b78f4..7491f511b 100644 --- a/clusters/cl01tl/helm/talos/templates/config.yaml +++ b/clusters/cl01tl/helm/talos/templates/config.yaml @@ -17,12 +17,13 @@ data: echo " " echo ">> Configured Date Range is $(date -u -d @${DATE_RANGE_SECONDS} +"%j days, %H hours, %M minutes")" - echo ">> Date Range Seconds is ${DATE_RANGE_SECONDS}" echo ">> Backups prior to '$DATE_RANGE' will be removed"; + echo " " echo ">> Backups to be removed:"; s3cmd ls --no-check-certificate ${BUCKET}/cl01tl/etcd/ | awk -v file_match="$FILE_MATCH" '$4 < file_match {print $4}' + echo " " echo ">> Deleting ..." s3cmd ls --no-check-certificate ${BUCKET}/cl01tl/etcd/ | awk -v file_match="$FILE_MATCH" '$4 < file_match {print $4}' | @@ -88,4 +89,5 @@ data: fi; + echo " " echo ">> Completed S3 prune for Talos backup repository ${TARGET}"