@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
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import {
|
|
3
|
+
Card,
|
|
4
|
+
CardBody,
|
|
5
|
+
CardHeader,
|
|
6
|
+
CardTitle,
|
|
7
|
+
Gallery,
|
|
8
|
+
GalleryItem,
|
|
9
|
+
List,
|
|
10
|
+
ListItem,
|
|
11
|
+
Split,
|
|
12
|
+
SplitItem,
|
|
13
|
+
Stack,
|
|
14
|
+
StackItem,
|
|
15
|
+
Title,
|
|
16
|
+
Tooltip,
|
|
17
|
+
} from '@patternfly/react-core';
|
|
18
|
+
import {
|
|
19
|
+
Bundle,
|
|
20
|
+
PreflightHardwareRequirements,
|
|
21
|
+
} from '@openshift-assisted/types/assisted-installer-service';
|
|
22
|
+
import NewFeatureSupportLevelBadge, {
|
|
23
|
+
NewSupportLevelBadgeProps,
|
|
24
|
+
} from '../../../common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge';
|
|
25
|
+
import { ExternalLink, OperatorsValues, PopoverIcon, singleClusterBundles } from '../../../common';
|
|
26
|
+
import { useFormikContext } from 'formik';
|
|
27
|
+
import {
|
|
28
|
+
GetFeatureSupportLevel,
|
|
29
|
+
useNewFeatureSupportLevel,
|
|
30
|
+
} from '../../../common/components/newFeatureSupportLevels';
|
|
31
|
+
import { useFeature } from '../../hooks/use-feature';
|
|
32
|
+
import { useSelector } from 'react-redux';
|
|
33
|
+
import { selectIsCurrentClusterSNO } from '../../store/slices/current-cluster/selectors';
|
|
34
|
+
import { getNewBundleOperators } from '../clusterConfiguration/operators/utils';
|
|
35
|
+
import { bundleSpecs } from '../clusterConfiguration/operators/bundleSpecs';
|
|
36
|
+
import { useOperatorSpecs } from '../../../common/components/operators/operatorSpecs';
|
|
37
|
+
|
|
38
|
+
import './OperatorsBundle.css';
|
|
39
|
+
|
|
40
|
+
const BundleLabel = ({ bundle }: { bundle: Bundle }) => {
|
|
41
|
+
const opSpecs = useOperatorSpecs();
|
|
42
|
+
const bundleSpec = bundleSpecs[bundle.id || ''];
|
|
43
|
+
|
|
44
|
+
return (
|
|
45
|
+
<>
|
|
46
|
+
<span>{bundle.title} </span>
|
|
47
|
+
<PopoverIcon
|
|
48
|
+
component={'a'}
|
|
49
|
+
headerContent={<div>Requirements and dependencies</div>}
|
|
50
|
+
bodyContent={
|
|
51
|
+
<Stack hasGutter>
|
|
52
|
+
{bundleSpec?.Description && (
|
|
53
|
+
<StackItem>
|
|
54
|
+
<bundleSpec.Description />
|
|
55
|
+
</StackItem>
|
|
56
|
+
)}
|
|
57
|
+
{bundle.operators?.length && (
|
|
58
|
+
<>
|
|
59
|
+
<StackItem>Bundle operators:</StackItem>
|
|
60
|
+
<StackItem>
|
|
61
|
+
<List>
|
|
62
|
+
{bundle.operators.map((op) => (
|
|
63
|
+
<ListItem key={op}>{opSpecs[op]?.title || op}</ListItem>
|
|
64
|
+
))}
|
|
65
|
+
</List>
|
|
66
|
+
</StackItem>
|
|
67
|
+
</>
|
|
68
|
+
)}
|
|
69
|
+
{bundleSpec?.docsLink && (
|
|
70
|
+
<StackItem>
|
|
71
|
+
<ExternalLink href={bundleSpec.docsLink}>Learn more</ExternalLink>
|
|
72
|
+
</StackItem>
|
|
73
|
+
)}
|
|
74
|
+
</Stack>
|
|
75
|
+
}
|
|
76
|
+
/>
|
|
77
|
+
</>
|
|
78
|
+
);
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
const getBundleSupportLevel = (
|
|
82
|
+
bundle: Bundle,
|
|
83
|
+
opSpecs: ReturnType<typeof useOperatorSpecs>,
|
|
84
|
+
getFeatureSupportLevel: GetFeatureSupportLevel,
|
|
85
|
+
): NewSupportLevelBadgeProps['supportLevel'] => {
|
|
86
|
+
let supportLevel: NewSupportLevelBadgeProps['supportLevel'] = undefined;
|
|
87
|
+
if (bundle.operators) {
|
|
88
|
+
for (const op of bundle.operators) {
|
|
89
|
+
const operatorSpec = opSpecs[op];
|
|
90
|
+
if (operatorSpec) {
|
|
91
|
+
const opSupportLevel = getFeatureSupportLevel(operatorSpec.featureId);
|
|
92
|
+
if (opSupportLevel === 'dev-preview') {
|
|
93
|
+
supportLevel = 'dev-preview';
|
|
94
|
+
break;
|
|
95
|
+
} else if (opSupportLevel === 'tech-preview') {
|
|
96
|
+
supportLevel = 'tech-preview';
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
return supportLevel;
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
const BundleCard = ({
|
|
105
|
+
bundle,
|
|
106
|
+
bundles,
|
|
107
|
+
preflightRequirements,
|
|
108
|
+
}: {
|
|
109
|
+
bundle: Bundle;
|
|
110
|
+
bundles: Bundle[];
|
|
111
|
+
preflightRequirements: PreflightHardwareRequirements | undefined;
|
|
112
|
+
}) => {
|
|
113
|
+
const { values, setFieldValue } = useFormikContext<OperatorsValues>();
|
|
114
|
+
const isSNO = useSelector(selectIsCurrentClusterSNO);
|
|
115
|
+
const { isFeatureSupported, getFeatureSupportLevel } = useNewFeatureSupportLevel();
|
|
116
|
+
const opSpecs = useOperatorSpecs();
|
|
117
|
+
|
|
118
|
+
const supportLevel = getBundleSupportLevel(bundle, opSpecs, getFeatureSupportLevel);
|
|
119
|
+
|
|
120
|
+
const hasUnsupportedOperators = !!bundle.operators?.some((op) => {
|
|
121
|
+
const operatorSpec = opSpecs[op];
|
|
122
|
+
if (!operatorSpec) {
|
|
123
|
+
return false;
|
|
124
|
+
}
|
|
125
|
+
return !isFeatureSupported(operatorSpec.featureId);
|
|
126
|
+
});
|
|
127
|
+
|
|
128
|
+
const bundleSpec = bundleSpecs[bundle.id || ''];
|
|
129
|
+
|
|
130
|
+
const incompatibleBundle = bundleSpec?.incompatibleBundles?.find((b) =>
|
|
131
|
+
values.selectedBundles.includes(b),
|
|
132
|
+
);
|
|
133
|
+
|
|
134
|
+
const disabledReason = hasUnsupportedOperators
|
|
135
|
+
? 'Some operators in this bundle are not supported with the current configuration.'
|
|
136
|
+
: isSNO && bundleSpec?.noSNO
|
|
137
|
+
? 'This bundle is not available when deploying a Single Node OpenShift.'
|
|
138
|
+
: incompatibleBundle
|
|
139
|
+
? `Bundle cannot be installed together with ${
|
|
140
|
+
bundles.find(({ id }) => id === incompatibleBundle)?.title || incompatibleBundle
|
|
141
|
+
}`
|
|
142
|
+
: undefined;
|
|
143
|
+
|
|
144
|
+
const onSelect = (checked: boolean) => {
|
|
145
|
+
const newBundles = checked
|
|
146
|
+
? [...values.selectedBundles, bundle.id || '']
|
|
147
|
+
: values.selectedBundles.filter((sb) => sb !== bundle.id);
|
|
148
|
+
setFieldValue('selectedBundles', newBundles);
|
|
149
|
+
const newOperators = getNewBundleOperators(
|
|
150
|
+
values.selectedOperators,
|
|
151
|
+
newBundles,
|
|
152
|
+
bundles,
|
|
153
|
+
bundle,
|
|
154
|
+
preflightRequirements,
|
|
155
|
+
checked,
|
|
156
|
+
);
|
|
157
|
+
setFieldValue('selectedOperators', newOperators);
|
|
158
|
+
};
|
|
159
|
+
|
|
160
|
+
const isSelected = values.selectedBundles.includes(bundle.id || '');
|
|
161
|
+
const checkboxId = `bundle-${bundle.id || ''}`;
|
|
162
|
+
return (
|
|
163
|
+
<Tooltip content={disabledReason} hidden={!disabledReason}>
|
|
164
|
+
<Card
|
|
165
|
+
isDisabled={!!disabledReason}
|
|
166
|
+
isFullHeight
|
|
167
|
+
isClickable
|
|
168
|
+
isSelectable
|
|
169
|
+
isSelected={isSelected}
|
|
170
|
+
className="ai-bundle-card"
|
|
171
|
+
>
|
|
172
|
+
<CardHeader
|
|
173
|
+
selectableActions={{
|
|
174
|
+
selectableActionId: checkboxId,
|
|
175
|
+
selectableActionAriaLabelledby: checkboxId,
|
|
176
|
+
name: checkboxId,
|
|
177
|
+
onChange: (_, checked) => onSelect(checked),
|
|
178
|
+
isChecked: isSelected,
|
|
179
|
+
}}
|
|
180
|
+
>
|
|
181
|
+
<CardTitle>
|
|
182
|
+
<BundleLabel bundle={bundle} />
|
|
183
|
+
</CardTitle>
|
|
184
|
+
</CardHeader>
|
|
185
|
+
<CardBody isFilled>
|
|
186
|
+
<Stack hasGutter>
|
|
187
|
+
<StackItem isFilled>
|
|
188
|
+
<div>{bundle.description}</div>
|
|
189
|
+
</StackItem>
|
|
190
|
+
<StackItem>
|
|
191
|
+
<Split>
|
|
192
|
+
<SplitItem isFilled />
|
|
193
|
+
<SplitItem>
|
|
194
|
+
<NewFeatureSupportLevelBadge
|
|
195
|
+
featureId={bundle.id || ''}
|
|
196
|
+
supportLevel={supportLevel}
|
|
197
|
+
/>
|
|
198
|
+
</SplitItem>
|
|
199
|
+
</Split>
|
|
200
|
+
</StackItem>
|
|
201
|
+
</Stack>
|
|
202
|
+
</CardBody>
|
|
203
|
+
</Card>
|
|
204
|
+
</Tooltip>
|
|
205
|
+
);
|
|
206
|
+
};
|
|
207
|
+
|
|
208
|
+
const OperatorsBundle = ({
|
|
209
|
+
bundles,
|
|
210
|
+
preflightRequirements,
|
|
211
|
+
}: {
|
|
212
|
+
bundles: Bundle[];
|
|
213
|
+
preflightRequirements: PreflightHardwareRequirements | undefined;
|
|
214
|
+
}) => {
|
|
215
|
+
const isSingleClusterFeatureEnabled = useFeature('ASSISTED_INSTALLER_SINGLE_CLUSTER_FEATURE');
|
|
216
|
+
|
|
217
|
+
return (
|
|
218
|
+
<Stack hasGutter>
|
|
219
|
+
<StackItem>
|
|
220
|
+
<Title headingLevel="h2" size="lg">
|
|
221
|
+
Bundles
|
|
222
|
+
</Title>
|
|
223
|
+
</StackItem>
|
|
224
|
+
<StackItem>
|
|
225
|
+
<Gallery hasGutter minWidths={{ default: '350px' }}>
|
|
226
|
+
{(isSingleClusterFeatureEnabled
|
|
227
|
+
? bundles.filter((b) => b.id && singleClusterBundles.includes(b.id))
|
|
228
|
+
: bundles
|
|
229
|
+
).map((bundle) => (
|
|
230
|
+
<GalleryItem key={bundle.id}>
|
|
231
|
+
<BundleCard
|
|
232
|
+
bundle={bundle}
|
|
233
|
+
bundles={bundles}
|
|
234
|
+
preflightRequirements={preflightRequirements}
|
|
235
|
+
/>
|
|
236
|
+
</GalleryItem>
|
|
237
|
+
))}
|
|
238
|
+
</Gallery>
|
|
239
|
+
</StackItem>
|
|
240
|
+
</Stack>
|
|
241
|
+
);
|
|
242
|
+
};
|
|
243
|
+
|
|
244
|
+
export default OperatorsBundle;
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ExpandableSection, Stack, StackItem } from '@patternfly/react-core';
|
|
3
|
+
import {
|
|
4
|
+
Bundle,
|
|
5
|
+
Cluster,
|
|
6
|
+
PreflightHardwareRequirements,
|
|
7
|
+
} from '@openshift-assisted/types/assisted-installer-service';
|
|
8
|
+
import { useFormikContext } from 'formik';
|
|
9
|
+
import {
|
|
10
|
+
getApiErrorMessage,
|
|
11
|
+
handleApiError,
|
|
12
|
+
LoadingState,
|
|
13
|
+
OperatorsValues,
|
|
14
|
+
singleClusterOperators,
|
|
15
|
+
useAlerts,
|
|
16
|
+
useStateSafely,
|
|
17
|
+
} from '../../../common';
|
|
18
|
+
import { OperatorsService } from '../../services';
|
|
19
|
+
import { useFeature } from '../../hooks/use-feature';
|
|
20
|
+
import OperatorCheckbox from '../clusterConfiguration/operators/OperatorCheckbox';
|
|
21
|
+
import { useOperatorSpecs } from '../../../common/components/operators/operatorSpecs';
|
|
22
|
+
|
|
23
|
+
const OperatorsSelect = ({
|
|
24
|
+
cluster,
|
|
25
|
+
bundles,
|
|
26
|
+
preflightRequirements,
|
|
27
|
+
}: {
|
|
28
|
+
cluster: Cluster;
|
|
29
|
+
bundles: Bundle[];
|
|
30
|
+
preflightRequirements: PreflightHardwareRequirements | undefined;
|
|
31
|
+
}) => {
|
|
32
|
+
const [isLoading, setIsLoading] = useStateSafely(true);
|
|
33
|
+
const { addAlert } = useAlerts();
|
|
34
|
+
const [isExpanded, setIsExpanded] = React.useState(false);
|
|
35
|
+
const [supportedOperators, setSupportedOperators] = useStateSafely<string[]>([]);
|
|
36
|
+
const isSingleClusterFeatureEnabled = useFeature('ASSISTED_INSTALLER_SINGLE_CLUSTER_FEATURE');
|
|
37
|
+
const { values } = useFormikContext<OperatorsValues>();
|
|
38
|
+
|
|
39
|
+
React.useEffect(() => {
|
|
40
|
+
const fetchSupportedOperators = async () => {
|
|
41
|
+
try {
|
|
42
|
+
const fetchedOperators = await OperatorsService.getSupportedOperators();
|
|
43
|
+
setSupportedOperators(fetchedOperators);
|
|
44
|
+
} catch (error) {
|
|
45
|
+
handleApiError(error, () =>
|
|
46
|
+
addAlert({ title: 'Failed to fetch operators', message: getApiErrorMessage(error) }),
|
|
47
|
+
);
|
|
48
|
+
} finally {
|
|
49
|
+
setIsLoading(false);
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
void fetchSupportedOperators();
|
|
54
|
+
}, [addAlert, setSupportedOperators, setIsLoading]);
|
|
55
|
+
|
|
56
|
+
const opSpecs = useOperatorSpecs();
|
|
57
|
+
|
|
58
|
+
const operators = React.useMemo(() => {
|
|
59
|
+
return supportedOperators
|
|
60
|
+
.sort((a, b) => {
|
|
61
|
+
const aTitle = opSpecs[a]?.title || a;
|
|
62
|
+
const bTitle = opSpecs[b]?.title || b;
|
|
63
|
+
return aTitle.localeCompare(bTitle);
|
|
64
|
+
})
|
|
65
|
+
.filter((op) => {
|
|
66
|
+
if (!isSingleClusterFeatureEnabled) {
|
|
67
|
+
return true;
|
|
68
|
+
}
|
|
69
|
+
return singleClusterOperators.includes(op);
|
|
70
|
+
});
|
|
71
|
+
}, [isSingleClusterFeatureEnabled, supportedOperators, opSpecs]);
|
|
72
|
+
|
|
73
|
+
if (isLoading) {
|
|
74
|
+
return <LoadingState />;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
return (
|
|
78
|
+
<ExpandableSection
|
|
79
|
+
toggleText={`Single Operators (${operators.length} | ${values.selectedOperators.length} selected)`}
|
|
80
|
+
onToggle={() => setIsExpanded(!isExpanded)}
|
|
81
|
+
isExpanded={isExpanded}
|
|
82
|
+
data-testid="single-operators-section"
|
|
83
|
+
>
|
|
84
|
+
<Stack hasGutter data-testid={'operators-form'}>
|
|
85
|
+
{operators.map((operatorKey) => {
|
|
86
|
+
if (!opSpecs[operatorKey]) {
|
|
87
|
+
return null;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
return (
|
|
91
|
+
<StackItem key={operatorKey}>
|
|
92
|
+
<OperatorCheckbox
|
|
93
|
+
bundles={bundles}
|
|
94
|
+
operatorId={operatorKey}
|
|
95
|
+
cluster={cluster}
|
|
96
|
+
openshiftVersion={cluster.openshiftVersion}
|
|
97
|
+
preflightRequirements={preflightRequirements}
|
|
98
|
+
{...opSpecs[operatorKey]}
|
|
99
|
+
/>
|
|
100
|
+
</StackItem>
|
|
101
|
+
);
|
|
102
|
+
})}
|
|
103
|
+
</Stack>
|
|
104
|
+
</ExpandableSection>
|
|
105
|
+
);
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
export default OperatorsSelect;
|
|
@@ -1,51 +1,63 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { useSelector } from 'react-redux';
|
|
3
2
|
import { Stack, StackItem } from '@patternfly/react-core';
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
3
|
+
import { Bundle } from '@openshift-assisted/types/assisted-installer-service';
|
|
4
|
+
import {
|
|
5
|
+
ClusterOperatorProps,
|
|
6
|
+
ClusterWizardStepHeader,
|
|
7
|
+
getApiErrorMessage,
|
|
8
|
+
handleApiError,
|
|
9
|
+
LoadingState,
|
|
10
|
+
useAlerts,
|
|
11
|
+
} from '../../../common';
|
|
12
|
+
import OperatorsBundle from './OperatorsBundle';
|
|
13
|
+
import OperatorsSelect from './OperatorsSelect';
|
|
14
|
+
import BundleService from '../../services/BundleService';
|
|
15
|
+
import { useClusterPreflightRequirements } from '../../hooks';
|
|
16
|
+
|
|
17
|
+
export const OperatorsStep = ({ cluster }: ClusterOperatorProps) => {
|
|
18
|
+
const { addAlert } = useAlerts();
|
|
19
|
+
const [bundlesLoading, setBundlesLoading] = React.useState(true);
|
|
20
|
+
const [bundles, setBundles] = React.useState<Bundle[]>([]);
|
|
21
|
+
const { preflightRequirements, isLoading } = useClusterPreflightRequirements(cluster.id);
|
|
22
|
+
React.useEffect(() => {
|
|
23
|
+
const fetchBundles = async () => {
|
|
24
|
+
try {
|
|
25
|
+
const fetchedBundles = await BundleService.listBundles();
|
|
26
|
+
setBundles(fetchedBundles);
|
|
27
|
+
} catch (error) {
|
|
28
|
+
handleApiError(error, () =>
|
|
29
|
+
addAlert({
|
|
30
|
+
title: 'Failed to fetch operator bundles',
|
|
31
|
+
message: getApiErrorMessage(error),
|
|
32
|
+
}),
|
|
33
|
+
);
|
|
34
|
+
} finally {
|
|
35
|
+
setBundlesLoading(false);
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
void fetchBundles();
|
|
40
|
+
}, [addAlert]);
|
|
41
|
+
|
|
42
|
+
if (isLoading || bundlesLoading) {
|
|
43
|
+
return <LoadingState />;
|
|
44
|
+
}
|
|
13
45
|
|
|
14
|
-
export const OperatorsStep = (props: ClusterOperatorProps) => {
|
|
15
|
-
const isSNO = useSelector(selectIsCurrentClusterSNO);
|
|
16
|
-
const isVersionEqualsOrMajorThan4_15 = isOCPVersionEqualsOrMajor(
|
|
17
|
-
props.openshiftVersion || '',
|
|
18
|
-
'4.15',
|
|
19
|
-
);
|
|
20
46
|
return (
|
|
21
|
-
<Stack hasGutter data-testid={'operators-
|
|
47
|
+
<Stack hasGutter data-testid={'operators-page'}>
|
|
22
48
|
<StackItem>
|
|
23
49
|
<ClusterWizardStepHeader>Operators</ClusterWizardStepHeader>
|
|
24
50
|
</StackItem>
|
|
25
51
|
<StackItem>
|
|
26
|
-
<
|
|
52
|
+
<OperatorsBundle bundles={bundles} preflightRequirements={preflightRequirements} />
|
|
27
53
|
</StackItem>
|
|
28
54
|
<StackItem>
|
|
29
|
-
<
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
55
|
+
<OperatorsSelect
|
|
56
|
+
bundles={bundles}
|
|
57
|
+
cluster={cluster}
|
|
58
|
+
preflightRequirements={preflightRequirements}
|
|
33
59
|
/>
|
|
34
60
|
</StackItem>
|
|
35
|
-
{isVersionEqualsOrMajorThan4_15 ? (
|
|
36
|
-
<>
|
|
37
|
-
<StackItem>
|
|
38
|
-
<LvmCheckbox {...props} />
|
|
39
|
-
</StackItem>
|
|
40
|
-
<StackItem>
|
|
41
|
-
<OdfCheckbox />
|
|
42
|
-
</StackItem>
|
|
43
|
-
</>
|
|
44
|
-
) : (
|
|
45
|
-
<StackItem>{isSNO ? <LvmCheckbox {...props} /> : <OdfCheckbox />}</StackItem>
|
|
46
|
-
)}
|
|
47
|
-
<MtvOperatorCheckbox clusterId={props.clusterId} />
|
|
48
|
-
<OpenShiftAICheckbox />
|
|
49
61
|
</Stack>
|
|
50
62
|
);
|
|
51
63
|
};
|
|
@@ -82,11 +82,21 @@ const validationInfoHostsDisovery: ValidationsInfo = {
|
|
|
82
82
|
message: 'a validation message',
|
|
83
83
|
status: 'success',
|
|
84
84
|
},
|
|
85
|
+
{
|
|
86
|
+
id: 'osc-requirements-satisfied',
|
|
87
|
+
message: 'a validation message',
|
|
88
|
+
status: 'success',
|
|
89
|
+
},
|
|
85
90
|
{
|
|
86
91
|
id: 'api-vips-defined',
|
|
87
92
|
message: 'a validation unrelated to the canNextHostDiscovery',
|
|
88
93
|
status: 'error',
|
|
89
94
|
},
|
|
95
|
+
{
|
|
96
|
+
id: 'amd-gpu-requirements-satisfied',
|
|
97
|
+
message: 'a validation message',
|
|
98
|
+
status: 'success',
|
|
99
|
+
},
|
|
90
100
|
],
|
|
91
101
|
};
|
|
92
102
|
|
|
@@ -190,6 +200,21 @@ const flatValidationHostsDiscovery: HostValidation[] = [
|
|
|
190
200
|
message: 'a host validation message',
|
|
191
201
|
status: 'success',
|
|
192
202
|
},
|
|
203
|
+
{
|
|
204
|
+
id: 'osc-requirements-satisfied',
|
|
205
|
+
message: 'a host validation message',
|
|
206
|
+
status: 'success',
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
id: 'mtu-valid',
|
|
210
|
+
message: 'a host validation message',
|
|
211
|
+
status: 'success',
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
id: 'amd-gpu-requirements-satisfied',
|
|
215
|
+
message: 'a host validation message',
|
|
216
|
+
status: 'success',
|
|
217
|
+
},
|
|
193
218
|
];
|
|
194
219
|
|
|
195
220
|
const flatValidationHostsStorage: HostValidation[] = [
|
|
@@ -11,6 +11,7 @@ export const wizardStepNames: { [key in ClusterWizardStepsType]: string } = {
|
|
|
11
11
|
networking: 'Networking',
|
|
12
12
|
'custom-manifests': 'Custom manifests',
|
|
13
13
|
review: 'Review and create',
|
|
14
|
+
'credentials-download': 'Download credentials',
|
|
14
15
|
};
|
|
15
16
|
|
|
16
17
|
export const defaultWizardSteps: ClusterWizardStepsType[] = [
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { default as ClusterDetailsForm } from './ClusterDetailsForm';
|
|
2
2
|
export { default as NewClusterWizard } from './NewClusterWizard';
|
|
3
|
+
export { default as ClusterWizard } from './ClusterWizard';
|
|
3
4
|
export { default as ClusterWizardContextProvider } from './ClusterWizardContextProvider';
|
|
4
5
|
export { OpenShiftVersionsContextProvider } from './OpenShiftVersionsContext';
|
|
@@ -28,7 +28,8 @@ export type ClusterWizardStepsType =
|
|
|
28
28
|
| 'storage'
|
|
29
29
|
| 'networking'
|
|
30
30
|
| 'review'
|
|
31
|
-
| 'custom-manifests'
|
|
31
|
+
| 'custom-manifests'
|
|
32
|
+
| 'credentials-download';
|
|
32
33
|
|
|
33
34
|
const wizardStepsOrder: ClusterWizardStepsType[] = [
|
|
34
35
|
'cluster-details',
|
|
@@ -40,6 +41,7 @@ const wizardStepsOrder: ClusterWizardStepsType[] = [
|
|
|
40
41
|
'storage',
|
|
41
42
|
'networking',
|
|
42
43
|
'custom-manifests',
|
|
44
|
+
'credentials-download',
|
|
43
45
|
'review',
|
|
44
46
|
];
|
|
45
47
|
|
|
@@ -71,14 +73,10 @@ export const getClusterWizardFirstStep = (
|
|
|
71
73
|
staticIpInfo: StaticIpInfo | undefined,
|
|
72
74
|
state?: ClusterWizardFlowStateType,
|
|
73
75
|
hosts?: Host[] | undefined,
|
|
74
|
-
isSingleClusterFeatureEnabled?: boolean,
|
|
75
76
|
customManifestsStepNeedsToBeFilled?: boolean,
|
|
76
77
|
): ClusterWizardStepsType => {
|
|
77
78
|
// Just for the first time when the cluster is created
|
|
78
79
|
if (locationState === ClusterWizardFlowStateNew && !staticIpInfo) {
|
|
79
|
-
if (isSingleClusterFeatureEnabled) {
|
|
80
|
-
return 'host-discovery';
|
|
81
|
-
}
|
|
82
80
|
return 'operators';
|
|
83
81
|
}
|
|
84
82
|
|
|
@@ -173,6 +171,8 @@ const hostDiscoveryStepValidationsMap: WizardStepValidationMap = {
|
|
|
173
171
|
'cnv-requirements-satisfied',
|
|
174
172
|
'nvidia-gpu-requirements-satisfied',
|
|
175
173
|
'openshift-ai-requirements-satisfied',
|
|
174
|
+
'osc-requirements-satisfied',
|
|
175
|
+
'amd-gpu-requirements-satisfied',
|
|
176
176
|
],
|
|
177
177
|
},
|
|
178
178
|
host: {
|
|
@@ -187,9 +187,11 @@ const hostDiscoveryStepValidationsMap: WizardStepValidationMap = {
|
|
|
187
187
|
'cnv-requirements-satisfied',
|
|
188
188
|
'nvidia-gpu-requirements-satisfied',
|
|
189
189
|
'openshift-ai-requirements-satisfied',
|
|
190
|
+
'osc-requirements-satisfied',
|
|
191
|
+
'amd-gpu-requirements-satisfied',
|
|
190
192
|
],
|
|
191
193
|
},
|
|
192
|
-
softValidationIds: ['no-skip-installation-disk', 'no-skip-missing-disk'],
|
|
194
|
+
softValidationIds: ['no-skip-installation-disk', 'no-skip-missing-disk', 'compatible-agent'],
|
|
193
195
|
};
|
|
194
196
|
|
|
195
197
|
const storageStepValidationsMap: WizardStepValidationMap = {
|
|
@@ -225,7 +227,7 @@ const networkingStepValidationsMap: WizardStepValidationMap = {
|
|
|
225
227
|
// Alternatively we would have to whitelist network validations instead of using group
|
|
226
228
|
// TODO(mlibra): remove that container-images-available from soft validations and let backend drive it via disabling it.
|
|
227
229
|
// Depends on: https://issues.redhat.com/browse/MGMT-5265
|
|
228
|
-
softValidationIds: ['ntp-synced', 'container-images-available'],
|
|
230
|
+
softValidationIds: ['ntp-synced', 'container-images-available', 'mtu-valid'],
|
|
229
231
|
};
|
|
230
232
|
|
|
231
233
|
const reviewStepValidationsMap: WizardStepValidationMap = {
|
|
@@ -241,6 +243,8 @@ const reviewStepValidationsMap: WizardStepValidationMap = {
|
|
|
241
243
|
softValidationIds: [],
|
|
242
244
|
};
|
|
243
245
|
|
|
246
|
+
const credentialsValidationMap = buildEmptyValidationsMap();
|
|
247
|
+
|
|
244
248
|
const customManifestsValidationsMap = buildEmptyValidationsMap();
|
|
245
249
|
|
|
246
250
|
export const wizardStepsValidationsMap: WizardStepsValidationMap<ClusterWizardStepsType> = {
|
|
@@ -254,6 +258,7 @@ export const wizardStepsValidationsMap: WizardStepsValidationMap<ClusterWizardSt
|
|
|
254
258
|
storage: storageStepValidationsMap,
|
|
255
259
|
networking: networkingStepValidationsMap,
|
|
256
260
|
review: reviewStepValidationsMap,
|
|
261
|
+
'credentials-download': credentialsValidationMap,
|
|
257
262
|
};
|
|
258
263
|
|
|
259
264
|
export const allClusterWizardSoftValidationIds =
|
|
@@ -38,13 +38,12 @@ import { OpenShiftVersionsContextProvider } from '../clusterWizard/OpenShiftVers
|
|
|
38
38
|
const ClusterPageGeneric = ({
|
|
39
39
|
clusterId,
|
|
40
40
|
showBreadcrumbs = false,
|
|
41
|
+
resetModal,
|
|
41
42
|
}: {
|
|
42
43
|
clusterId: string;
|
|
43
44
|
showBreadcrumbs?: boolean;
|
|
45
|
+
resetModal?: React.ReactNode;
|
|
44
46
|
}) => {
|
|
45
|
-
if (!clusterId) {
|
|
46
|
-
// console.error('ClusterPageGeneric: missing clusterId');
|
|
47
|
-
}
|
|
48
47
|
const fetchCluster = useFetchCluster(clusterId);
|
|
49
48
|
const dispatch = useDispatch();
|
|
50
49
|
const { cluster, uiState, errorDetail } = useClusterPolling(clusterId);
|
|
@@ -178,14 +177,12 @@ const ClusterPageGeneric = ({
|
|
|
178
177
|
openshiftVersion={cluster.openshiftVersion}
|
|
179
178
|
platformType={cluster.platform?.type}
|
|
180
179
|
>
|
|
181
|
-
{/* TODO(mlibra): Will be reworked within https://issues.redhat.com/browse/AGENT-522
|
|
182
|
-
<RebootNodeZeroModal cluster={cluster} />
|
|
183
|
-
*/}
|
|
184
180
|
{getContent(cluster, infraEnv)}
|
|
185
181
|
{uiState === ResourceUIState.POLLING_ERROR && <ClusterPollingErrorModal />}
|
|
186
182
|
{uiState === ResourceUIState.UPDATE_ERROR && <ClusterUpdateErrorModal />}
|
|
187
183
|
<CancelInstallationModal />
|
|
188
184
|
<ResetClusterModal />
|
|
185
|
+
{resetModal}
|
|
189
186
|
<DiscoveryImageModal />
|
|
190
187
|
</NewFeatureSupportLevelProvider>
|
|
191
188
|
</OpenShiftVersionsContextProvider>
|
|
@@ -200,9 +197,15 @@ const ClusterPageGeneric = ({
|
|
|
200
197
|
return <Navigate to="/clusters" />;
|
|
201
198
|
};
|
|
202
199
|
|
|
203
|
-
export const SingleClusterPage = ({
|
|
200
|
+
export const SingleClusterPage = ({
|
|
201
|
+
clusterId,
|
|
202
|
+
resetModal,
|
|
203
|
+
}: {
|
|
204
|
+
clusterId: string;
|
|
205
|
+
resetModal: React.ReactNode;
|
|
206
|
+
}) => (
|
|
204
207
|
<AlertsContextProvider>
|
|
205
|
-
<ClusterPageGeneric clusterId={clusterId} />
|
|
208
|
+
<ClusterPageGeneric clusterId={clusterId} resetModal={resetModal} />
|
|
206
209
|
</AlertsContextProvider>
|
|
207
210
|
);
|
|
208
211
|
|