@openshift-assisted/ui-lib 2.39.0 → 2.39.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/@types/cim/components/featureSupportLevels/ACMFeatureSupportLevelProvider.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/versions.d.ts +0 -1
- package/build/@types/cim/components/helpers/versions.d.ts.map +1 -1
- package/build/@types/common/components/clusterDetail/ClusterProgressItems.d.ts.map +1 -1
- package/build/@types/common/components/clusterDetail/OperatorsProgressItem.d.ts +2 -3
- package/build/@types/common/components/clusterDetail/OperatorsProgressItem.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/types.d.ts +2 -4
- package/build/@types/common/components/clusterWizard/types.d.ts.map +1 -1
- package/build/@types/common/components/newFeatureSupportLevels/types.d.ts +1 -1
- package/build/@types/common/components/newFeatureSupportLevels/types.d.ts.map +1 -1
- package/build/@types/common/components/operators/operatorSpecs.d.ts +22 -0
- package/build/@types/common/components/operators/operatorSpecs.d.ts.map +1 -0
- package/build/@types/common/config/constants.d.ts +2 -15
- package/build/@types/common/config/constants.d.ts.map +1 -1
- package/build/@types/common/selectors/clusterSelectors.d.ts +1 -2
- package/build/@types/common/selectors/clusterSelectors.d.ts.map +1 -1
- package/build/@types/common/types/clusters.d.ts +3 -23
- package/build/@types/common/types/clusters.d.ts.map +1 -1
- package/build/@types/common/utils.d.ts +1 -0
- package/build/@types/common/utils.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmClusterProgressItems.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmOperatorProgressItem.d.ts +2 -3
- package/build/@types/ocm/components/clusterConfiguration/OcmOperatorProgressItem.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/OperatorCheckbox.d.ts +12 -0
- package/build/@types/ocm/components/clusterConfiguration/operators/OperatorCheckbox.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterConfiguration/operators/bundleSpecs.d.ts +13 -0
- package/build/@types/ocm/components/clusterConfiguration/operators/bundleSpecs.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterConfiguration/operators/utils.d.ts +6 -8
- package/build/@types/ocm/components/clusterConfiguration/operators/utils.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.d.ts +1 -1
- package/build/@types/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/review/ReviewSummary.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/ProgressBarAlerts.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterWizardContextProvider.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/Operators.d.ts +1 -3
- package/build/@types/ocm/components/clusterWizard/Operators.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/OperatorsBundle.d.ts +9 -0
- package/build/@types/ocm/components/clusterWizard/OperatorsBundle.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterWizard/OperatorsSelect.d.ts +9 -0
- package/build/@types/ocm/components/clusterWizard/OperatorsSelect.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterWizard/OperatorsStep.d.ts +1 -1
- package/build/@types/ocm/components/clusterWizard/OperatorsStep.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/wizardTransition.d.ts +1 -1
- package/build/@types/ocm/components/clusterWizard/wizardTransition.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/utils.d.ts +1 -5
- package/build/@types/ocm/components/clusters/utils.d.ts.map +1 -1
- package/build/@types/ocm/components/featureSupportLevels/FeatureSupportLevelProvider.d.ts.map +1 -1
- package/build/@types/ocm/components/featureSupportLevels/featureStateUtils.d.ts +1 -7
- package/build/@types/ocm/components/featureSupportLevels/featureStateUtils.d.ts.map +1 -1
- package/build/@types/ocm/components/utils.d.ts +0 -2
- package/build/@types/ocm/components/utils.d.ts.map +1 -1
- package/build/@types/ocm/services/OperatorsService.d.ts +1 -10
- package/build/@types/ocm/services/OperatorsService.d.ts.map +1 -1
- package/build/cjs/cim/components/featureSupportLevels/ACMFeatureSupportLevelProvider.js +2 -1
- package/build/cjs/cim/components/featureSupportLevels/ACMFeatureSupportLevelProvider.js.map +1 -1
- package/build/cjs/cim/components/helpers/versions.js +3 -7
- package/build/cjs/cim/components/helpers/versions.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/ClusterProgressItems.js +1 -1
- package/build/cjs/common/components/clusterDetail/ClusterProgressItems.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/OperatorsProgressItem.js +7 -8
- package/build/cjs/common/components/clusterDetail/OperatorsProgressItem.js.map +1 -1
- package/build/cjs/common/components/operators/operatorSpecs.js +215 -0
- package/build/cjs/common/components/operators/operatorSpecs.js.map +1 -0
- package/build/cjs/common/config/constants.js +6 -87
- package/build/cjs/common/config/constants.js.map +1 -1
- package/build/cjs/common/selectors/clusterSelectors.js.map +1 -1
- package/build/cjs/common/types/clusters.js.map +1 -1
- package/build/cjs/common/utils.js +6 -1
- package/build/cjs/common/utils.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageModal.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageModal.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmClusterProgressItems.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmClusterProgressItems.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmOperatorProgressItem.js +6 -8
- package/build/cjs/ocm/components/clusterConfiguration/OcmOperatorProgressItem.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/OperatorCheckbox.js +91 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/OperatorCheckbox.js.map +1 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/bundleSpecs.js +39 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/bundleSpecs.js.map +1 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/utils.js +54 -19
- package/build/cjs/ocm/components/clusterConfiguration/operators/utils.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.js +24 -18
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewSummary.js +1 -6
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewSummary.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ProgressBarAlerts.js +3 -21
- package/build/cjs/ocm/components/clusterDetail/ProgressBarAlerts.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/Operators.js +11 -38
- package/build/cjs/ocm/components/clusterWizard/Operators.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/OperatorsBundle.css +6 -0
- package/build/cjs/ocm/components/clusterWizard/OperatorsBundle.js +123 -0
- package/build/cjs/ocm/components/clusterWizard/OperatorsBundle.js.map +1 -0
- package/build/cjs/ocm/components/clusterWizard/OperatorsSelect.js +63 -0
- package/build/cjs/ocm/components/clusterWizard/OperatorsSelect.js.map +1 -0
- package/build/cjs/ocm/components/clusterWizard/OperatorsStep.js +25 -270
- package/build/cjs/ocm/components/clusterWizard/OperatorsStep.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/wizardTransition.js +1 -4
- package/build/cjs/ocm/components/clusterWizard/wizardTransition.js.map +1 -1
- package/build/cjs/ocm/components/clusters/utils.js +1 -14
- package/build/cjs/ocm/components/clusters/utils.js.map +1 -1
- package/build/cjs/ocm/components/featureSupportLevels/FeatureSupportLevelProvider.js +0 -1
- package/build/cjs/ocm/components/featureSupportLevels/FeatureSupportLevelProvider.js.map +1 -1
- package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js +29 -72
- package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js.map +1 -1
- package/build/cjs/ocm/components/utils.js +1 -10
- package/build/cjs/ocm/components/utils.js.map +1 -1
- package/build/cjs/ocm/services/OperatorsService.js +4 -64
- package/build/cjs/ocm/services/OperatorsService.js.map +1 -1
- package/lib/cim/components/featureSupportLevels/ACMFeatureSupportLevelProvider.tsx +2 -1
- package/lib/cim/components/helpers/versions.ts +1 -5
- package/lib/common/components/clusterDetail/ClusterProgressItems.tsx +1 -4
- package/lib/common/components/clusterDetail/OperatorsProgressItem.tsx +6 -12
- package/lib/common/components/clusterWizard/types.ts +3 -3
- package/lib/common/components/newFeatureSupportLevels/types.ts +4 -1
- package/lib/common/components/operators/operatorSpecs.tsx +343 -0
- package/lib/common/config/constants.ts +5 -99
- package/lib/common/selectors/clusterSelectors.ts +1 -2
- package/lib/common/types/clusters.ts +3 -23
- package/lib/common/utils.ts +5 -0
- package/lib/ocm/components/clusterConfiguration/DiscoveryImageModal.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/OcmClusterProgressItems.tsx +1 -4
- package/lib/ocm/components/clusterConfiguration/OcmOperatorProgressItem.tsx +5 -10
- package/lib/ocm/components/clusterConfiguration/operators/OperatorCheckbox.tsx +209 -0
- package/lib/ocm/components/clusterConfiguration/operators/bundleSpecs.tsx +64 -0
- package/lib/ocm/components/clusterConfiguration/operators/utils.tsx +88 -31
- package/lib/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.tsx +46 -43
- package/lib/ocm/components/clusterConfiguration/review/ReviewSummary.tsx +1 -15
- package/lib/ocm/components/clusterDetail/ProgressBarAlerts.tsx +3 -36
- package/lib/ocm/components/clusterWizard/ClusterWizardContextProvider.tsx +0 -1
- package/lib/ocm/components/clusterWizard/Operators.tsx +17 -77
- package/lib/ocm/components/clusterWizard/OperatorsBundle.css +6 -0
- package/lib/ocm/components/clusterWizard/OperatorsBundle.tsx +245 -0
- package/lib/ocm/components/clusterWizard/OperatorsSelect.tsx +108 -0
- package/lib/ocm/components/clusterWizard/OperatorsStep.tsx +38 -443
- package/lib/ocm/components/clusterWizard/wizardTransition.ts +0 -4
- package/lib/ocm/components/clusters/utils.ts +0 -19
- package/lib/ocm/components/featureSupportLevels/FeatureSupportLevelProvider.tsx +0 -1
- package/lib/ocm/components/featureSupportLevels/featureStateUtils.ts +33 -81
- package/lib/ocm/components/utils.ts +0 -12
- package/lib/ocm/services/OperatorsService.tsx +1 -100
- package/package.json +3 -3
- package/build/@types/ocm/components/clusterConfiguration/operators/AmdGpuCheckbox.d.ts +0 -8
- package/build/@types/ocm/components/clusterConfiguration/operators/AmdGpuCheckbox.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/AuthorinoCheckbox.d.ts +0 -8
- package/build/@types/ocm/components/clusterConfiguration/operators/AuthorinoCheckbox.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/CnvCheckbox.d.ts +0 -11
- package/build/@types/ocm/components/clusterConfiguration/operators/CnvCheckbox.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/CnvHostRequirements.d.ts +0 -8
- package/build/@types/ocm/components/clusterConfiguration/operators/CnvHostRequirements.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/FenceAgentsRemediationCheckbox.d.ts +0 -8
- package/build/@types/ocm/components/clusterConfiguration/operators/FenceAgentsRemediationCheckbox.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/KmmCheckbox.d.ts +0 -6
- package/build/@types/ocm/components/clusterConfiguration/operators/KmmCheckbox.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/KubeDeschedulerCheckbox.d.ts +0 -8
- package/build/@types/ocm/components/clusterConfiguration/operators/KubeDeschedulerCheckbox.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/LsoCheckbox.d.ts +0 -9
- package/build/@types/ocm/components/clusterConfiguration/operators/LsoCheckbox.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/LvmCheckbox.d.ts +0 -11
- package/build/@types/ocm/components/clusterConfiguration/operators/LvmCheckbox.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/LvmHostRequirements.d.ts +0 -7
- package/build/@types/ocm/components/clusterConfiguration/operators/LvmHostRequirements.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/MceCheckbox.d.ts +0 -12
- package/build/@types/ocm/components/clusterConfiguration/operators/MceCheckbox.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/MceRequirements.d.ts +0 -8
- package/build/@types/ocm/components/clusterConfiguration/operators/MceRequirements.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/MtvOperatorCheckbox.d.ts +0 -10
- package/build/@types/ocm/components/clusterConfiguration/operators/MtvOperatorCheckbox.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/MtvRequirements.d.ts +0 -7
- package/build/@types/ocm/components/clusterConfiguration/operators/MtvRequirements.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/NmstateCheckbox.d.ts +0 -11
- package/build/@types/ocm/components/clusterConfiguration/operators/NmstateCheckbox.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/NmstateRequirements.d.ts +0 -7
- package/build/@types/ocm/components/clusterConfiguration/operators/NmstateRequirements.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/NodeFeatureDiscoveryCheckbox.d.ts +0 -9
- package/build/@types/ocm/components/clusterConfiguration/operators/NodeFeatureDiscoveryCheckbox.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/NodeHealthcheckCheckbox.d.ts +0 -8
- package/build/@types/ocm/components/clusterConfiguration/operators/NodeHealthcheckCheckbox.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/NodeMaintenanceOperatorCheckbox.d.ts +0 -8
- package/build/@types/ocm/components/clusterConfiguration/operators/NodeMaintenanceOperatorCheckbox.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/NvidiaGpuCheckbox.d.ts +0 -9
- package/build/@types/ocm/components/clusterConfiguration/operators/NvidiaGpuCheckbox.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/OdfCheckbox.d.ts +0 -8
- package/build/@types/ocm/components/clusterConfiguration/operators/OdfCheckbox.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/OpenShiftAICheckbox.d.ts +0 -8
- package/build/@types/ocm/components/clusterConfiguration/operators/OpenShiftAICheckbox.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/OpenShiftAIRequirements.d.ts +0 -4
- package/build/@types/ocm/components/clusterConfiguration/operators/OpenShiftAIRequirements.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/OpenshiftAIAmdRequirements.d.ts +0 -4
- package/build/@types/ocm/components/clusterConfiguration/operators/OpenshiftAIAmdRequirements.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/OpenshiftAINvidiaRequirements.d.ts +0 -4
- package/build/@types/ocm/components/clusterConfiguration/operators/OpenshiftAINvidiaRequirements.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/OscCheckbox.d.ts +0 -8
- package/build/@types/ocm/components/clusterConfiguration/operators/OscCheckbox.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/PipelinesChekbox.d.ts +0 -8
- package/build/@types/ocm/components/clusterConfiguration/operators/PipelinesChekbox.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/SelfNodeRemediationCheckbox.d.ts +0 -8
- package/build/@types/ocm/components/clusterConfiguration/operators/SelfNodeRemediationCheckbox.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/ServerlessCheckbox.d.ts +0 -8
- package/build/@types/ocm/components/clusterConfiguration/operators/ServerlessCheckbox.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/ServicemeshCheckbox.d.ts +0 -9
- package/build/@types/ocm/components/clusterConfiguration/operators/ServicemeshCheckbox.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/SupportedOperators.d.ts +0 -24
- package/build/@types/ocm/components/clusterConfiguration/operators/SupportedOperators.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/VirtualizationRequirements.d.ts +0 -4
- package/build/@types/ocm/components/clusterConfiguration/operators/VirtualizationRequirements.d.ts.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/AmdGpuCheckbox.js +0 -29
- package/build/cjs/ocm/components/clusterConfiguration/operators/AmdGpuCheckbox.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/AuthorinoCheckbox.js +0 -33
- package/build/cjs/ocm/components/clusterConfiguration/operators/AuthorinoCheckbox.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/CnvCheckbox.js +0 -43
- package/build/cjs/ocm/components/clusterConfiguration/operators/CnvCheckbox.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/CnvHostRequirements.js +0 -55
- package/build/cjs/ocm/components/clusterConfiguration/operators/CnvHostRequirements.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/FenceAgentsRemediationCheckbox.js +0 -34
- package/build/cjs/ocm/components/clusterConfiguration/operators/FenceAgentsRemediationCheckbox.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/KmmCheckbox.js +0 -40
- package/build/cjs/ocm/components/clusterConfiguration/operators/KmmCheckbox.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/KubeDeschedulerCheckbox.js +0 -34
- package/build/cjs/ocm/components/clusterConfiguration/operators/KubeDeschedulerCheckbox.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/LsoCheckbox.js +0 -33
- package/build/cjs/ocm/components/clusterConfiguration/operators/LsoCheckbox.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/LvmCheckbox.js +0 -44
- package/build/cjs/ocm/components/clusterConfiguration/operators/LvmCheckbox.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/LvmHostRequirements.js +0 -22
- package/build/cjs/ocm/components/clusterConfiguration/operators/LvmHostRequirements.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/MceCheckbox.js +0 -35
- package/build/cjs/ocm/components/clusterConfiguration/operators/MceCheckbox.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/MceRequirements.js +0 -54
- package/build/cjs/ocm/components/clusterConfiguration/operators/MceRequirements.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/MtvOperatorCheckbox.js +0 -43
- package/build/cjs/ocm/components/clusterConfiguration/operators/MtvOperatorCheckbox.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/MtvRequirements.js +0 -51
- package/build/cjs/ocm/components/clusterConfiguration/operators/MtvRequirements.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/NmstateCheckbox.js +0 -35
- package/build/cjs/ocm/components/clusterConfiguration/operators/NmstateCheckbox.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/NmstateRequirements.js +0 -48
- package/build/cjs/ocm/components/clusterConfiguration/operators/NmstateRequirements.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/NodeFeatureDiscoveryCheckbox.js +0 -33
- package/build/cjs/ocm/components/clusterConfiguration/operators/NodeFeatureDiscoveryCheckbox.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/NodeHealthcheckCheckbox.js +0 -34
- package/build/cjs/ocm/components/clusterConfiguration/operators/NodeHealthcheckCheckbox.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/NodeMaintenanceOperatorCheckbox.js +0 -34
- package/build/cjs/ocm/components/clusterConfiguration/operators/NodeMaintenanceOperatorCheckbox.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/NvidiaGpuCheckbox.js +0 -34
- package/build/cjs/ocm/components/clusterConfiguration/operators/NvidiaGpuCheckbox.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/OdfCheckbox.js +0 -43
- package/build/cjs/ocm/components/clusterConfiguration/operators/OdfCheckbox.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/OpenShiftAICheckbox.js +0 -35
- package/build/cjs/ocm/components/clusterConfiguration/operators/OpenShiftAICheckbox.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/OpenShiftAIRequirements.js +0 -19
- package/build/cjs/ocm/components/clusterConfiguration/operators/OpenShiftAIRequirements.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/OpenshiftAIAmdRequirements.js +0 -32
- package/build/cjs/ocm/components/clusterConfiguration/operators/OpenshiftAIAmdRequirements.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/OpenshiftAINvidiaRequirements.js +0 -31
- package/build/cjs/ocm/components/clusterConfiguration/operators/OpenshiftAINvidiaRequirements.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/OscCheckbox.js +0 -38
- package/build/cjs/ocm/components/clusterConfiguration/operators/OscCheckbox.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/PipelinesChekbox.js +0 -33
- package/build/cjs/ocm/components/clusterConfiguration/operators/PipelinesChekbox.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/SelfNodeRemediationCheckbox.js +0 -34
- package/build/cjs/ocm/components/clusterConfiguration/operators/SelfNodeRemediationCheckbox.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/ServerlessCheckbox.js +0 -33
- package/build/cjs/ocm/components/clusterConfiguration/operators/ServerlessCheckbox.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/ServicemeshCheckbox.js +0 -33
- package/build/cjs/ocm/components/clusterConfiguration/operators/ServicemeshCheckbox.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/SupportedOperators.js +0 -101
- package/build/cjs/ocm/components/clusterConfiguration/operators/SupportedOperators.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/VirtualizationRequirements.js +0 -26
- package/build/cjs/ocm/components/clusterConfiguration/operators/VirtualizationRequirements.js.map +0 -1
- package/lib/ocm/components/clusterConfiguration/operators/AmdGpuCheckbox.tsx +0 -64
- package/lib/ocm/components/clusterConfiguration/operators/AuthorinoCheckbox.tsx +0 -63
- package/lib/ocm/components/clusterConfiguration/operators/CnvCheckbox.tsx +0 -103
- package/lib/ocm/components/clusterConfiguration/operators/CnvHostRequirements.tsx +0 -64
- package/lib/ocm/components/clusterConfiguration/operators/FenceAgentsRemediationCheckbox.tsx +0 -71
- package/lib/ocm/components/clusterConfiguration/operators/KmmCheckbox.tsx +0 -69
- package/lib/ocm/components/clusterConfiguration/operators/KubeDeschedulerCheckbox.tsx +0 -66
- package/lib/ocm/components/clusterConfiguration/operators/LsoCheckbox.tsx +0 -64
- package/lib/ocm/components/clusterConfiguration/operators/LvmCheckbox.tsx +0 -112
- package/lib/ocm/components/clusterConfiguration/operators/LvmHostRequirements.tsx +0 -38
- package/lib/ocm/components/clusterConfiguration/operators/MceCheckbox.tsx +0 -90
- package/lib/ocm/components/clusterConfiguration/operators/MceRequirements.tsx +0 -61
- package/lib/ocm/components/clusterConfiguration/operators/MtvOperatorCheckbox.tsx +0 -94
- package/lib/ocm/components/clusterConfiguration/operators/MtvRequirements.tsx +0 -52
- package/lib/ocm/components/clusterConfiguration/operators/NmstateCheckbox.tsx +0 -82
- package/lib/ocm/components/clusterConfiguration/operators/NmstateRequirements.tsx +0 -53
- package/lib/ocm/components/clusterConfiguration/operators/NodeFeatureDiscoveryCheckbox.tsx +0 -73
- package/lib/ocm/components/clusterConfiguration/operators/NodeHealthcheckCheckbox.tsx +0 -66
- package/lib/ocm/components/clusterConfiguration/operators/NodeMaintenanceOperatorCheckbox.tsx +0 -66
- package/lib/ocm/components/clusterConfiguration/operators/NvidiaGpuCheckbox.tsx +0 -70
- package/lib/ocm/components/clusterConfiguration/operators/OdfCheckbox.tsx +0 -82
- package/lib/ocm/components/clusterConfiguration/operators/OpenShiftAICheckbox.tsx +0 -67
- package/lib/ocm/components/clusterConfiguration/operators/OpenShiftAIRequirements.tsx +0 -22
- package/lib/ocm/components/clusterConfiguration/operators/OpenshiftAIAmdRequirements.tsx +0 -36
- package/lib/ocm/components/clusterConfiguration/operators/OpenshiftAINvidiaRequirements.tsx +0 -37
- package/lib/ocm/components/clusterConfiguration/operators/OscCheckbox.tsx +0 -73
- package/lib/ocm/components/clusterConfiguration/operators/PipelinesChekbox.tsx +0 -63
- package/lib/ocm/components/clusterConfiguration/operators/SelfNodeRemediationCheckbox.tsx +0 -68
- package/lib/ocm/components/clusterConfiguration/operators/ServerlessCheckbox.tsx +0 -62
- package/lib/ocm/components/clusterConfiguration/operators/ServicemeshCheckbox.tsx +0 -64
- package/lib/ocm/components/clusterConfiguration/operators/SupportedOperators.tsx +0 -140
- package/lib/ocm/components/clusterConfiguration/operators/VirtualizationRequirements.tsx +0 -35
|
@@ -0,0 +1,343 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Cluster } from '@openshift-assisted/types/assisted-installer-service';
|
|
3
|
+
import { FeatureId } from '../../types';
|
|
4
|
+
import {
|
|
5
|
+
OPERATOR_NAME_AMD_GPU,
|
|
6
|
+
OPERATOR_NAME_AUTHORINO,
|
|
7
|
+
OPERATOR_NAME_CNV,
|
|
8
|
+
OPERATOR_NAME_KMM,
|
|
9
|
+
OPERATOR_NAME_LSO,
|
|
10
|
+
OPERATOR_NAME_LVM,
|
|
11
|
+
OPERATOR_NAME_MCE,
|
|
12
|
+
OPERATOR_NAME_MTV,
|
|
13
|
+
OPERATOR_NAME_NMSTATE,
|
|
14
|
+
OPERATOR_NAME_NODE_FEATURE_DISCOVERY,
|
|
15
|
+
OPERATOR_NAME_NVIDIA_GPU,
|
|
16
|
+
OPERATOR_NAME_ODF,
|
|
17
|
+
OPERATOR_NAME_OPENSHIFT_AI,
|
|
18
|
+
OPERATOR_NAME_OSC,
|
|
19
|
+
OPERATOR_NAME_PIPELINES,
|
|
20
|
+
OPERATOR_NAME_SERVERLESS,
|
|
21
|
+
OPERATOR_NAME_SERVICEMESH,
|
|
22
|
+
OPERATOR_NAME_NODE_HEALTHCHECK,
|
|
23
|
+
OPERATOR_NAME_SELF_NODE_REMEDIATION,
|
|
24
|
+
OPERATOR_NAME_FENCE_AGENTS_REMEDIATION,
|
|
25
|
+
OPERATOR_NAME_NODE_MAINTENANCE,
|
|
26
|
+
OPERATOR_NAME_KUBE_DESCHEDULER,
|
|
27
|
+
} from '../../config/constants';
|
|
28
|
+
import { ExternalLink } from '../ui';
|
|
29
|
+
import {
|
|
30
|
+
AUTHORINO_OPERATOR_LINK,
|
|
31
|
+
CNV_LINK,
|
|
32
|
+
FENCE_AGENTS_REMEDIATION_LINK,
|
|
33
|
+
getLsoLink,
|
|
34
|
+
getLvmsDocsLink,
|
|
35
|
+
getMceDocsLink,
|
|
36
|
+
getNmstateLink,
|
|
37
|
+
getNodeFeatureDiscoveryLink,
|
|
38
|
+
getNvidiaGpuLink,
|
|
39
|
+
getServiceMeshLink,
|
|
40
|
+
KMM_LINK,
|
|
41
|
+
MTV_LINK,
|
|
42
|
+
NODE_HEALTHCHECK_LINK,
|
|
43
|
+
ODF_LINK,
|
|
44
|
+
ODF_REQUIREMENTS_LINK,
|
|
45
|
+
OPENSHIFT_AI_LINK,
|
|
46
|
+
OPENSHIFT_AI_REQUIREMENTS_LINK,
|
|
47
|
+
OSC_LINK,
|
|
48
|
+
OSC_REQUIREMENTS_LINK,
|
|
49
|
+
PIPELINES_OPERATOR_LINK,
|
|
50
|
+
SELF_NODE_REMEDIATION_LINK,
|
|
51
|
+
SERVERLESS_OPERATOR_LINK,
|
|
52
|
+
} from '../../config';
|
|
53
|
+
import { getMajorMinorVersion } from '../../utils';
|
|
54
|
+
import { useNewFeatureSupportLevel } from '../newFeatureSupportLevels';
|
|
55
|
+
|
|
56
|
+
export const isOCPVersionEqualsOrMore = (
|
|
57
|
+
openshiftVersion: string,
|
|
58
|
+
ocpVersionToCompare: string,
|
|
59
|
+
): boolean => {
|
|
60
|
+
const [majorA, minorA] = getMajorMinorVersion(openshiftVersion).split('.');
|
|
61
|
+
const [majorB, minorB] = ocpVersionToCompare.split('.');
|
|
62
|
+
return (
|
|
63
|
+
Number(majorA) > Number(majorB) ||
|
|
64
|
+
(Number(majorA) === Number(majorB) && Number(minorA) >= Number(minorB))
|
|
65
|
+
);
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
export type OperatorSpec = {
|
|
69
|
+
title: string;
|
|
70
|
+
featureId: FeatureId;
|
|
71
|
+
Description?: React.ComponentType<{ openshiftVersion?: string }>;
|
|
72
|
+
notStandalone?: boolean;
|
|
73
|
+
Requirements?: React.ComponentType<{ cluster: Cluster }>;
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
export const getOperatorSpecs = (useLVMS?: boolean): { [key: string]: OperatorSpec } => {
|
|
77
|
+
return {
|
|
78
|
+
[OPERATOR_NAME_MTV]: {
|
|
79
|
+
title: 'Migration Toolkit for Virtualization',
|
|
80
|
+
featureId: 'MTV',
|
|
81
|
+
Description: () => (
|
|
82
|
+
<>
|
|
83
|
+
This Toolkit (MTV) enables you to migrate virtual machines from VMware vSphere, Red Hat
|
|
84
|
+
Virtualization, or OpenStack to OpenShift Virtualization running on Red Hat OpenShift.{' '}
|
|
85
|
+
<ExternalLink href={MTV_LINK}>Learn more</ExternalLink>
|
|
86
|
+
</>
|
|
87
|
+
),
|
|
88
|
+
},
|
|
89
|
+
[OPERATOR_NAME_AMD_GPU]: {
|
|
90
|
+
title: 'AMD GPU',
|
|
91
|
+
featureId: 'AMD_GPU',
|
|
92
|
+
Requirements: () => <>Requires at least one supported AMD GPU</>,
|
|
93
|
+
Description: () => (
|
|
94
|
+
<>
|
|
95
|
+
Automate the management of AMD software components needed to provision and monitor GPUs.
|
|
96
|
+
</>
|
|
97
|
+
),
|
|
98
|
+
},
|
|
99
|
+
[OPERATOR_NAME_LSO]: {
|
|
100
|
+
title: 'Local Storage Operator',
|
|
101
|
+
featureId: 'LSO',
|
|
102
|
+
Description: ({ openshiftVersion }) => (
|
|
103
|
+
<>
|
|
104
|
+
Allows provisioning of persistent storage by using local volumes.{' '}
|
|
105
|
+
<ExternalLink href={getLsoLink(openshiftVersion)}>Learn more</ExternalLink>
|
|
106
|
+
</>
|
|
107
|
+
),
|
|
108
|
+
notStandalone: true,
|
|
109
|
+
},
|
|
110
|
+
[OPERATOR_NAME_AUTHORINO]: {
|
|
111
|
+
title: 'Authorino',
|
|
112
|
+
featureId: 'AUTHORINO',
|
|
113
|
+
Description: () => (
|
|
114
|
+
<>
|
|
115
|
+
Lightweight external authorization service for tailor-made Zero Trust API security.{' '}
|
|
116
|
+
<ExternalLink href={AUTHORINO_OPERATOR_LINK}>Learn more</ExternalLink>
|
|
117
|
+
</>
|
|
118
|
+
),
|
|
119
|
+
notStandalone: true,
|
|
120
|
+
},
|
|
121
|
+
[OPERATOR_NAME_CNV]: {
|
|
122
|
+
title: 'OpenShift Virtualization',
|
|
123
|
+
featureId: 'CNV',
|
|
124
|
+
Requirements: () => (
|
|
125
|
+
<>Enabled CPU virtualization support in BIOS (Intel-VT / AMD-V) on all nodes</>
|
|
126
|
+
),
|
|
127
|
+
Description: () => (
|
|
128
|
+
<>
|
|
129
|
+
Run virtual machines alongside containers on one platform.{' '}
|
|
130
|
+
<ExternalLink href={CNV_LINK}>Learn more</ExternalLink>
|
|
131
|
+
</>
|
|
132
|
+
),
|
|
133
|
+
},
|
|
134
|
+
[OPERATOR_NAME_FENCE_AGENTS_REMEDIATION]: {
|
|
135
|
+
title: 'Fence Agents Remediation',
|
|
136
|
+
featureId: 'FENCE_AGENTS_REMEDIATION',
|
|
137
|
+
Description: () => (
|
|
138
|
+
<>
|
|
139
|
+
Externally fences failed nodes using power controllers.{' '}
|
|
140
|
+
<ExternalLink href={FENCE_AGENTS_REMEDIATION_LINK}>Learn more</ExternalLink>
|
|
141
|
+
</>
|
|
142
|
+
),
|
|
143
|
+
notStandalone: true,
|
|
144
|
+
},
|
|
145
|
+
[OPERATOR_NAME_KMM]: {
|
|
146
|
+
title: 'Kernel Module Management',
|
|
147
|
+
featureId: 'KMM',
|
|
148
|
+
Description: () => (
|
|
149
|
+
<>
|
|
150
|
+
Management of kernel modules. <ExternalLink href={KMM_LINK}>Learn more</ExternalLink>
|
|
151
|
+
</>
|
|
152
|
+
),
|
|
153
|
+
},
|
|
154
|
+
[OPERATOR_NAME_KUBE_DESCHEDULER]: {
|
|
155
|
+
title: 'Kube Descheduler',
|
|
156
|
+
featureId: 'KUBE_DESCHEDULER',
|
|
157
|
+
Description: () => (
|
|
158
|
+
<>
|
|
159
|
+
Evicts pods to reschedule them onto more suitable nodes.{' '}
|
|
160
|
+
<ExternalLink href={NODE_HEALTHCHECK_LINK}>Learn more</ExternalLink>
|
|
161
|
+
</>
|
|
162
|
+
),
|
|
163
|
+
notStandalone: true,
|
|
164
|
+
},
|
|
165
|
+
[OPERATOR_NAME_MCE]: {
|
|
166
|
+
title: 'Multicluster engine',
|
|
167
|
+
featureId: 'MCE',
|
|
168
|
+
Description: ({ openshiftVersion }) => (
|
|
169
|
+
<>
|
|
170
|
+
Create, import, and manage multiple clusters from this cluster.{' '}
|
|
171
|
+
<ExternalLink href={getMceDocsLink(openshiftVersion)}>Learn more</ExternalLink>
|
|
172
|
+
</>
|
|
173
|
+
),
|
|
174
|
+
},
|
|
175
|
+
[OPERATOR_NAME_NMSTATE]: {
|
|
176
|
+
title: 'NMState',
|
|
177
|
+
featureId: 'NMSTATE',
|
|
178
|
+
Description: ({ openshiftVersion }) => (
|
|
179
|
+
<>
|
|
180
|
+
Provides users with functionality to configure various network interface types, DNS, and
|
|
181
|
+
routing on cluster nodes.{' '}
|
|
182
|
+
<ExternalLink href={getNmstateLink(openshiftVersion)}>Learn more</ExternalLink>
|
|
183
|
+
</>
|
|
184
|
+
),
|
|
185
|
+
},
|
|
186
|
+
[OPERATOR_NAME_NODE_FEATURE_DISCOVERY]: {
|
|
187
|
+
title: 'Node Feature Discovery',
|
|
188
|
+
featureId: 'NODE_FEATURE_DISCOVERY',
|
|
189
|
+
Description: ({ openshiftVersion }) => (
|
|
190
|
+
<>
|
|
191
|
+
Manage the detection of hardware features and configuration by labeling nodes with
|
|
192
|
+
hardware-specific information.{' '}
|
|
193
|
+
<ExternalLink href={getNodeFeatureDiscoveryLink(openshiftVersion)}>
|
|
194
|
+
Learn more
|
|
195
|
+
</ExternalLink>
|
|
196
|
+
</>
|
|
197
|
+
),
|
|
198
|
+
},
|
|
199
|
+
[OPERATOR_NAME_NODE_HEALTHCHECK]: {
|
|
200
|
+
title: 'Node Healthcheck',
|
|
201
|
+
featureId: 'NODE_HEALTHCHECK',
|
|
202
|
+
Description: () => (
|
|
203
|
+
<>
|
|
204
|
+
Identify Unhealthy Nodes.{' '}
|
|
205
|
+
<ExternalLink href={NODE_HEALTHCHECK_LINK}>Learn more</ExternalLink>
|
|
206
|
+
</>
|
|
207
|
+
),
|
|
208
|
+
notStandalone: true,
|
|
209
|
+
},
|
|
210
|
+
[OPERATOR_NAME_NODE_MAINTENANCE]: {
|
|
211
|
+
title: 'Node Maintenance',
|
|
212
|
+
featureId: 'NODE_MAINTENANCE',
|
|
213
|
+
Description: () => (
|
|
214
|
+
<>
|
|
215
|
+
Place nodes in maintenance mode.{' '}
|
|
216
|
+
<ExternalLink href={NODE_HEALTHCHECK_LINK}>Learn more</ExternalLink>
|
|
217
|
+
</>
|
|
218
|
+
),
|
|
219
|
+
notStandalone: true,
|
|
220
|
+
},
|
|
221
|
+
[OPERATOR_NAME_NVIDIA_GPU]: {
|
|
222
|
+
title: 'NVIDIA GPU',
|
|
223
|
+
featureId: 'NVIDIA_GPU',
|
|
224
|
+
Requirements: () => <>Requires at least one supported NVIDIA GPU</>,
|
|
225
|
+
Description: ({ openshiftVersion }) => (
|
|
226
|
+
<>
|
|
227
|
+
Automate the management of NVIDIA software components needed to provision and monitor
|
|
228
|
+
GPUs. <ExternalLink href={getNvidiaGpuLink(openshiftVersion)}>Learn more</ExternalLink>
|
|
229
|
+
</>
|
|
230
|
+
),
|
|
231
|
+
},
|
|
232
|
+
[OPERATOR_NAME_ODF]: {
|
|
233
|
+
title: 'OpenShift Data Foundation',
|
|
234
|
+
featureId: 'ODF',
|
|
235
|
+
Requirements: () => (
|
|
236
|
+
<ExternalLink href={ODF_REQUIREMENTS_LINK}>
|
|
237
|
+
Learn more about the requirements for OpenShift Data Foundation
|
|
238
|
+
</ExternalLink>
|
|
239
|
+
),
|
|
240
|
+
Description: () => (
|
|
241
|
+
<>
|
|
242
|
+
Persistent software-defined storage for hybrid applications.{' '}
|
|
243
|
+
<ExternalLink href={ODF_LINK}>Learn more</ExternalLink>
|
|
244
|
+
</>
|
|
245
|
+
),
|
|
246
|
+
},
|
|
247
|
+
[OPERATOR_NAME_OPENSHIFT_AI]: {
|
|
248
|
+
title: 'OpenShift AI',
|
|
249
|
+
featureId: 'OPENSHIFT_AI',
|
|
250
|
+
Requirements: () => (
|
|
251
|
+
<ExternalLink href={OPENSHIFT_AI_REQUIREMENTS_LINK}>Learn more</ExternalLink>
|
|
252
|
+
),
|
|
253
|
+
Description: () => (
|
|
254
|
+
<>
|
|
255
|
+
Train, serve, monitor and manage AI/ML models and applications.{' '}
|
|
256
|
+
<ExternalLink href={OPENSHIFT_AI_LINK}>Learn more</ExternalLink>
|
|
257
|
+
</>
|
|
258
|
+
),
|
|
259
|
+
},
|
|
260
|
+
[OPERATOR_NAME_OSC]: {
|
|
261
|
+
title: 'OpenShift sandboxed containers',
|
|
262
|
+
featureId: 'OSC',
|
|
263
|
+
Requirements: () => (
|
|
264
|
+
<ExternalLink href={OSC_REQUIREMENTS_LINK}>
|
|
265
|
+
Learn more about the requirements for OpenShift sandboxed containers
|
|
266
|
+
</ExternalLink>
|
|
267
|
+
),
|
|
268
|
+
Description: () => (
|
|
269
|
+
<>
|
|
270
|
+
OpenShift sandboxed containers support for OpenShift Container Platform provides users
|
|
271
|
+
with built-in support for running Kata Containers as an additional optional runtime. It
|
|
272
|
+
provides an additional virtualization machine(VM) isolation layer for pods.{' '}
|
|
273
|
+
<ExternalLink href={OSC_LINK}>Learn more</ExternalLink>
|
|
274
|
+
</>
|
|
275
|
+
),
|
|
276
|
+
},
|
|
277
|
+
[OPERATOR_NAME_PIPELINES]: {
|
|
278
|
+
title: 'Pipelines',
|
|
279
|
+
featureId: 'PIPELINES',
|
|
280
|
+
Description: () => (
|
|
281
|
+
<>
|
|
282
|
+
Cloud-native continuous integration and delivery (CI/CD) solution for building pipelines
|
|
283
|
+
using Tekton. <ExternalLink href={PIPELINES_OPERATOR_LINK}>Learn more</ExternalLink>
|
|
284
|
+
</>
|
|
285
|
+
),
|
|
286
|
+
notStandalone: true,
|
|
287
|
+
},
|
|
288
|
+
[OPERATOR_NAME_SELF_NODE_REMEDIATION]: {
|
|
289
|
+
title: 'Self Node Remediation',
|
|
290
|
+
featureId: 'SELF_NODE_REMEDIATION',
|
|
291
|
+
Description: () => (
|
|
292
|
+
<>
|
|
293
|
+
Allows nodes to reboot themselves when they become unhealthy.{' '}
|
|
294
|
+
<ExternalLink href={SELF_NODE_REMEDIATION_LINK}>Learn more</ExternalLink>
|
|
295
|
+
</>
|
|
296
|
+
),
|
|
297
|
+
notStandalone: true,
|
|
298
|
+
},
|
|
299
|
+
[OPERATOR_NAME_SERVERLESS]: {
|
|
300
|
+
title: 'Serverless',
|
|
301
|
+
featureId: 'SERVERLESS',
|
|
302
|
+
Description: () => (
|
|
303
|
+
<>
|
|
304
|
+
Deploy workflow applications based on the CNCF Serverless Workflow specification.{' '}
|
|
305
|
+
<ExternalLink href={SERVERLESS_OPERATOR_LINK}>Learn more</ExternalLink>
|
|
306
|
+
</>
|
|
307
|
+
),
|
|
308
|
+
notStandalone: true,
|
|
309
|
+
},
|
|
310
|
+
[OPERATOR_NAME_SERVICEMESH]: {
|
|
311
|
+
title: 'Service Mesh',
|
|
312
|
+
featureId: 'SERVICEMESH',
|
|
313
|
+
Description: ({ openshiftVersion }) => (
|
|
314
|
+
<>
|
|
315
|
+
Platform that provides behavioral insight and operational control over a service mesh.{' '}
|
|
316
|
+
<ExternalLink href={getServiceMeshLink(openshiftVersion)}>Learn more</ExternalLink>
|
|
317
|
+
</>
|
|
318
|
+
),
|
|
319
|
+
notStandalone: true,
|
|
320
|
+
},
|
|
321
|
+
[OPERATOR_NAME_LVM]: {
|
|
322
|
+
title: useLVMS ? 'Logical Volume Manager Storage' : 'Logical Volume Manager',
|
|
323
|
+
featureId: 'LVM',
|
|
324
|
+
Description: ({ openshiftVersion }) =>
|
|
325
|
+
useLVMS ? (
|
|
326
|
+
<>
|
|
327
|
+
Storage virtualization that offers a more flexible approach for disk space management.{' '}
|
|
328
|
+
<ExternalLink href={getLvmsDocsLink(openshiftVersion)}>Learn more</ExternalLink>
|
|
329
|
+
</>
|
|
330
|
+
) : (
|
|
331
|
+
<>
|
|
332
|
+
Storage virtualization that offers a more flexible approach for disk space management.
|
|
333
|
+
</>
|
|
334
|
+
),
|
|
335
|
+
},
|
|
336
|
+
};
|
|
337
|
+
};
|
|
338
|
+
|
|
339
|
+
export const useOperatorSpecs = () => {
|
|
340
|
+
const { getFeatureSupportLevel } = useNewFeatureSupportLevel();
|
|
341
|
+
const useLVMS = getFeatureSupportLevel('LVM') === 'supported';
|
|
342
|
+
return React.useMemo(() => getOperatorSpecs(useLVMS), [useLVMS]);
|
|
343
|
+
};
|
|
@@ -8,13 +8,8 @@ import {
|
|
|
8
8
|
HostValidationId,
|
|
9
9
|
} from '@openshift-assisted/types/assisted-installer-service';
|
|
10
10
|
import { ValidationGroup as ClusterValidationGroup } from '../types/clusters';
|
|
11
|
-
import { FeatureSupportLevelData } from '../components/featureSupportLevels/FeatureSupportLevelContext';
|
|
12
|
-
import type { NewFeatureSupportLevelData } from '../components/newFeatureSupportLevels';
|
|
13
11
|
import buildManifest from '@openshift-assisted/ui-lib/package.json';
|
|
14
12
|
|
|
15
|
-
// TODO(mlibra): Retrieve branding dynamically, if needed, i.e. via injecting to the "window" object
|
|
16
|
-
export const getProductBrandingCode = () => 'redhat';
|
|
17
|
-
|
|
18
13
|
export const POLLING_INTERVAL = 10 * 1000;
|
|
19
14
|
export const EVENTS_POLLING_INTERVAL = 10 * 1000 * 6;
|
|
20
15
|
|
|
@@ -303,7 +298,6 @@ export const OPERATOR_NAME_CNV = 'cnv';
|
|
|
303
298
|
export const OPERATOR_NAME_LSO = 'lso';
|
|
304
299
|
export const OPERATOR_NAME_ODF = 'odf';
|
|
305
300
|
export const OPERATOR_NAME_LVM = 'lvm';
|
|
306
|
-
export const OPERATOR_NAME_LVMS = 'lvms';
|
|
307
301
|
export const OPERATOR_NAME_MCE = 'mce';
|
|
308
302
|
export const OPERATOR_NAME_MTV = 'mtv';
|
|
309
303
|
export const OPERATOR_NAME_NODE_FEATURE_DISCOVERY = 'node-feature-discovery';
|
|
@@ -323,108 +317,20 @@ export const OPERATOR_NAME_FENCE_AGENTS_REMEDIATION = 'fence-agents-remediation'
|
|
|
323
317
|
export const OPERATOR_NAME_NODE_MAINTENANCE = 'node-maintenance';
|
|
324
318
|
export const OPERATOR_NAME_KUBE_DESCHEDULER = 'kube-descheduler';
|
|
325
319
|
|
|
326
|
-
const
|
|
320
|
+
export const singleClusterOperators = [
|
|
327
321
|
OPERATOR_NAME_CNV,
|
|
328
|
-
OPERATOR_NAME_LSO,
|
|
329
|
-
OPERATOR_NAME_ODF,
|
|
330
|
-
OPERATOR_NAME_LVM,
|
|
331
|
-
OPERATOR_NAME_LVMS,
|
|
332
|
-
OPERATOR_NAME_MCE,
|
|
333
|
-
OPERATOR_NAME_MTV,
|
|
334
|
-
OPERATOR_NAME_NODE_FEATURE_DISCOVERY,
|
|
335
|
-
OPERATOR_NAME_NVIDIA_GPU,
|
|
336
|
-
OPERATOR_NAME_PIPELINES,
|
|
337
|
-
OPERATOR_NAME_SERVICEMESH,
|
|
338
|
-
OPERATOR_NAME_SERVERLESS,
|
|
339
|
-
OPERATOR_NAME_OPENSHIFT_AI,
|
|
340
|
-
OPERATOR_NAME_OSC,
|
|
341
|
-
OPERATOR_NAME_NMSTATE,
|
|
342
|
-
OPERATOR_NAME_AUTHORINO,
|
|
343
|
-
OPERATOR_NAME_AMD_GPU,
|
|
344
|
-
OPERATOR_NAME_KMM,
|
|
345
322
|
OPERATOR_NAME_NODE_HEALTHCHECK,
|
|
346
|
-
OPERATOR_NAME_SELF_NODE_REMEDIATION,
|
|
347
323
|
OPERATOR_NAME_FENCE_AGENTS_REMEDIATION,
|
|
348
324
|
OPERATOR_NAME_NODE_MAINTENANCE,
|
|
349
|
-
OPERATOR_NAME_KUBE_DESCHEDULER,
|
|
350
|
-
];
|
|
351
|
-
export const ExposedOperatorNames = [
|
|
352
|
-
OPERATOR_NAME_CNV,
|
|
353
|
-
OPERATOR_NAME_ODF,
|
|
354
|
-
OPERATOR_NAME_LVM,
|
|
355
|
-
OPERATOR_NAME_LVMS,
|
|
356
|
-
OPERATOR_NAME_MCE,
|
|
357
325
|
OPERATOR_NAME_MTV,
|
|
358
|
-
|
|
359
|
-
OPERATOR_NAME_NVIDIA_GPU,
|
|
360
|
-
OPERATOR_NAME_PIPELINES,
|
|
361
|
-
OPERATOR_NAME_SERVICEMESH,
|
|
362
|
-
OPERATOR_NAME_SERVERLESS,
|
|
363
|
-
OPERATOR_NAME_OPENSHIFT_AI,
|
|
364
|
-
OPERATOR_NAME_OSC,
|
|
326
|
+
OPERATOR_NAME_KUBE_DESCHEDULER,
|
|
365
327
|
OPERATOR_NAME_NMSTATE,
|
|
366
|
-
OPERATOR_NAME_AUTHORINO,
|
|
367
|
-
OPERATOR_NAME_AMD_GPU,
|
|
368
|
-
OPERATOR_NAME_KMM,
|
|
369
|
-
OPERATOR_NAME_NODE_HEALTHCHECK,
|
|
370
328
|
OPERATOR_NAME_SELF_NODE_REMEDIATION,
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
OPERATOR_NAME_KUBE_DESCHEDULER,
|
|
329
|
+
OPERATOR_NAME_ODF,
|
|
330
|
+
OPERATOR_NAME_LSO,
|
|
374
331
|
];
|
|
375
332
|
|
|
376
|
-
export
|
|
377
|
-
export type ExposedOperatorName = (typeof ExposedOperatorNames)[number];
|
|
378
|
-
|
|
379
|
-
export const operatorLabelsCim = (
|
|
380
|
-
t: TFunction,
|
|
381
|
-
openshiftVersion: Cluster['openshiftVersion'],
|
|
382
|
-
featureSupportLevel: FeatureSupportLevelData,
|
|
383
|
-
): { [key in ExposedOperatorName]: string } => {
|
|
384
|
-
const useLVMS =
|
|
385
|
-
featureSupportLevel.getFeatureSupportLevel(openshiftVersion || '', 'LVM') === 'supported';
|
|
386
|
-
|
|
387
|
-
return {
|
|
388
|
-
[OPERATOR_NAME_ODF]: t('ai:OpenShift Data Foundation'),
|
|
389
|
-
[OPERATOR_NAME_CNV]: t('ai:OpenShift Virtualization'),
|
|
390
|
-
[OPERATOR_NAME_LVM]: useLVMS
|
|
391
|
-
? t('ai:Logical Volume Manager Storage')
|
|
392
|
-
: t('ai:Logical Volume Manager'),
|
|
393
|
-
};
|
|
394
|
-
};
|
|
395
|
-
|
|
396
|
-
export const operatorLabels = (
|
|
397
|
-
t: TFunction,
|
|
398
|
-
featureSupportLevel: NewFeatureSupportLevelData,
|
|
399
|
-
): { [key in ExposedOperatorName]: string } => {
|
|
400
|
-
const useLVMS = featureSupportLevel.getFeatureSupportLevel('LVM') === 'supported';
|
|
401
|
-
|
|
402
|
-
return {
|
|
403
|
-
[OPERATOR_NAME_ODF]: t('ai:OpenShift Data Foundation'),
|
|
404
|
-
[OPERATOR_NAME_CNV]: t('ai:OpenShift Virtualization'),
|
|
405
|
-
[OPERATOR_NAME_LVM]: useLVMS
|
|
406
|
-
? t('ai:Logical Volume Manager Storage')
|
|
407
|
-
: t('ai:Logical Volume Manager'),
|
|
408
|
-
[OPERATOR_NAME_MCE]: t('ai:Multicluster engine'),
|
|
409
|
-
[OPERATOR_NAME_NODE_FEATURE_DISCOVERY]: t('ai:Node Feature Discovery'),
|
|
410
|
-
[OPERATOR_NAME_NVIDIA_GPU]: t('ai:NVIDIA GPU'),
|
|
411
|
-
[OPERATOR_NAME_PIPELINES]: t('ai:Pipelines'),
|
|
412
|
-
[OPERATOR_NAME_SERVICEMESH]: t('ai:Service Mesh'),
|
|
413
|
-
[OPERATOR_NAME_SERVERLESS]: t('ai:Serverless'),
|
|
414
|
-
[OPERATOR_NAME_OPENSHIFT_AI]: t('ai:OpenShift AI'),
|
|
415
|
-
[OPERATOR_NAME_OSC]: t('ai:OpenShift sandboxed containers'),
|
|
416
|
-
[OPERATOR_NAME_MTV]: t('ai:Migration Toolkit for Virtualization'),
|
|
417
|
-
[OPERATOR_NAME_NMSTATE]: t('ai:NMState'),
|
|
418
|
-
[OPERATOR_NAME_AUTHORINO]: t('ai:Authorino'),
|
|
419
|
-
[OPERATOR_NAME_AMD_GPU]: t('ai:AMD GPU'),
|
|
420
|
-
[OPERATOR_NAME_KMM]: t('ai:Kernel Module Management'),
|
|
421
|
-
[OPERATOR_NAME_NODE_HEALTHCHECK]: t('ai:Node Healthcheck'),
|
|
422
|
-
[OPERATOR_NAME_SELF_NODE_REMEDIATION]: t('ai:Self Node Remediation'),
|
|
423
|
-
[OPERATOR_NAME_FENCE_AGENTS_REMEDIATION]: t('ai:Fence Agents Remediation'),
|
|
424
|
-
[OPERATOR_NAME_NODE_MAINTENANCE]: t('ai:Node Maintenace'),
|
|
425
|
-
[OPERATOR_NAME_KUBE_DESCHEDULER]: t('ai:Kube Descheduler'),
|
|
426
|
-
};
|
|
427
|
-
};
|
|
333
|
+
export const singleClusterBundles = ['virtualization'];
|
|
428
334
|
|
|
429
335
|
export const AI_UI_TAG = 'ui_ocm';
|
|
430
336
|
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import head from 'lodash-es/head.js';
|
|
2
2
|
import { SupportedPlatformIntegrations, ValidationsInfo } from '../types';
|
|
3
3
|
import { Cluster, Ip } from '@openshift-assisted/types/assisted-installer-service';
|
|
4
|
-
import { ExposedOperatorName } from '../config';
|
|
5
4
|
import { stringToJSON } from '../utils';
|
|
6
5
|
|
|
7
6
|
export const selectMachineNetworkCIDR = ({
|
|
@@ -46,7 +45,7 @@ export const selectOlmOperators = (cluster?: Pick<Cluster, 'monitoredOperators'>
|
|
|
46
45
|
|
|
47
46
|
export const hasEnabledOperators = (
|
|
48
47
|
monitoredOperators: Cluster['monitoredOperators'],
|
|
49
|
-
searchOperator:
|
|
48
|
+
searchOperator: string,
|
|
50
49
|
) => {
|
|
51
50
|
return selectMonitoredOperators(monitoredOperators).some(
|
|
52
51
|
(operator) => operator.name && operator.name === searchOperator,
|
|
@@ -58,29 +58,9 @@ export type HostDiscoveryValues = V2ClusterUpdateParams & {
|
|
|
58
58
|
export type StorageValues = V2ClusterUpdateParams & {
|
|
59
59
|
nodeLabeling: string;
|
|
60
60
|
};
|
|
61
|
-
export type OperatorsValues =
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
useContainerNativeVirtualization: boolean;
|
|
65
|
-
useMultiClusterEngine: boolean;
|
|
66
|
-
useMigrationToolkitforVirtualization: boolean;
|
|
67
|
-
useOpenShiftAI: boolean;
|
|
68
|
-
useOsc: boolean;
|
|
69
|
-
useNodeFeatureDiscovery: boolean;
|
|
70
|
-
useNmstate: boolean;
|
|
71
|
-
useLso: boolean;
|
|
72
|
-
useServerless: boolean;
|
|
73
|
-
useAuthorino: boolean;
|
|
74
|
-
usePipelines: boolean;
|
|
75
|
-
useServicemesh: boolean;
|
|
76
|
-
useNvidiaGpu: boolean;
|
|
77
|
-
useAmdGpu: boolean;
|
|
78
|
-
useKmm: boolean;
|
|
79
|
-
useNodeHealthcheck: boolean;
|
|
80
|
-
useSelfNodeRemediation: boolean;
|
|
81
|
-
useFenceAgentsRemediation: boolean;
|
|
82
|
-
useNodeMaintenance: boolean;
|
|
83
|
-
useKubeDescheduler: boolean;
|
|
61
|
+
export type OperatorsValues = {
|
|
62
|
+
selectedBundles: string[];
|
|
63
|
+
selectedOperators: string[];
|
|
84
64
|
};
|
|
85
65
|
|
|
86
66
|
export type SupportedPlatformType = Extract<PlatformType, 'vsphere' | 'nutanix' | 'external'>;
|
package/lib/common/utils.ts
CHANGED
|
@@ -106,3 +106,8 @@ export const downloadFile = (fileUrl?: string, dataBlob?: Blob, fileName?: strin
|
|
|
106
106
|
link.click();
|
|
107
107
|
document.body.removeChild(link);
|
|
108
108
|
};
|
|
109
|
+
|
|
110
|
+
export const getMajorMinorVersion = (version = '') => {
|
|
111
|
+
const match = /[0-9].[0-9][0-9]?/g.exec(version);
|
|
112
|
+
return match?.[0] || '';
|
|
113
|
+
};
|
|
@@ -120,7 +120,7 @@ export const DiscoveryImageModal = () => {
|
|
|
120
120
|
isSNO={isSNOCluster}
|
|
121
121
|
onReset={onReset}
|
|
122
122
|
onClose={close}
|
|
123
|
-
updateTagsForCiscoIntersight={() => updateTagsForCiscoIntersight(cluster)}
|
|
123
|
+
updateTagsForCiscoIntersight={() => void updateTagsForCiscoIntersight(cluster)}
|
|
124
124
|
/>
|
|
125
125
|
) : ipxeDownloadUrl ? (
|
|
126
126
|
<DownloadIpxeScript
|
|
@@ -52,10 +52,7 @@ const OcmClusterProgressItems = ({
|
|
|
52
52
|
</GridItem>
|
|
53
53
|
<RenderIf condition={olmOperators.length > 0}>
|
|
54
54
|
<GridItem span={3}>
|
|
55
|
-
<OcmOperatorsProgressItem
|
|
56
|
-
operators={olmOperators}
|
|
57
|
-
openshiftVersion={cluster.openshiftVersion}
|
|
58
|
-
/>
|
|
55
|
+
<OcmOperatorsProgressItem operators={olmOperators} />
|
|
59
56
|
</GridItem>
|
|
60
57
|
</RenderIf>
|
|
61
58
|
</Grid>
|
|
@@ -12,14 +12,12 @@ import { TFunction } from 'i18next';
|
|
|
12
12
|
import './OcmOperatorsProgressItem.css';
|
|
13
13
|
import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
|
|
14
14
|
import ClusterProgressItem from '../../../common/components/clusterDetail/ClusterProgressItem';
|
|
15
|
-
import { operatorLabels, OperatorName } from '../../../common';
|
|
16
|
-
import { useNewFeatureSupportLevel } from '../../../common/components/newFeatureSupportLevels';
|
|
17
15
|
import {
|
|
18
|
-
Cluster,
|
|
19
16
|
MonitoredOperator,
|
|
20
17
|
MonitoredOperatorsList,
|
|
21
18
|
OperatorStatus,
|
|
22
19
|
} from '@openshift-assisted/types/assisted-installer-service';
|
|
20
|
+
import { useOperatorSpecs } from '../../../common/components/operators/operatorSpecs';
|
|
23
21
|
|
|
24
22
|
export function getAggregatedStatus(operators: MonitoredOperatorsList) {
|
|
25
23
|
const operatorStates: (OperatorStatus | 'pending')[] = operators.map(
|
|
@@ -74,7 +72,6 @@ export function getOperatorsIcon(status: OperatorStatus | 'pending') {
|
|
|
74
72
|
|
|
75
73
|
type OperatorListProps = {
|
|
76
74
|
operators: MonitoredOperatorsList;
|
|
77
|
-
openshiftVersion: Cluster['openshiftVersion'];
|
|
78
75
|
};
|
|
79
76
|
|
|
80
77
|
type OperatorsPopoverProps = OperatorListProps & {
|
|
@@ -83,7 +80,7 @@ type OperatorsPopoverProps = OperatorListProps & {
|
|
|
83
80
|
|
|
84
81
|
const OperatorsPopover = ({ operators, children }: OperatorsPopoverProps) => {
|
|
85
82
|
const { t } = useTranslation();
|
|
86
|
-
const
|
|
83
|
+
const opSpecs = useOperatorSpecs();
|
|
87
84
|
|
|
88
85
|
return (
|
|
89
86
|
<Popover
|
|
@@ -95,9 +92,7 @@ const OperatorsPopover = ({ operators, children }: OperatorsPopoverProps) => {
|
|
|
95
92
|
if (operator.status === 'available') {
|
|
96
93
|
status = 'installed';
|
|
97
94
|
}
|
|
98
|
-
const name =
|
|
99
|
-
operatorLabels(t, featureSupportLevel)[operator.name as OperatorName] ||
|
|
100
|
-
operator.name;
|
|
95
|
+
const name = opSpecs[operator.name as string]?.title || operator.name;
|
|
101
96
|
return (
|
|
102
97
|
<ListItem key={operator.name} title={operator.statusInfo}>
|
|
103
98
|
{name} {status}
|
|
@@ -114,14 +109,14 @@ const OperatorsPopover = ({ operators, children }: OperatorsPopoverProps) => {
|
|
|
114
109
|
);
|
|
115
110
|
};
|
|
116
111
|
|
|
117
|
-
const OcmOperatorsProgressItem = ({ operators
|
|
112
|
+
const OcmOperatorsProgressItem = ({ operators }: OperatorListProps) => {
|
|
118
113
|
const { t } = useTranslation();
|
|
119
114
|
const icon = getOperatorsIcon(getAggregatedStatus(operators));
|
|
120
115
|
const label = getOperatorsLabel(operators, t);
|
|
121
116
|
return (
|
|
122
117
|
<ClusterProgressItem icon={icon}>
|
|
123
118
|
<>
|
|
124
|
-
<OperatorsPopover operators={operators}
|
|
119
|
+
<OperatorsPopover operators={operators}>
|
|
125
120
|
<Button variant={ButtonVariant.link} isInline data-testid="operators-progress-item">
|
|
126
121
|
{t('ai:Operators')}
|
|
127
122
|
</Button>
|