vm-import-controller/pkg/controllers
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
..
migration Make sure the label harvesterhci.io/imageDisplayName is valid 2025-02-17 17:37:44 +08:00
controllers.go Validate the network mapping configuration (#46) 2024-10-09 11:39:48 +02:00