Closed
Description
From the Go docs on ioutil.ReadDir:
As of Go 1.16, os.ReadDir is a more efficient and correct choice: it returns a list of fs.DirEntry instead of fs.FileInfo, and it returns partial results in the case of an error midway through reading a directory.
There are a few places in Helm relying on ioutil.ReadDir that would be good candidates to switch to os.ReadDir instead.