mirror of
https://github.com/containers/podman.git
synced 2025-05-31 15:42:48 +08:00

When a kube yaml has a volume set as empty dir, podman will create an anonymous volume with the empty dir name and attach it to the containers running in the pod. When the pod is removed, the empy dir volume created is also removed. Add tests and docs for this as well. Signed-off-by: Urvashi Mohnani <umohnani@redhat.com>
The code in this directory was copied from Kubernetes version 0.22.5:
- https://github.com/kubernetes/apimachinery/tree/v0.22.5
- https://github.com/kubernetes/api/tree/v0.22.5
The code is heavily modified by the Podman team (mostly removing unneeded code) to reduce the resulting binary size. The copyright belongs to the Kubernetes Authors and is licensed under Apache-2.0, also check the license headers in the files.