mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-12-05 07:26:56 +00:00
Allow kubelet orphan cleanup to delete both files and empty directories as subpath mount points. A pod does not need to use a directory as a subpath, it can use a file (unix domain socket, pipe, ...) too. Therefore the cleanup should use `os.Remove` that deletes both files and empty directories.
11 KiB
11 KiB