mirror of
				https://github.com/containers/podman.git
				synced 2025-10-31 18:08:51 +08:00 
			
		
		
		
	 0ce234425a
			
		
	
	0ce234425a
	
	
	
		
			
			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>
		
			
				
	
	
		
			19 lines
		
	
	
		
			723 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			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"
 | |
| )
 |