diff --git a/pkg/harvester/config/feature-flags.js b/pkg/harvester/config/feature-flags.js index 05397eb4..ca4ee9e9 100644 --- a/pkg/harvester/config/feature-flags.js +++ b/pkg/harvester/config/feature-flags.js @@ -45,7 +45,8 @@ const FEATURE_FLAGS = { 'vmNetworkMigration', 'kubeovnVpcSubnet', 'rancherClusterSetting', - 'cpuMemoryHotplug' + 'cpuMemoryHotplug', + 'cdiSettings' ] }; diff --git a/pkg/harvester/config/labels-annotations.js b/pkg/harvester/config/labels-annotations.js index d38da610..34eff840 100644 --- a/pkg/harvester/config/labels-annotations.js +++ b/pkg/harvester/config/labels-annotations.js @@ -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', }; diff --git a/pkg/harvester/edit/harvesterhci.io.storage/CDISettings.vue b/pkg/harvester/edit/harvesterhci.io.storage/CDISettings.vue new file mode 100644 index 00000000..a28f7ee5 --- /dev/null +++ b/pkg/harvester/edit/harvesterhci.io.storage/CDISettings.vue @@ -0,0 +1,321 @@ + + + + + diff --git a/pkg/harvester/edit/harvesterhci.io.storage/index.vue b/pkg/harvester/edit/harvesterhci.io.storage/index.vue index 9f21129d..40f0067d 100644 --- a/pkg/harvester/edit/harvesterhci.io.storage/index.vue +++ b/pkg/harvester/edit/harvesterhci.io.storage/index.vue @@ -1,4 +1,5 @@