mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-10-04 05:06:05 +08:00
feat: expose CDI settings (#418)
* feat: add cdi settings tab Signed-off-by: Yi-Ya Chen <yiya.chen@suse.com> * feat: basic layout Signed-off-by: Yi-Ya Chen <yiya.chen@suse.com> * feat: add fields mutation Signed-off-by: Yi-Ya Chen <yiya.chen@suse.com> * refactor: rename keys Signed-off-by: Yi-Ya Chen <yiya.chen@suse.com> * refactor: add edit mode Signed-off-by: Yi-Ya Chen <yiya.chen@suse.com> * refactor: remove isCreate Signed-off-by: Yi-Ya Chen <yiya.chen@suse.com> * feat: filter volume mode options Signed-off-by: Yi-Ya Chen <yiya.chen@suse.com> --------- Signed-off-by: Yi-Ya Chen <yiya.chen@suse.com> Co-authored-by: Andy Lee <andy.lee@suse.com>
This commit is contained in:
@@ -45,7 +45,8 @@ const FEATURE_FLAGS = {
|
||||
'vmNetworkMigration',
|
||||
'kubeovnVpcSubnet',
|
||||
'rancherClusterSetting',
|
||||
'cpuMemoryHotplug'
|
||||
'cpuMemoryHotplug',
|
||||
'cdiSettings'
|
||||
]
|
||||
};
|
||||
|
||||
|
||||
@@ -72,4 +72,8 @@ export const HCI = {
|
||||
CUSTOM_IP: 'harvesterhci.io/custom-ip',
|
||||
IMPORTED_IMAGE: 'migration.harvesterhci.io/imported',
|
||||
VM_CPU_MEMORY_HOTPLUG: 'harvesterhci.io/enableCPUAndMemoryHotplug',
|
||||
FILESYSTEM_OVERHEAD: 'cdi.harvesterhci.io/filesystemOverhead',
|
||||
CLONE_STRATEGY: 'cdi.harvesterhci.io/storageProfileCloneStrategy',
|
||||
VOLUME_MODE_ACCESS_MODES: 'cdi.harvesterhci.io/storageProfileVolumeModeAccessModes',
|
||||
VOLUME_SNAPSHOT_CLASS: 'cdi.harvesterhci.io/storageProfileVolumeSnapshotClass',
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user