This repository has been archived by the owner on Nov 1, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
helm/v3: garbage collect anonymous index files
The Helm 3 dependency update generates anonymous index files on every run without garbage collecting them, resulting in spurious disk usage. Configuring a temporary cache directory and garbage collecting it after the dependency update is not possible as the download manager seems to ignore the configured repository cache path and always create the index file in the XDG cache directory. Instead we detect the any anonymous index filex by their "=" suffix and delete if they are older than 2m.
- Loading branch information