vm-import-controller/pkg/controllers/migration
Volker Theile 4659913073 Make sure the label harvesterhci.io/imageDisplayName is valid
If it gets longer than 63 characters, then replace the label value by a hash to do not abort the VM import. The origin value is still used as `VirtualMachineImageSpec.DisplayName`. The label is currently used to search for the `VirtualMachineImage` object during the reconciliation phase.

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

Signed-off-by: Volker Theile <vtheile@suse.com>
2025-02-17 17:37:44 +08:00
..
helper.go Make sure the label harvesterhci.io/imageDisplayName is valid 2025-02-17 17:37:44 +08:00
openstack.go Enhance importer to handle several issue (#42) 2025-02-04 07:42:42 +01:00
virtualmachine.go Make sure the label harvesterhci.io/imageDisplayName is valid 2025-02-17 17:37:44 +08:00
vmware.go Enhance importer to handle several issue (#42) 2025-02-04 07:42:42 +01:00