@openshift-assisted/ui-lib 2.14.7-cim → 2.15.1-cim
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/ClusterDeployment/ClusterDeploymentHostsDiscovery.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/LabelsSelector.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/wizardTransition.d.ts +1 -1
- package/build/@types/cim/components/ClusterDeployment/wizardTransition.d.ts.map +1 -1
- package/build/@types/cim/components/InfraEnv/AddHostDropdown.d.ts.map +1 -1
- package/build/@types/cim/components/InfraEnv/InfraEnvOpenShiftVersionDropdown.d.ts.map +1 -1
- package/build/@types/cim/components/InfraEnv/InfraTableToolbar.d.ts.map +1 -1
- package/build/@types/cim/components/common/CpuArchitectureDropdown.d.ts.map +1 -1
- package/build/@types/cim/components/featureSupportLevels/ACMFeatureSupportLevelProvider.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/clusterDeployment.d.ts +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/cim/index.d.ts +1 -0
- package/build/@types/cim/index.d.ts.map +1 -1
- package/build/@types/common/api/assisted-service/BundleAPI.d.ts +8 -0
- package/build/@types/common/api/assisted-service/BundleAPI.d.ts.map +1 -0
- package/build/@types/common/api/assisted-service/ClustersAPI.d.ts +1 -0
- package/build/@types/common/api/assisted-service/ClustersAPI.d.ts.map +1 -1
- package/build/@types/common/api/assisted-service/OperatorsAPI.d.ts +6 -0
- package/build/@types/common/api/assisted-service/OperatorsAPI.d.ts.map +1 -0
- package/build/@types/common/api/index.d.ts +1 -0
- package/build/@types/common/api/index.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/DownloadIso.d.ts +2 -1
- package/build/@types/common/components/clusterConfiguration/DownloadIso.d.ts.map +1 -1
- package/build/@types/common/components/clusterDetail/ClusterCredentials.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/clusterDetail/index.d.ts +1 -0
- package/build/@types/common/components/clusterDetail/index.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/ClusterWizardStep.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/clusterDetailsValidation.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/types.d.ts +2 -2
- package/build/@types/common/components/clusterWizard/types.d.ts.map +1 -1
- package/build/@types/common/components/hosts/DiskRole.d.ts.map +1 -1
- package/build/@types/common/components/hosts/HostPropertyValidationPopover.d.ts.map +1 -1
- package/build/@types/common/components/hosts/HostRowDetail.d.ts.map +1 -1
- package/build/@types/common/components/hosts/HostStatus.d.ts.map +1 -1
- package/build/@types/common/components/hosts/HostValidationGroups.d.ts +2 -1
- package/build/@types/common/components/hosts/HostValidationGroups.d.ts.map +1 -1
- package/build/@types/common/components/hosts/TableToolbar.d.ts.map +1 -1
- package/build/@types/common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge.d.ts +1 -2
- package/build/@types/common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge.d.ts.map +1 -1
- package/build/@types/common/components/newFeatureSupportLevels/types.d.ts +5 -3
- 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/components/storage/DisksTable.d.ts.map +1 -1
- package/build/@types/common/components/ui/ClusterEventsToolbar.d.ts.map +1 -1
- package/build/@types/common/components/ui/DeveloperPreview.d.ts.map +1 -1
- package/build/@types/common/components/ui/OpenShiftVersionDropdown.d.ts +0 -1
- package/build/@types/common/components/ui/OpenShiftVersionDropdown.d.ts.map +1 -1
- package/build/@types/common/components/ui/SimpleDropdown.d.ts +2 -2
- package/build/@types/common/components/ui/SimpleDropdown.d.ts.map +1 -1
- package/build/@types/common/components/ui/WizardFooter.d.ts +2 -0
- package/build/@types/common/components/ui/WizardFooter.d.ts.map +1 -1
- package/build/@types/common/components/ui/WizardNavItem.d.ts +1 -1
- package/build/@types/common/components/ui/WizardNavItem.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/MultiSelectField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/types.d.ts +2 -2
- package/build/@types/common/components/ui/formik/types.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/validationSchemas.d.ts +1 -1
- package/build/@types/common/components/ui/utils.d.ts +1 -1
- package/build/@types/common/components/ui/utils.d.ts.map +1 -1
- package/build/@types/common/config/constants.d.ts +45 -15
- package/build/@types/common/config/constants.d.ts.map +1 -1
- package/build/@types/common/config/docs_links.d.ts +21 -2
- package/build/@types/common/config/docs_links.d.ts.map +1 -1
- package/build/@types/common/hooks/index.d.ts +1 -0
- package/build/@types/common/hooks/index.d.ts.map +1 -1
- package/build/@types/common/index.d.ts +2 -3
- package/build/@types/common/index.d.ts.map +1 -1
- package/build/@types/common/selectors/clusterSelectors.d.ts +2 -2
- package/build/@types/common/selectors/clusterSelectors.d.ts.map +1 -1
- package/build/@types/common/types/clusters.d.ts +3 -7
- package/build/@types/common/types/clusters.d.ts.map +1 -1
- package/build/@types/common/types/ui-settings.d.ts +1 -0
- package/build/@types/common/types/ui-settings.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/HostsClusterDetailTab/HostsClusterDetailTabContent.d.ts.map +1 -1
- package/build/@types/ocm/components/HostsClusterDetailTab/utils.d.ts.map +1 -1
- package/build/@types/ocm/components/SentryErrorMonitorContextProvider.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts +9 -0
- package/build/@types/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterConfiguration/CpuArchitectureDropdown.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/CustomManifestCheckbox.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/DiscoveryImageModal.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/DiscoveryImageTypeDropdown.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/HostInventory.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmBaseDomainField.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.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/manifestsConfiguration/components/FolderDropdown.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.d.ts +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 +11 -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/platformIntegration/ExternalPlatformDropdown.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/ReviewStep.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/review/ReviewSummary.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/data/formDataToInfraEnvField.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/AssistedInstallerDetailCard.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/ClusterDetailStatusMessages.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/ClusterDetailsButtonGroup.d.ts +1 -0
- package/build/@types/ocm/components/clusterDetail/ClusterDetailsButtonGroup.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/ProgressBarAlerts.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterDetails.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterDetailsForm.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterWizard.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterWizardContextProvider.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterWizardFooter.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/CredentialsDownload.d.ts +7 -0
- package/build/@types/ocm/components/clusterWizard/CredentialsDownload.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterWizard/KubeconfigDownload.d.ts +7 -0
- package/build/@types/ocm/components/clusterWizard/KubeconfigDownload.d.ts.map +1 -0
- 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/constants.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/index.d.ts +1 -0
- package/build/@types/ocm/components/clusterWizard/index.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/wizardTransition.d.ts +3 -3
- package/build/@types/ocm/components/clusterWizard/wizardTransition.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/ClusterPage.d.ts +2 -1
- package/build/@types/ocm/components/clusters/ClusterPage.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/ClustersListToolbar.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/index.d.ts +3 -0
- package/build/@types/ocm/components/clusters/index.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 -6
- package/build/@types/ocm/components/featureSupportLevels/featureStateUtils.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/ModalDialogsContext.d.ts +5 -1
- package/build/@types/ocm/components/hosts/ModalDialogsContext.d.ts.map +1 -1
- package/build/@types/ocm/components/index.d.ts +2 -0
- package/build/@types/ocm/components/index.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/hooks/index.d.ts +2 -0
- package/build/@types/ocm/hooks/index.d.ts.map +1 -1
- package/build/@types/ocm/index.d.ts +1 -0
- package/build/@types/ocm/index.d.ts.map +1 -1
- package/build/@types/ocm/sentry.d.ts +2 -2
- package/build/@types/ocm/sentry.d.ts.map +1 -1
- package/build/@types/ocm/services/BundleService.d.ts +6 -0
- package/build/@types/ocm/services/BundleService.d.ts.map +1 -0
- package/build/@types/ocm/services/ClusterDetailsService.d.ts.map +1 -1
- package/build/@types/ocm/services/ClustersService.d.ts.map +1 -1
- package/build/@types/ocm/services/OperatorsService.d.ts +1 -9
- package/build/@types/ocm/services/OperatorsService.d.ts.map +1 -1
- package/build/@types/ocm/store/slices/current-cluster/slice.d.ts +1 -0
- package/build/@types/ocm/store/slices/current-cluster/slice.d.ts.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscovery.js +2 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscovery.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/LabelsSelector.js +5 -5
- package/build/cjs/cim/components/ClusterDeployment/LabelsSelector.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ShortCapacitySummary.js +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ShortCapacitySummary.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/AddHostDropdown.js +29 -28
- package/build/cjs/cim/components/InfraEnv/AddHostDropdown.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/InfraEnvAgentTable.js +2 -2
- package/build/cjs/cim/components/InfraEnv/InfraEnvAgentTable.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/InfraEnvOpenShiftVersionDropdown.js +4 -8
- package/build/cjs/cim/components/InfraEnv/InfraEnvOpenShiftVersionDropdown.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/InfraTableToolbar.js +12 -12
- package/build/cjs/cim/components/InfraEnv/InfraTableToolbar.js.map +1 -1
- package/build/cjs/cim/components/common/CpuArchitectureDropdown.js +2 -2
- package/build/cjs/cim/components/common/CpuArchitectureDropdown.js.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/cim/components/modals/MassApproveAction.js +2 -2
- package/build/cjs/cim/components/modals/MassApproveAction.js.map +1 -1
- package/build/cjs/cim/index.js +1 -0
- package/build/cjs/cim/index.js.map +1 -1
- package/build/cjs/common/api/assisted-service/BundleAPI.js +16 -0
- package/build/cjs/common/api/assisted-service/BundleAPI.js.map +1 -0
- package/build/cjs/common/api/assisted-service/ClustersAPI.js +5 -0
- package/build/cjs/common/api/assisted-service/ClustersAPI.js.map +1 -1
- package/build/cjs/common/api/assisted-service/OperatorsAPI.js +13 -0
- package/build/cjs/common/api/assisted-service/OperatorsAPI.js.map +1 -0
- package/build/cjs/common/api/index.js +1 -0
- package/build/cjs/common/api/index.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/ControlPlaneNodesDropdown.js +5 -6
- package/build/cjs/common/components/clusterConfiguration/ControlPlaneNodesDropdown.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DownloadIso.js +6 -2
- package/build/cjs/common/components/clusterConfiguration/DownloadIso.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/ClusterCredentials.js +1 -1
- package/build/cjs/common/components/clusterDetail/ClusterCredentials.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/clusterDetail/index.js +3 -1
- package/build/cjs/common/components/clusterDetail/index.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/ClusterWizardStep.js +2 -4
- package/build/cjs/common/components/clusterWizard/ClusterWizardStep.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/clusterDetailsValidation.js +8 -6
- package/build/cjs/common/components/clusterWizard/clusterDetailsValidation.js.map +1 -1
- package/build/cjs/common/components/hosts/AITableMemo.js +16 -13
- package/build/cjs/common/components/hosts/AITableMemo.js.map +1 -1
- package/build/cjs/common/components/hosts/DiskRole.js +5 -5
- package/build/cjs/common/components/hosts/DiskRole.js.map +1 -1
- package/build/cjs/common/components/hosts/HostPropertyValidationPopover.js +12 -9
- package/build/cjs/common/components/hosts/HostPropertyValidationPopover.js.map +1 -1
- package/build/cjs/common/components/hosts/HostRowDetail.js +35 -1
- package/build/cjs/common/components/hosts/HostRowDetail.js.map +1 -1
- package/build/cjs/common/components/hosts/HostStatus.js +1 -1
- package/build/cjs/common/components/hosts/HostStatus.js.map +1 -1
- package/build/cjs/common/components/hosts/HostToolbarActions.js +3 -3
- package/build/cjs/common/components/hosts/HostToolbarActions.js.map +1 -1
- package/build/cjs/common/components/hosts/HostValidationGroups.js +27 -5
- package/build/cjs/common/components/hosts/HostValidationGroups.js.map +1 -1
- package/build/cjs/common/components/hosts/TableToolbar.js +15 -15
- package/build/cjs/common/components/hosts/TableToolbar.js.map +1 -1
- package/build/cjs/common/components/hosts/utils.js +1 -1
- package/build/cjs/common/components/hosts/utils.js.map +1 -1
- package/build/cjs/common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge.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/components/storage/DisksTable.js +14 -10
- package/build/cjs/common/components/storage/DisksTable.js.map +1 -1
- package/build/cjs/common/components/ui/ClusterEventsToolbar.js +18 -10
- package/build/cjs/common/components/ui/ClusterEventsToolbar.js.map +1 -1
- package/build/cjs/common/components/ui/DeveloperPreview.js +2 -1
- package/build/cjs/common/components/ui/DeveloperPreview.js.map +1 -1
- package/build/cjs/common/components/ui/OpenShiftVersionDropdown.js +13 -16
- package/build/cjs/common/components/ui/OpenShiftVersionDropdown.js.map +1 -1
- package/build/cjs/common/components/ui/SimpleDropdown.js +4 -5
- package/build/cjs/common/components/ui/SimpleDropdown.js.map +1 -1
- package/build/cjs/common/components/ui/WizardFooter.js +6 -4
- package/build/cjs/common/components/ui/WizardFooter.js.map +1 -1
- package/build/cjs/common/components/ui/WizardNavItem.js +2 -2
- package/build/cjs/common/components/ui/WizardNavItem.js.map +1 -1
- package/build/cjs/common/components/ui/formik/MultiSelectField.js +26 -28
- package/build/cjs/common/components/ui/formik/MultiSelectField.js.map +1 -1
- package/build/cjs/common/components/ui/utils.js +1 -1
- package/build/cjs/common/components/ui/utils.js.map +1 -1
- package/build/cjs/common/config/constants.js +42 -60
- package/build/cjs/common/config/constants.js.map +1 -1
- package/build/cjs/common/config/docs_links.js +43 -5
- package/build/cjs/common/config/docs_links.js.map +1 -1
- package/build/cjs/common/hooks/index.js +3 -1
- package/build/cjs/common/hooks/index.js.map +1 -1
- package/build/cjs/common/index.js +2 -3
- package/build/cjs/common/index.js.map +1 -1
- package/build/cjs/common/selectors/clusterSelectors.js +7 -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/AddHosts/day2Wizard/Day2Wizard.js +2 -2
- package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2Wizard.js.map +1 -1
- package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2WizardNav.js +5 -5
- package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2WizardNav.js.map +1 -1
- package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.js +10 -9
- package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.js.map +1 -1
- package/build/cjs/ocm/components/HostsClusterDetailTab/utils.js +8 -4
- package/build/cjs/ocm/components/HostsClusterDetailTab/utils.js.map +1 -1
- package/build/cjs/ocm/components/SentryErrorMonitorContextProvider.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.js +70 -0
- package/build/cjs/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.js.map +1 -0
- package/build/cjs/ocm/components/clusterConfiguration/CpuArchitectureDropdown.js +3 -5
- package/build/cjs/ocm/components/clusterConfiguration/CpuArchitectureDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/CustomManifestCheckbox.js +0 -11
- package/build/cjs/ocm/components/clusterConfiguration/CustomManifestCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageModal.js +14 -1
- package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageModal.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageTypeDropdown.js +15 -17
- package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageTypeDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/HostInventory.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmBaseDomainField.js +5 -7
- package/build/cjs/ocm/components/clusterConfiguration/OcmBaseDomainField.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js +6 -7
- package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.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/manifestsConfiguration/components/FolderDropdown.js +6 -8
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js +23 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.js +7 -10
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.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 +23 -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/platformIntegration/ExternalPlatformDropdown.js +38 -23
- package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.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/ReviewStep.js +2 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewStep.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/clusterConfiguration/staticIp/commonValidationSchemas.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/BondsSelect.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHostsFields.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHostsFields.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.js +8 -2
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.js +3 -3
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/formDataToInfraEnvField.js +0 -2
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/formDataToInfraEnvField.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/nmstateYaml.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/nmstateYaml.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/AssistedInstallerDetailCard.js +11 -11
- package/build/cjs/ocm/components/clusterDetail/AssistedInstallerDetailCard.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ClusterDetailStatusMessages.js +16 -14
- package/build/cjs/ocm/components/clusterDetail/ClusterDetailStatusMessages.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ClusterDetailsButtonGroup.js +1 -0
- package/build/cjs/ocm/components/clusterDetail/ClusterDetailsButtonGroup.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/ClusterDetails.js +8 -0
- package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js +5 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizard.js +3 -0
- package/build/cjs/ocm/components/clusterWizard/ClusterWizard.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js +2 -3
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardFooter.js +11 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardFooter.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardNavigation.js +5 -5
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardNavigation.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/CredentialsDownload.js +62 -0
- package/build/cjs/ocm/components/clusterWizard/CredentialsDownload.js.map +1 -0
- package/build/cjs/ocm/components/clusterWizard/KubeconfigDownload.js +21 -0
- package/build/cjs/ocm/components/clusterWizard/KubeconfigDownload.js.map +1 -0
- package/build/cjs/ocm/components/clusterWizard/Operators.js +11 -22
- 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 +33 -22
- package/build/cjs/ocm/components/clusterWizard/OperatorsStep.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/constants.js +1 -0
- package/build/cjs/ocm/components/clusterWizard/constants.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/index.js +3 -1
- package/build/cjs/ocm/components/clusterWizard/index.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/wizardTransition.js +10 -6
- package/build/cjs/ocm/components/clusterWizard/wizardTransition.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClusterPage.js +4 -6
- package/build/cjs/ocm/components/clusters/ClusterPage.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClustersListToolbar.js +3 -3
- package/build/cjs/ocm/components/clusters/ClustersListToolbar.js.map +1 -1
- package/build/cjs/ocm/components/clusters/index.js +7 -1
- package/build/cjs/ocm/components/clusters/index.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 +85 -61
- package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js.map +1 -1
- package/build/cjs/ocm/components/hosts/ModalDialogsContext.js +1 -0
- package/build/cjs/ocm/components/hosts/ModalDialogsContext.js.map +1 -1
- package/build/cjs/ocm/components/index.js +2 -0
- package/build/cjs/ocm/components/index.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/hooks/index.js +5 -1
- package/build/cjs/ocm/hooks/index.js.map +1 -1
- package/build/cjs/ocm/hooks/useInfraEnv.js +2 -2
- package/build/cjs/ocm/hooks/useInfraEnv.js.map +1 -1
- package/build/cjs/ocm/index.js +1 -0
- package/build/cjs/ocm/index.js.map +1 -1
- package/build/cjs/ocm/sentry.js +1 -1
- package/build/cjs/ocm/sentry.js.map +1 -1
- package/build/cjs/ocm/services/BundleService.js +20 -0
- package/build/cjs/ocm/services/BundleService.js.map +1 -0
- package/build/cjs/ocm/services/ClusterDetailsService.js +2 -1
- package/build/cjs/ocm/services/ClusterDetailsService.js.map +1 -1
- package/build/cjs/ocm/services/ClustersService.js +7 -1
- package/build/cjs/ocm/services/ClustersService.js.map +1 -1
- package/build/cjs/ocm/services/OperatorsService.js +6 -50
- package/build/cjs/ocm/services/OperatorsService.js.map +1 -1
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscovery.tsx +8 -6
- package/lib/cim/components/ClusterDeployment/LabelsSelector.tsx +27 -14
- package/lib/cim/components/ClusterDeployment/ShortCapacitySummary.tsx +1 -1
- package/lib/cim/components/InfraEnv/AddHostDropdown.tsx +59 -47
- package/lib/cim/components/InfraEnv/InfraEnvAgentTable.tsx +1 -1
- package/lib/cim/components/InfraEnv/InfraEnvOpenShiftVersionDropdown.tsx +34 -22
- package/lib/cim/components/InfraEnv/InfraTableToolbar.tsx +40 -28
- package/lib/cim/components/common/CpuArchitectureDropdown.tsx +5 -2
- package/lib/cim/components/featureSupportLevels/ACMFeatureSupportLevelProvider.tsx +2 -1
- package/lib/cim/components/helpers/versions.ts +1 -5
- package/lib/cim/components/modals/MassApproveAction.tsx +1 -1
- package/lib/cim/index.ts +1 -0
- package/lib/common/api/assisted-service/BundleAPI.ts +18 -0
- package/lib/common/api/assisted-service/ClustersAPI.ts +6 -0
- package/lib/common/api/assisted-service/OperatorsAPI.ts +13 -0
- package/lib/common/api/index.ts +1 -0
- package/lib/common/components/clusterConfiguration/ControlPlaneNodesDropdown.tsx +30 -17
- package/lib/common/components/clusterConfiguration/DownloadIso.tsx +9 -1
- package/lib/common/components/clusterDetail/ClusterCredentials.tsx +12 -2
- package/lib/common/components/clusterDetail/ClusterProgressItems.tsx +1 -4
- package/lib/common/components/clusterDetail/OperatorsProgressItem.tsx +6 -12
- package/lib/common/components/clusterDetail/index.ts +1 -0
- package/lib/common/components/clusterWizard/ClusterWizardStep.tsx +2 -4
- package/lib/common/components/clusterWizard/clusterDetailsValidation.ts +7 -6
- package/lib/common/components/clusterWizard/types.ts +3 -1
- package/lib/common/components/hosts/AITableMemo.tsx +1 -1
- package/lib/common/components/hosts/DiskRole.tsx +23 -17
- package/lib/common/components/hosts/HostPropertyValidationPopover.tsx +10 -4
- package/lib/common/components/hosts/HostRowDetail.tsx +71 -1
- package/lib/common/components/hosts/HostStatus.tsx +1 -2
- package/lib/common/components/hosts/HostToolbarActions.tsx +1 -1
- package/lib/common/components/hosts/HostValidationGroups.tsx +52 -5
- package/lib/common/components/hosts/TableToolbar.tsx +54 -48
- package/lib/common/components/hosts/utils.ts +1 -1
- package/lib/common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge.tsx +2 -2
- package/lib/common/components/newFeatureSupportLevels/types.ts +16 -9
- package/lib/common/components/operators/operatorSpecs.tsx +344 -0
- package/lib/common/components/storage/DisksTable.tsx +24 -19
- package/lib/common/components/ui/ClusterEventsToolbar.tsx +78 -45
- package/lib/common/components/ui/DeveloperPreview.tsx +2 -0
- package/lib/common/components/ui/OpenShiftVersionDropdown.tsx +38 -44
- package/lib/common/components/ui/SimpleDropdown.tsx +23 -22
- package/lib/common/components/ui/WizardFooter.tsx +29 -10
- package/lib/common/components/ui/WizardNavItem.tsx +1 -1
- package/lib/common/components/ui/formik/MultiSelectField.tsx +98 -58
- package/lib/common/components/ui/formik/types.ts +2 -2
- package/lib/common/components/ui/utils.ts +4 -2
- package/lib/common/config/constants.ts +42 -73
- package/lib/common/config/docs_links.ts +87 -6
- package/lib/common/hooks/index.ts +1 -0
- package/lib/common/index.ts +2 -4
- package/lib/common/selectors/clusterSelectors.ts +9 -2
- package/lib/common/types/clusters.ts +3 -7
- package/lib/common/types/ui-settings.ts +1 -0
- package/lib/common/utils.ts +5 -0
- package/lib/ocm/components/AddHosts/day2Wizard/Day2Wizard.tsx +1 -1
- package/lib/ocm/components/AddHosts/day2Wizard/Day2WizardNav.tsx +5 -5
- package/lib/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.tsx +12 -9
- package/lib/ocm/components/HostsClusterDetailTab/utils.ts +5 -1
- package/lib/ocm/components/SentryErrorMonitorContextProvider.tsx +1 -2
- package/lib/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.tsx +158 -0
- package/lib/ocm/components/clusterConfiguration/CpuArchitectureDropdown.tsx +26 -20
- package/lib/ocm/components/clusterConfiguration/CustomManifestCheckbox.tsx +0 -13
- package/lib/ocm/components/clusterConfiguration/DiscoveryImageModal.tsx +24 -1
- package/lib/ocm/components/clusterConfiguration/DiscoveryImageTypeDropdown.tsx +47 -46
- package/lib/ocm/components/clusterConfiguration/HostInventory.tsx +0 -1
- package/lib/ocm/components/clusterConfiguration/OcmBaseDomainField.tsx +16 -13
- package/lib/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.tsx +18 -20
- package/lib/ocm/components/clusterConfiguration/OcmClusterProgressItems.tsx +1 -4
- package/lib/ocm/components/clusterConfiguration/OcmOperatorProgressItem.tsx +5 -10
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.tsx +25 -26
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.tsx +29 -1
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.tsx +24 -29
- package/lib/ocm/components/clusterConfiguration/operators/OperatorCheckbox.tsx +210 -0
- package/lib/ocm/components/clusterConfiguration/operators/bundleSpecs.tsx +43 -0
- package/lib/ocm/components/clusterConfiguration/operators/utils.tsx +88 -31
- package/lib/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.tsx +89 -63
- package/lib/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.tsx +46 -43
- package/lib/ocm/components/clusterConfiguration/review/ReviewStep.tsx +2 -1
- package/lib/ocm/components/clusterConfiguration/review/ReviewSummary.tsx +1 -15
- package/lib/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/BondsSelect.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHostsFields.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.tsx +13 -8
- package/lib/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.tsx +9 -7
- package/lib/ocm/components/clusterConfiguration/staticIp/data/formDataToInfraEnvField.ts +0 -2
- package/lib/ocm/components/clusterConfiguration/staticIp/data/nmstateYaml.ts +1 -1
- package/lib/ocm/components/clusterDetail/AssistedInstallerDetailCard.tsx +38 -28
- package/lib/ocm/components/clusterDetail/ClusterDetailStatusMessages.tsx +18 -19
- package/lib/ocm/components/clusterDetail/ClusterDetailsButtonGroup.tsx +2 -0
- package/lib/ocm/components/clusterDetail/ProgressBarAlerts.tsx +3 -36
- package/lib/ocm/components/clusterWizard/ClusterDetails.tsx +8 -0
- package/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx +7 -1
- package/lib/ocm/components/clusterWizard/ClusterWizard.tsx +3 -0
- package/lib/ocm/components/clusterWizard/ClusterWizardContextProvider.tsx +1 -3
- package/lib/ocm/components/clusterWizard/ClusterWizardFooter.tsx +15 -1
- package/lib/ocm/components/clusterWizard/ClusterWizardNavigation.tsx +5 -5
- package/lib/ocm/components/clusterWizard/CredentialsDownload.tsx +105 -0
- package/lib/ocm/components/clusterWizard/KubeconfigDownload.tsx +39 -0
- package/lib/ocm/components/clusterWizard/Operators.tsx +17 -41
- package/lib/ocm/components/clusterWizard/OperatorsBundle.css +6 -0
- package/lib/ocm/components/clusterWizard/OperatorsBundle.tsx +244 -0
- package/lib/ocm/components/clusterWizard/OperatorsSelect.tsx +108 -0
- package/lib/ocm/components/clusterWizard/OperatorsStep.tsx +48 -36
- package/lib/ocm/components/clusterWizard/_wizardTransition.test.ts +25 -0
- package/lib/ocm/components/clusterWizard/constants.ts +1 -0
- package/lib/ocm/components/clusterWizard/index.ts +1 -0
- package/lib/ocm/components/clusterWizard/wizardTransition.ts +12 -7
- package/lib/ocm/components/clusters/ClusterPage.tsx +11 -8
- package/lib/ocm/components/clusters/ClustersListToolbar.tsx +39 -19
- package/lib/ocm/components/clusters/index.ts +3 -0
- 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 +94 -69
- package/lib/ocm/components/hosts/ModalDialogsContext.tsx +8 -1
- package/lib/ocm/components/index.ts +2 -0
- package/lib/ocm/components/utils.ts +0 -12
- package/lib/ocm/hooks/index.ts +2 -0
- package/lib/ocm/hooks/useInfraEnv.ts +1 -1
- package/lib/ocm/index.ts +1 -0
- package/lib/ocm/sentry.ts +2 -1
- package/lib/ocm/services/BundleService.ts +14 -0
- package/lib/ocm/services/ClusterDetailsService.ts +2 -1
- package/lib/ocm/services/ClustersService.ts +11 -3
- package/lib/ocm/services/OperatorsService.tsx +4 -76
- package/package.json +3 -3
- package/build/@types/ocm/components/clusterConfiguration/OcmSNOControlGroup.d.ts +0 -10
- package/build/@types/ocm/components/clusterConfiguration/OcmSNOControlGroup.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/CnvCheckbox.d.ts +0 -8
- 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/LvmCheckbox.d.ts +0 -8
- 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 -9
- 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 -7
- 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/OdfCheckbox.d.ts +0 -4
- package/build/@types/ocm/components/clusterConfiguration/operators/OdfCheckbox.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/OpenShiftAICheckbox.d.ts +0 -4
- 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/clusterDetail/RebootNodeZeroModal.d.ts +0 -7
- package/build/@types/ocm/components/clusterDetail/RebootNodeZeroModal.d.ts.map +0 -1
- package/build/cjs/common/components/ui/OpenShiftVersionDropdown.css +0 -9
- package/build/cjs/ocm/components/clusterConfiguration/OcmSNOControlGroup.js +0 -20
- package/build/cjs/ocm/components/clusterConfiguration/OcmSNOControlGroup.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/CnvCheckbox.js +0 -49
- 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/LvmCheckbox.js +0 -61
- 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 -36
- 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 -41
- 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/OdfCheckbox.js +0 -46
- package/build/cjs/ocm/components/clusterConfiguration/operators/OdfCheckbox.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/OpenShiftAICheckbox.js +0 -48
- package/build/cjs/ocm/components/clusterConfiguration/operators/OpenShiftAICheckbox.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/OpenShiftAIRequirements.js +0 -30
- package/build/cjs/ocm/components/clusterConfiguration/operators/OpenShiftAIRequirements.js.map +0 -1
- package/build/cjs/ocm/components/clusterDetail/RebootNodeZeroModal.css +0 -7
- package/build/cjs/ocm/components/clusterDetail/RebootNodeZeroModal.js +0 -35
- package/build/cjs/ocm/components/clusterDetail/RebootNodeZeroModal.js.map +0 -1
- package/lib/common/components/ui/OpenShiftVersionDropdown.css +0 -9
- package/lib/ocm/components/clusterConfiguration/OcmSNOControlGroup.tsx +0 -62
- package/lib/ocm/components/clusterConfiguration/operators/CnvCheckbox.tsx +0 -108
- package/lib/ocm/components/clusterConfiguration/operators/CnvHostRequirements.tsx +0 -64
- package/lib/ocm/components/clusterConfiguration/operators/LvmCheckbox.tsx +0 -130
- package/lib/ocm/components/clusterConfiguration/operators/LvmHostRequirements.tsx +0 -38
- package/lib/ocm/components/clusterConfiguration/operators/MceCheckbox.tsx +0 -83
- package/lib/ocm/components/clusterConfiguration/operators/MceRequirements.tsx +0 -61
- package/lib/ocm/components/clusterConfiguration/operators/MtvOperatorCheckbox.tsx +0 -79
- package/lib/ocm/components/clusterConfiguration/operators/MtvRequirements.tsx +0 -52
- package/lib/ocm/components/clusterConfiguration/operators/OdfCheckbox.tsx +0 -74
- package/lib/ocm/components/clusterConfiguration/operators/OpenShiftAICheckbox.tsx +0 -80
- package/lib/ocm/components/clusterConfiguration/operators/OpenShiftAIRequirements.tsx +0 -36
- package/lib/ocm/components/clusterDetail/RebootNodeZeroModal.css +0 -7
- package/lib/ocm/components/clusterDetail/RebootNodeZeroModal.tsx +0 -69
- /package/build/cjs/{common/styles.css → ocm/components/clusterDetail/ClusterDetailsButtonGroup.css} +0 -0
- /package/lib/{common/styles.css → ocm/components/clusterDetail/ClusterDetailsButtonGroup.css} +0 -0
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
const react_1 = tslib_1.__importDefault(require("react"));
|
|
5
|
-
const react_redux_1 = require("react-redux");
|
|
6
|
-
const react_core_1 = require("@patternfly/react-core");
|
|
7
|
-
const hooks_1 = require("../../../hooks");
|
|
8
|
-
const common_1 = require("../../../../common");
|
|
9
|
-
const selectors_1 = require("../../../store/slices/current-cluster/selectors");
|
|
10
|
-
const MtvRequirements = ({ clusterId }) => {
|
|
11
|
-
var _a, _b, _c, _d, _e;
|
|
12
|
-
const { preflightRequirements, error, isLoading } = (0, hooks_1.useClusterPreflightRequirements)(clusterId);
|
|
13
|
-
const isSingleNode = (0, react_redux_1.useSelector)(selectors_1.selectIsCurrentClusterSNO);
|
|
14
|
-
if (isLoading) {
|
|
15
|
-
return react_1.default.createElement(common_1.LoadingState, { content: "Loading hardware requirements ..." });
|
|
16
|
-
}
|
|
17
|
-
if (error) {
|
|
18
|
-
return react_1.default.createElement(common_1.ErrorState, null);
|
|
19
|
-
}
|
|
20
|
-
const mtvRequirements = (_a = preflightRequirements === null || preflightRequirements === void 0 ? void 0 : preflightRequirements.operators) === null || _a === void 0 ? void 0 : _a.find((operatorRequirements) => operatorRequirements.operatorName === common_1.OPERATOR_NAME_MTV);
|
|
21
|
-
const workerRequirements = (_c = (_b = mtvRequirements === null || mtvRequirements === void 0 ? void 0 : mtvRequirements.requirements) === null || _b === void 0 ? void 0 : _b.worker) === null || _c === void 0 ? void 0 : _c.quantitative;
|
|
22
|
-
const masterRequirements = (_e = (_d = mtvRequirements === null || mtvRequirements === void 0 ? void 0 : mtvRequirements.requirements) === null || _d === void 0 ? void 0 : _d.master) === null || _e === void 0 ? void 0 : _e.quantitative;
|
|
23
|
-
return (react_1.default.createElement(react_1.default.Fragment, null,
|
|
24
|
-
react_1.default.createElement(react_core_1.List, null,
|
|
25
|
-
react_1.default.createElement(common_1.RenderIf, { condition: !isSingleNode },
|
|
26
|
-
react_1.default.createElement(react_core_1.ListItem, null,
|
|
27
|
-
"Each worker node requires an additional ",
|
|
28
|
-
(workerRequirements === null || workerRequirements === void 0 ? void 0 : workerRequirements.ramMib) || 360,
|
|
29
|
-
" MiB of memory ",
|
|
30
|
-
(workerRequirements === null || workerRequirements === void 0 ? void 0 : workerRequirements.diskSizeGb) ? ',' : ' and',
|
|
31
|
-
' ',
|
|
32
|
-
(workerRequirements === null || workerRequirements === void 0 ? void 0 : workerRequirements.cpuCores) || 2,
|
|
33
|
-
" CPUs",
|
|
34
|
-
(workerRequirements === null || workerRequirements === void 0 ? void 0 : workerRequirements.diskSizeGb)
|
|
35
|
-
? ` and ${workerRequirements === null || workerRequirements === void 0 ? void 0 : workerRequirements.diskSizeGb} storage space`
|
|
36
|
-
: '')),
|
|
37
|
-
react_1.default.createElement(react_core_1.ListItem, null,
|
|
38
|
-
"Each control plane node requires an additional ",
|
|
39
|
-
(masterRequirements === null || masterRequirements === void 0 ? void 0 : masterRequirements.ramMib) || 150,
|
|
40
|
-
" MiB of memory ",
|
|
41
|
-
(masterRequirements === null || masterRequirements === void 0 ? void 0 : masterRequirements.diskSizeGb) ? ',' : ' and',
|
|
42
|
-
" ",
|
|
43
|
-
(masterRequirements === null || masterRequirements === void 0 ? void 0 : masterRequirements.cpuCores) || 4,
|
|
44
|
-
' ',
|
|
45
|
-
"CPUs",
|
|
46
|
-
(masterRequirements === null || masterRequirements === void 0 ? void 0 : masterRequirements.diskSizeGb)
|
|
47
|
-
? ` and ${masterRequirements === null || masterRequirements === void 0 ? void 0 : masterRequirements.diskSizeGb} storage space`
|
|
48
|
-
: ''))));
|
|
49
|
-
};
|
|
50
|
-
exports.default = MtvRequirements;
|
|
51
|
-
//# sourceMappingURL=MtvRequirements.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MtvRequirements.js","sourceRoot":"","sources":["../../../../../../lib/ocm/components/clusterConfiguration/operators/MtvRequirements.tsx"],"names":[],"mappings":";;;AAAA,0DAA0B;AAC1B,6CAA0C;AAC1C,uDAAwD;AACxD,0CAAiE;AACjE,+CAA2F;AAE3F,+EAA4F;AAE5F,MAAM,eAAe,GAAG,CAAC,EAAE,SAAS,EAAgC,EAAE,EAAE;;IACtE,MAAM,EAAE,qBAAqB,EAAE,KAAK,EAAE,SAAS,EAAE,GAAG,IAAA,uCAA+B,EAAC,SAAS,CAAC,CAAC;IAC/F,MAAM,YAAY,GAAG,IAAA,yBAAW,EAAC,qCAAyB,CAAC,CAAC;IAE5D,IAAI,SAAS,EAAE;QACb,OAAO,8BAAC,qBAAY,IAAC,OAAO,EAAC,mCAAmC,GAAG,CAAC;KACrE;IACD,IAAI,KAAK,EAAE;QACT,OAAO,8BAAC,mBAAU,OAAG,CAAC;KACvB;IAED,MAAM,eAAe,GAAG,MAAA,qBAAqB,aAArB,qBAAqB,uBAArB,qBAAqB,CAAE,SAAS,0CAAE,IAAI,CAC5D,CAAC,oBAAoB,EAAE,EAAE,CAAC,oBAAoB,CAAC,YAAY,KAAK,0BAAiB,CAClF,CAAC;IAEF,MAAM,kBAAkB,GAAG,MAAA,MAAA,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,YAAY,0CAAE,MAAM,0CAAE,YAAY,CAAC;IAC/E,MAAM,kBAAkB,GAAG,MAAA,MAAA,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,YAAY,0CAAE,MAAM,0CAAE,YAAY,CAAC;IAC/E,OAAO,CACL;QACE,8BAAC,iBAAI;YACH,8BAAC,iBAAQ,IAAC,SAAS,EAAE,CAAC,YAAY;gBAChC,8BAAC,qBAAQ;;oBACkC,CAAA,kBAAkB,aAAlB,kBAAkB,uBAAlB,kBAAkB,CAAE,MAAM,KAAI,GAAG;;oBAClE,CAAA,kBAAkB,aAAlB,kBAAkB,uBAAlB,kBAAkB,CAAE,UAAU,EAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM;oBAAE,GAAG;oBACzD,CAAA,kBAAkB,aAAlB,kBAAkB,uBAAlB,kBAAkB,CAAE,QAAQ,KAAI,CAAC;;oBACjC,CAAA,kBAAkB,aAAlB,kBAAkB,uBAAlB,kBAAkB,CAAE,UAAU;wBAC7B,CAAC,CAAC,QAAQ,kBAAkB,aAAlB,kBAAkB,uBAAlB,kBAAkB,CAAE,UAAU,gBAAgB;wBACxD,CAAC,CAAC,EAAE,CACG,CACF;YACX,8BAAC,qBAAQ;;gBACyC,CAAA,kBAAkB,aAAlB,kBAAkB,uBAAlB,kBAAkB,CAAE,MAAM,KAAI,GAAG;;gBACzE,CAAA,kBAAkB,aAAlB,kBAAkB,uBAAlB,kBAAkB,CAAE,UAAU,EAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM;;gBAAG,CAAA,kBAAkB,aAAlB,kBAAkB,uBAAlB,kBAAkB,CAAE,QAAQ,KAAI,CAAC;gBAAE,GAAG;;gBAE7F,CAAA,kBAAkB,aAAlB,kBAAkB,uBAAlB,kBAAkB,CAAE,UAAU;oBAC7B,CAAC,CAAC,QAAQ,kBAAkB,aAAlB,kBAAkB,uBAAlB,kBAAkB,CAAE,UAAU,gBAAgB;oBACxD,CAAC,CAAC,EAAE,CACG,CACN,CACN,CACJ,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,eAAe,CAAC"}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
const react_1 = tslib_1.__importStar(require("react"));
|
|
5
|
-
const react_core_1 = require("@patternfly/react-core");
|
|
6
|
-
const external_link_alt_icon_1 = require("@patternfly/react-icons/dist/js/icons/external-link-alt-icon");
|
|
7
|
-
const common_1 = require("../../../../common");
|
|
8
|
-
const OcmFormFields_1 = require("../../ui/OcmFormFields");
|
|
9
|
-
const newFeatureSupportLevels_1 = require("../../../../common/components/newFeatureSupportLevels");
|
|
10
|
-
const formik_1 = require("formik");
|
|
11
|
-
const featureStateUtils_1 = require("../../featureSupportLevels/featureStateUtils");
|
|
12
|
-
const ODF_FIELD_NAME = 'useOpenShiftDataFoundation';
|
|
13
|
-
const OdfLabel = ({ disabledReason }) => (react_1.default.createElement(react_1.default.Fragment, null,
|
|
14
|
-
react_1.default.createElement(react_core_1.Tooltip, { hidden: !disabledReason, content: disabledReason },
|
|
15
|
-
react_1.default.createElement("span", null, "Install OpenShift Data Foundation ")),
|
|
16
|
-
react_1.default.createElement(common_1.PopoverIcon, { component: 'a', headerContent: "Additional requirements", bodyContent: react_1.default.createElement("a", { href: common_1.ODF_REQUIREMENTS_LINK, target: "_blank", rel: "noopener noreferrer" },
|
|
17
|
-
"Learn more about the requirements for OpenShift Data Foundation ",
|
|
18
|
-
react_1.default.createElement(external_link_alt_icon_1.ExternalLinkAltIcon, null),
|
|
19
|
-
".") })));
|
|
20
|
-
const OdfHelperText = () => {
|
|
21
|
-
return (react_1.default.createElement(react_core_1.HelperText, null,
|
|
22
|
-
react_1.default.createElement(react_core_1.HelperTextItem, { variant: "indeterminate" },
|
|
23
|
-
"Persistent software-defined storage for hybrid applications.",
|
|
24
|
-
' ',
|
|
25
|
-
react_1.default.createElement("a", { href: common_1.ODF_LINK, target: "_blank", rel: "noopener noreferrer" },
|
|
26
|
-
'Learn more',
|
|
27
|
-
" ",
|
|
28
|
-
react_1.default.createElement(external_link_alt_icon_1.ExternalLinkAltIcon, null)))));
|
|
29
|
-
};
|
|
30
|
-
const OdfCheckbox = () => {
|
|
31
|
-
const featureSupportLevelContext = (0, newFeatureSupportLevels_1.useNewFeatureSupportLevel)();
|
|
32
|
-
const { values } = (0, formik_1.useFormikContext)();
|
|
33
|
-
const fieldId = (0, common_1.getFieldId)(ODF_FIELD_NAME, 'input');
|
|
34
|
-
const [disabledReason, setDisabledReason] = (0, react_1.useState)();
|
|
35
|
-
react_1.default.useEffect(() => {
|
|
36
|
-
let disabledReason = featureSupportLevelContext.getFeatureDisabledReason('ODF');
|
|
37
|
-
if (!disabledReason) {
|
|
38
|
-
disabledReason = (0, featureStateUtils_1.getOdfIncompatibleWithLvmsReason)(values);
|
|
39
|
-
}
|
|
40
|
-
setDisabledReason(disabledReason);
|
|
41
|
-
}, [values, featureSupportLevelContext]);
|
|
42
|
-
return (react_1.default.createElement(react_core_1.FormGroup, { isInline: true, fieldId: fieldId },
|
|
43
|
-
react_1.default.createElement(OcmFormFields_1.OcmCheckboxField, { name: ODF_FIELD_NAME, label: react_1.default.createElement(OdfLabel, { disabledReason: disabledReason }), isDisabled: !!disabledReason, helperText: react_1.default.createElement(OdfHelperText, null) })));
|
|
44
|
-
};
|
|
45
|
-
exports.default = OdfCheckbox;
|
|
46
|
-
//# sourceMappingURL=OdfCheckbox.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OdfCheckbox.js","sourceRoot":"","sources":["../../../../../../lib/ocm/components/clusterConfiguration/operators/OdfCheckbox.tsx"],"names":[],"mappings":";;;AAAA,uDAAwC;AACxC,uDAAwF;AACxF,yGAAmG;AACnG,+CAM4B;AAC5B,0DAA0D;AAC1D,mGAAkG;AAClG,mCAA0C;AAC1C,oFAAgG;AAEhG,MAAM,cAAc,GAAG,4BAA4B,CAAC;AAEpD,MAAM,QAAQ,GAAG,CAAC,EAAE,cAAc,EAA+B,EAAE,EAAE,CAAC,CACpE;IACE,8BAAC,oBAAO,IAAC,MAAM,EAAE,CAAC,cAAc,EAAE,OAAO,EAAE,cAAc;QACvD,iFAA+C,CACvC;IACV,8BAAC,oBAAW,IACV,SAAS,EAAE,GAAG,EACd,aAAa,EAAC,yBAAyB,EACvC,WAAW,EACT,qCAAG,IAAI,EAAE,8BAAqB,EAAE,MAAM,EAAC,QAAQ,EAAC,GAAG,EAAC,qBAAqB;;YACP,8BAAC,4CAAmB,OAAG;gBACrF,GAEN,CACD,CACJ,CAAC;AAEF,MAAM,aAAa,GAAG,GAAG,EAAE;IACzB,OAAO,CACL,8BAAC,uBAAU;QACT,8BAAC,2BAAc,IAAC,OAAO,EAAC,eAAe;;YACwB,GAAG;YAChE,qCAAG,IAAI,EAAE,iBAAQ,EAAE,MAAM,EAAC,QAAQ,EAAC,GAAG,EAAC,qBAAqB;gBACzD,YAAY;;gBAAE,8BAAC,4CAAmB,OAAG,CACpC,CACW,CACN,CACd,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,WAAW,GAAG,GAAG,EAAE;IACvB,MAAM,0BAA0B,GAAG,IAAA,mDAAyB,GAAE,CAAC;IAC/D,MAAM,EAAE,MAAM,EAAE,GAAG,IAAA,yBAAgB,GAAmB,CAAC;IACvD,MAAM,OAAO,GAAG,IAAA,mBAAU,EAAC,cAAc,EAAE,OAAO,CAAC,CAAC;IACpD,MAAM,CAAC,cAAc,EAAE,iBAAiB,CAAC,GAAG,IAAA,gBAAQ,GAAsB,CAAC;IAE3E,eAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACnB,IAAI,cAAc,GAAG,0BAA0B,CAAC,wBAAwB,CAAC,KAAK,CAAC,CAAC;QAChF,IAAI,CAAC,cAAc,EAAE;YACnB,cAAc,GAAG,IAAA,oDAAgC,EAAC,MAAM,CAAC,CAAC;SAC3D;QACD,iBAAiB,CAAC,cAAc,CAAC,CAAC;IACpC,CAAC,EAAE,CAAC,MAAM,EAAE,0BAA0B,CAAC,CAAC,CAAC;IAEzC,OAAO,CACL,8BAAC,sBAAS,IAAC,QAAQ,QAAC,OAAO,EAAE,OAAO;QAClC,8BAAC,gCAAgB,IACf,IAAI,EAAE,cAAc,EACpB,KAAK,EAAE,8BAAC,QAAQ,IAAC,cAAc,EAAE,cAAc,GAAI,EACnD,UAAU,EAAE,CAAC,CAAC,cAAc,EAC5B,UAAU,EAAE,8BAAC,aAAa,OAAG,GAC7B,CACQ,CACb,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,WAAW,CAAC"}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
const react_1 = tslib_1.__importStar(require("react"));
|
|
5
|
-
const react_core_1 = require("@patternfly/react-core");
|
|
6
|
-
const external_link_alt_icon_1 = require("@patternfly/react-icons/dist/js/icons/external-link-alt-icon");
|
|
7
|
-
const formik_1 = require("formik");
|
|
8
|
-
const common_1 = require("../../../../common");
|
|
9
|
-
const OpenShiftAIRequirements_1 = tslib_1.__importDefault(require("./OpenShiftAIRequirements"));
|
|
10
|
-
const OcmFormFields_1 = require("../../ui/OcmFormFields");
|
|
11
|
-
const newFeatureSupportLevels_1 = require("../../../../common/components/newFeatureSupportLevels");
|
|
12
|
-
const NewFeatureSupportLevelBadge_1 = tslib_1.__importDefault(require("../../../../common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge"));
|
|
13
|
-
const featureStateUtils_1 = require("../../featureSupportLevels/featureStateUtils");
|
|
14
|
-
const OPENSHIFT_AI_FIELD_NAME = 'useOpenShiftAI';
|
|
15
|
-
const OpenShiftAILabel = ({ disabledReason, supportLevel }) => {
|
|
16
|
-
return (react_1.default.createElement(react_1.default.Fragment, null,
|
|
17
|
-
react_1.default.createElement(react_core_1.Tooltip, { hidden: !disabledReason, content: disabledReason },
|
|
18
|
-
react_1.default.createElement("span", null, "Install OpenShift AI bundle ")),
|
|
19
|
-
react_1.default.createElement(common_1.PopoverIcon, { component: 'a', headerContent: "Requirements and dependencies", bodyContent: react_1.default.createElement(OpenShiftAIRequirements_1.default, null) }),
|
|
20
|
-
react_1.default.createElement(NewFeatureSupportLevelBadge_1.default, { featureId: "OPENSHIFT_AI", supportLevel: supportLevel })));
|
|
21
|
-
};
|
|
22
|
-
const OpenShiftAIHelperText = () => {
|
|
23
|
-
return (react_1.default.createElement(react_core_1.HelperText, null,
|
|
24
|
-
react_1.default.createElement(react_core_1.HelperTextItem, { variant: "indeterminate" },
|
|
25
|
-
"Train, serve, monitor and manage AI/ML models and applications.",
|
|
26
|
-
' ',
|
|
27
|
-
react_1.default.createElement("a", { href: common_1.OPENSHIFT_AI_LINK, target: "_blank", rel: "noopener noreferrer" },
|
|
28
|
-
'Learn more',
|
|
29
|
-
" ",
|
|
30
|
-
react_1.default.createElement(external_link_alt_icon_1.ExternalLinkAltIcon, null)))));
|
|
31
|
-
};
|
|
32
|
-
const OpenShiftAICheckbox = () => {
|
|
33
|
-
const featureSupportLevel = (0, newFeatureSupportLevels_1.useNewFeatureSupportLevel)();
|
|
34
|
-
const { values } = (0, formik_1.useFormikContext)();
|
|
35
|
-
const fieldId = (0, common_1.getFieldId)(OPENSHIFT_AI_FIELD_NAME, 'input');
|
|
36
|
-
const [disabledReason, setDisabledReason] = (0, react_1.useState)();
|
|
37
|
-
react_1.default.useEffect(() => {
|
|
38
|
-
let disabledReason = featureSupportLevel.getFeatureDisabledReason('OPENSHIFT_AI');
|
|
39
|
-
if (!disabledReason) {
|
|
40
|
-
disabledReason = (0, featureStateUtils_1.getOpenShiftAIIncompatibleWithLvmsReason)(values);
|
|
41
|
-
}
|
|
42
|
-
setDisabledReason(disabledReason);
|
|
43
|
-
}, [values, featureSupportLevel]);
|
|
44
|
-
return (react_1.default.createElement(react_core_1.FormGroup, { isInline: true, fieldId: fieldId },
|
|
45
|
-
react_1.default.createElement(OcmFormFields_1.OcmCheckboxField, { name: OPENSHIFT_AI_FIELD_NAME, label: react_1.default.createElement(OpenShiftAILabel, { disabledReason: disabledReason, supportLevel: featureSupportLevel.getFeatureSupportLevel('OPENSHIFT_AI') }), isDisabled: !!disabledReason, helperText: react_1.default.createElement(OpenShiftAIHelperText, null) })));
|
|
46
|
-
};
|
|
47
|
-
exports.default = OpenShiftAICheckbox;
|
|
48
|
-
//# sourceMappingURL=OpenShiftAICheckbox.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OpenShiftAICheckbox.js","sourceRoot":"","sources":["../../../../../../lib/ocm/components/clusterConfiguration/operators/OpenShiftAICheckbox.tsx"],"names":[],"mappings":";;;AAAA,uDAAwC;AACxC,uDAAwF;AACxF,yGAAmG;AACnG,mCAA0C;AAC1C,+CAAiG;AACjG,gGAAgE;AAChE,0DAA0D;AAC1D,mGAAkG;AAClG,4JAA4H;AAE5H,oFAAwG;AAExG,MAAM,uBAAuB,GAAG,gBAAgB,CAAC;AAOjD,MAAM,gBAAgB,GAAG,CAAC,EAAE,cAAc,EAAE,YAAY,EAAyB,EAAE,EAAE;IACnF,OAAO,CACL;QACE,8BAAC,oBAAO,IAAC,MAAM,EAAE,CAAC,cAAc,EAAE,OAAO,EAAE,cAAc;YACvD,2EAAyC,CACjC;QACV,8BAAC,oBAAW,IACV,SAAS,EAAE,GAAG,EACd,aAAa,EAAC,+BAA+B,EAC7C,WAAW,EAAE,8BAAC,iCAAuB,OAAG,GACxC;QACF,8BAAC,qCAA2B,IAAC,SAAS,EAAC,cAAc,EAAC,YAAY,EAAE,YAAY,GAAI,CACnF,CACJ,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,qBAAqB,GAAG,GAAG,EAAE;IACjC,OAAO,CACL,8BAAC,uBAAU;QACT,8BAAC,2BAAc,IAAC,OAAO,EAAC,eAAe;;YAC2B,GAAG;YACnE,qCAAG,IAAI,EAAE,0BAAiB,EAAE,MAAM,EAAC,QAAQ,EAAC,GAAG,EAAC,qBAAqB;gBAClE,YAAY;;gBAAE,8BAAC,4CAAmB,OAAG,CACpC,CACW,CACN,CACd,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,mBAAmB,GAAG,GAAG,EAAE;IAC/B,MAAM,mBAAmB,GAAG,IAAA,mDAAyB,GAAE,CAAC;IACxD,MAAM,EAAE,MAAM,EAAE,GAAG,IAAA,yBAAgB,GAAmB,CAAC;IACvD,MAAM,OAAO,GAAG,IAAA,mBAAU,EAAC,uBAAuB,EAAE,OAAO,CAAC,CAAC;IAC7D,MAAM,CAAC,cAAc,EAAE,iBAAiB,CAAC,GAAG,IAAA,gBAAQ,GAAsB,CAAC;IAE3E,eAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACnB,IAAI,cAAc,GAAG,mBAAmB,CAAC,wBAAwB,CAAC,cAAc,CAAC,CAAC;QAClF,IAAI,CAAC,cAAc,EAAE;YACnB,cAAc,GAAG,IAAA,4DAAwC,EAAC,MAAM,CAAC,CAAC;SACnE;QACD,iBAAiB,CAAC,cAAc,CAAC,CAAC;IACpC,CAAC,EAAE,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAAC,CAAC;IAElC,OAAO,CACL,8BAAC,sBAAS,IAAC,QAAQ,QAAC,OAAO,EAAE,OAAO;QAClC,8BAAC,gCAAgB,IACf,IAAI,EAAE,uBAAuB,EAC7B,KAAK,EACH,8BAAC,gBAAgB,IACf,cAAc,EAAE,cAAc,EAC9B,YAAY,EAAE,mBAAmB,CAAC,sBAAsB,CAAC,cAAc,CAAC,GACxE,EAEJ,UAAU,EAAE,CAAC,CAAC,cAAc,EAC5B,UAAU,EAAE,8BAAC,qBAAqB,OAAG,GACrC,CACQ,CACb,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,mBAAmB,CAAC"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
const react_1 = tslib_1.__importDefault(require("react"));
|
|
5
|
-
const react_core_1 = require("@patternfly/react-core");
|
|
6
|
-
const external_link_alt_icon_1 = require("@patternfly/react-icons/dist/js/icons/external-link-alt-icon");
|
|
7
|
-
const common_1 = require("../../../../common");
|
|
8
|
-
const OpenShiftAIRequirements = () => {
|
|
9
|
-
return (react_1.default.createElement(react_1.default.Fragment, null,
|
|
10
|
-
react_1.default.createElement(react_core_1.List, null,
|
|
11
|
-
react_1.default.createElement(react_core_1.ListItem, null, "At least two worker nodes."),
|
|
12
|
-
react_1.default.createElement(react_core_1.ListItem, null, "Each worker node requires 32 additional GiB of memory and 8 additional CPUs."),
|
|
13
|
-
react_1.default.createElement(react_core_1.ListItem, null, "At least one supported GPU. Currently only NVIDIA GPUs are supported."),
|
|
14
|
-
react_1.default.createElement(react_core_1.ListItem, null, "Nodes that have NVIDIA GPUs installed need to have secure boot disabled.")),
|
|
15
|
-
"Bundle operators:",
|
|
16
|
-
react_1.default.createElement(react_core_1.List, null,
|
|
17
|
-
react_1.default.createElement(react_core_1.ListItem, null, "OpenShift Data Foundation"),
|
|
18
|
-
react_1.default.createElement(react_core_1.ListItem, null, "Node Feature Discovery"),
|
|
19
|
-
react_1.default.createElement(react_core_1.ListItem, null, "NVIDIA GPU"),
|
|
20
|
-
react_1.default.createElement(react_core_1.ListItem, null, "Pipelines"),
|
|
21
|
-
react_1.default.createElement(react_core_1.ListItem, null, "Service Mesh"),
|
|
22
|
-
react_1.default.createElement(react_core_1.ListItem, null, "Serverless"),
|
|
23
|
-
react_1.default.createElement(react_core_1.ListItem, null, "Authorino")),
|
|
24
|
-
react_1.default.createElement("a", { href: common_1.OPENSHIFT_AI_REQUIREMENTS_LINK, target: "_blank", rel: "noopener noreferrer" },
|
|
25
|
-
"Learn more ",
|
|
26
|
-
react_1.default.createElement(external_link_alt_icon_1.ExternalLinkAltIcon, null),
|
|
27
|
-
".")));
|
|
28
|
-
};
|
|
29
|
-
exports.default = OpenShiftAIRequirements;
|
|
30
|
-
//# sourceMappingURL=OpenShiftAIRequirements.js.map
|
package/build/cjs/ocm/components/clusterConfiguration/operators/OpenShiftAIRequirements.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OpenShiftAIRequirements.js","sourceRoot":"","sources":["../../../../../../lib/ocm/components/clusterConfiguration/operators/OpenShiftAIRequirements.tsx"],"names":[],"mappings":";;;AAAA,0DAA0B;AAC1B,uDAAwD;AACxD,yGAAmG;AACnG,+CAAoE;AAEpE,MAAM,uBAAuB,GAAG,GAAG,EAAE;IACnC,OAAO,CACL;QACE,8BAAC,iBAAI;YACH,8BAAC,qBAAQ,qCAAsC;YAC/C,8BAAC,qBAAQ,uFAEE;YACX,8BAAC,qBAAQ,gFAAiF;YAC1F,8BAAC,qBAAQ,mFAEE,CACN;;QAEP,8BAAC,iBAAI;YACH,8BAAC,qBAAQ,oCAAqC;YAC9C,8BAAC,qBAAQ,iCAAkC;YAC3C,8BAAC,qBAAQ,qBAAsB;YAC/B,8BAAC,qBAAQ,oBAAqB;YAC9B,8BAAC,qBAAQ,uBAAwB;YACjC,8BAAC,qBAAQ,qBAAsB;YAC/B,8BAAC,qBAAQ,oBAAqB,CACzB;QACP,qCAAG,IAAI,EAAE,uCAA8B,EAAE,MAAM,EAAC,QAAQ,EAAC,GAAG,EAAC,qBAAqB;;YACrE,8BAAC,4CAAmB,OAAG;gBAChC,CACH,CACJ,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,uBAAuB,CAAC"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RebootNodeZeroModal = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const react_1 = tslib_1.__importDefault(require("react"));
|
|
6
|
-
const react_core_1 = require("@patternfly/react-core");
|
|
7
|
-
const ClusterDetailStatusVarieties_1 = require("./ClusterDetailStatusVarieties");
|
|
8
|
-
const common_1 = require("../../../common");
|
|
9
|
-
require("./RebootNodeZeroModal.css");
|
|
10
|
-
// TODO(mlibra): Following will be reimplemented based on future decisions in https://issues.redhat.com/browse/AGENT-522
|
|
11
|
-
const RebootNodeZeroModal = ({ cluster }) => {
|
|
12
|
-
const [rebootConfirmed, setRebootCofirmed] = react_1.default.useState(false);
|
|
13
|
-
const clusterVarieties = (0, ClusterDetailStatusVarieties_1.useClusterStatusVarieties)(cluster);
|
|
14
|
-
const { credentials, credentialsError, fetchCredentials } = clusterVarieties;
|
|
15
|
-
const onReboot = () => {
|
|
16
|
-
// console.error('onReboot handler to be implemented');
|
|
17
|
-
// TODO(mlibra): Make HTTP Rest call to the assisted-service to restart the node, such endpoint is not yet implemented
|
|
18
|
-
};
|
|
19
|
-
// Do not merge, development only:
|
|
20
|
-
// credentials = credentials || {
|
|
21
|
-
// username: 'mock-user',
|
|
22
|
-
// password: 'mock-password',
|
|
23
|
-
// consoleUrl: 'https://www.google.com/search?q=mock',
|
|
24
|
-
// };
|
|
25
|
-
return (react_1.default.createElement(react_core_1.Modal, { title: "Reboot node?", className: "ai-reboot-modal", isOpen: true, variant: react_core_1.ModalVariant.medium, actions: [
|
|
26
|
-
react_1.default.createElement(react_core_1.Button, { key: "reboot", onClick: onReboot, isDisabled: !rebootConfirmed }, "Reboot"),
|
|
27
|
-
] },
|
|
28
|
-
react_1.default.createElement(react_core_1.TextContent, null,
|
|
29
|
-
react_1.default.createElement(react_core_1.Text, null, "This node is about to reboot. Make sure you have downloaded the kubeconfig before you proceed to reboot.")),
|
|
30
|
-
react_1.default.createElement(common_1.KubeconfigDownload, { status: cluster.status, clusterId: cluster.id, className: "ai-reboot-modal__item", "data-testid": "button-download-kubeconfig" }),
|
|
31
|
-
react_1.default.createElement(common_1.ClusterCredentials, { cluster: cluster, credentials: credentials, error: !!credentialsError, retry: fetchCredentials, credentialsError: credentialsError }),
|
|
32
|
-
react_1.default.createElement(react_core_1.Checkbox, { label: "I have downloaded the kubeconfig, saved the credentials and the node is ready to reboot", className: "ai-reboot-modal__item", isChecked: rebootConfirmed, onChange: () => setRebootCofirmed(!rebootConfirmed), id: "checkbox-confirm-reboot", name: "confirm-reboot" })));
|
|
33
|
-
};
|
|
34
|
-
exports.RebootNodeZeroModal = RebootNodeZeroModal;
|
|
35
|
-
//# sourceMappingURL=RebootNodeZeroModal.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RebootNodeZeroModal.js","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterDetail/RebootNodeZeroModal.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,uDAAkG;AAElG,iFAA2E;AAC3E,4CAAyE;AAEzE,qCAAmC;AAGnC,wHAAwH;AACjH,MAAM,mBAAmB,GAAmC,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE;IACjF,MAAM,CAAC,eAAe,EAAE,iBAAiB,CAAC,GAAG,eAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IACnE,MAAM,gBAAgB,GAAG,IAAA,wDAAyB,EAAC,OAAO,CAAC,CAAC;IAC5D,MAAM,EAAE,WAAW,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,GAAG,gBAAgB,CAAC;IAE7E,MAAM,QAAQ,GAAG,GAAG,EAAE;QACpB,uDAAuD;QACvD,sHAAsH;IACxH,CAAC,CAAC;IAEF,kCAAkC;IAClC,iCAAiC;IACjC,2BAA2B;IAC3B,+BAA+B;IAC/B,wDAAwD;IACxD,KAAK;IAEL,OAAO,CACL,8BAAC,kBAAK,IACJ,KAAK,EAAC,cAAc,EACpB,SAAS,EAAC,iBAAiB,EAC3B,MAAM,EAAE,IAAI,EACZ,OAAO,EAAE,yBAAY,CAAC,MAAM,EAC5B,OAAO,EAAE;YACP,8BAAC,mBAAM,IAAC,GAAG,EAAC,QAAQ,EAAC,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC,eAAe,aAE3D;SACV;QAED,8BAAC,wBAAW;YACV,8BAAC,iBAAI,mHAGE,CACK;QACd,8BAAC,2BAAkB,IACjB,MAAM,EAAE,OAAO,CAAC,MAAM,EACtB,SAAS,EAAE,OAAO,CAAC,EAAE,EACrB,SAAS,EAAC,uBAAuB,iBACrB,4BAA4B,GACxC;QACF,8BAAC,2BAAkB,IACjB,OAAO,EAAE,OAAO,EAChB,WAAW,EAAE,WAAW,EACxB,KAAK,EAAE,CAAC,CAAC,gBAAgB,EACzB,KAAK,EAAE,gBAAgB,EACvB,gBAAgB,EAAE,gBAAgB,GAClC;QACF,8BAAC,qBAAQ,IACP,KAAK,EAAC,yFAAyF,EAC/F,SAAS,EAAC,uBAAuB,EACjC,SAAS,EAAE,eAAe,EAC1B,QAAQ,EAAE,GAAG,EAAE,CAAC,iBAAiB,CAAC,CAAC,eAAe,CAAC,EACnD,EAAE,EAAC,yBAAyB,EAC5B,IAAI,EAAC,gBAAgB,GACrB,CACI,CACT,CAAC;AACJ,CAAC,CAAC;AA1DW,QAAA,mBAAmB,uBA0D9B"}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ClusterDetailsValues } from '../../../common/components/clusterWizard/types';
|
|
3
|
-
import OcmSingleNodeCheckbox from './OcmSingleNodeCheckbox';
|
|
4
|
-
import {
|
|
5
|
-
NewFeatureSupportLevelMap,
|
|
6
|
-
useNewFeatureSupportLevel,
|
|
7
|
-
} from '../../../common/components/newFeatureSupportLevels';
|
|
8
|
-
import OcmSNODisclaimer from './OcmSNODisclaimer';
|
|
9
|
-
|
|
10
|
-
type OcmSNOControlGroupProps = {
|
|
11
|
-
highAvailabilityMode: ClusterDetailsValues['highAvailabilityMode'];
|
|
12
|
-
featureSupportLevelData?: NewFeatureSupportLevelMap;
|
|
13
|
-
};
|
|
14
|
-
|
|
15
|
-
const OcmSNOControlGroup = ({
|
|
16
|
-
highAvailabilityMode,
|
|
17
|
-
featureSupportLevelData,
|
|
18
|
-
}: OcmSNOControlGroupProps) => {
|
|
19
|
-
const newFeatureSupportLevelContext = useNewFeatureSupportLevel();
|
|
20
|
-
|
|
21
|
-
const snoSupportLevel = newFeatureSupportLevelContext.getFeatureSupportLevel(
|
|
22
|
-
'SNO',
|
|
23
|
-
featureSupportLevelData,
|
|
24
|
-
);
|
|
25
|
-
const snoExpansion = newFeatureSupportLevelContext.isFeatureSupported(
|
|
26
|
-
'SINGLE_NODE_EXPANSION',
|
|
27
|
-
featureSupportLevelData,
|
|
28
|
-
);
|
|
29
|
-
const isDisabled = newFeatureSupportLevelContext.isFeatureDisabled(
|
|
30
|
-
'SNO',
|
|
31
|
-
featureSupportLevelData,
|
|
32
|
-
);
|
|
33
|
-
const disabledReason = newFeatureSupportLevelContext.getFeatureDisabledReason(
|
|
34
|
-
'SNO',
|
|
35
|
-
featureSupportLevelData,
|
|
36
|
-
);
|
|
37
|
-
|
|
38
|
-
const isSupportedVersionAvailable = newFeatureSupportLevelContext.isFeatureSupported(
|
|
39
|
-
'SNO',
|
|
40
|
-
featureSupportLevelData,
|
|
41
|
-
);
|
|
42
|
-
return (
|
|
43
|
-
<>
|
|
44
|
-
<OcmSingleNodeCheckbox
|
|
45
|
-
name="highAvailabilityMode"
|
|
46
|
-
isDisabled={isDisabled}
|
|
47
|
-
disabledReason={disabledReason}
|
|
48
|
-
isSupportedVersionAvailable={isSupportedVersionAvailable}
|
|
49
|
-
supportLevel={snoSupportLevel}
|
|
50
|
-
/>
|
|
51
|
-
{highAvailabilityMode === 'None' && snoSupportLevel && (
|
|
52
|
-
<OcmSNODisclaimer
|
|
53
|
-
isDisabled={isDisabled}
|
|
54
|
-
snoSupportLevel={snoSupportLevel}
|
|
55
|
-
snoExpansionSupported={snoExpansion}
|
|
56
|
-
/>
|
|
57
|
-
)}
|
|
58
|
-
</>
|
|
59
|
-
);
|
|
60
|
-
};
|
|
61
|
-
|
|
62
|
-
export default OcmSNOControlGroup;
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
import React, { useState } 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 { useFormikContext } from 'formik';
|
|
5
|
-
import {
|
|
6
|
-
ClusterOperatorProps,
|
|
7
|
-
CNV_LINK,
|
|
8
|
-
getFieldId,
|
|
9
|
-
OperatorsValues,
|
|
10
|
-
PopoverIcon,
|
|
11
|
-
} from '../../../../common';
|
|
12
|
-
import CnvHostRequirements from './CnvHostRequirements';
|
|
13
|
-
import { getCnvIncompatibleWithLvmReason } from '../../featureSupportLevels/featureStateUtils';
|
|
14
|
-
import { OcmCheckboxField } from '../../ui/OcmFormFields';
|
|
15
|
-
import { useNewFeatureSupportLevel } from '../../../../common/components/newFeatureSupportLevels';
|
|
16
|
-
import NewFeatureSupportLevelBadge from '../../../../common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge';
|
|
17
|
-
import { SupportLevel } from '@openshift-assisted/types/assisted-installer-service';
|
|
18
|
-
|
|
19
|
-
const CNV_FIELD_NAME = 'useContainerNativeVirtualization';
|
|
20
|
-
|
|
21
|
-
type CnvLabelProps = {
|
|
22
|
-
clusterId: string;
|
|
23
|
-
disabledReason?: string;
|
|
24
|
-
isVersionEqualsOrMajorThan4_15: boolean;
|
|
25
|
-
supportLevel?: SupportLevel;
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
const CnvLabel = ({
|
|
29
|
-
clusterId,
|
|
30
|
-
disabledReason,
|
|
31
|
-
isVersionEqualsOrMajorThan4_15,
|
|
32
|
-
supportLevel,
|
|
33
|
-
}: CnvLabelProps) => {
|
|
34
|
-
return (
|
|
35
|
-
<>
|
|
36
|
-
<Tooltip hidden={!disabledReason} content={disabledReason}>
|
|
37
|
-
<span>Install OpenShift Virtualization </span>
|
|
38
|
-
</Tooltip>
|
|
39
|
-
<PopoverIcon
|
|
40
|
-
component={'a'}
|
|
41
|
-
headerContent="Additional requirements"
|
|
42
|
-
bodyContent={
|
|
43
|
-
<CnvHostRequirements
|
|
44
|
-
clusterId={clusterId}
|
|
45
|
-
isVersionEqualsOrMajorThan4_15={isVersionEqualsOrMajorThan4_15}
|
|
46
|
-
/>
|
|
47
|
-
}
|
|
48
|
-
/>
|
|
49
|
-
<NewFeatureSupportLevelBadge featureId="CNV" supportLevel={supportLevel} />
|
|
50
|
-
</>
|
|
51
|
-
);
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
const CnvHelperText = () => {
|
|
55
|
-
return (
|
|
56
|
-
<HelperText>
|
|
57
|
-
<HelperTextItem variant="indeterminate">
|
|
58
|
-
Run virtual machines alongside containers on one platform.{' '}
|
|
59
|
-
<a href={CNV_LINK} target="_blank" rel="noopener noreferrer">
|
|
60
|
-
{'Learn more'} <ExternalLinkAltIcon />
|
|
61
|
-
</a>
|
|
62
|
-
</HelperTextItem>
|
|
63
|
-
</HelperText>
|
|
64
|
-
);
|
|
65
|
-
};
|
|
66
|
-
|
|
67
|
-
const CnvCheckbox = ({
|
|
68
|
-
clusterId,
|
|
69
|
-
isVersionEqualsOrMajorThan4_15,
|
|
70
|
-
}: {
|
|
71
|
-
clusterId: ClusterOperatorProps['clusterId'];
|
|
72
|
-
isVersionEqualsOrMajorThan4_15: boolean;
|
|
73
|
-
}) => {
|
|
74
|
-
const fieldId = getFieldId(CNV_FIELD_NAME, 'input');
|
|
75
|
-
|
|
76
|
-
const featureSupportLevel = useNewFeatureSupportLevel();
|
|
77
|
-
const { values } = useFormikContext<OperatorsValues>();
|
|
78
|
-
const [disabledReason, setDisabledReason] = useState<string | undefined>();
|
|
79
|
-
|
|
80
|
-
React.useEffect(() => {
|
|
81
|
-
let reason = featureSupportLevel.getFeatureDisabledReason('CNV');
|
|
82
|
-
if (!reason) {
|
|
83
|
-
const lvmSupport = featureSupportLevel.getFeatureSupportLevel('LVM');
|
|
84
|
-
reason = getCnvIncompatibleWithLvmReason(values, lvmSupport);
|
|
85
|
-
}
|
|
86
|
-
setDisabledReason(reason);
|
|
87
|
-
}, [values, featureSupportLevel]);
|
|
88
|
-
|
|
89
|
-
return (
|
|
90
|
-
<FormGroup isInline fieldId={fieldId}>
|
|
91
|
-
<OcmCheckboxField
|
|
92
|
-
name={CNV_FIELD_NAME}
|
|
93
|
-
label={
|
|
94
|
-
<CnvLabel
|
|
95
|
-
clusterId={clusterId}
|
|
96
|
-
disabledReason={disabledReason}
|
|
97
|
-
isVersionEqualsOrMajorThan4_15={isVersionEqualsOrMajorThan4_15}
|
|
98
|
-
supportLevel={featureSupportLevel.getFeatureSupportLevel('CNV')}
|
|
99
|
-
/>
|
|
100
|
-
}
|
|
101
|
-
helperText={<CnvHelperText />}
|
|
102
|
-
isDisabled={!!disabledReason}
|
|
103
|
-
/>
|
|
104
|
-
</FormGroup>
|
|
105
|
-
);
|
|
106
|
-
};
|
|
107
|
-
|
|
108
|
-
export default CnvCheckbox;
|
|
@@ -1,64 +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_CNV, 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 CnvHostRequirements = ({
|
|
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 cnvRequirements = preflightRequirements?.operators?.find(
|
|
28
|
-
(operatorRequirements) => operatorRequirements.operatorName === OPERATOR_NAME_CNV,
|
|
29
|
-
);
|
|
30
|
-
|
|
31
|
-
const workerRequirements = cnvRequirements?.requirements?.worker?.quantitative;
|
|
32
|
-
const masterRequirements = cnvRequirements?.requirements?.master?.quantitative;
|
|
33
|
-
const odfLvmsText = getOdfLvmsText(isSingleNode, isVersionEqualsOrMajorThan4_15);
|
|
34
|
-
return (
|
|
35
|
-
<>
|
|
36
|
-
<List>
|
|
37
|
-
<ListItem>
|
|
38
|
-
Enabled CPU virtualization support in BIOS (Intel-VT / AMD-V) on all nodes
|
|
39
|
-
</ListItem>
|
|
40
|
-
<RenderIf condition={!isSingleNode}>
|
|
41
|
-
<ListItem>
|
|
42
|
-
Each worker node requires an additional {workerRequirements?.ramMib || 360} MiB of
|
|
43
|
-
memory {workerRequirements?.diskSizeGb ? ',' : ' and'}{' '}
|
|
44
|
-
{workerRequirements?.cpuCores || 2} CPUs
|
|
45
|
-
{workerRequirements?.diskSizeGb
|
|
46
|
-
? ` and ${workerRequirements?.diskSizeGb} storage space`
|
|
47
|
-
: ''}
|
|
48
|
-
</ListItem>
|
|
49
|
-
</RenderIf>
|
|
50
|
-
<ListItem>
|
|
51
|
-
Each control plane node requires an additional {masterRequirements?.ramMib || 150} MiB of
|
|
52
|
-
memory {masterRequirements?.diskSizeGb ? ',' : ' and'} {masterRequirements?.cpuCores || 4}{' '}
|
|
53
|
-
CPUs
|
|
54
|
-
{masterRequirements?.diskSizeGb
|
|
55
|
-
? ` and ${masterRequirements?.diskSizeGb} storage space`
|
|
56
|
-
: ''}
|
|
57
|
-
</ListItem>
|
|
58
|
-
<ListItem>{odfLvmsText}</ListItem>
|
|
59
|
-
</List>
|
|
60
|
-
</>
|
|
61
|
-
);
|
|
62
|
-
};
|
|
63
|
-
|
|
64
|
-
export default CnvHostRequirements;
|
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
import React, { useState } from 'react';
|
|
2
|
-
import { FormGroup, HelperText, HelperTextItem, Tooltip } from '@patternfly/react-core';
|
|
3
|
-
import { useFormikContext } from 'formik';
|
|
4
|
-
import {
|
|
5
|
-
ClusterOperatorProps,
|
|
6
|
-
getFieldId,
|
|
7
|
-
PopoverIcon,
|
|
8
|
-
operatorLabels,
|
|
9
|
-
OperatorsValues,
|
|
10
|
-
OPERATOR_NAME_LVM,
|
|
11
|
-
ExposedOperatorName,
|
|
12
|
-
ExternalLink,
|
|
13
|
-
OPERATOR_NAME_LVMS,
|
|
14
|
-
getLvmsDocsLink,
|
|
15
|
-
} from '../../../../common';
|
|
16
|
-
import LvmHostRequirements from './LvmHostRequirements';
|
|
17
|
-
import { OcmCheckboxField } from '../../ui/OcmFormFields';
|
|
18
|
-
import { useTranslation } from '../../../../common/hooks/use-translation-wrapper';
|
|
19
|
-
import {
|
|
20
|
-
getLvmIncompatibleWithCnvReason,
|
|
21
|
-
getLvmsIncompatibleWithOdfReason,
|
|
22
|
-
} from '../../featureSupportLevels/featureStateUtils';
|
|
23
|
-
import { useNewFeatureSupportLevel } from '../../../../common/components/newFeatureSupportLevels';
|
|
24
|
-
import NewFeatureSupportLevelBadge from '../../../../common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge';
|
|
25
|
-
import { SupportLevel } from '@openshift-assisted/types/assisted-installer-service';
|
|
26
|
-
|
|
27
|
-
const LVM_FIELD_NAME = 'useOdfLogicalVolumeManager';
|
|
28
|
-
|
|
29
|
-
type LvmLabelProps = ClusterOperatorProps & {
|
|
30
|
-
disabledReason?: string;
|
|
31
|
-
operatorLabel: string;
|
|
32
|
-
supportLevel?: SupportLevel;
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
const LvmHelperText = ({
|
|
36
|
-
operatorName,
|
|
37
|
-
docsVersion,
|
|
38
|
-
}: {
|
|
39
|
-
operatorName: ExposedOperatorName;
|
|
40
|
-
docsVersion: string;
|
|
41
|
-
}) => {
|
|
42
|
-
return (
|
|
43
|
-
<HelperText>
|
|
44
|
-
<HelperTextItem variant="indeterminate">
|
|
45
|
-
Storage virtualization that offers a more flexible approach for disk space management.{' '}
|
|
46
|
-
{operatorName === OPERATOR_NAME_LVMS && (
|
|
47
|
-
<ExternalLink href={getLvmsDocsLink(docsVersion)}>Learn more</ExternalLink>
|
|
48
|
-
)}
|
|
49
|
-
</HelperTextItem>
|
|
50
|
-
</HelperText>
|
|
51
|
-
);
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
const LvmLabel = ({ clusterId, operatorLabel, disabledReason, supportLevel }: LvmLabelProps) => {
|
|
55
|
-
return (
|
|
56
|
-
<>
|
|
57
|
-
<Tooltip hidden={!disabledReason} content={disabledReason}>
|
|
58
|
-
<span>Install {operatorLabel} </span>
|
|
59
|
-
</Tooltip>
|
|
60
|
-
<PopoverIcon
|
|
61
|
-
component={'a'}
|
|
62
|
-
headerContent="Additional requirements"
|
|
63
|
-
bodyContent={<LvmHostRequirements clusterId={clusterId} />}
|
|
64
|
-
/>
|
|
65
|
-
<NewFeatureSupportLevelBadge featureId="LVM" supportLevel={supportLevel} />
|
|
66
|
-
</>
|
|
67
|
-
);
|
|
68
|
-
};
|
|
69
|
-
|
|
70
|
-
const LvmCheckbox = ({
|
|
71
|
-
clusterId,
|
|
72
|
-
openshiftVersion,
|
|
73
|
-
}: {
|
|
74
|
-
clusterId: ClusterOperatorProps['clusterId'];
|
|
75
|
-
openshiftVersion?: ClusterOperatorProps['openshiftVersion'];
|
|
76
|
-
}) => {
|
|
77
|
-
const fieldId = getFieldId(LVM_FIELD_NAME, 'input');
|
|
78
|
-
|
|
79
|
-
const featureSupportLevel = useNewFeatureSupportLevel();
|
|
80
|
-
const { t } = useTranslation();
|
|
81
|
-
const { values } = useFormikContext<OperatorsValues>();
|
|
82
|
-
const [disabledReason, setDisabledReason] = useState<string | undefined>();
|
|
83
|
-
|
|
84
|
-
const operatorInfo = React.useMemo(() => {
|
|
85
|
-
const lvmSupport = featureSupportLevel.getFeatureSupportLevel('LVM');
|
|
86
|
-
|
|
87
|
-
const operatorLabel = operatorLabels(t, featureSupportLevel)[OPERATOR_NAME_LVM];
|
|
88
|
-
return {
|
|
89
|
-
lvmSupport,
|
|
90
|
-
operatorLabel,
|
|
91
|
-
operatorName: lvmSupport === 'supported' ? OPERATOR_NAME_LVMS : OPERATOR_NAME_LVM,
|
|
92
|
-
};
|
|
93
|
-
}, [t, featureSupportLevel]);
|
|
94
|
-
|
|
95
|
-
React.useEffect(() => {
|
|
96
|
-
let reason = featureSupportLevel.getFeatureDisabledReason('LVM');
|
|
97
|
-
if (!reason) {
|
|
98
|
-
reason = getLvmIncompatibleWithCnvReason(values, operatorInfo.lvmSupport);
|
|
99
|
-
if (!reason) {
|
|
100
|
-
reason = getLvmsIncompatibleWithOdfReason(values);
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
setDisabledReason(reason);
|
|
104
|
-
}, [values, featureSupportLevel, operatorInfo.lvmSupport]);
|
|
105
|
-
|
|
106
|
-
return (
|
|
107
|
-
<FormGroup isInline fieldId={fieldId}>
|
|
108
|
-
<OcmCheckboxField
|
|
109
|
-
name={LVM_FIELD_NAME}
|
|
110
|
-
label={
|
|
111
|
-
<LvmLabel
|
|
112
|
-
clusterId={clusterId}
|
|
113
|
-
operatorLabel={operatorInfo.operatorLabel}
|
|
114
|
-
disabledReason={disabledReason}
|
|
115
|
-
supportLevel={featureSupportLevel.getFeatureSupportLevel('LVM')}
|
|
116
|
-
/>
|
|
117
|
-
}
|
|
118
|
-
helperText={
|
|
119
|
-
<LvmHelperText
|
|
120
|
-
operatorName={operatorInfo.operatorName}
|
|
121
|
-
docsVersion={openshiftVersion || ''}
|
|
122
|
-
/>
|
|
123
|
-
}
|
|
124
|
-
isDisabled={!!disabledReason}
|
|
125
|
-
/>
|
|
126
|
-
</FormGroup>
|
|
127
|
-
);
|
|
128
|
-
};
|
|
129
|
-
|
|
130
|
-
export default LvmCheckbox;
|