chore(helm): details of cleaning.

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
rjshrjndrn 2022-06-20 10:29:05 +02:00
parent 3ca389ff3c
commit 1a66daa3a2

View file

@ -19,7 +19,13 @@ spec:
args:
- |
# Delete all the files older than 7 days
echo "Cleaning NFS strorage for data older than 7 days"
stroage=`du -sh /mnt/efs`
find /mnt/efs -type f -mtime +7 -delete
echo "Storage before cleaning"
echo ${storage}
echo "Storage after cleaning"
du -sh /mnt/efs
volumeMounts:
- mountPath: /mnt/efs
name: datadir