@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
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { useSelector } from 'react-redux';
|
|
3
|
-
import { List, ListItem } from '@patternfly/react-core';
|
|
4
|
-
import { useClusterPreflightRequirements } from '../../../hooks';
|
|
5
|
-
import { ErrorState, LoadingState, OPERATOR_NAME_MCE, RenderIf } from '../../../../common';
|
|
6
|
-
import { Cluster } from '@openshift-assisted/types/assisted-installer-service';
|
|
7
|
-
import { selectIsCurrentClusterSNO } from '../../../store/slices/current-cluster/selectors';
|
|
8
|
-
import { getOdfLvmsText } from './utils';
|
|
9
|
-
|
|
10
|
-
const MceRequirements = ({
|
|
11
|
-
clusterId,
|
|
12
|
-
isVersionEqualsOrMajorThan4_15,
|
|
13
|
-
}: {
|
|
14
|
-
clusterId: Cluster['id'];
|
|
15
|
-
isVersionEqualsOrMajorThan4_15: boolean;
|
|
16
|
-
}) => {
|
|
17
|
-
const { preflightRequirements, error, isLoading } = useClusterPreflightRequirements(clusterId);
|
|
18
|
-
const isSingleNode = useSelector(selectIsCurrentClusterSNO);
|
|
19
|
-
|
|
20
|
-
if (isLoading) {
|
|
21
|
-
return <LoadingState content="Loading hardware requirements ..." />;
|
|
22
|
-
}
|
|
23
|
-
if (error) {
|
|
24
|
-
return <ErrorState />;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
const mceRequirements = preflightRequirements?.operators?.find(
|
|
28
|
-
(operatorRequirements) => operatorRequirements.operatorName === OPERATOR_NAME_MCE,
|
|
29
|
-
);
|
|
30
|
-
|
|
31
|
-
const workerRequirements = mceRequirements?.requirements?.worker?.quantitative;
|
|
32
|
-
const masterRequirements = mceRequirements?.requirements?.master?.quantitative;
|
|
33
|
-
const odfLvmsText = getOdfLvmsText(isSingleNode, isVersionEqualsOrMajorThan4_15);
|
|
34
|
-
return (
|
|
35
|
-
<>
|
|
36
|
-
<List>
|
|
37
|
-
<RenderIf condition={!isSingleNode}>
|
|
38
|
-
<ListItem>
|
|
39
|
-
Each worker node requires an additional {workerRequirements?.ramMib || 360} MiB of
|
|
40
|
-
memory {workerRequirements?.diskSizeGb ? ',' : ' and'}{' '}
|
|
41
|
-
{workerRequirements?.cpuCores || 2} CPUs
|
|
42
|
-
{workerRequirements?.diskSizeGb
|
|
43
|
-
? ` and ${workerRequirements?.diskSizeGb} storage space`
|
|
44
|
-
: ''}
|
|
45
|
-
</ListItem>
|
|
46
|
-
</RenderIf>
|
|
47
|
-
<ListItem>
|
|
48
|
-
Each control plane node requires an additional {masterRequirements?.ramMib || 150} MiB of
|
|
49
|
-
memory {masterRequirements?.diskSizeGb ? ',' : ' and'} {masterRequirements?.cpuCores || 4}{' '}
|
|
50
|
-
CPUs
|
|
51
|
-
{masterRequirements?.diskSizeGb
|
|
52
|
-
? ` and ${masterRequirements?.diskSizeGb} storage space`
|
|
53
|
-
: ''}
|
|
54
|
-
</ListItem>
|
|
55
|
-
<ListItem>{odfLvmsText}</ListItem>
|
|
56
|
-
</List>
|
|
57
|
-
</>
|
|
58
|
-
);
|
|
59
|
-
};
|
|
60
|
-
|
|
61
|
-
export default MceRequirements;
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { FormGroup, HelperText, HelperTextItem, Tooltip } from '@patternfly/react-core';
|
|
3
|
-
import { ExternalLinkAltIcon } from '@patternfly/react-icons/dist/js/icons/external-link-alt-icon';
|
|
4
|
-
import {
|
|
5
|
-
getFieldId,
|
|
6
|
-
PopoverIcon,
|
|
7
|
-
MTV_LINK,
|
|
8
|
-
OperatorsValues,
|
|
9
|
-
ClusterOperatorProps,
|
|
10
|
-
} from '../../../../common';
|
|
11
|
-
import { OcmCheckboxField } from '../../ui/OcmFormFields';
|
|
12
|
-
import { useFormikContext } from 'formik';
|
|
13
|
-
import MtvRequirements from './MtvRequirements';
|
|
14
|
-
import { SupportLevel } from '@openshift-assisted/types/./assisted-installer-service';
|
|
15
|
-
import NewFeatureSupportLevelBadge from '../../../../common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge';
|
|
16
|
-
import { useNewFeatureSupportLevel } from '../../../../common/components/newFeatureSupportLevels';
|
|
17
|
-
|
|
18
|
-
const Mtv_FIELD_NAME = 'useMigrationToolkitforVirtualization';
|
|
19
|
-
|
|
20
|
-
const MtvLabel = ({
|
|
21
|
-
disabledReason,
|
|
22
|
-
clusterId,
|
|
23
|
-
supportLevel,
|
|
24
|
-
}: {
|
|
25
|
-
disabledReason?: string;
|
|
26
|
-
clusterId: string;
|
|
27
|
-
supportLevel?: SupportLevel;
|
|
28
|
-
}) => (
|
|
29
|
-
<>
|
|
30
|
-
<Tooltip hidden={!disabledReason} content={disabledReason}>
|
|
31
|
-
<span>Migration Toolkit for Virtualization </span>
|
|
32
|
-
</Tooltip>
|
|
33
|
-
<PopoverIcon
|
|
34
|
-
component={'a'}
|
|
35
|
-
headerContent="Additional requirements"
|
|
36
|
-
bodyContent={<MtvRequirements clusterId={clusterId} />}
|
|
37
|
-
/>
|
|
38
|
-
<NewFeatureSupportLevelBadge featureId="MTV" supportLevel={supportLevel} />
|
|
39
|
-
</>
|
|
40
|
-
);
|
|
41
|
-
|
|
42
|
-
const MtvHelperText = () => {
|
|
43
|
-
return (
|
|
44
|
-
<HelperText>
|
|
45
|
-
<HelperTextItem variant="indeterminate">
|
|
46
|
-
This Toolkit (MTV) enables you to migrate virtual machines from VMware vSphere, Red Hat
|
|
47
|
-
Virtualization, or OpenStack to OpenShift Virtualization running on Red Hat OpenShift.{' '}
|
|
48
|
-
<a href={MTV_LINK} target="_blank" rel="noopener noreferrer">
|
|
49
|
-
{'Learn more'} <ExternalLinkAltIcon />
|
|
50
|
-
</a>
|
|
51
|
-
</HelperTextItem>
|
|
52
|
-
</HelperText>
|
|
53
|
-
);
|
|
54
|
-
};
|
|
55
|
-
|
|
56
|
-
const MtvCheckbox = ({
|
|
57
|
-
clusterId,
|
|
58
|
-
disabledReason,
|
|
59
|
-
supportLevel,
|
|
60
|
-
}: {
|
|
61
|
-
clusterId: ClusterOperatorProps['clusterId'];
|
|
62
|
-
disabledReason?: string;
|
|
63
|
-
supportLevel?: SupportLevel | undefined;
|
|
64
|
-
}) => {
|
|
65
|
-
const { setFieldValue } = useFormikContext<OperatorsValues>();
|
|
66
|
-
const fieldId = getFieldId(Mtv_FIELD_NAME, 'input');
|
|
67
|
-
const featureSupportLevelData = useNewFeatureSupportLevel();
|
|
68
|
-
|
|
69
|
-
const selectCNVOperator = (checked: boolean) => {
|
|
70
|
-
if (featureSupportLevelData.isFeatureSupported('CNV'))
|
|
71
|
-
setFieldValue('useContainerNativeVirtualization', checked);
|
|
72
|
-
if (featureSupportLevelData.isFeatureSupported('LSO')) setFieldValue('useLso', checked);
|
|
73
|
-
};
|
|
74
|
-
|
|
75
|
-
return (
|
|
76
|
-
<FormGroup isInline fieldId={fieldId}>
|
|
77
|
-
<OcmCheckboxField
|
|
78
|
-
name={Mtv_FIELD_NAME}
|
|
79
|
-
label={
|
|
80
|
-
<MtvLabel
|
|
81
|
-
disabledReason={disabledReason}
|
|
82
|
-
clusterId={clusterId}
|
|
83
|
-
supportLevel={supportLevel}
|
|
84
|
-
/>
|
|
85
|
-
}
|
|
86
|
-
isDisabled={!!disabledReason}
|
|
87
|
-
helperText={<MtvHelperText />}
|
|
88
|
-
onChange={selectCNVOperator}
|
|
89
|
-
/>
|
|
90
|
-
</FormGroup>
|
|
91
|
-
);
|
|
92
|
-
};
|
|
93
|
-
|
|
94
|
-
export default MtvCheckbox;
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { useSelector } from 'react-redux';
|
|
3
|
-
import { List, ListItem } from '@patternfly/react-core';
|
|
4
|
-
import { useClusterPreflightRequirements } from '../../../hooks';
|
|
5
|
-
import { ErrorState, LoadingState, OPERATOR_NAME_MTV, RenderIf } from '../../../../common';
|
|
6
|
-
import { Cluster } from '@openshift-assisted/types/assisted-installer-service';
|
|
7
|
-
import { selectIsCurrentClusterSNO } from '../../../store/slices/current-cluster/selectors';
|
|
8
|
-
|
|
9
|
-
const MtvRequirements = ({ clusterId }: { clusterId: Cluster['id'] }) => {
|
|
10
|
-
const { preflightRequirements, error, isLoading } = useClusterPreflightRequirements(clusterId);
|
|
11
|
-
const isSingleNode = useSelector(selectIsCurrentClusterSNO);
|
|
12
|
-
|
|
13
|
-
if (isLoading) {
|
|
14
|
-
return <LoadingState content="Loading hardware requirements ..." />;
|
|
15
|
-
}
|
|
16
|
-
if (error) {
|
|
17
|
-
return <ErrorState />;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
const mtvRequirements = preflightRequirements?.operators?.find(
|
|
21
|
-
(operatorRequirements) => operatorRequirements.operatorName === OPERATOR_NAME_MTV,
|
|
22
|
-
);
|
|
23
|
-
|
|
24
|
-
const workerRequirements = mtvRequirements?.requirements?.worker?.quantitative;
|
|
25
|
-
const masterRequirements = mtvRequirements?.requirements?.master?.quantitative;
|
|
26
|
-
return (
|
|
27
|
-
<>
|
|
28
|
-
<List>
|
|
29
|
-
<RenderIf condition={!isSingleNode}>
|
|
30
|
-
<ListItem>
|
|
31
|
-
Each worker node requires an additional {workerRequirements?.ramMib || 360} MiB of
|
|
32
|
-
memory {workerRequirements?.diskSizeGb ? ',' : ' and'}{' '}
|
|
33
|
-
{workerRequirements?.cpuCores || 2} CPUs
|
|
34
|
-
{workerRequirements?.diskSizeGb
|
|
35
|
-
? ` and ${workerRequirements?.diskSizeGb} storage space`
|
|
36
|
-
: ''}
|
|
37
|
-
</ListItem>
|
|
38
|
-
</RenderIf>
|
|
39
|
-
<ListItem>
|
|
40
|
-
Each control plane node requires an additional {masterRequirements?.ramMib || 150} MiB of
|
|
41
|
-
memory {masterRequirements?.diskSizeGb ? ',' : ' and'} {masterRequirements?.cpuCores || 4}{' '}
|
|
42
|
-
CPUs
|
|
43
|
-
{masterRequirements?.diskSizeGb
|
|
44
|
-
? ` and ${masterRequirements?.diskSizeGb} storage space`
|
|
45
|
-
: ''}
|
|
46
|
-
</ListItem>
|
|
47
|
-
</List>
|
|
48
|
-
</>
|
|
49
|
-
);
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
export default MtvRequirements;
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { FormGroup, HelperText, HelperTextItem, Tooltip } from '@patternfly/react-core';
|
|
3
|
-
import { getFieldId, PopoverIcon, ClusterOperatorProps, getNmstateLink } from '../../../../common';
|
|
4
|
-
import { OcmCheckboxField } from '../../ui/OcmFormFields';
|
|
5
|
-
import NmstateRequirements from './NmstateRequirements';
|
|
6
|
-
import { SupportLevel } from '@openshift-assisted/types/./assisted-installer-service';
|
|
7
|
-
import NewFeatureSupportLevelBadge from '../../../../common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge';
|
|
8
|
-
import ExternalLinkAltIcon from '@patternfly/react-icons/dist/js/icons/external-link-alt-icon';
|
|
9
|
-
|
|
10
|
-
const NMSTATE_FIELD_NAME = 'useNmstate';
|
|
11
|
-
|
|
12
|
-
const NmstateLabel = ({
|
|
13
|
-
disabledReason,
|
|
14
|
-
clusterId,
|
|
15
|
-
supportLevel,
|
|
16
|
-
}: {
|
|
17
|
-
disabledReason?: string;
|
|
18
|
-
clusterId: ClusterOperatorProps['clusterId'];
|
|
19
|
-
supportLevel?: SupportLevel;
|
|
20
|
-
}) => {
|
|
21
|
-
return (
|
|
22
|
-
<>
|
|
23
|
-
<Tooltip hidden={!disabledReason} content={disabledReason}>
|
|
24
|
-
<span>NMState </span>
|
|
25
|
-
</Tooltip>
|
|
26
|
-
<PopoverIcon
|
|
27
|
-
id={NMSTATE_FIELD_NAME}
|
|
28
|
-
component={'a'}
|
|
29
|
-
headerContent="Additional requirements"
|
|
30
|
-
bodyContent={<NmstateRequirements clusterId={clusterId} />}
|
|
31
|
-
/>
|
|
32
|
-
<NewFeatureSupportLevelBadge featureId="NMSTATE" supportLevel={supportLevel} />
|
|
33
|
-
</>
|
|
34
|
-
);
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
const NmstateHelperText = ({ openshiftVersion }: { openshiftVersion?: string }) => {
|
|
38
|
-
return (
|
|
39
|
-
<HelperText>
|
|
40
|
-
<HelperTextItem variant="indeterminate">
|
|
41
|
-
Provides users with functionality to configure various network interface types, DNS, and
|
|
42
|
-
routing on cluster nodes.{' '}
|
|
43
|
-
<a href={getNmstateLink(openshiftVersion)} target="_blank" rel="noopener noreferrer">
|
|
44
|
-
{'Learn more'} <ExternalLinkAltIcon />
|
|
45
|
-
</a>
|
|
46
|
-
</HelperTextItem>
|
|
47
|
-
</HelperText>
|
|
48
|
-
);
|
|
49
|
-
};
|
|
50
|
-
|
|
51
|
-
const NmstateCheckbox = ({
|
|
52
|
-
clusterId,
|
|
53
|
-
disabledReason,
|
|
54
|
-
supportLevel,
|
|
55
|
-
openshiftVersion,
|
|
56
|
-
}: {
|
|
57
|
-
clusterId: ClusterOperatorProps['clusterId'];
|
|
58
|
-
disabledReason?: string;
|
|
59
|
-
supportLevel?: SupportLevel | undefined;
|
|
60
|
-
openshiftVersion?: string;
|
|
61
|
-
}) => {
|
|
62
|
-
const fieldId = getFieldId(NMSTATE_FIELD_NAME, 'input');
|
|
63
|
-
|
|
64
|
-
return (
|
|
65
|
-
<FormGroup isInline fieldId={fieldId}>
|
|
66
|
-
<OcmCheckboxField
|
|
67
|
-
name={NMSTATE_FIELD_NAME}
|
|
68
|
-
label={
|
|
69
|
-
<NmstateLabel
|
|
70
|
-
clusterId={clusterId}
|
|
71
|
-
disabledReason={disabledReason}
|
|
72
|
-
supportLevel={supportLevel}
|
|
73
|
-
/>
|
|
74
|
-
}
|
|
75
|
-
helperText={<NmstateHelperText openshiftVersion={openshiftVersion || '4.17'} />}
|
|
76
|
-
isDisabled={!!disabledReason}
|
|
77
|
-
/>
|
|
78
|
-
</FormGroup>
|
|
79
|
-
);
|
|
80
|
-
};
|
|
81
|
-
|
|
82
|
-
export default NmstateCheckbox;
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { useSelector } from 'react-redux';
|
|
3
|
-
import { List, ListItem } from '@patternfly/react-core';
|
|
4
|
-
import { useClusterPreflightRequirements } from '../../../hooks';
|
|
5
|
-
import { ErrorState, LoadingState, OPERATOR_NAME_NMSTATE, RenderIf } from '../../../../common';
|
|
6
|
-
import { Cluster } from '@openshift-assisted/types/assisted-installer-service';
|
|
7
|
-
import { selectIsCurrentClusterSNO } from '../../../store/slices/current-cluster/selectors';
|
|
8
|
-
|
|
9
|
-
const NmstateRequirements = ({ clusterId }: { clusterId: Cluster['id'] }) => {
|
|
10
|
-
const { preflightRequirements, error, isLoading } = useClusterPreflightRequirements(clusterId);
|
|
11
|
-
const isSingleNode = useSelector(selectIsCurrentClusterSNO);
|
|
12
|
-
|
|
13
|
-
if (isLoading) {
|
|
14
|
-
return <LoadingState content="Loading hardware requirements ..." />;
|
|
15
|
-
}
|
|
16
|
-
if (error) {
|
|
17
|
-
return <ErrorState />;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
const NmstateRequirements = preflightRequirements?.operators?.find(
|
|
21
|
-
(operatorRequirements) => operatorRequirements.operatorName === OPERATOR_NAME_NMSTATE,
|
|
22
|
-
);
|
|
23
|
-
|
|
24
|
-
const workerRequirements = NmstateRequirements?.requirements?.worker?.quantitative;
|
|
25
|
-
const masterRequirements = NmstateRequirements?.requirements?.master?.quantitative;
|
|
26
|
-
|
|
27
|
-
return (
|
|
28
|
-
<>
|
|
29
|
-
<List>
|
|
30
|
-
<RenderIf condition={!isSingleNode}>
|
|
31
|
-
<ListItem>
|
|
32
|
-
Each worker node requires an additional {workerRequirements?.ramMib || 360} MiB of
|
|
33
|
-
memory {workerRequirements?.diskSizeGb ? ',' : ''}{' '}
|
|
34
|
-
{workerRequirements?.cpuCores ? ` and ${workerRequirements?.cpuCores} CPUs` : ''}
|
|
35
|
-
{workerRequirements?.diskSizeGb
|
|
36
|
-
? ` and ${workerRequirements?.diskSizeGb} storage space`
|
|
37
|
-
: ''}
|
|
38
|
-
</ListItem>
|
|
39
|
-
</RenderIf>
|
|
40
|
-
<ListItem>
|
|
41
|
-
Each control plane node requires an additional {masterRequirements?.ramMib || 150} MiB of
|
|
42
|
-
memory {masterRequirements?.diskSizeGb ? ',' : ''}{' '}
|
|
43
|
-
{masterRequirements?.cpuCores ? ` and ${masterRequirements?.cpuCores} CPUs` : ''}
|
|
44
|
-
{masterRequirements?.diskSizeGb
|
|
45
|
-
? ` and ${masterRequirements?.diskSizeGb} storage space`
|
|
46
|
-
: ''}
|
|
47
|
-
</ListItem>
|
|
48
|
-
</List>
|
|
49
|
-
</>
|
|
50
|
-
);
|
|
51
|
-
};
|
|
52
|
-
|
|
53
|
-
export default NmstateRequirements;
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { FormGroup, HelperText, HelperTextItem, Tooltip } from '@patternfly/react-core';
|
|
3
|
-
import { getFieldId, getNodeFeatureDiscoveryLink } from '../../../../common';
|
|
4
|
-
import { OcmCheckboxField } from '../../ui/OcmFormFields';
|
|
5
|
-
import NewFeatureSupportLevelBadge from '../../../../common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge';
|
|
6
|
-
import { SupportLevel } from '@openshift-assisted/types/./assisted-installer-service';
|
|
7
|
-
import ExternalLinkAltIcon from '@patternfly/react-icons/dist/js/icons/external-link-alt-icon';
|
|
8
|
-
|
|
9
|
-
const NODEFEATUREDISCOVERY_FIELD_NAME = 'useNodeFeatureDiscovery';
|
|
10
|
-
|
|
11
|
-
const NodeFeatureDiscoveryLabel = ({
|
|
12
|
-
disabledReason,
|
|
13
|
-
supportLevel,
|
|
14
|
-
}: {
|
|
15
|
-
disabledReason?: string;
|
|
16
|
-
supportLevel?: SupportLevel;
|
|
17
|
-
}) => {
|
|
18
|
-
return (
|
|
19
|
-
<>
|
|
20
|
-
<Tooltip hidden={!disabledReason} content={disabledReason}>
|
|
21
|
-
<span>Node Feature Discovery </span>
|
|
22
|
-
</Tooltip>
|
|
23
|
-
<NewFeatureSupportLevelBadge featureId="NODE_FEATURE_DISCOVERY" supportLevel={supportLevel} />
|
|
24
|
-
</>
|
|
25
|
-
);
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
const NodeFeatureDiscoveryHelperText = ({ openshiftVersion }: { openshiftVersion?: string }) => {
|
|
29
|
-
return (
|
|
30
|
-
<HelperText>
|
|
31
|
-
<HelperTextItem variant="indeterminate">
|
|
32
|
-
Manage the detection of hardware features and configuration by labeling nodes with
|
|
33
|
-
hardware-specific information.{' '}
|
|
34
|
-
<a
|
|
35
|
-
href={getNodeFeatureDiscoveryLink(openshiftVersion)}
|
|
36
|
-
target="_blank"
|
|
37
|
-
rel="noopener noreferrer"
|
|
38
|
-
>
|
|
39
|
-
{'Learn more'} <ExternalLinkAltIcon />
|
|
40
|
-
</a>
|
|
41
|
-
</HelperTextItem>
|
|
42
|
-
</HelperText>
|
|
43
|
-
);
|
|
44
|
-
};
|
|
45
|
-
|
|
46
|
-
const NodeFeatureDiscoveryCheckbox = ({
|
|
47
|
-
disabledReason,
|
|
48
|
-
supportLevel,
|
|
49
|
-
openshiftVersion,
|
|
50
|
-
}: {
|
|
51
|
-
disabledReason?: string;
|
|
52
|
-
supportLevel?: SupportLevel | undefined;
|
|
53
|
-
openshiftVersion?: string;
|
|
54
|
-
}) => {
|
|
55
|
-
const fieldId = getFieldId(NODEFEATUREDISCOVERY_FIELD_NAME, 'input');
|
|
56
|
-
|
|
57
|
-
return (
|
|
58
|
-
<FormGroup isInline fieldId={fieldId}>
|
|
59
|
-
<OcmCheckboxField
|
|
60
|
-
name={NODEFEATUREDISCOVERY_FIELD_NAME}
|
|
61
|
-
label={
|
|
62
|
-
<NodeFeatureDiscoveryLabel disabledReason={disabledReason} supportLevel={supportLevel} />
|
|
63
|
-
}
|
|
64
|
-
helperText={
|
|
65
|
-
<NodeFeatureDiscoveryHelperText openshiftVersion={openshiftVersion || '4.17'} />
|
|
66
|
-
}
|
|
67
|
-
isDisabled={!!disabledReason}
|
|
68
|
-
/>
|
|
69
|
-
</FormGroup>
|
|
70
|
-
);
|
|
71
|
-
};
|
|
72
|
-
|
|
73
|
-
export default NodeFeatureDiscoveryCheckbox;
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { FormGroup, HelperText, HelperTextItem, Tooltip } from '@patternfly/react-core';
|
|
3
|
-
import { getFieldId, NODE_HEALTHCHECK_LINK } from '../../../../common';
|
|
4
|
-
import { ExternalLinkAltIcon } from '@patternfly/react-icons/dist/js/icons/external-link-alt-icon';
|
|
5
|
-
import { OcmCheckboxField } from '../../ui/OcmFormFields';
|
|
6
|
-
import NewFeatureSupportLevelBadge from '../../../../common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge';
|
|
7
|
-
import { SupportLevel } from '@openshift-assisted/types/./assisted-installer-service';
|
|
8
|
-
|
|
9
|
-
const NODE_HEALTHCHECK_FIELD_NAME = 'useNodeHealthcheck';
|
|
10
|
-
const NODE_HEALTHCHECK_FEATURE_ID = 'NODE_HEALTHCHECK';
|
|
11
|
-
|
|
12
|
-
const NodeHealthcheckLabel = ({
|
|
13
|
-
disabledReason,
|
|
14
|
-
supportLevel,
|
|
15
|
-
}: {
|
|
16
|
-
disabledReason?: string;
|
|
17
|
-
supportLevel?: SupportLevel;
|
|
18
|
-
}) => {
|
|
19
|
-
return (
|
|
20
|
-
<>
|
|
21
|
-
<Tooltip hidden={!disabledReason} content={disabledReason}>
|
|
22
|
-
<span>Node Healthcheck </span>
|
|
23
|
-
</Tooltip>
|
|
24
|
-
<NewFeatureSupportLevelBadge
|
|
25
|
-
featureId={NODE_HEALTHCHECK_FEATURE_ID}
|
|
26
|
-
supportLevel={supportLevel}
|
|
27
|
-
/>
|
|
28
|
-
</>
|
|
29
|
-
);
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
const NodeHealthcheckHelperText = () => {
|
|
33
|
-
return (
|
|
34
|
-
<HelperText>
|
|
35
|
-
<HelperTextItem variant="indeterminate">
|
|
36
|
-
Identify Unhealthy Nodes.{' '}
|
|
37
|
-
<a href={NODE_HEALTHCHECK_LINK} target="_blank" rel="noopener noreferrer">
|
|
38
|
-
{'Learn more'} <ExternalLinkAltIcon />
|
|
39
|
-
</a>
|
|
40
|
-
</HelperTextItem>
|
|
41
|
-
</HelperText>
|
|
42
|
-
);
|
|
43
|
-
};
|
|
44
|
-
|
|
45
|
-
const NodeHealthcheckCheckbox = ({
|
|
46
|
-
disabledReason,
|
|
47
|
-
supportLevel,
|
|
48
|
-
}: {
|
|
49
|
-
disabledReason?: string;
|
|
50
|
-
supportLevel?: SupportLevel | undefined;
|
|
51
|
-
}) => {
|
|
52
|
-
const fieldId = getFieldId(NODE_HEALTHCHECK_FIELD_NAME, 'input');
|
|
53
|
-
|
|
54
|
-
return (
|
|
55
|
-
<FormGroup isInline fieldId={fieldId}>
|
|
56
|
-
<OcmCheckboxField
|
|
57
|
-
name={NODE_HEALTHCHECK_FIELD_NAME}
|
|
58
|
-
label={<NodeHealthcheckLabel disabledReason={disabledReason} supportLevel={supportLevel} />}
|
|
59
|
-
helperText={<NodeHealthcheckHelperText />}
|
|
60
|
-
isDisabled={!!disabledReason}
|
|
61
|
-
/>
|
|
62
|
-
</FormGroup>
|
|
63
|
-
);
|
|
64
|
-
};
|
|
65
|
-
|
|
66
|
-
export default NodeHealthcheckCheckbox;
|
package/lib/ocm/components/clusterConfiguration/operators/NodeMaintenanceOperatorCheckbox.tsx
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { FormGroup, HelperText, HelperTextItem, Tooltip } from '@patternfly/react-core';
|
|
3
|
-
import { getFieldId, NODE_HEALTHCHECK_LINK } from '../../../../common';
|
|
4
|
-
import { ExternalLinkAltIcon } from '@patternfly/react-icons/dist/js/icons/external-link-alt-icon';
|
|
5
|
-
import { OcmCheckboxField } from '../../ui/OcmFormFields';
|
|
6
|
-
import NewFeatureSupportLevelBadge from '../../../../common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge';
|
|
7
|
-
import { SupportLevel } from '@openshift-assisted/types/./assisted-installer-service';
|
|
8
|
-
|
|
9
|
-
const NODE_MAINTENANCE_FIELD_NAME = 'useNodeMaintenance';
|
|
10
|
-
const NODE_MAINTENANCE_FEATURE_ID = 'NODE_MAINTENANCE';
|
|
11
|
-
|
|
12
|
-
const NodeMaintenanceLabel = ({
|
|
13
|
-
disabledReason,
|
|
14
|
-
supportLevel,
|
|
15
|
-
}: {
|
|
16
|
-
disabledReason?: string;
|
|
17
|
-
supportLevel?: SupportLevel;
|
|
18
|
-
}) => {
|
|
19
|
-
return (
|
|
20
|
-
<>
|
|
21
|
-
<Tooltip hidden={!disabledReason} content={disabledReason}>
|
|
22
|
-
<span>Node Maintenance </span>
|
|
23
|
-
</Tooltip>
|
|
24
|
-
<NewFeatureSupportLevelBadge
|
|
25
|
-
featureId={NODE_MAINTENANCE_FEATURE_ID}
|
|
26
|
-
supportLevel={supportLevel}
|
|
27
|
-
/>
|
|
28
|
-
</>
|
|
29
|
-
);
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
const NodeMaintenanceHelperText = () => {
|
|
33
|
-
return (
|
|
34
|
-
<HelperText>
|
|
35
|
-
<HelperTextItem variant="indeterminate">
|
|
36
|
-
Place nodes in maintenance mode.{' '}
|
|
37
|
-
<a href={NODE_HEALTHCHECK_LINK} target="_blank" rel="noopener noreferrer">
|
|
38
|
-
{'Learn more'} <ExternalLinkAltIcon />
|
|
39
|
-
</a>
|
|
40
|
-
</HelperTextItem>
|
|
41
|
-
</HelperText>
|
|
42
|
-
);
|
|
43
|
-
};
|
|
44
|
-
|
|
45
|
-
const NodeMaintenanceCheckbox = ({
|
|
46
|
-
disabledReason,
|
|
47
|
-
supportLevel,
|
|
48
|
-
}: {
|
|
49
|
-
disabledReason?: string;
|
|
50
|
-
supportLevel?: SupportLevel | undefined;
|
|
51
|
-
}) => {
|
|
52
|
-
const fieldId = getFieldId(NODE_MAINTENANCE_FIELD_NAME, 'input');
|
|
53
|
-
|
|
54
|
-
return (
|
|
55
|
-
<FormGroup isInline fieldId={fieldId}>
|
|
56
|
-
<OcmCheckboxField
|
|
57
|
-
name={NODE_MAINTENANCE_FIELD_NAME}
|
|
58
|
-
label={<NodeMaintenanceLabel disabledReason={disabledReason} supportLevel={supportLevel} />}
|
|
59
|
-
helperText={<NodeMaintenanceHelperText />}
|
|
60
|
-
isDisabled={!!disabledReason}
|
|
61
|
-
/>
|
|
62
|
-
</FormGroup>
|
|
63
|
-
);
|
|
64
|
-
};
|
|
65
|
-
|
|
66
|
-
export default NodeMaintenanceCheckbox;
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { FormGroup, HelperText, HelperTextItem, Tooltip } from '@patternfly/react-core';
|
|
3
|
-
import { getFieldId, getNvidiaGpuLink, PopoverIcon } from '../../../../common';
|
|
4
|
-
import { OcmCheckboxField } from '../../ui/OcmFormFields';
|
|
5
|
-
import { SupportLevel } from '@openshift-assisted/types/./assisted-installer-service';
|
|
6
|
-
import NewFeatureSupportLevelBadge from '../../../../common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge';
|
|
7
|
-
import ExternalLinkAltIcon from '@patternfly/react-icons/dist/js/icons/external-link-alt-icon';
|
|
8
|
-
|
|
9
|
-
const NVIDIAGPU_FIELD_NAME = 'useNvidiaGpu';
|
|
10
|
-
|
|
11
|
-
const NvidiaGpuLabel = ({
|
|
12
|
-
disabledReason,
|
|
13
|
-
supportLevel,
|
|
14
|
-
}: {
|
|
15
|
-
disabledReason?: string;
|
|
16
|
-
supportLevel?: SupportLevel;
|
|
17
|
-
}) => {
|
|
18
|
-
return (
|
|
19
|
-
<>
|
|
20
|
-
<Tooltip hidden={!disabledReason} content={disabledReason}>
|
|
21
|
-
<span>NVIDIA GPU </span>
|
|
22
|
-
</Tooltip>
|
|
23
|
-
<PopoverIcon
|
|
24
|
-
id={NVIDIAGPU_FIELD_NAME}
|
|
25
|
-
headerContent="Additional requirements"
|
|
26
|
-
component={'a'}
|
|
27
|
-
bodyContent={'Requires at least one supported NVIDIA GPU'}
|
|
28
|
-
/>
|
|
29
|
-
<NewFeatureSupportLevelBadge featureId="NVIDIA_GPU" supportLevel={supportLevel} />
|
|
30
|
-
</>
|
|
31
|
-
);
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
const NvidiaGpuHelperText = ({ openshiftVersion }: { openshiftVersion?: string }) => {
|
|
35
|
-
return (
|
|
36
|
-
<HelperText>
|
|
37
|
-
<HelperTextItem variant="indeterminate">
|
|
38
|
-
Automate the management of NVIDIA software components needed to provision and monitor GPUs.{' '}
|
|
39
|
-
<a href={getNvidiaGpuLink(openshiftVersion)} target="_blank" rel="noopener noreferrer">
|
|
40
|
-
{'Learn more'} <ExternalLinkAltIcon />
|
|
41
|
-
</a>
|
|
42
|
-
</HelperTextItem>
|
|
43
|
-
</HelperText>
|
|
44
|
-
);
|
|
45
|
-
};
|
|
46
|
-
|
|
47
|
-
const NvidiaGpuCheckbox = ({
|
|
48
|
-
disabledReason,
|
|
49
|
-
supportLevel,
|
|
50
|
-
openshiftVersion,
|
|
51
|
-
}: {
|
|
52
|
-
disabledReason?: string;
|
|
53
|
-
supportLevel?: SupportLevel | undefined;
|
|
54
|
-
openshiftVersion?: string;
|
|
55
|
-
}) => {
|
|
56
|
-
const fieldId = getFieldId(NVIDIAGPU_FIELD_NAME, 'input');
|
|
57
|
-
|
|
58
|
-
return (
|
|
59
|
-
<FormGroup isInline fieldId={fieldId}>
|
|
60
|
-
<OcmCheckboxField
|
|
61
|
-
name={NVIDIAGPU_FIELD_NAME}
|
|
62
|
-
label={<NvidiaGpuLabel disabledReason={disabledReason} supportLevel={supportLevel} />}
|
|
63
|
-
helperText={<NvidiaGpuHelperText openshiftVersion={openshiftVersion || '4.17'} />}
|
|
64
|
-
isDisabled={!!disabledReason}
|
|
65
|
-
/>
|
|
66
|
-
</FormGroup>
|
|
67
|
-
);
|
|
68
|
-
};
|
|
69
|
-
|
|
70
|
-
export default NvidiaGpuCheckbox;
|