| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
refactor(CNV-51887): move libdv out of functional tests The libdv package contains NewDataVolume function options that helps us to construct a new v1.VirtualMachine. Currently libdv used only in functional tests and not importable by other projects, because tests likely tend to be changed or removed. Move libdv package to pkg folder that is likely not to be changed like libvmi package. Signed-off-by: Ben Oukhanov <boukhanov@redhat.com> | 1 年前 | |
refactor(CNV-51887): move libdv out of functional tests The libdv package contains NewDataVolume function options that helps us to construct a new v1.VirtualMachine. Currently libdv used only in functional tests and not importable by other projects, because tests likely tend to be changed or removed. Move libdv package to pkg folder that is likely not to be changed like libvmi package. Signed-off-by: Ben Oukhanov <boukhanov@redhat.com> | 1 年前 | |
defaults: Find arch from DataSource backed DataVolumeTemplates CDI v1.63.0 now decorates DataSources with a template.kubevirt.io/architecture label when pointing to a DataVolume that provides a Platform Architecture for the image. [1][2] As set out in bug #15391 this work however missed that our existing VirtualMachine defaulting logic will ignore this and could easily result in an unbootable VirtualMachine. This change fixes this by attempting to look up any referenced DataSources for the aforementioned label, using the first value we find assuming that the user hasn't already provided a value in the VirtualMachine. The libdv WithDataVolumeSourceRef helper is also extended to set namespace to nil when an empty string is provided to allow. [1] https://github.com/kubevirt/containerized-data-importer/pull/3753 [2] https://github.com/kubevirt/enhancements/blob/main/veps/sig-storage/dic-on-heterogeneous-cluster/dic-on-heterogeneous-cluster.md Signed-off-by: Lee Yarwood <lyarwood@redhat.com> | 8 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 年前 | ||
| 1 年前 | ||
| 8 个月前 |