-
Sub-task
-
Resolution: Unresolved
-
Undefined
-
None
-
Quality / Stability / Reliability
-
False
-
-
False
-
None
-
Summary
Remove the Cross-Cluster Live Migration (CCLM) feature flag so that CCLM functionality is enabled by default without requiring a feature flag toggle.
Background
The CCLM feature is currently gated behind a feature flag (kubevirtCrossClusterMigration / FEATURE_KUBEVIRT_CROSS_CLUSTER_MIGRATION). This flag controls the visibility of cross-cluster migration actions in the UI and is listed as a preview feature in the cluster overview settings.
Scope
The following areas in the UI codebase reference the CCLM feature flag and will need updates:
_ _Preview Features tab* (usePreviewFeaturesData.tsx): Remove CCLM from the preview features list
_ _VM actions provider* (useVirtualMachineActionsProvider.ts): Remove feature flag check gating cross-cluster migration actions
_ _Bulk VM actions* (useMultipleVirtualMachineActions.tsx): Remove feature flag check for bulk cross-cluster migration
_ _Feature constants* (useFeatures/constants.ts, multicluster/constants.ts): Clean up the feature flag constant definition
- Any conditional logic that checks crossClusterMigrationFlagEnabled should be simplified
Target versions
- CNV 4.22.0
- CNV 4.21.1
Acceptance Criteria
- CCLM actions are always available in the VM actions menu (when MTV is installed) without needing to enable a feature flag
- The CCLM feature flag is removed from the Preview Features settings tab
- No regressions in cross-cluster migration functionality