Files
podman/pkg/util/kube.go
Ygal Blum 0ce234425a play kube: Allow the user to import the contents of a tar file into a volume
Add a new annotation to allow the user to point to a local tar file
If the annotation is present, import the file's content into the volume
Add a flag to PlayKubeOptions to note remote requests
Fail when trying to import volume content in remote requests
Add the annotation to the documentation
Add an E2E test to the new annotation

Signed-off-by: Ygal Blum <ygal.blum@gmail.com>
2022-10-25 15:11:25 +03:00

19 lines
723 B
Go

package util
const (
// Kube annotation for podman volume driver.
VolumeDriverAnnotation = "volume.podman.io/driver"
// Kube annotation for podman volume type.
VolumeTypeAnnotation = "volume.podman.io/type"
// Kube annotation for podman volume device.
VolumeDeviceAnnotation = "volume.podman.io/device"
// Kube annotation for podman volume UID.
VolumeUIDAnnotation = "volume.podman.io/uid"
// Kube annotation for podman volume GID.
VolumeGIDAnnotation = "volume.podman.io/gid"
// Kube annotation for podman volume mount options.
VolumeMountOptsAnnotation = "volume.podman.io/mount-options"
// Kube annotation for podman volume import source.
VolumeImportSourceAnnotation = "volume.podman.io/import-source"
)