@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
|
@@ -14,8 +14,12 @@ import {
|
|
|
14
14
|
ToolbarGroup,
|
|
15
15
|
Tooltip,
|
|
16
16
|
InputGroupItem,
|
|
17
|
+
Dropdown,
|
|
18
|
+
DropdownItem,
|
|
19
|
+
DropdownList,
|
|
20
|
+
MenuToggle,
|
|
21
|
+
MenuToggleElement,
|
|
17
22
|
} from '@patternfly/react-core';
|
|
18
|
-
import { Select, SelectOption, SelectProps } from '@patternfly/react-core/deprecated';
|
|
19
23
|
import { FilterIcon } from '@patternfly/react-icons/dist/js/icons/filter-icon';
|
|
20
24
|
import { SyncIcon } from '@patternfly/react-icons/dist/js/icons/sync-icon';
|
|
21
25
|
import { clusterStatusLabels, isSelectEventChecked, ToolbarButton } from '../../../common';
|
|
@@ -72,8 +76,11 @@ const ClustersListToolbar: React.FC<ClustersListToolbarProps> = ({
|
|
|
72
76
|
});
|
|
73
77
|
};
|
|
74
78
|
|
|
75
|
-
const onStatusToggle
|
|
76
|
-
const onStatusSelect
|
|
79
|
+
const onStatusToggle = () => setStatusExpanded(!isStatusExpanded);
|
|
80
|
+
const onStatusSelect = (
|
|
81
|
+
val: string,
|
|
82
|
+
event?: React.MouseEvent | React.ChangeEvent | undefined,
|
|
83
|
+
) => {
|
|
77
84
|
const value = val as Cluster['status'];
|
|
78
85
|
onSelect('status', isSelectEventChecked(event), value);
|
|
79
86
|
};
|
|
@@ -133,24 +140,37 @@ const ClustersListToolbar: React.FC<ClustersListToolbarProps> = ({
|
|
|
133
140
|
deleteChipGroup={onDeleteChipGroup}
|
|
134
141
|
categoryName="status"
|
|
135
142
|
>
|
|
136
|
-
<
|
|
137
|
-
variant="checkbox"
|
|
138
|
-
aria-label="status"
|
|
139
|
-
onToggle={onStatusToggle}
|
|
140
|
-
onSelect={onStatusSelect}
|
|
141
|
-
selections={filters.status}
|
|
143
|
+
<Dropdown
|
|
142
144
|
isOpen={isStatusExpanded}
|
|
143
|
-
|
|
144
|
-
|
|
145
|
+
onSelect={(event, value) => onStatusSelect(value as string, event)}
|
|
146
|
+
onOpenChange={onStatusToggle}
|
|
147
|
+
toggle={(toggleRef: React.Ref<MenuToggleElement>) => (
|
|
148
|
+
<MenuToggle
|
|
149
|
+
id="cluster-list-filter-status"
|
|
150
|
+
ref={toggleRef}
|
|
151
|
+
isFullWidth
|
|
152
|
+
onClick={onStatusToggle}
|
|
153
|
+
isExpanded={isStatusExpanded}
|
|
154
|
+
>
|
|
155
|
+
{statusPlaceholder}
|
|
156
|
+
</MenuToggle>
|
|
157
|
+
)}
|
|
158
|
+
shouldFocusToggleOnSelect
|
|
145
159
|
>
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
160
|
+
<DropdownList>
|
|
161
|
+
{clusterStatusFilterLabels(t).map((label) => (
|
|
162
|
+
<DropdownItem
|
|
163
|
+
id={`cluster-list-filter-status-${label}`}
|
|
164
|
+
hasCheckbox
|
|
165
|
+
isSelected={filters.status.includes(label)}
|
|
166
|
+
key={label}
|
|
167
|
+
value={label}
|
|
168
|
+
>
|
|
169
|
+
{label}
|
|
170
|
+
</DropdownItem>
|
|
171
|
+
))}
|
|
172
|
+
</DropdownList>
|
|
173
|
+
</Dropdown>
|
|
154
174
|
</CustomToolbarFilter>
|
|
155
175
|
<ToolbarButton
|
|
156
176
|
variant={ButtonVariant.primary}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
export { default as Clusters } from './Clusters';
|
|
2
|
+
export { default as ClusterLoading } from './ClusterLoading';
|
|
2
3
|
export { default as ClusterToolbar } from './ClusterToolbar';
|
|
4
|
+
export { ClusterUiError } from './ClusterPageErrors';
|
|
3
5
|
export { default as ClusterStatus, ClusterStatusIcon } from './ClusterStatus';
|
|
4
6
|
|
|
5
7
|
export * from './NewClusterPage';
|
|
6
8
|
export * from './ClusterPage';
|
|
9
|
+
export { useClusterPolling } from './clusterPolling';
|
|
@@ -3,9 +3,7 @@ import {
|
|
|
3
3
|
LogsState,
|
|
4
4
|
MonitoredOperator,
|
|
5
5
|
MonitoredOperatorsList,
|
|
6
|
-
OperatorCreateParams,
|
|
7
6
|
} from '@openshift-assisted/types/assisted-installer-service';
|
|
8
|
-
import { selectOlmOperators } from '../../../common';
|
|
9
7
|
|
|
10
8
|
// The Day2 cluster
|
|
11
9
|
export const isAddHostsCluster = (cluster: Cluster) => cluster.kind === 'AddHostsCluster';
|
|
@@ -24,23 +22,6 @@ export const calculateCollectedLogsCount = (cluster: Cluster) => {
|
|
|
24
22
|
export const getBuiltInOperators = (monitoredOperators: MonitoredOperatorsList = []) =>
|
|
25
23
|
monitoredOperators.filter((operator: MonitoredOperator) => operator.operatorType === 'builtin');
|
|
26
24
|
|
|
27
|
-
export const getOlmOperatorCreateParams = (cluster?: Cluster): OperatorCreateParams[] =>
|
|
28
|
-
selectOlmOperators(cluster).map((operator) => ({
|
|
29
|
-
name: operator.name,
|
|
30
|
-
properties: operator.properties,
|
|
31
|
-
}));
|
|
32
|
-
|
|
33
|
-
export const getOlmOperatorCreateParamsByName = (cluster?: Cluster) =>
|
|
34
|
-
getOlmOperatorCreateParams(cluster).reduce(
|
|
35
|
-
(result: { [key: string]: OperatorCreateParams }, operator) => {
|
|
36
|
-
if (operator.name) {
|
|
37
|
-
result[operator.name] = operator;
|
|
38
|
-
}
|
|
39
|
-
return result;
|
|
40
|
-
},
|
|
41
|
-
{},
|
|
42
|
-
);
|
|
43
|
-
|
|
44
25
|
export const canAbortInstallation = (cluster: Cluster) => {
|
|
45
26
|
const allowedClusterStates: Cluster['status'][] = [
|
|
46
27
|
'preparing-for-installation',
|
|
@@ -90,7 +90,6 @@ export const NewFeatureSupportLevelProvider: React.FC<NewSupportLevelProviderPro
|
|
|
90
90
|
featureId: FeatureId,
|
|
91
91
|
supportLevelDataNew?: NewFeatureSupportLevelMap,
|
|
92
92
|
): SupportLevel | undefined => {
|
|
93
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
94
93
|
if (supportLevelDataNew) {
|
|
95
94
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
96
95
|
// @ts-ignore
|
|
@@ -4,7 +4,11 @@ import {
|
|
|
4
4
|
CpuArchitecture,
|
|
5
5
|
FeatureId,
|
|
6
6
|
isSNO,
|
|
7
|
-
|
|
7
|
+
OPERATOR_NAME_CNV,
|
|
8
|
+
OPERATOR_NAME_LVM,
|
|
9
|
+
OPERATOR_NAME_ODF,
|
|
10
|
+
OPERATOR_NAME_OPENSHIFT_AI,
|
|
11
|
+
OPERATOR_NAME_OSC,
|
|
8
12
|
SupportedCpuArchitecture,
|
|
9
13
|
} from '../../../common';
|
|
10
14
|
import {
|
|
@@ -13,41 +17,10 @@ import {
|
|
|
13
17
|
SupportLevel,
|
|
14
18
|
} from '@openshift-assisted/types/assisted-installer-service';
|
|
15
19
|
import { ExternalPlatformLabels } from '../clusterConfiguration/platformIntegration/constants';
|
|
16
|
-
|
|
17
|
-
const CNV_OPERATOR_LABEL = 'OpenShift Virtualization';
|
|
18
|
-
const LVMS_OPERATOR_LABEL = 'Logical Volume Manager Storage';
|
|
19
|
-
const LVM_OPERATOR_LABEL = 'Logical Volume Manager';
|
|
20
|
-
const ODF_OPERATOR_LABEL = 'OpenShift Data Foundation';
|
|
21
|
-
const OPENSHIFT_AI_OPERATOR_LABEL = 'OpenShift AI';
|
|
20
|
+
import { getOperatorSpecs } from '../../../common/components/operators/operatorSpecs';
|
|
22
21
|
|
|
23
22
|
export const clusterExistsReason = 'This option is not editable after the draft cluster is created';
|
|
24
23
|
|
|
25
|
-
export const getCnvIncompatibleWithLvmReason = (
|
|
26
|
-
operatorValues: OperatorsValues,
|
|
27
|
-
lvmSupport: SupportLevel | undefined,
|
|
28
|
-
) => {
|
|
29
|
-
const mustDisableCnv =
|
|
30
|
-
!operatorValues.useContainerNativeVirtualization &&
|
|
31
|
-
operatorValues.useOdfLogicalVolumeManager &&
|
|
32
|
-
lvmSupport !== 'supported';
|
|
33
|
-
// In versions with none or limited support for LVM (< 4.12), it's not possible to select CNV + LVM
|
|
34
|
-
return mustDisableCnv
|
|
35
|
-
? `Currently, you cannot install ${CNV_OPERATOR_LABEL} operator at the same time as ${LVM_OPERATOR_LABEL} operator.`
|
|
36
|
-
: undefined;
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
export const getLvmIncompatibleWithCnvReason = (
|
|
40
|
-
operatorValues: OperatorsValues,
|
|
41
|
-
lvmSupport: SupportLevel | undefined,
|
|
42
|
-
) => {
|
|
43
|
-
const hasSelectedCnv = operatorValues.useContainerNativeVirtualization;
|
|
44
|
-
// In versions with none or limited support for LVM (< 4.12), it's not possible to select CNV + LVM
|
|
45
|
-
if (hasSelectedCnv && lvmSupport !== 'supported') {
|
|
46
|
-
return `Currently, you cannot install ${LVM_OPERATOR_LABEL} operator at the same time as ${CNV_OPERATOR_LABEL} operator.`;
|
|
47
|
-
}
|
|
48
|
-
return undefined;
|
|
49
|
-
};
|
|
50
|
-
|
|
51
24
|
const getSNODisabledReason = (cluster: Cluster | undefined, isSupported: boolean) => {
|
|
52
25
|
if (cluster) {
|
|
53
26
|
return clusterExistsReason;
|
|
@@ -73,18 +46,22 @@ const getOdfDisabledReason = (
|
|
|
73
46
|
return undefined;
|
|
74
47
|
}
|
|
75
48
|
|
|
49
|
+
const opSpecs = getOperatorSpecs();
|
|
50
|
+
|
|
51
|
+
const operatorTitle = opSpecs[OPERATOR_NAME_ODF]?.title || '';
|
|
52
|
+
|
|
76
53
|
const isArm = activeFeatureConfiguration?.underlyingCpuArchitecture === CpuArchitecture.ARM;
|
|
77
54
|
if (isArm && isSNO(cluster)) {
|
|
78
|
-
return `${
|
|
55
|
+
return `${operatorTitle} is not available when using Single Node OpenShift or ARM CPU architecture.`;
|
|
79
56
|
}
|
|
80
57
|
if (isArm) {
|
|
81
|
-
return `${
|
|
58
|
+
return `${operatorTitle} is not available when ARM CPU architecture is selected.`;
|
|
82
59
|
}
|
|
83
60
|
if (isSNO(cluster)) {
|
|
84
|
-
return `${
|
|
61
|
+
return `${operatorTitle} is not available when deploying a Single Node OpenShift.`;
|
|
85
62
|
}
|
|
86
63
|
if (!isSupported) {
|
|
87
|
-
return `The installer cannot currently enable ${
|
|
64
|
+
return `The installer cannot currently enable ${operatorTitle} with the selected OpenShift version, but it can be enabled later through the OpenShift Console once the installation is complete.`;
|
|
88
65
|
}
|
|
89
66
|
return undefined;
|
|
90
67
|
};
|
|
@@ -97,8 +74,11 @@ const getCnvDisabledReason = (
|
|
|
97
74
|
if (!activeFeatureConfiguration) {
|
|
98
75
|
return undefined;
|
|
99
76
|
}
|
|
77
|
+
|
|
78
|
+
const opSpecs = getOperatorSpecs();
|
|
79
|
+
const operatorTitle = opSpecs[OPERATOR_NAME_CNV]?.title || '';
|
|
100
80
|
if (platformType === 'nutanix') {
|
|
101
|
-
return `${
|
|
81
|
+
return `${operatorTitle} is not available when Nutanix platform type is selected.`;
|
|
102
82
|
}
|
|
103
83
|
if (!isSupported) {
|
|
104
84
|
const cpuArchitectureLabel =
|
|
@@ -106,7 +86,7 @@ const getCnvDisabledReason = (
|
|
|
106
86
|
activeFeatureConfiguration.underlyingCpuArchitecture as SupportedCpuArchitecture
|
|
107
87
|
].label;
|
|
108
88
|
|
|
109
|
-
return `${
|
|
89
|
+
return `${operatorTitle} is not available when ${
|
|
110
90
|
cpuArchitectureLabel
|
|
111
91
|
? cpuArchitectureLabel
|
|
112
92
|
: activeFeatureConfiguration.underlyingCpuArchitecture
|
|
@@ -124,12 +104,31 @@ const getLvmDisabledReason = (
|
|
|
124
104
|
if (!activeFeatureConfiguration) {
|
|
125
105
|
return undefined;
|
|
126
106
|
}
|
|
127
|
-
|
|
107
|
+
|
|
108
|
+
const opSpecs = getOperatorSpecs();
|
|
109
|
+
const operatorTitle = opSpecs[OPERATOR_NAME_LVM]?.title;
|
|
128
110
|
if (platformType === 'nutanix') {
|
|
129
|
-
return `${
|
|
111
|
+
return `${operatorTitle} is not supported when Nutanix platform type is selected.`;
|
|
112
|
+
}
|
|
113
|
+
if (!isSupported) {
|
|
114
|
+
return `${operatorTitle} is not supported in this OpenShift version.`;
|
|
130
115
|
}
|
|
116
|
+
return undefined;
|
|
117
|
+
};
|
|
118
|
+
|
|
119
|
+
const getOscDisabledReason = (
|
|
120
|
+
cluster: Cluster | undefined,
|
|
121
|
+
activeFeatureConfiguration: ActiveFeatureConfiguration | undefined,
|
|
122
|
+
isSupported: boolean,
|
|
123
|
+
) => {
|
|
124
|
+
if (!cluster) {
|
|
125
|
+
return undefined;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
const opSpecs = getOperatorSpecs();
|
|
129
|
+
const operatorTitle = opSpecs[OPERATOR_NAME_OSC]?.title || '';
|
|
131
130
|
if (!isSupported) {
|
|
132
|
-
return `${
|
|
131
|
+
return `${operatorTitle} is not supported in this OpenShift version.`;
|
|
133
132
|
}
|
|
134
133
|
return undefined;
|
|
135
134
|
};
|
|
@@ -189,6 +188,9 @@ export const getNewFeatureDisabledReason = (
|
|
|
189
188
|
case 'OPENSHIFT_AI': {
|
|
190
189
|
return getOpenShiftAIDisabledReason(cluster, activeFeatureConfiguration, isSupported);
|
|
191
190
|
}
|
|
191
|
+
case 'OSC': {
|
|
192
|
+
return getOscDisabledReason(cluster, activeFeatureConfiguration, isSupported);
|
|
193
|
+
}
|
|
192
194
|
case 'NETWORK_TYPE_SELECTION': {
|
|
193
195
|
return getNetworkTypeSelectionDisabledReason(cluster);
|
|
194
196
|
}
|
|
@@ -230,6 +232,51 @@ export const getNewFeatureDisabledReason = (
|
|
|
230
232
|
return 'Migration Toolkit for Virtualization is not supported in this OpenShift version';
|
|
231
233
|
}
|
|
232
234
|
}
|
|
235
|
+
case 'AUTHORINO': {
|
|
236
|
+
if (!isSupported) {
|
|
237
|
+
return `Authorino is not available with the selected CPU architecture.`;
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
case 'LSO': {
|
|
241
|
+
if (!isSupported) {
|
|
242
|
+
return `Lso is not available with the selected CPU architecture.`;
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
case 'NMSTATE': {
|
|
246
|
+
if (!isSupported) {
|
|
247
|
+
return `Nmstate is not available with the selected CPU architecture.`;
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
case 'NODE_FEATURE_DISCOVERY': {
|
|
251
|
+
if (!isSupported) {
|
|
252
|
+
return `Node Feature Discovery is not available with the selected CPU architecture.`;
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
case 'NVIDIA_GPU': {
|
|
256
|
+
if (!isSupported) {
|
|
257
|
+
return `NVIDIA GPU is not available with the selected CPU architecture.`;
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
case 'PIPELINES': {
|
|
261
|
+
if (!isSupported) {
|
|
262
|
+
return `Pipelines is not available with the selected CPU architecture.`;
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
case 'SERVERLESS': {
|
|
266
|
+
if (!isSupported) {
|
|
267
|
+
return `Serverless is not available with the selected CPU architecture.`;
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
case 'SERVICEMESH': {
|
|
271
|
+
if (!isSupported) {
|
|
272
|
+
return `Service mesh is not available with the selected CPU architecture.`;
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
case 'AMD_GPU': {
|
|
276
|
+
if (!isSupported) {
|
|
277
|
+
return `AMD GPU is not available with the selected CPU architecture.`;
|
|
278
|
+
}
|
|
279
|
+
}
|
|
233
280
|
default: {
|
|
234
281
|
return undefined;
|
|
235
282
|
}
|
|
@@ -243,30 +290,6 @@ export const isFeatureSupportedAndAvailable = (supportLevel: SupportLevel | unde
|
|
|
243
290
|
export const hostsNetworkConfigurationDisabledReason =
|
|
244
291
|
"DHCP only is the supported hosts' network configuration when external partner integrations is selected";
|
|
245
292
|
|
|
246
|
-
export const getOdfIncompatibleWithLvmsReason = (operatorValues: OperatorsValues) => {
|
|
247
|
-
const mustDisableOdf = operatorValues.useOdfLogicalVolumeManager;
|
|
248
|
-
// In versions >= 4.15, it's not possible to select ODF + LVMS
|
|
249
|
-
return mustDisableOdf
|
|
250
|
-
? `Currently, you cannot install ${ODF_OPERATOR_LABEL} operator at the same time as ${LVMS_OPERATOR_LABEL} operator.`
|
|
251
|
-
: undefined;
|
|
252
|
-
};
|
|
253
|
-
|
|
254
|
-
export const getOpenShiftAIIncompatibleWithLvmsReason = (operatorValues: OperatorsValues) => {
|
|
255
|
-
// Currently OpenShift AI requires ODF, and that is incompatible with LVM.
|
|
256
|
-
const mustDisableOpenShiftAI = operatorValues.useOdfLogicalVolumeManager;
|
|
257
|
-
return mustDisableOpenShiftAI
|
|
258
|
-
? `Currently the ${OPENSHIFT_AI_OPERATOR_LABEL} requires ${ODF_OPERATOR_LABEL}, and you cannot install that at the same time as ${LVMS_OPERATOR_LABEL} operator.`
|
|
259
|
-
: undefined;
|
|
260
|
-
};
|
|
261
|
-
|
|
262
|
-
export const getLvmsIncompatibleWithOdfReason = (operatorValues: OperatorsValues) => {
|
|
263
|
-
const mustDisableLvms = operatorValues.useOpenShiftDataFoundation;
|
|
264
|
-
// In versions >= 4.15, it's not possible to select ODF + LVMS
|
|
265
|
-
return mustDisableLvms
|
|
266
|
-
? `Currently, you cannot install ${LVMS_OPERATOR_LABEL} operator at the same time as ${ODF_OPERATOR_LABEL} operator.`
|
|
267
|
-
: undefined;
|
|
268
|
-
};
|
|
269
|
-
|
|
270
293
|
const getOpenShiftAIDisabledReason = (
|
|
271
294
|
cluster: Cluster | undefined,
|
|
272
295
|
activeFeatureConfiguration: ActiveFeatureConfiguration | undefined,
|
|
@@ -276,15 +299,17 @@ const getOpenShiftAIDisabledReason = (
|
|
|
276
299
|
return undefined;
|
|
277
300
|
}
|
|
278
301
|
|
|
302
|
+
const opSpecs = getOperatorSpecs();
|
|
303
|
+
const operatorTitle = opSpecs[OPERATOR_NAME_OPENSHIFT_AI]?.title || '';
|
|
279
304
|
const isArm = activeFeatureConfiguration?.underlyingCpuArchitecture === CpuArchitecture.ARM;
|
|
280
305
|
if (isArm) {
|
|
281
|
-
return `${
|
|
306
|
+
return `${operatorTitle} is not available when ARM CPU architecture is selected.`;
|
|
282
307
|
}
|
|
283
308
|
if (isSNO(cluster)) {
|
|
284
|
-
return `${
|
|
309
|
+
return `${operatorTitle} is not available when deploying a Single Node OpenShift.`;
|
|
285
310
|
}
|
|
286
311
|
if (!isSupported) {
|
|
287
|
-
return `The installer cannot currently enable ${
|
|
312
|
+
return `The installer cannot currently enable ${operatorTitle} with the selected OpenShift version, but it can be enabled later through the OpenShift Console once the installation is complete.`;
|
|
288
313
|
}
|
|
289
314
|
return undefined;
|
|
290
315
|
};
|
|
@@ -40,6 +40,10 @@ type MassDeleteHostDialogProps = {
|
|
|
40
40
|
reloadCluster: VoidFunction;
|
|
41
41
|
};
|
|
42
42
|
|
|
43
|
+
type ResetSingleClusterDialogProps = {
|
|
44
|
+
cluster?: Cluster;
|
|
45
|
+
};
|
|
46
|
+
|
|
43
47
|
type ModalDialogsDataTypes = {
|
|
44
48
|
eventsDialog: HostIdAndHostname;
|
|
45
49
|
editHostDialog: EditHostProps;
|
|
@@ -53,6 +57,7 @@ type ModalDialogsDataTypes = {
|
|
|
53
57
|
UpdateDay2ApiVipDialog: void;
|
|
54
58
|
massUpdateHostnameDialog: MassUpdateHostnameDialogProps;
|
|
55
59
|
massDeleteHostDialog: MassDeleteHostDialogProps;
|
|
60
|
+
resetSingleClusterDialog: ResetSingleClusterDialogProps;
|
|
56
61
|
};
|
|
57
62
|
|
|
58
63
|
type DialogId =
|
|
@@ -67,7 +72,8 @@ type DialogId =
|
|
|
67
72
|
| 'day2DiscoveryImageDialog'
|
|
68
73
|
| 'UpdateDay2ApiVipDialog'
|
|
69
74
|
| 'massUpdateHostnameDialog'
|
|
70
|
-
| 'massDeleteHostDialog'
|
|
75
|
+
| 'massDeleteHostDialog'
|
|
76
|
+
| 'resetSingleClusterDialog';
|
|
71
77
|
|
|
72
78
|
export type ModalDialogsContextType = {
|
|
73
79
|
[key in DialogId]: {
|
|
@@ -91,6 +97,7 @@ const dialogIds: DialogId[] = [
|
|
|
91
97
|
'UpdateDay2ApiVipDialog',
|
|
92
98
|
'massUpdateHostnameDialog',
|
|
93
99
|
'massDeleteHostDialog',
|
|
100
|
+
'resetSingleClusterDialog',
|
|
94
101
|
];
|
|
95
102
|
|
|
96
103
|
const ModalDialogsContext = React.createContext<ModalDialogsContextType | undefined>(undefined);
|
|
@@ -5,15 +5,3 @@ export const isOciPlatformType = (cluster: Cluster): boolean => {
|
|
|
5
5
|
cluster.platform?.type === 'external' && cluster.platform?.external?.platformName === 'oci'
|
|
6
6
|
);
|
|
7
7
|
};
|
|
8
|
-
|
|
9
|
-
export const getMajorMinorVersion = (version = '') => {
|
|
10
|
-
const match = /[0-9].[0-9][0-9]?/g.exec(version);
|
|
11
|
-
return match?.[0] || '';
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
export const isOCPVersionEqualsOrMajor = (
|
|
15
|
-
openshiftVersion: string,
|
|
16
|
-
ocpVersionToCompare: string,
|
|
17
|
-
): boolean => {
|
|
18
|
-
return parseFloat(getMajorMinorVersion(openshiftVersion)) >= parseFloat(ocpVersionToCompare);
|
|
19
|
-
};
|
package/lib/ocm/hooks/index.ts
CHANGED
|
@@ -4,3 +4,5 @@ export { default as useInfraEnvId } from './useInfraEnvId';
|
|
|
4
4
|
export { default as usePullSecret } from './usePullSecret';
|
|
5
5
|
export { default as useClusterPreflightRequirements } from './useClusterPreflightRequirements';
|
|
6
6
|
export { default as useUISettings } from './useUISettings';
|
|
7
|
+
export { default as useInfraEnv } from './useInfraEnv';
|
|
8
|
+
export { useFeatureDetection } from './use-feature-detection';
|
package/lib/ocm/index.ts
CHANGED
package/lib/ocm/sentry.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import * as Sentry from '@sentry/browser';
|
|
2
|
+
import { SeverityLevel } from '@sentry/types';
|
|
2
3
|
import { isInOcm } from '../common/api/axiosClient';
|
|
3
4
|
|
|
4
5
|
export const captureException = (
|
|
5
6
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
6
7
|
error: any,
|
|
7
8
|
message?: string,
|
|
8
|
-
severity:
|
|
9
|
+
severity: SeverityLevel = 'error',
|
|
9
10
|
) => {
|
|
10
11
|
if (isInOcm) {
|
|
11
12
|
message && Sentry.captureMessage(message, severity);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import BundleAPI from '../../common/api/assisted-service/BundleAPI';
|
|
2
|
+
|
|
3
|
+
const BundleService = {
|
|
4
|
+
async listBundles() {
|
|
5
|
+
const { data: bundles } = await BundleAPI.list();
|
|
6
|
+
return bundles;
|
|
7
|
+
},
|
|
8
|
+
async listOperatorsByBundle(bundleName: string) {
|
|
9
|
+
const { data } = await BundleAPI.listOperatorsForBundle(bundleName);
|
|
10
|
+
return data;
|
|
11
|
+
},
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export default BundleService;
|
|
@@ -21,6 +21,7 @@ import {
|
|
|
21
21
|
ManagedDomain,
|
|
22
22
|
PlatformType,
|
|
23
23
|
} from '@openshift-assisted/types/assisted-installer-service';
|
|
24
|
+
import toNumber from 'lodash-es/toNumber';
|
|
24
25
|
|
|
25
26
|
const getNewClusterCpuArchitecture = (urlSearchParams: string) => {
|
|
26
27
|
const params = new URLSearchParams(urlSearchParams);
|
|
@@ -36,7 +37,7 @@ const ClusterDetailsService = {
|
|
|
36
37
|
getClusterCreateParams(values: OcmClusterDetailsValues): ClusterCreateParamsWithStaticNetworking {
|
|
37
38
|
const params: ClusterCreateParamsWithStaticNetworking = {
|
|
38
39
|
name: values.name,
|
|
39
|
-
|
|
40
|
+
controlPlaneCount: toNumber(values.controlPlaneCount),
|
|
40
41
|
openshiftVersion: values.openshiftVersion,
|
|
41
42
|
pullSecret: values.pullSecret,
|
|
42
43
|
baseDnsDomain: values.baseDnsDomain,
|
|
@@ -14,7 +14,11 @@ import omit from 'lodash-es/omit.js';
|
|
|
14
14
|
import ClustersAPI from '../../common/api/assisted-service/ClustersAPI';
|
|
15
15
|
import HostsService from './HostsService';
|
|
16
16
|
import InfraEnvsService from './InfraEnvsService';
|
|
17
|
-
import {
|
|
17
|
+
import {
|
|
18
|
+
AI_ASSISTED_MIGRATION_TAG,
|
|
19
|
+
AI_CISCO_INTERSIGHT_TAG,
|
|
20
|
+
AI_UI_TAG,
|
|
21
|
+
} from '../../common/config/constants';
|
|
18
22
|
import { isInOcm } from '../../common/api/axiosClient';
|
|
19
23
|
|
|
20
24
|
const ClustersService = {
|
|
@@ -94,7 +98,12 @@ const ClustersService = {
|
|
|
94
98
|
): V2ClusterUpdateParams {
|
|
95
99
|
const tags = clusterTags?.split(',') || <string[]>[];
|
|
96
100
|
if (tags.includes(AI_UI_TAG)) {
|
|
97
|
-
|
|
101
|
+
if (params.tags && params.tags.includes(AI_CISCO_INTERSIGHT_TAG)) {
|
|
102
|
+
tags?.push(AI_CISCO_INTERSIGHT_TAG);
|
|
103
|
+
params.tags = tags?.join(',');
|
|
104
|
+
} else {
|
|
105
|
+
delete params.tags;
|
|
106
|
+
}
|
|
98
107
|
} else {
|
|
99
108
|
tags?.push(AI_UI_TAG);
|
|
100
109
|
params.tags = tags?.join(',');
|
|
@@ -157,5 +166,4 @@ const ClustersService = {
|
|
|
157
166
|
);
|
|
158
167
|
},
|
|
159
168
|
};
|
|
160
|
-
|
|
161
169
|
export default ClustersService;
|
|
@@ -1,81 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
OperatorsValues,
|
|
3
|
-
OPERATOR_NAME_CNV,
|
|
4
|
-
OPERATOR_NAME_ODF,
|
|
5
|
-
OPERATOR_NAME_LSO,
|
|
6
|
-
OPERATOR_NAME_LVM,
|
|
7
|
-
OperatorName,
|
|
8
|
-
OPERATOR_NAME_MCE,
|
|
9
|
-
OPERATOR_NAME_MTV,
|
|
10
|
-
OPERATOR_NAME_OPENSHIFT_AI,
|
|
11
|
-
} from '../../common';
|
|
12
|
-
import { getOlmOperatorCreateParamsByName } from '../components/clusters/utils';
|
|
13
|
-
import { getKeys } from '../../common/utils';
|
|
14
|
-
import {
|
|
15
|
-
Cluster,
|
|
16
|
-
OperatorCreateParams,
|
|
17
|
-
} from '@openshift-assisted/types/assisted-installer-service';
|
|
18
|
-
|
|
19
|
-
const hasActiveOperators = (values: OperatorsValues) => {
|
|
20
|
-
return getKeys(values).some((operatorParam) => values[operatorParam]);
|
|
21
|
-
};
|
|
1
|
+
import OperatorsAPI from '../../common/api/assisted-service/OperatorsAPI';
|
|
22
2
|
|
|
23
3
|
const OperatorsService = {
|
|
24
|
-
|
|
25
|
-
const
|
|
26
|
-
|
|
27
|
-
// TODO: change OperatorName to ExposedOperatorName once the LSO option is exposed to the user
|
|
28
|
-
const setOperator = (name: OperatorName, enabled: boolean) => {
|
|
29
|
-
if (enabled) {
|
|
30
|
-
enabledOlmOperatorsByName[name] = { name };
|
|
31
|
-
} else {
|
|
32
|
-
delete enabledOlmOperatorsByName[name];
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
setOperator(OPERATOR_NAME_LVM, values.useOdfLogicalVolumeManager);
|
|
37
|
-
setOperator(OPERATOR_NAME_CNV, values.useContainerNativeVirtualization);
|
|
38
|
-
setOperator(OPERATOR_NAME_ODF, values.useOpenShiftDataFoundation);
|
|
39
|
-
setOperator(OPERATOR_NAME_MCE, values.useMultiClusterEngine);
|
|
40
|
-
setOperator(OPERATOR_NAME_MTV, values.useMigrationToolkitforVirtualization);
|
|
41
|
-
setOperator(OPERATOR_NAME_OPENSHIFT_AI, values.useOpenShiftAI);
|
|
42
|
-
|
|
43
|
-
// TODO: remove following once the LSO option is exposed to the user
|
|
44
|
-
if (!hasActiveOperators(values)) {
|
|
45
|
-
setOperator(OPERATOR_NAME_LSO, false);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
return Object.values(enabledOlmOperatorsByName);
|
|
49
|
-
},
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* Depending on the OpenShift version and certain selected operators, the
|
|
53
|
-
* Backend can activate some other operators.
|
|
54
|
-
* We need to synchronise them back to the form
|
|
55
|
-
*/
|
|
56
|
-
syncOperators(
|
|
57
|
-
uiOperators: OperatorCreateParams[],
|
|
58
|
-
updatedOperators: Cluster['monitoredOperators'],
|
|
59
|
-
): Partial<OperatorsValues> {
|
|
60
|
-
const updates: Partial<OperatorsValues> = {};
|
|
61
|
-
|
|
62
|
-
// LVM operator can be automatically selected depending on OpenShift version + other operators
|
|
63
|
-
const lvmPrevInactive = uiOperators?.find((op) => op.name === OPERATOR_NAME_LVM) === undefined;
|
|
64
|
-
const lvmNowActive =
|
|
65
|
-
updatedOperators?.find((op) => op.name === OPERATOR_NAME_LVM) !== undefined;
|
|
66
|
-
if (lvmPrevInactive && lvmNowActive) {
|
|
67
|
-
updates.useOdfLogicalVolumeManager = true;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
// ODF operator will be automatically selected when the OpenShift AI operator is selected:
|
|
71
|
-
const odfPrevInactive = uiOperators?.find((op) => op.name === OPERATOR_NAME_ODF) === undefined;
|
|
72
|
-
const odfNowActive =
|
|
73
|
-
updatedOperators?.find((op) => op.name === OPERATOR_NAME_ODF) !== undefined;
|
|
74
|
-
if (odfPrevInactive && odfNowActive) {
|
|
75
|
-
updates.useOpenShiftDataFoundation = true;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
return updates;
|
|
4
|
+
getSupportedOperators: async (): Promise<string[]> => {
|
|
5
|
+
const { data: operators } = await OperatorsAPI.list();
|
|
6
|
+
return operators;
|
|
79
7
|
},
|
|
80
8
|
};
|
|
81
9
|
export default OperatorsService;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"dependencies": {
|
|
3
|
-
"@openshift-assisted/locales": "2.
|
|
4
|
-
"@openshift-assisted/types": "2.
|
|
3
|
+
"@openshift-assisted/locales": "2.15.1-cim",
|
|
4
|
+
"@openshift-assisted/types": "2.15.1-cim",
|
|
5
5
|
"@openshift-console/dynamic-plugin-sdk": "0.0.3",
|
|
6
6
|
"@patternfly/patternfly": "5.2.0",
|
|
7
7
|
"@patternfly/react-code-editor": "5.2.0",
|
|
@@ -140,5 +140,5 @@
|
|
|
140
140
|
]
|
|
141
141
|
}
|
|
142
142
|
},
|
|
143
|
-
"version": "2.
|
|
143
|
+
"version": "2.15.1-cim"
|
|
144
144
|
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ClusterDetailsValues } from '../../../common/components/clusterWizard/types';
|
|
3
|
-
import { NewFeatureSupportLevelMap } from '../../../common/components/newFeatureSupportLevels';
|
|
4
|
-
type OcmSNOControlGroupProps = {
|
|
5
|
-
highAvailabilityMode: ClusterDetailsValues['highAvailabilityMode'];
|
|
6
|
-
featureSupportLevelData?: NewFeatureSupportLevelMap;
|
|
7
|
-
};
|
|
8
|
-
declare const OcmSNOControlGroup: ({ highAvailabilityMode, featureSupportLevelData, }: OcmSNOControlGroupProps) => React.JSX.Element;
|
|
9
|
-
export default OcmSNOControlGroup;
|
|
10
|
-
//# sourceMappingURL=OcmSNOControlGroup.d.ts.map
|