diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-08-31 09:36:04 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-31 09:36:04 -0400 |
commit | 8266dbe7a90f6f03995b42315b3ac2da54cd018f (patch) | |
tree | de047861dc6efaaf66ce626ccd57501b0eccbb08 /libpod/container.go | |
parent | 60e4b762b3c6eef38e3f2d635011bbeafa157ba1 (diff) | |
parent | 98169c20ddc09d8fa14d556e93cad3259b5ccca9 (diff) | |
download | podman-8266dbe7a90f6f03995b42315b3ac2da54cd018f.tar.gz podman-8266dbe7a90f6f03995b42315b3ac2da54cd018f.tar.bz2 podman-8266dbe7a90f6f03995b42315b3ac2da54cd018f.zip |
Merge pull request #15473 from umohnani8/empty-dir
Add emptyDir volume support to kube play
Diffstat (limited to 'libpod/container.go')
-rw-r--r-- | libpod/container.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libpod/container.go b/libpod/container.go index 6c05b1084..44a8669fd 100644 --- a/libpod/container.go +++ b/libpod/container.go @@ -237,6 +237,9 @@ type ContainerNamedVolume struct { Dest string `json:"dest"` // Options are fstab style mount options Options []string `json:"options,omitempty"` + // IsAnonymous sets the named volume as anonymous even if it has a name + // This is used for emptyDir volumes from a kube yaml + IsAnonymous bool `json:"setAnonymous,omitempty"` } // ContainerOverlayVolume is a overlay volume that will be mounted into the |