@openshift-assisted/ui-lib 2.39.1 → 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 -8
- 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 -272
- 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 -78
- 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 -445
- 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 -86
- 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 -45
- 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 -105
- 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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clusters.js","sourceRoot":"","sources":["../../../../lib/common/types/clusters.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"clusters.js","sourceRoot":"","sources":["../../../../lib/common/types/clusters.ts"],"names":[],"mappings":";;;AAmEa,QAAA,6BAA6B,GAA4B;IACpE,SAAS;IACT,SAAS;IACT,UAAU;CACX,CAAC;AACW,QAAA,uBAAuB,GAAmB,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.downloadFile = exports.stringToJSON = exports.validateFileName = exports.getMaxFileSizeMessage = exports.fileSize = exports.validateFileSize = exports.isStringValidJSON = exports.isStringValidYAML = exports.validateFileType = exports.getKeys = exports.getRandomString = exports.getErrorMessage = exports.INCORRECT_TYPE_FILE_MESSAGE = exports.FILE_TYPE_MESSAGE = exports.FILENAME_REGEX = void 0;
|
|
3
|
+
exports.getMajorMinorVersion = exports.downloadFile = exports.stringToJSON = exports.validateFileName = exports.getMaxFileSizeMessage = exports.fileSize = exports.validateFileSize = exports.isStringValidJSON = exports.isStringValidYAML = exports.validateFileType = exports.getKeys = exports.getRandomString = exports.getErrorMessage = exports.INCORRECT_TYPE_FILE_MESSAGE = exports.FILE_TYPE_MESSAGE = exports.FILENAME_REGEX = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const filesize_js_1 = tslib_1.__importDefault(require("filesize.js"));
|
|
6
6
|
const camelCase_js_1 = tslib_1.__importDefault(require("lodash-es/camelCase.js"));
|
|
@@ -100,4 +100,9 @@ const downloadFile = (fileUrl, dataBlob, fileName) => {
|
|
|
100
100
|
document.body.removeChild(link);
|
|
101
101
|
};
|
|
102
102
|
exports.downloadFile = downloadFile;
|
|
103
|
+
const getMajorMinorVersion = (version = '') => {
|
|
104
|
+
const match = /[0-9].[0-9][0-9]?/g.exec(version);
|
|
105
|
+
return (match === null || match === void 0 ? void 0 : match[0]) || '';
|
|
106
|
+
};
|
|
107
|
+
exports.getMajorMinorVersion = getMajorMinorVersion;
|
|
103
108
|
//# sourceMappingURL=utils.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../lib/common/utils.ts"],"names":[],"mappings":";;;;AAAA,sEAAmC;AACnC,kFAA+C;AAC/C,gFAA6C;AAC7C,qCAAkC;AAClC,qDAAoF;AAEvE,QAAA,cAAc,GAAG,iDAAiD,CAAC;AAEnE,QAAA,iBAAiB,GAAG,0DAA0D,CAAC;AAC/E,QAAA,2BAA2B,GACtC,2FAA2F,CAAC;AAEvF,MAA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AC;AAHW,QAAA,oBAAoB,wBAG/B"}
|
|
@@ -71,7 +71,7 @@ const DiscoveryImageModal = () => {
|
|
|
71
71
|
const isSNOCluster = (0, common_1.isSNO)(cluster);
|
|
72
72
|
return (react_1.default.createElement(react_core_1.Modal, { "aria-label": "Add hosts dialog", title: `Add ${(0, humanize_plus_1.pluralize)(+isSNOCluster, 'host')}`, isOpen: isOpen, onClose: close, variant: react_core_1.ModalVariant.small, hasNoBodyWrapper: true, id: "generate-discovery-iso-modal", tabIndex: 0 },
|
|
73
73
|
(isoDownloadError || ipxeDownloadError) && react_1.default.createElement(common_1.ErrorState, null),
|
|
74
|
-
isoDownloadUrl ? (react_1.default.createElement(common_1.DownloadIso, { fileName: `discovery_image_${cluster.name || ''}.iso`, downloadUrl: isoDownloadUrl, isSNO: isSNOCluster, onReset: onReset, onClose: close, updateTagsForCiscoIntersight: () => updateTagsForCiscoIntersight(cluster) })) : ipxeDownloadUrl ? (react_1.default.createElement(DownloadIpxeScript_1.default, { fileName: `discovery_ipxe_script_${cluster.name || ''}.txt`, downloadUrl: ipxeDownloadUrl, isSNO: isSNOCluster, onReset: onResetIpxe, onClose: close })) : (react_1.default.createElement(DiscoveryImageForm_1.default, { cluster: cluster, onCancel: close, onSuccess: onImageReady, cpuArchitecture: common_1.CpuArchitecture.USE_DAY1_ARCHITECTURE, onSuccessIpxe: onImageIpxeReady, isIpxeSelected: isIpxeSelected }))));
|
|
74
|
+
isoDownloadUrl ? (react_1.default.createElement(common_1.DownloadIso, { fileName: `discovery_image_${cluster.name || ''}.iso`, downloadUrl: isoDownloadUrl, isSNO: isSNOCluster, onReset: onReset, onClose: close, updateTagsForCiscoIntersight: () => void updateTagsForCiscoIntersight(cluster) })) : ipxeDownloadUrl ? (react_1.default.createElement(DownloadIpxeScript_1.default, { fileName: `discovery_ipxe_script_${cluster.name || ''}.txt`, downloadUrl: ipxeDownloadUrl, isSNO: isSNOCluster, onReset: onResetIpxe, onClose: close })) : (react_1.default.createElement(DiscoveryImageForm_1.default, { cluster: cluster, onCancel: close, onSuccess: onImageReady, cpuArchitecture: common_1.CpuArchitecture.USE_DAY1_ARCHITECTURE, onSuccessIpxe: onImageIpxeReady, isIpxeSelected: isIpxeSelected }))));
|
|
75
75
|
};
|
|
76
76
|
exports.DiscoveryImageModal = DiscoveryImageModal;
|
|
77
77
|
//# sourceMappingURL=DiscoveryImageModal.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DiscoveryImageModal.js","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterConfiguration/DiscoveryImageModal.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,uDAAoF;AACpF,iDAA0C;AAC1C,4CAOyB;AACzB,sFAAsD;AACtD,sEAAsE;AACtE,kGAAkE;AAClE,0GAA0E;AAC1E,oIAAoG;AACpG,qCAAmC;AAEnC,6CAAiD;AACjD,6CAA0C;AAC1C,oEAAyE;AAQlE,MAAM,yBAAyB,GAA6C,CAAC,EAClF,eAAe,GAAG,mBAAM,EACxB,OAAO,EACP,QAAQ,GACT,EAAE,EAAE;IACH,MAAM,EAAE,oBAAoB,EAAE,GAAG,IAAA,4CAAsB,GAAE,CAAC;IAC1D,MAAM,EAAE,IAAI,EAAE,GAAG,oBAAoB,CAAC;IACtC,MAAM,YAAY,GAAG,IAAA,cAAK,EAAC,OAAO,CAAC,CAAC;IAEpC,OAAO,CACL,8BAAC,eAAe,IACd,OAAO,EAAE,0BAAa,CAAC,SAAS,EAChC,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,CAAC,EAChC,EAAE,EAAE,GAAG,QAAQ,gCAAgC;;QAE1C,IAAA,yBAAS,EAAC,CAAC,YAAY,EAAE,MAAM,CAAC,CACrB,CACnB,CAAC;AACJ,CAAC,CAAC;AAlBW,QAAA,yBAAyB,6BAkBpC;AAEK,MAAM,mBAAmB,GAAG,GAAG,EAAE;IACtC,MAAM,CAAC,cAAc,EAAE,i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kBAAkB,EAC7B,KAAK,EAAE,OAAO,IAAA,yBAAS,EAAC,CAAC,YAAY,EAAE,MAAM,CAAC,EAAE,EAChD,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,KAAK,EACd,OAAO,EAAE,yBAAY,CAAC,KAAK,EAC3B,gBAAgB,QAChB,EAAE,EAAC,8BAA8B,EACjC,QAAQ,EAAE,CAAC;QAEV,CAAC,gBAAgB,IAAI,iBAAiB,CAAC,IAAI,8BAAC,mBAAU,OAAG;QACzD,cAAc,CAAC,CAAC,CAAC,CAChB,8BAAC,oBAAW,IACV,QAAQ,EAAE,mBAAmB,OAAO,CAAC,IAAI,IAAI,EAAE,MAAM,EACrD,WAAW,EAAE,cAAc,EAC3B,KAAK,EAAE,YAAY,EACnB,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,KAAK,EACd,4BAA4B,EAAE,GAAG,EAAE,CAAC,4BAA4B,CAAC,OAAO,CAAC,
|
|
1
|
+
{"version":3,"file":"DiscoveryImageModal.js","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterConfiguration/DiscoveryImageModal.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,uDAAoF;AACpF,iDAA0C;AAC1C,4CAOyB;AACzB,sFAAsD;AACtD,sEAAsE;AACtE,kGAAkE;AAClE,0GAA0E;AAC1E,oIAAoG;AACpG,qCAAmC;AAEnC,6CAAiD;AACjD,6CAA0C;AAC1C,oEAAyE;AAQlE,MAAM,yBAAyB,GAA6C,CAAC,EAClF,eAAe,GAAG,mBAAM,EACxB,OAAO,EACP,QAAQ,GACT,EAAE,EAAE;IACH,MAAM,EAAE,oBAAoB,EAAE,GAAG,IAAA,4CAAsB,GAAE,CAAC;IAC1D,MAAM,EAAE,IAAI,EAAE,GAAG,oBAAoB,CAAC;IACtC,MAAM,YAAY,GAAG,IAAA,cAAK,EAAC,OAAO,CAAC,CAAC;IAEpC,OAAO,CACL,8BAAC,eAAe,IACd,OAAO,EAAE,0BAAa,CAAC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AAK,EACf,SAAS,EAAE,YAAY,EACvB,eAAe,EAAE,wBAAe,CAAC,qBAAqB,EACtD,aAAa,EAAE,gBAAgB,EAC/B,cAAc,EAAE,cAAc,GAC9B,CACH,CACK,CACT,CAAC;AACJ,CAAC,CAAC;AAhGW,QAAA,mBAAmB,uBAgG9B"}
|
|
@@ -24,7 +24,7 @@ const OcmClusterProgressItems = ({ cluster, minimizedView = false, onFetchEvents
|
|
|
24
24
|
react_1.default.createElement(FinalizingProgress_1.FinalizingProgress, { cluster: cluster, onFetchEvents: onFetchEvents, fallbackEventsURL: fallbackEventsURL })),
|
|
25
25
|
react_1.default.createElement(common_1.RenderIf, { condition: olmOperators.length > 0 },
|
|
26
26
|
react_1.default.createElement(react_core_1.GridItem, { span: 3 },
|
|
27
|
-
react_1.default.createElement(OcmOperatorProgressItem_1.default, { operators: olmOperators
|
|
27
|
+
react_1.default.createElement(OcmOperatorProgressItem_1.default, { operators: olmOperators })))))));
|
|
28
28
|
};
|
|
29
29
|
exports.default = OcmClusterProgressItems;
|
|
30
30
|
//# sourceMappingURL=OcmClusterProgressItems.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OcmClusterProgressItems.js","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterConfiguration/OcmClusterProgressItems.tsx"],"names":[],"mappings":";;;AAAA,uDAAwD;AACxD,0DAA0B;AAC1B,4CAKyB;AACzB,oGAAiG;AACjG,gGAA6F;AAC7F,gGAAiE;AAWjE,MAAM,uBAAuB,GAAG,CAAC,EAC/B,OAAO,EACP,aAAa,GAAG,KAAK,EACrB,aAAa,EACb,iBAAiB,GACY,EAAE,EAAE;IACjC,MAAM,YAAY,GAAG,IAAA,wBAAe,EAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IACpD,MAAM,YAAY,GAAG,IAAA,2BAAkB,EAAC,OAAO,CAAC,CAAC;IAEjD,MAAM,WAAW,GAAG,YAAY,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,IAAI,QAAQ,KAAK,IAAI,CAAC,IAAI,CAAC,CAAC;IACvF,MAAM,WAAW,GAAG,YAAY,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,IAAI,QAAQ,KAAK,IAAI,CAAC,IAAI,CAAC,CAAC;IAEvF,OAAO,CACL;QACE,8BAAC,iBAAQ,IAAC,SAAS,EAAE,CAAC,aAAa;YACjC,8BAAC,iBAAI,IAAC,SAAS;gBACb,8BAAC,qBAAQ,IAAC,IAAI,EAAE,CAAC;oBACf,8BAAC,mCAAgB,IAAC,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAC,QAAQ,GAAG,CACjD;gBACX,8BAAC,iBAAQ,IAAC,SAAS,EAAE,WAAW,CAAC,MAAM,GAAG,CAAC;oBACzC,8BAAC,qBAAQ,IAAC,IAAI,EAAE,CAAC;wBACf,8BAAC,mCAAgB,IAAC,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAC,QAAQ,GAAG,CACjD,CACF;gBACX,8BAAC,qBAAQ,IAAC,IAAI,EAAE,CAAC;oBACf,8BAAC,uCAAkB,IACjB,OAAO,EAAE,OAAO,EAChB,aAAa,EAAE,aAAa,EAC5B,iBAAiB,EAAE,iBAAiB,GACpC,CACO;gBACX,8BAAC,iBAAQ,IAAC,SAAS,EAAE,YAAY,CAAC,MAAM,GAAG,CAAC;oBAC1C,8BAAC,qBAAQ,IAAC,IAAI,EAAE,CAAC;wBACf,8BAAC,iCAAwB,
|
|
1
|
+
{"version":3,"file":"OcmClusterProgressItems.js","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterConfiguration/OcmClusterProgressItems.tsx"],"names":[],"mappings":";;;AAAA,uDAAwD;AACxD,0DAA0B;AAC1B,4CAKyB;AACzB,oGAAiG;AACjG,gGAA6F;AAC7F,gGAAiE;AAWjE,MAAM,uBAAuB,GAAG,CAAC,EAC/B,OAAO,EACP,aAAa,GAAG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Y,GAAI,CAC5C,CACF,CACN,CACE,CACV,CACJ,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,uBAAuB,CAAC"}
|
|
@@ -14,8 +14,7 @@ const humanize_plus_1 = require("humanize-plus");
|
|
|
14
14
|
require("./OcmOperatorsProgressItem.css");
|
|
15
15
|
const use_translation_wrapper_1 = require("../../../common/hooks/use-translation-wrapper");
|
|
16
16
|
const ClusterProgressItem_1 = tslib_1.__importDefault(require("../../../common/components/clusterDetail/ClusterProgressItem"));
|
|
17
|
-
const
|
|
18
|
-
const newFeatureSupportLevels_1 = require("../../../common/components/newFeatureSupportLevels");
|
|
17
|
+
const operatorSpecs_1 = require("../../../common/components/operators/operatorSpecs");
|
|
19
18
|
function getAggregatedStatus(operators) {
|
|
20
19
|
const operatorStates = operators.map((operator) => operator.status || 'pending');
|
|
21
20
|
if (operatorStates.includes('failed'))
|
|
@@ -68,28 +67,27 @@ function getOperatorsIcon(status) {
|
|
|
68
67
|
exports.getOperatorsIcon = getOperatorsIcon;
|
|
69
68
|
const OperatorsPopover = ({ operators, children }) => {
|
|
70
69
|
const { t } = (0, use_translation_wrapper_1.useTranslation)();
|
|
71
|
-
const
|
|
70
|
+
const opSpecs = (0, operatorSpecs_1.useOperatorSpecs)();
|
|
72
71
|
return (react_1.default.createElement(react_core_1.Popover, { headerContent: react_1.default.createElement("div", null, t('ai:Operators')), bodyContent: react_1.default.createElement(react_core_1.List, { className: "operators-progress-item__operators-list" }, operators.map((operator) => {
|
|
73
|
-
var _a;
|
|
72
|
+
var _a, _b;
|
|
74
73
|
let status = (_a = operator.status) !== null && _a !== void 0 ? _a : 'pending';
|
|
75
74
|
if (operator.status === 'available') {
|
|
76
75
|
status = 'installed';
|
|
77
76
|
}
|
|
78
|
-
const name = (
|
|
79
|
-
operator.name;
|
|
77
|
+
const name = ((_b = opSpecs[operator.name]) === null || _b === void 0 ? void 0 : _b.title) || operator.name;
|
|
80
78
|
return (react_1.default.createElement(react_core_1.ListItem, { key: operator.name, title: operator.statusInfo },
|
|
81
79
|
name,
|
|
82
80
|
" ",
|
|
83
81
|
status));
|
|
84
82
|
})), minWidth: "30rem", maxWidth: "50rem" }, children));
|
|
85
83
|
};
|
|
86
|
-
const OcmOperatorsProgressItem = ({ operators
|
|
84
|
+
const OcmOperatorsProgressItem = ({ operators }) => {
|
|
87
85
|
const { t } = (0, use_translation_wrapper_1.useTranslation)();
|
|
88
86
|
const icon = getOperatorsIcon(getAggregatedStatus(operators));
|
|
89
87
|
const label = getOperatorsLabel(operators, t);
|
|
90
88
|
return (react_1.default.createElement(ClusterProgressItem_1.default, { icon: icon },
|
|
91
89
|
react_1.default.createElement(react_1.default.Fragment, null,
|
|
92
|
-
react_1.default.createElement(OperatorsPopover, { operators: operators
|
|
90
|
+
react_1.default.createElement(OperatorsPopover, { operators: operators },
|
|
93
91
|
react_1.default.createElement(react_core_1.Button, { variant: react_core_1.ButtonVariant.link, isInline: true, "data-testid": "operators-progress-item" }, t('ai:Operators'))),
|
|
94
92
|
react_1.default.createElement("small", null, label))));
|
|
95
93
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OcmOperatorProgressItem.js","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterConfiguration/OcmOperatorProgressItem.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,uDAAwF;AACxF,+FAA0F;AAC1F,2GAAsG;AACtG,6FAAwF;AACxF,qFAAiF;AACjF,sGAAkH;AAClH,wGAAgH;AAChH,iDAA0C;AAG1C,0CAAwC;AACxC,2FAA+E;AAC/E,+HAA+F;
|
|
1
|
+
{"version":3,"file":"OcmOperatorProgressItem.js","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterConfiguration/OcmOperatorProgressItem.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,uDAAwF;AACxF,+FAA0F;AAC1F,2GAAsG;AACtG,6FAAwF;AACxF,qFAAiF;AACjF,sGAAkH;AAClH,wGAAgH;AA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D,MAAM,IAAI,GAAG,CAAA,MAAA,OAAO,CAAC,QAAQ,CAAC,IAAc,CAAC,0CAAE,KAAK,KAAI,QAAQ,CAAC,IAAI,CAAC;YACtE,OAAO,CACL,8BAAC,qBAAQ,IAAC,GAAG,EAAE,QAAQ,CAAC,IAAI,EAAE,KAAK,EAAE,QAAQ,CAAC,UAAU;gBACrD,IAAI;;gBAAG,MAAM,CACL,CACZ,CAAC;QACJ,CAAC,CAAC,CACG,EAET,QAAQ,EAAC,OAAO,EAChB,QAAQ,EAAC,OAAO,IAEf,QAAQ,CACD,CACX,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,wBAAwB,GAAG,CAAC,EAAE,SAAS,EAAqB,EAAE,EAAE;IACpE,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,wCAAc,GAAE,CAAC;IAC/B,MAAM,IAAI,GAAG,gBAAgB,CAAC,mBAAmB,CAAC,SAAS,CAAC,CAAC,CAAC;IAC9D,MAAM,KAAK,GAAG,iBAAiB,CAAC,SAAS,EAAE,CAAC,CAAC,CAAC;IAC9C,OAAO,CACL,8BAAC,6BAAmB,IAAC,IAAI,EAAE,IAAI;QAC7B;YACE,8BAAC,gBAAgB,IAAC,SAAS,EAAE,SAAS;gBACpC,8BAAC,mBAAM,IAAC,OAAO,EAAE,0BAAa,CAAC,IAAI,EAAE,QAAQ,uBAAa,yBAAyB,IAChF,CAAC,CAAC,cAAc,CAAC,CACX,CACQ;YACnB,6CAAQ,KAAK,CAAS,CACrB,CACiB,CACvB,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const React = tslib_1.__importStar(require("react"));
|
|
5
|
+
const react_core_1 = require("@patternfly/react-core");
|
|
6
|
+
const formik_1 = require("formik");
|
|
7
|
+
const react_redux_1 = require("react-redux");
|
|
8
|
+
const selectors_1 = require("../../../store/slices/current-cluster/selectors");
|
|
9
|
+
const NewFeatureSupportLevelBadge_1 = tslib_1.__importDefault(require("../../../../common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge"));
|
|
10
|
+
const common_1 = require("../../../../common");
|
|
11
|
+
const newFeatureSupportLevels_1 = require("../../../../common/components/newFeatureSupportLevels");
|
|
12
|
+
const utils_1 = require("./utils");
|
|
13
|
+
const operatorSpecs_1 = require("../../../../common/components/operators/operatorSpecs");
|
|
14
|
+
const OperatorRequirements = ({ operatorId, preflightRequirements, Requirements, cluster, }) => {
|
|
15
|
+
var _a, _b, _c, _d, _e;
|
|
16
|
+
const isSingleNode = (0, react_redux_1.useSelector)(selectors_1.selectIsCurrentClusterSNO);
|
|
17
|
+
const operator = (_a = preflightRequirements === null || preflightRequirements === void 0 ? void 0 : preflightRequirements.operators) === null || _a === void 0 ? void 0 : _a.find((operatorRequirements) => operatorRequirements.operatorName === operatorId);
|
|
18
|
+
const workerRequirements = (_c = (_b = operator === null || operator === void 0 ? void 0 : operator.requirements) === null || _b === void 0 ? void 0 : _b.worker) === null || _c === void 0 ? void 0 : _c.quantitative;
|
|
19
|
+
const masterRequirements = (_e = (_d = operator === null || operator === void 0 ? void 0 : operator.requirements) === null || _d === void 0 ? void 0 : _d.master) === null || _e === void 0 ? void 0 : _e.quantitative;
|
|
20
|
+
const hasWorkerRequirements = !!Object.keys(workerRequirements || {}).length;
|
|
21
|
+
const hasMasterRequirements = !!Object.keys(masterRequirements || {}).length;
|
|
22
|
+
if (!hasWorkerRequirements && !hasMasterRequirements && !Requirements) {
|
|
23
|
+
return (React.createElement(common_1.PopoverIcon, { component: 'a', id: operatorId, bodyContent: "No additional requirements needed" }));
|
|
24
|
+
}
|
|
25
|
+
return (React.createElement(common_1.PopoverIcon, { component: 'a', headerContent: "Additional requirements", id: operatorId, bodyContent: React.createElement(react_core_1.Stack, { hasGutter: true },
|
|
26
|
+
Requirements && (React.createElement(react_core_1.StackItem, null,
|
|
27
|
+
React.createElement(Requirements, { cluster: cluster }))),
|
|
28
|
+
React.createElement(react_core_1.StackItem, null,
|
|
29
|
+
React.createElement(react_core_1.List, null,
|
|
30
|
+
!isSingleNode && hasWorkerRequirements && (React.createElement(react_core_1.ListItem, null,
|
|
31
|
+
"Each worker node requires an additional ",
|
|
32
|
+
(workerRequirements === null || workerRequirements === void 0 ? void 0 : workerRequirements.ramMib) || 360,
|
|
33
|
+
" MiB of memory ",
|
|
34
|
+
(workerRequirements === null || workerRequirements === void 0 ? void 0 : workerRequirements.diskSizeGb) ? ',' : ' and',
|
|
35
|
+
' ',
|
|
36
|
+
(workerRequirements === null || workerRequirements === void 0 ? void 0 : workerRequirements.cpuCores) || 2,
|
|
37
|
+
" CPUs",
|
|
38
|
+
(workerRequirements === null || workerRequirements === void 0 ? void 0 : workerRequirements.diskSizeGb)
|
|
39
|
+
? ` and ${workerRequirements === null || workerRequirements === void 0 ? void 0 : workerRequirements.diskSizeGb} storage space`
|
|
40
|
+
: '')),
|
|
41
|
+
hasMasterRequirements && (React.createElement(react_core_1.ListItem, null,
|
|
42
|
+
"Each control plane node requires an additional ",
|
|
43
|
+
(masterRequirements === null || masterRequirements === void 0 ? void 0 : masterRequirements.ramMib) || 150,
|
|
44
|
+
' ',
|
|
45
|
+
"MiB of memory ",
|
|
46
|
+
(masterRequirements === null || masterRequirements === void 0 ? void 0 : masterRequirements.diskSizeGb) ? ',' : ' and',
|
|
47
|
+
' ',
|
|
48
|
+
(masterRequirements === null || masterRequirements === void 0 ? void 0 : masterRequirements.cpuCores) || 4,
|
|
49
|
+
" CPUs",
|
|
50
|
+
(masterRequirements === null || masterRequirements === void 0 ? void 0 : masterRequirements.diskSizeGb)
|
|
51
|
+
? ` and ${masterRequirements === null || masterRequirements === void 0 ? void 0 : masterRequirements.diskSizeGb} storage space`
|
|
52
|
+
: ''))))) }));
|
|
53
|
+
};
|
|
54
|
+
const OperatorCheckbox = ({ bundles, cluster, operatorId, title, featureId, notStandalone, Description, Requirements, openshiftVersion, preflightRequirements, }) => {
|
|
55
|
+
var _a, _b;
|
|
56
|
+
const { getFeatureSupportLevel, getFeatureDisabledReason } = (0, newFeatureSupportLevels_1.useNewFeatureSupportLevel)();
|
|
57
|
+
const opSpecs = (0, operatorSpecs_1.useOperatorSpecs)();
|
|
58
|
+
const { isViewerMode } = (0, react_redux_1.useSelector)(selectors_1.selectCurrentClusterPermissionsState);
|
|
59
|
+
const { values, setFieldValue } = (0, formik_1.useFormikContext)();
|
|
60
|
+
const fieldId = (0, common_1.getFieldId)(operatorId, 'input');
|
|
61
|
+
const supportLevel = getFeatureSupportLevel(featureId);
|
|
62
|
+
const isInBundle = values.selectedBundles.some((sb) => { var _a, _b; return !!((_b = (_a = bundles.find((b) => b.id === sb)) === null || _a === void 0 ? void 0 : _a.operators) === null || _b === void 0 ? void 0 : _b.includes(operatorId)); });
|
|
63
|
+
const isChecked = values.selectedOperators.includes(operatorId) || isInBundle;
|
|
64
|
+
const parentOperator = (_a = preflightRequirements === null || preflightRequirements === void 0 ? void 0 : preflightRequirements.operators) === null || _a === void 0 ? void 0 : _a.find((op) => { var _a; return (_a = op.dependencies) === null || _a === void 0 ? void 0 : _a.includes(operatorId); });
|
|
65
|
+
let parentOperatorName = '';
|
|
66
|
+
if ((parentOperator === null || parentOperator === void 0 ? void 0 : parentOperator.operatorName) &&
|
|
67
|
+
values.selectedOperators.includes(parentOperator.operatorName)) {
|
|
68
|
+
parentOperatorName = ((_b = opSpecs[parentOperator.operatorName]) === null || _b === void 0 ? void 0 : _b.title) || parentOperator.operatorName;
|
|
69
|
+
}
|
|
70
|
+
const disabledReason = isInBundle
|
|
71
|
+
? 'This operator is part of a bundle and cannot be deselected.'
|
|
72
|
+
: notStandalone
|
|
73
|
+
? 'This operator cannot be installed as a standalone'
|
|
74
|
+
: parentOperatorName
|
|
75
|
+
? `This operator is a dependency of ${parentOperatorName}`
|
|
76
|
+
: getFeatureDisabledReason(featureId);
|
|
77
|
+
return (React.createElement(react_core_1.FormGroup, { fieldId: fieldId, id: `form-control__${fieldId}` },
|
|
78
|
+
React.createElement(react_core_1.Checkbox, { id: fieldId, label: React.createElement(React.Fragment, null,
|
|
79
|
+
React.createElement(react_core_1.Tooltip, { hidden: !disabledReason, content: disabledReason },
|
|
80
|
+
React.createElement("span", null,
|
|
81
|
+
title,
|
|
82
|
+
" ")),
|
|
83
|
+
React.createElement(OperatorRequirements, { operatorId: operatorId, preflightRequirements: preflightRequirements, Requirements: Requirements, cluster: cluster }),
|
|
84
|
+
React.createElement(NewFeatureSupportLevelBadge_1.default, { featureId: featureId, supportLevel: supportLevel })), "aria-describedby": `${fieldId}-helper`, isChecked: isChecked, onChange: (_, checked) => {
|
|
85
|
+
setFieldValue('selectedOperators', (0, utils_1.getNewOperators)(values.selectedOperators, operatorId, preflightRequirements, checked, opSpecs));
|
|
86
|
+
}, isDisabled: isViewerMode || !!disabledReason, description: !!Description && (React.createElement(react_core_1.HelperText, null,
|
|
87
|
+
React.createElement(react_core_1.HelperTextItem, { variant: "indeterminate" },
|
|
88
|
+
React.createElement(Description, { openshiftVersion: openshiftVersion })))) })));
|
|
89
|
+
};
|
|
90
|
+
exports.default = OperatorCheckbox;
|
|
91
|
+
//# sourceMappingURL=OperatorCheckbox.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OperatorCheckbox.js","sourceRoot":"","sources":["../../../../../../lib/ocm/components/clusterConfiguration/operators/OperatorCheckbox.tsx"],"names":[],"mappings":";;;AAAA,qDAA+B;AAC/B,uDAUgC;AAChC,mCAA0C;AAC1C,6CAA0C;AAM1C,+EAGyD;AACzD,4JAA4H;AAC5H,+CAA8E;AAC9E,mGAAkG;AAClG,mCAA0C;AAC1C,yFAG+D;AAE/D,MAAM,oBAAoB,GAAG,CAAC,EAC5B,UAAU,EACV,qBAAqB,EACrB,YAAY,EACZ,OAAO,GAQR,EAAE,EAAE;;IACH,MAAM,YAAY,G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pC,CACN,CACd,GAEH,CACQ,CACb,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.bundleSpecs = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const React = tslib_1.__importStar(require("react"));
|
|
6
|
+
const react_core_1 = require("@patternfly/react-core");
|
|
7
|
+
const common_1 = require("../../../../common");
|
|
8
|
+
exports.bundleSpecs = {
|
|
9
|
+
virtualization: {
|
|
10
|
+
Description: () => (React.createElement(react_core_1.List, null,
|
|
11
|
+
React.createElement(react_core_1.ListItem, null, "Enabled CPU virtualization support in BIOS (Intel-VT / AMD-V) on all nodes."),
|
|
12
|
+
React.createElement(react_core_1.ListItem, null, "Each control plane node requires an additional 1024 MiB of memory and 3 CPUs."),
|
|
13
|
+
React.createElement(react_core_1.ListItem, null, "Each worker node requires an additional 1024 MiB of memory and 5 CPUs."),
|
|
14
|
+
React.createElement(react_core_1.ListItem, null, "Additional resources may be required to support the selected storage operator."))),
|
|
15
|
+
},
|
|
16
|
+
'openshift-ai-nvidia': {
|
|
17
|
+
featureId: 'OPENSHIFT_AI',
|
|
18
|
+
noSNO: true,
|
|
19
|
+
incompatibleBundles: ['openshift-ai-amd'],
|
|
20
|
+
Description: () => (React.createElement(react_core_1.List, null,
|
|
21
|
+
React.createElement(react_core_1.ListItem, null, "At least two worker nodes."),
|
|
22
|
+
React.createElement(react_core_1.ListItem, null, "Each worker node requires 32 additional GiB of memory and 8 additional CPUs."),
|
|
23
|
+
React.createElement(react_core_1.ListItem, null, "At least one supported NVIDIA GPU."),
|
|
24
|
+
React.createElement(react_core_1.ListItem, null, "Nodes that have NVIDIA GPUs installed need to have secure boot disabled."))),
|
|
25
|
+
docsLink: common_1.OPENSHIFT_AI_REQUIREMENTS_LINK,
|
|
26
|
+
},
|
|
27
|
+
'openshift-ai-amd': {
|
|
28
|
+
featureId: 'OPENSHIFT_AI',
|
|
29
|
+
noSNO: true,
|
|
30
|
+
incompatibleBundles: ['openshift-ai-nvidia'],
|
|
31
|
+
Description: () => (React.createElement(react_core_1.List, null,
|
|
32
|
+
React.createElement(react_core_1.ListItem, null, "At least two worker nodes."),
|
|
33
|
+
React.createElement(react_core_1.ListItem, null, "Each worker node requires 32 additional GiB of memory and 8 additional CPUs."),
|
|
34
|
+
React.createElement(react_core_1.ListItem, null, "At least one supported AMD GPU."),
|
|
35
|
+
React.createElement(react_core_1.ListItem, null, "Nodes that have AMD GPUs installed need to have secure boot disabled."))),
|
|
36
|
+
docsLink: common_1.OPENSHIFT_AI_REQUIREMENTS_LINK,
|
|
37
|
+
},
|
|
38
|
+
};
|
|
39
|
+
//# sourceMappingURL=bundleSpecs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundleSpecs.js","sourceRoot":"","sources":["../../../../../../lib/ocm/components/clusterConfiguration/operators/bundleSpecs.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,uDAAwD;AACxD,+CAA+E;AAUlE,QAAA,WAAW,GAAkC;IACxD,cAAc,EAAE;QACd,WAAW,EAAE,GAAG,EAAE,CAAC,CACjB,oBAAC,iBAAI;YACH,oBAAC,qBAAQ,sFAEE;YACX,oBAAC,qBAAQ,wFAEE;YACX,oBAAC,qBAAQ,iFAAkF;YAC3F,oBAAC,qBAAQ,yFAEE,CACN,CACR;KACF;IACD,qBAAqB,EAAE;QACrB,SAAS,EAAE,cAAc;QACzB,KAAK,EAAE,IAAI;QACX,mBAAmB,EAAE,CAAC,kBAAkB,CAAC;QACzC,WAAW,EAAE,GAAG,EAAE,CAAC,CACjB,oBAAC,iBAAI;YACH,oBAAC,qBAAQ,qCAAsC;YAC/C,oBAAC,qBAAQ,uFAEE;YACX,oBAAC,qBAAQ,6CAA8C;YACvD,oBAAC,qBAAQ,mFAEE,CACN,CACR;QACD,QAAQ,EAAE,uCAA8B;KACzC;IACD,kBAAkB,EAAE;QAClB,SAAS,EAAE,cAAc;QACzB,KAAK,EAAE,IAAI;QACX,mBAAmB,EAAE,CAAC,qBAAqB,CAAC;QAC5C,WAAW,EAAE,GAAG,EAAE,CAAC,CACjB,oBAAC,iBAAI;YACH,oBAAC,qBAAQ,qCAAsC;YAC/C,oBAAC,qBAAQ,uFAEE;YACX,oBAAC,qBAAQ,0CAA2C;YACpD,oBAAC,qBAAQ,gFAAiF,CACrF,CACR;QACD,QAAQ,EAAE,uCAA8B;KACzC;CACF,CAAC"}
|
|
@@ -1,27 +1,62 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
exports.getNewBundleOperators = exports.getNewOperators = void 0;
|
|
4
|
+
const getOperatorDependencies = (operatorId, preflightRequirements, dependencies = new Set()) => {
|
|
5
|
+
var _a, _b;
|
|
6
|
+
const originalSize = dependencies.size;
|
|
7
|
+
const deps = ((_b = (_a = preflightRequirements === null || preflightRequirements === void 0 ? void 0 : preflightRequirements.operators) === null || _a === void 0 ? void 0 : _a.find(({ operatorName }) => operatorName === operatorId)) === null || _b === void 0 ? void 0 : _b.dependencies) || [];
|
|
8
|
+
deps.forEach((dep) => dependencies.add(dep));
|
|
9
|
+
if (originalSize !== dependencies.size) {
|
|
10
|
+
// add deps of new deps
|
|
11
|
+
deps.forEach((op) => {
|
|
12
|
+
getOperatorDependencies(op, preflightRequirements, dependencies);
|
|
13
|
+
});
|
|
9
14
|
}
|
|
10
|
-
return
|
|
15
|
+
return [...dependencies];
|
|
11
16
|
};
|
|
12
|
-
|
|
13
|
-
const
|
|
14
|
-
if (
|
|
15
|
-
return
|
|
17
|
+
const getNewOperators = (currentOperators, operatorId, preflightRequirements, add, opSpecs) => {
|
|
18
|
+
const dependencies = getOperatorDependencies(operatorId, preflightRequirements);
|
|
19
|
+
if (add) {
|
|
20
|
+
return [...new Set([...currentOperators, ...dependencies, operatorId])];
|
|
16
21
|
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
const newOperators = currentOperators.filter((op) => op !== operatorId);
|
|
23
|
+
// uncheck unneeded not-standalone dependencies too
|
|
24
|
+
const notStandaloneDeps = dependencies
|
|
25
|
+
.filter((dep) => { var _a; return (_a = opSpecs[dep]) === null || _a === void 0 ? void 0 : _a.notStandalone; })
|
|
26
|
+
.filter((dep) =>
|
|
27
|
+
// some other operator may still depend on the not-standalone operator
|
|
28
|
+
newOperators.every((op) => !getOperatorDependencies(op, preflightRequirements).includes(dep)));
|
|
29
|
+
return currentOperators.filter((op) => op !== operatorId && !notStandaloneDeps.includes(op));
|
|
30
|
+
};
|
|
31
|
+
exports.getNewOperators = getNewOperators;
|
|
32
|
+
const getBundleOperators = (bundle, preflightRequirements) => {
|
|
33
|
+
var _a;
|
|
34
|
+
const bundleOperators = new Set(bundle.operators || []);
|
|
35
|
+
(_a = bundle.operators) === null || _a === void 0 ? void 0 : _a.forEach((op) => {
|
|
36
|
+
getOperatorDependencies(op, preflightRequirements).forEach((dep) => bundleOperators.add(dep));
|
|
37
|
+
});
|
|
38
|
+
return [...bundleOperators];
|
|
39
|
+
};
|
|
40
|
+
const getNewBundleOperators = (currentOperators, currentBundles, allBundles, newBundle, preflightRequirements, add) => {
|
|
41
|
+
const newBundleOperators = getBundleOperators(newBundle, preflightRequirements);
|
|
42
|
+
if (add) {
|
|
43
|
+
return [...new Set([...currentOperators, ...newBundleOperators])];
|
|
24
44
|
}
|
|
45
|
+
const newBundles = currentBundles.filter((b) => b !== newBundle.id);
|
|
46
|
+
const operatorsToKeep = [
|
|
47
|
+
...newBundles.reduce((acc, bundleId) => {
|
|
48
|
+
const bundle = allBundles.find(({ id }) => id === bundleId);
|
|
49
|
+
if (bundle) {
|
|
50
|
+
const bundleOperators = getBundleOperators(bundle, preflightRequirements);
|
|
51
|
+
bundleOperators.forEach((op) => {
|
|
52
|
+
acc.add(op);
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
return acc;
|
|
56
|
+
}, new Set()),
|
|
57
|
+
];
|
|
58
|
+
const operatorsToRemove = newBundleOperators.filter((op) => !operatorsToKeep.includes(op));
|
|
59
|
+
return currentOperators.filter((op) => !operatorsToRemove.includes(op));
|
|
25
60
|
};
|
|
26
|
-
exports.
|
|
61
|
+
exports.getNewBundleOperators = getNewBundleOperators;
|
|
27
62
|
//# sourceMappingURL=utils.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../../../lib/ocm/components/clusterConfiguration/operators/utils.tsx"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../../../lib/ocm/components/clusterConfiguration/operators/utils.tsx"],"names":[],"mappings":";;;AAMA,MAAM,uBAAuB,GAAG,CAC9B,UAAkB,EAClB,qBAAgE,EAChE,eAA4B,IAAI,GAAG,EAAE,EACrC,EAAE;;IACF,MAAM,YAAY,GAAG,YAAY,CAAC,IAAI,CAAC;IACvC,MAAM,IAAI,GACR,CAAA,MAAA,MAAA,qBAAqB,aAArB,qBAAqB,uBAArB,qBAAqB,CAAE,SAAS,0CAAE,IAAI,CAAC,CAAC,EAAE,YAAY,EAAE,EAAE,EAAE,CAAC,YAAY,KAAK,UAAU,CAAC,0CACrF,YAAY,KAAI,EAAE,CAAC;IAEzB,IAAI,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,YAAY,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC;IAE7C,IAAI,YAAY,KAAK,YAAY,CAAC,IAAI,EAAE;QACtC,uBAAuB;QACvB,IAAI,CAAC,OAAO,CAAC,CAAC,EAAE,EAAE,EAAE;YAClB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EAAE,CAAC,CAAC;gBACd,CAAC,CAAC,CAAC;aACJ;YACD,OAAO,GAAG,CAAC;QACb,CAAC,EAAE,IAAI,GAAG,EAAU,CAAC;KACtB,CAAC;IAEF,MAAM,iBAAiB,GAAG,kBAAkB,CAAC,MAAM,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,eAAe,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,CAAC;IAE3F,OAAO,gBAAgB,CAAC,MAAM,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,iBAAiB,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,CAAC;AAC1E,CAAC,CAAC;AA/BW,QAAA,qBAAqB,yBA+BhC"}
|
|
@@ -5,26 +5,32 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
const react_1 = tslib_1.__importDefault(require("react"));
|
|
6
6
|
const react_table_1 = require("@patternfly/react-table");
|
|
7
7
|
const common_1 = require("../../../../common");
|
|
8
|
-
const
|
|
9
|
-
const
|
|
8
|
+
const TableSummaryExpandable_1 = require("./TableSummaryExpandable");
|
|
9
|
+
const operatorSpecs_1 = require("../../../../common/components/operators/operatorSpecs");
|
|
10
10
|
const ReviewOperatorsTable = ({ cluster }) => {
|
|
11
|
-
const
|
|
12
|
-
const featureSupportLevel = (0, newFeatureSupportLevels_1.useNewFeatureSupportLevel)();
|
|
13
|
-
const operatorNames = (0, common_1.operatorLabels)(t, featureSupportLevel);
|
|
11
|
+
const opSpecs = (0, operatorSpecs_1.useOperatorSpecs)();
|
|
14
12
|
const rows = react_1.default.useMemo(() => {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
{
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
13
|
+
var _a;
|
|
14
|
+
return (_a = cluster.monitoredOperators) === null || _a === void 0 ? void 0 : _a.filter(({ name }) => !!name && !!opSpecs[name]).map((op) => {
|
|
15
|
+
const opId = op.name;
|
|
16
|
+
return {
|
|
17
|
+
rowId: `operator-${opId}`,
|
|
18
|
+
cells: [
|
|
19
|
+
{ title: opSpecs[opId].title },
|
|
20
|
+
{
|
|
21
|
+
title: 'Enabled',
|
|
22
|
+
props: { 'data-testid': `operator-${opId}` },
|
|
23
|
+
},
|
|
24
|
+
],
|
|
25
|
+
};
|
|
26
|
+
});
|
|
27
|
+
}, [cluster.monitoredOperators, opSpecs]);
|
|
28
|
+
if (!(rows === null || rows === void 0 ? void 0 : rows.length)) {
|
|
29
|
+
return null;
|
|
30
|
+
}
|
|
31
|
+
return (react_1.default.createElement(TableSummaryExpandable_1.TableSummaryExpandable, { title: 'Operators', id: 'operators-expandable' },
|
|
32
|
+
react_1.default.createElement(react_table_1.Table, { variant: react_table_1.TableVariant.compact, borders: false, "aria-label": 'Operators review table', className: "review-table" },
|
|
33
|
+
react_1.default.createElement(react_table_1.Tbody, null, rows.map((row, i) => (react_1.default.createElement(react_table_1.Tr, { key: (0, common_1.genericTableRowKey)(row.rowId) }, row.cells.map((cell, j) => (react_1.default.createElement(react_table_1.Td, Object.assign({ key: `cell-${i}-${j}` }, cell.props), cell.title))))))))));
|
|
28
34
|
};
|
|
29
35
|
exports.ReviewOperatorsTable = ReviewOperatorsTable;
|
|
30
36
|
//# sourceMappingURL=ReviewOperatorsTable.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReviewOperatorsTable.js","sourceRoot":"","sources":["../../../../../../lib/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,yDAA6E;AAC7E,+
|
|
1
|
+
{"version":3,"file":"ReviewOperatorsTable.js","sourceRoot":"","sources":["../../../../../../lib/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,yDAA6E;AAC7E,+CAAwD;AAExD,q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AE,IAAA,2BAAkB,EAAC,GAAG,CAAC,KAAK,CAAC,IACnC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CAC1B,8BAAC,gBAAE,kBAAC,GAAG,EAAE,QAAQ,CAAC,IAAI,CAAC,EAAE,IAAM,IAAI,CAAC,KAAK,GACtC,IAAI,CAAC,KAAK,CACR,CACN,CAAC,CACC,CACN,CAAC,CACI,CACF,CACe,CAC1B,CAAC;AACJ,CAAC,CAAC;AAhDW,QAAA,oBAAoB,wBAgD/B"}
|
|
@@ -11,16 +11,11 @@ const PlatformIntegrationNote_1 = tslib_1.__importDefault(require("../platformIn
|
|
|
11
11
|
const useClusterCustomManifests_1 = tslib_1.__importDefault(require("../../../hooks/useClusterCustomManifests"));
|
|
12
12
|
const ReviewSummaryContent = ({ cluster }) => {
|
|
13
13
|
var _a;
|
|
14
|
-
const showOperatorsSummary = (0, common_1.hasEnabledOperators)(cluster.monitoredOperators, common_1.OPERATOR_NAME_CNV) ||
|
|
15
|
-
(0, common_1.hasEnabledOperators)(cluster.monitoredOperators, common_1.OPERATOR_NAME_ODF) ||
|
|
16
|
-
(0, common_1.hasEnabledOperators)(cluster.monitoredOperators, common_1.OPERATOR_NAME_LVM) ||
|
|
17
|
-
(0, common_1.hasEnabledOperators)(cluster.monitoredOperators, common_1.OPERATOR_NAME_MCE);
|
|
18
14
|
const { customManifests } = (0, useClusterCustomManifests_1.default)(cluster.id, false);
|
|
19
15
|
return (react_1.default.createElement(react_1.default.Fragment, null,
|
|
20
16
|
react_1.default.createElement(_1.TableSummaryExpandable, { title: 'Cluster details', id: 'cluster-details-expandable' },
|
|
21
17
|
react_1.default.createElement(_1.ReviewClusterDetailTable, { cluster: cluster })),
|
|
22
|
-
|
|
23
|
-
react_1.default.createElement(_1.ReviewOperatorsTable, { cluster: cluster }))),
|
|
18
|
+
react_1.default.createElement(_1.ReviewOperatorsTable, { cluster: cluster }),
|
|
24
19
|
react_1.default.createElement(_1.TableSummaryExpandable, { title: 'Host inventory', id: 'host-inventory-expandable' },
|
|
25
20
|
react_1.default.createElement(react_1.default.Fragment, null,
|
|
26
21
|
react_1.default.createElement(common_1.ReviewHostsInventory, { hosts: cluster.hosts }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReviewSummary.js","sourceRoot":"","sources":["../../../../../../lib/ocm/components/clusterConfiguration/review/ReviewSummary.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,uDAA2D;AAC3D,+
|
|
1
|
+
{"version":3,"file":"ReviewSummary.js","sourceRoot":"","sources":["../../../../../../lib/ocm/components/clusterConfiguration/review/ReviewSummary.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,uDAA2D;AAC3D,+CAO4B;AAC5B,wBAMW;AACX,6EAA0E;AAC1E,qHAAqF;AACrF,iHAAiF;AAG1E,MAAM,oBAAoB,GAAG,CAAC,EAAE,OAAO,EAAwB,EAAE,EAAE;;IACxE,MAAM,EAAE,eAAe,EAAE,GAAG,IAAA,mCAAyB,EAAC,OAAO,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;IACzE,OAAO,CACL;QACE,8BAAC,yBAAsB,IAAC,KAAK,EAAE,iBAAiB,EAAE,EAAE,EAAE,4BAA4B;YAChF,8BAAC,2BAAwB,IAAC,OAAO,EAAE,OAAO,GAAI,CACvB;QAEzB,8BAAC,uBAAoB,IAAC,OAAO,EAAE,OAAO,GAAI;QAE1C,8BAAC,yBAAsB,IAAC,KAAK,EAAE,gBAAgB,EAAE,EAAE,EAAE,2BAA2B;YAC9E;gBACE,8BAAC,6BAAoB,IAAC,KAAK,EAAE,OAAO,CAAC,KAAK,GAAI;gBAC9C,8BAAC,iBAAQ,IAAC,SAAS,EAAE,IAAA,gCAAuB,EAAC,OAAO,CAAC;oBACnD,8BAAC,mBAAU;wBACT,8BAAC,mBAAU,IACT,KAAK,EAAE,sBAAsB,EAC7B,KAAK,EACH;gCACE,8BAAC,sBAAmB,IAAC,OAAO,EAAE,OAAO,GAAI;gCACzC,8BAAC,iCAAuB,IACtB,YAAY,EAAE,MAAA,OAAO,CAAC,QAAQ,0CAAE,IAA6B,GAC7D,CACD,EAEL,MAAM,EAAC,2BAA2B,EAClC,cAAc,EAAE,eAAe,GAC/B,CACS,CACJ,CACV,CACoB;QAEzB,8BAAC,yBAAsB,IAAC,KAAK,EAAE,YAAY,EAAE,EAAE,EAAE,uBAAuB;YACtE,8BAAC,wBAAqB,IAAC,OAAO,EAAE,OAAO,GAAI,CACpB;QAExB,eAAe,IAAI,eAAe,CAAC,MAAM,GAAG,CAAC,IAAI,CAChD,8BAAC,yBAAsB,IAAC,KAAK,EAAE,kBAAkB,EAAE,EAAE,EAAE,6BAA6B;YAClF,8BAAC,uDAA0B,IAAC,SAAS,EAAE,eAAe,GAAI,CACnC,CAC1B,CACA,CACJ,CAAC;AACJ,CAAC,CAAC;AA5CW,QAAA,oBAAoB,wBA4C/B;AAEF,MAAM,aAAa,GAAG,CAAC,EAAE,OAAO,EAAwB,EAAE,EAAE;IAC1D,OAAO,CACL,8BAAC,8BAAiB,IAChB,UAAU,EAAE,iBAAiB,EAC7B,SAAS,EAAE,oBAAoB,EAC/B,UAAU,QACV,UAAU;QAEV,8BAAC,4BAAoB,IAAC,OAAO,EAAE,OAAO,GAAI,CACxB,CACrB,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,aAAa,CAAC"}
|
|
@@ -6,27 +6,10 @@ const react_1 = tslib_1.__importDefault(require("react"));
|
|
|
6
6
|
const react_core_1 = require("@patternfly/react-core");
|
|
7
7
|
const humanize_plus_1 = require("humanize-plus");
|
|
8
8
|
const common_1 = require("../../../common");
|
|
9
|
-
const use_translation_wrapper_1 = require("../../../common/hooks/use-translation-wrapper");
|
|
10
9
|
const utils_1 = require("./utils");
|
|
11
10
|
const ModalDialogsContext_1 = require("../hosts/ModalDialogsContext");
|
|
12
11
|
const api_1 = require("../../../common/api");
|
|
13
|
-
const
|
|
14
|
-
const getFailedOperatorsNames = (failedOperators, openshiftVersion, featureSupportLevel, t) => {
|
|
15
|
-
let failedOperatorsNames = '';
|
|
16
|
-
const translatedOperatorLabels = (0, common_1.operatorLabels)(t, featureSupportLevel);
|
|
17
|
-
for (let i = 0; i < failedOperators.length; i++) {
|
|
18
|
-
const operatorName = failedOperators[i].name || '';
|
|
19
|
-
const operatorLabel = (operatorName && translatedOperatorLabels[operatorName]) || '';
|
|
20
|
-
if (i > 0) {
|
|
21
|
-
if (i === failedOperators.length - 1)
|
|
22
|
-
failedOperatorsNames += ' and ';
|
|
23
|
-
else
|
|
24
|
-
failedOperatorsNames += ', ';
|
|
25
|
-
}
|
|
26
|
-
failedOperatorsNames += `${operatorLabel} (${operatorName.toUpperCase()})`;
|
|
27
|
-
}
|
|
28
|
-
return failedOperatorsNames;
|
|
29
|
-
};
|
|
12
|
+
const operatorSpecs_1 = require("../../../common/components/operators/operatorSpecs");
|
|
30
13
|
const getFailedHostsMessage = (failedHosts, totalHosts, message, hostsType) => {
|
|
31
14
|
if (hostsType === 'worker') {
|
|
32
15
|
if (api_1.isInOcm) {
|
|
@@ -52,8 +35,7 @@ const getFailedHostsMessage = (failedHosts, totalHosts, message, hostsType) => {
|
|
|
52
35
|
};
|
|
53
36
|
const HostInstallationWarning = ({ cluster, failedHosts, totalHosts, title, hostsType, failedOperators = [], message, }) => {
|
|
54
37
|
const { addAlert, clearAlerts } = (0, common_1.useAlerts)();
|
|
55
|
-
const
|
|
56
|
-
const featureSupportLevel = (0, newFeatureSupportLevels_1.useNewFeatureSupportLevel)();
|
|
38
|
+
const opSpecs = (0, operatorSpecs_1.useOperatorSpecs)();
|
|
57
39
|
return (react_1.default.createElement(react_1.default.Fragment, null,
|
|
58
40
|
react_1.default.createElement(react_core_1.Alert, { isInline: true, variant: "warning", title: title, actionLinks: react_1.default.createElement(react_1.default.Fragment, null,
|
|
59
41
|
react_1.default.createElement(react_core_1.AlertActionLink, { id: "cluster-installation-logs-button", onClick: () => {
|
|
@@ -63,7 +45,7 @@ const HostInstallationWarning = ({ cluster, failedHosts, totalHosts, title, host
|
|
|
63
45
|
react_1.default.createElement("p", null, getFailedHostsMessage(failedHosts, totalHosts, message, hostsType))),
|
|
64
46
|
react_1.default.createElement(common_1.RenderIf, { condition: (failedOperators === null || failedOperators === void 0 ? void 0 : failedOperators.length) > 0 },
|
|
65
47
|
react_1.default.createElement("p", null,
|
|
66
|
-
|
|
48
|
+
failedOperators.map(({ name }) => { var _a; return ((_a = opSpecs[name || '']) === null || _a === void 0 ? void 0 : _a.title) || name; }).join(' and '),
|
|
67
49
|
' ',
|
|
68
50
|
"failed to install. Due to this, the cluster will be degraded, but you can try to install the operator from the Operator Hub. Please check the installation log for more information.")))));
|
|
69
51
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProgressBarAlerts.js","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterDetail/ProgressBarAlerts.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,uDAAmF;AACnF,iDAA0C;
|
|
1
|
+
{"version":3,"file":"ProgressBarAlerts.js","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterDetail/ProgressBarAlerts.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,uDAAmF;AACnF,iDAA0C;AAC1C,4CAMyB;AACzB,mCAA0D;AAC1D,sEAAsE;AACtE,6CAA8C;AAE9C,sFAAsF;AAatF,MAAM,qBAAqB,GAAG,CAC5B,WAAmB,EACnB,UAAkB,EAClB,OAAgB,EAChB,SAAkB,EAClB,EAAE;IACF,IAAI,SAAS,KAAK,QAAQ,EAAE;QAC1B,IAAI,aAAO,EAAE;YACX,OAAO,CACL;;gBAG+B,qDAAgB;wBAC5C,CACJ,CAAC;SACH;QACD,OAAO,CACL;;YAE0B,qDAAgB;uBACvC,CACJ,CAAC;KACH;IACD,OAAO,CACL;QACG,WAAW;;QAAG,UAAU;;QAAG,IA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