Commit Graph

8 Commits

Author SHA1 Message Date
Volker Theile
2bd7d3cb9e
Replace k8s.io/utils/pointer with k8s.io/utils/ptr (#83)
Additionally remove useless explicit type argument lists.

Signed-off-by: Volker Theile <vtheile@suse.com>
2025-05-27 17:28:41 +02:00
Volker Theile
eefd7000ac
[ENHANCEMENT] Improve auto-detection of the disk bus type of the VMware importer (#72)
* Improve auto-detection of the bus type of the VMware importer

Related to: https://github.com/harvester/harvester/issues/7987

Signed-off-by: Volker Theile <vtheile@suse.com>

* Improve SCSI controller mapping

Signed-off-by: Volker Theile <vtheile@suse.com>

* Add `DefaultDiskBusType` field to `VirtualMachineImportSpec`

This allows the user to customize the disk bus type in case the auto-detection fails. Note, the OpenStack source client does not support auto-detection, thus it will always make use of the `DefaultDiskBusType` field if specified. The `DefaultDiskBusType` defaults to `virtio`.

Signed-off-by: Volker Theile <vtheile@suse.com>

---------

Signed-off-by: Volker Theile <vtheile@suse.com>
2025-05-27 11:32:06 +02:00
Volker Theile
d3ad44e039
Add option to select network interface model while importing VM to Harvester using the vm-import-controller (#78)
Add the field `DefaultNetworkInterfaceModel` to `VirtualMachineImportSpec` and `NetworkInterfaceModel` to `NetworkMapping`. With this new fields it is possible to customize the interface models of the VM NICs.

Related to: https://github.com/harvester/harvester/issues/7999

Signed-off-by: Volker Theile <vtheile@suse.com>
2025-05-26 10:55:54 +02:00
Volker Theile
859479d6fa
SMM is not enabled when TPM is enabled in VMware source client (#71)
Related to: https://github.com/harvester/harvester/issues/7984

Signed-off-by: Volker Theile <vtheile@suse.com>
2025-05-06 10:19:12 +02:00
PoAn Yang
148cec8766 fix: golangci-lint error
Signed-off-by: PoAn Yang <poan.yang@suse.com>
2024-01-12 10:55:44 +08:00
Gaurav Mehta
0ac976b4cc reorg groups and some reconcile logic 2022-08-26 16:41:47 +10:00
Gaurav Mehta
d26a8a9520 packaging changes. includes helm chart, drone.yml and minor fixes for
openstack client
2022-08-23 13:57:39 +10:00
Gaurav Mehta
112008bb81 initial commit for vm-import-controller 2022-08-10 11:08:50 +10:00