Skip to content
Snippets Groups Projects
Verified Commit 3accbbb7 authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

fix(sbom-operator): Delete whole directories instead of files-only

parent 98d2d597
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,7 @@ spec:
command:
- bash
- -c
- while true; do find /tmp -type f -mmin +15 -exec rm -f {} + ; sleep 300; done
- while true; do find /tmp -type d -mmin +15 -maxdepth 1 -exec rm -rf {} + ; sleep 300; done
resources:
requests:
cpu: 10m
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment