Files
podman/pkg/util/kube.go
Ygal Blum 269149a9fd Kube Play - allow creating image based volumes
Add volume.podman.io/image annotation to allow setting the source image

Signed-off-by: Ygal Blum <ygal.blum@gmail.com>
2024-01-24 11:55:29 +02:00

21 lines
818 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"
// Kube annotation for podman volume image.
VolumeImageAnnotation = "volume.podman.io/image"
)