Open l0lawrence opened 1 year ago
Bonus points:
-f
switch to clear everything in the namespace.Thinking about this a little: This will get tricky after the fact, i.e. you've changed the structure of your tests so the naming is different, but you want to clear up old namespaces/pod directories. I would say we should write a metadata file out to the fileshare to aid in cleanup, but that would populate a lot of extra directories in the cases where people don't use the fileshare (this is why we don't auto-create the directory for you in the first place).
Make a script that allows us to iterate through folders and delete fileshare files that we no longer want after we delete a namespace