You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Move PvcApplyStorageProfileLabel constant to API package
- Add LabelApplyStorageProfile to containerized-data-importer-api
package for external consumer access
- Update CDI code to use cdiv1.LabelApplyStorageProfile
- Keep deprecated common.PvcApplyStorageProfileLabel alias for
backwards compatibility
This enables external projects (e.g., KubeVirt) to import the constant
from the API package instead of duplicating it.
Signed-off-by: Noam Assouline <[email protected]>
// DataVolume is an abstraction on top of PersistentVolumeClaims to allow easy population of those PersistentVolumeClaims with relation to VirtualMachines
@@ -108,6 +110,11 @@ type StorageSpec struct {
108
110
// PersistentVolumeFromStorageProfile means the volume mode will be auto selected by CDI according to a matching StorageProfile
0 commit comments