@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
|
@@ -8,13 +8,8 @@ import {
|
|
|
8
8
|
HostValidationId,
|
|
9
9
|
} from '@openshift-assisted/types/assisted-installer-service';
|
|
10
10
|
import { ValidationGroup as ClusterValidationGroup } from '../types/clusters';
|
|
11
|
-
import { FeatureSupportLevelData } from '../components/featureSupportLevels/FeatureSupportLevelContext';
|
|
12
|
-
import type { NewFeatureSupportLevelData } from '../components/newFeatureSupportLevels';
|
|
13
11
|
import buildManifest from '@openshift-assisted/ui-lib/package.json';
|
|
14
12
|
|
|
15
|
-
// TODO(mlibra): Retrieve branding dynamically, if needed, i.e. via injecting to the "window" object
|
|
16
|
-
export const getProductBrandingCode = () => 'redhat';
|
|
17
|
-
|
|
18
13
|
export const POLLING_INTERVAL = 10 * 1000;
|
|
19
14
|
export const EVENTS_POLLING_INTERVAL = 10 * 1000 * 6;
|
|
20
15
|
|
|
@@ -134,6 +129,17 @@ export const hostValidationLabels = (t: TFunction): { [key in HostValidationId]:
|
|
|
134
129
|
'serverless-requirements-satisfied': t('ai:Serverless requirements'),
|
|
135
130
|
'servicemesh-requirements-satisfied': t('ai:Service Mesh requirements'),
|
|
136
131
|
'openshift-ai-requirements-satisfied': t('ai:OpenShift AI requirements'),
|
|
132
|
+
'osc-requirements-satisfied': t('ai:OpenShift sandboxed containers requirements'),
|
|
133
|
+
'mtu-valid': t('ai:MTU requirements'),
|
|
134
|
+
'authorino-requirements-satisfied': '',
|
|
135
|
+
'nmstate-requirements-satisfied': '',
|
|
136
|
+
'amd-gpu-requirements-satisfied': t('ai:AMD GPU requirements'),
|
|
137
|
+
'kmm-requirements-satisfied': t('ai:Kernel Module Management requirements'),
|
|
138
|
+
'node-healthcheck-requirements-satisfied': t('ai:Node Healthcheck requirements'),
|
|
139
|
+
'self-node-remediation-requirements-satisfied': t('ai:Self Node Remediation requirements'),
|
|
140
|
+
'fence-agents-remediation-requirements-satisfied': t('ai:Fence Agents Remediation requirements'),
|
|
141
|
+
'node-maintenance-requirements-satisfied': t('ai:Node Maintenance requirements'),
|
|
142
|
+
'kube-descheduler-requirements-satisfied': t('ai:Kube Descheduler requirements'),
|
|
137
143
|
});
|
|
138
144
|
|
|
139
145
|
export const hostValidationFailureHints = (
|
|
@@ -190,6 +196,17 @@ export const hostValidationFailureHints = (
|
|
|
190
196
|
'serverless-requirements-satisfied': '',
|
|
191
197
|
'servicemesh-requirements-satisfied': '',
|
|
192
198
|
'openshift-ai-requirements-satisfied': '',
|
|
199
|
+
'osc-requirements-satisfied': '',
|
|
200
|
+
'authorino-requirements-satisfied': '',
|
|
201
|
+
'mtu-valid': '',
|
|
202
|
+
'nmstate-requirements-satisfied': '',
|
|
203
|
+
'amd-gpu-requirements-satisfied': '',
|
|
204
|
+
'kmm-requirements-satisfied': '',
|
|
205
|
+
'node-healthcheck-requirements-satisfied': '',
|
|
206
|
+
'self-node-remediation-requirements-satisfied': '',
|
|
207
|
+
'fence-agents-remediation-requirements-satisfied': '',
|
|
208
|
+
'node-maintenance-requirements-satisfied': '',
|
|
209
|
+
'kube-descheduler-requirements-satisfied': '',
|
|
193
210
|
});
|
|
194
211
|
|
|
195
212
|
export const clusterValidationLabels = (
|
|
@@ -281,7 +298,6 @@ export const OPERATOR_NAME_CNV = 'cnv';
|
|
|
281
298
|
export const OPERATOR_NAME_LSO = 'lso';
|
|
282
299
|
export const OPERATOR_NAME_ODF = 'odf';
|
|
283
300
|
export const OPERATOR_NAME_LVM = 'lvm';
|
|
284
|
-
export const OPERATOR_NAME_LVMS = 'lvms';
|
|
285
301
|
export const OPERATOR_NAME_MCE = 'mce';
|
|
286
302
|
export const OPERATOR_NAME_MTV = 'mtv';
|
|
287
303
|
export const OPERATOR_NAME_NODE_FEATURE_DISCOVERY = 'node-feature-discovery';
|
|
@@ -290,79 +306,32 @@ export const OPERATOR_NAME_PIPELINES = 'pipelines';
|
|
|
290
306
|
export const OPERATOR_NAME_SERVICEMESH = 'servicemesh';
|
|
291
307
|
export const OPERATOR_NAME_SERVERLESS = 'serverless';
|
|
292
308
|
export const OPERATOR_NAME_OPENSHIFT_AI = 'openshift-ai';
|
|
309
|
+
export const OPERATOR_NAME_OSC = 'osc';
|
|
310
|
+
export const OPERATOR_NAME_NMSTATE = 'nmstate';
|
|
311
|
+
export const OPERATOR_NAME_AUTHORINO = 'authorino';
|
|
312
|
+
export const OPERATOR_NAME_AMD_GPU = 'amd-gpu';
|
|
313
|
+
export const OPERATOR_NAME_KMM = 'kmm';
|
|
314
|
+
export const OPERATOR_NAME_NODE_HEALTHCHECK = 'node-healthcheck';
|
|
315
|
+
export const OPERATOR_NAME_SELF_NODE_REMEDIATION = 'self-node-remediation';
|
|
316
|
+
export const OPERATOR_NAME_FENCE_AGENTS_REMEDIATION = 'fence-agents-remediation';
|
|
317
|
+
export const OPERATOR_NAME_NODE_MAINTENANCE = 'node-maintenance';
|
|
318
|
+
export const OPERATOR_NAME_KUBE_DESCHEDULER = 'kube-descheduler';
|
|
293
319
|
|
|
294
|
-
const
|
|
295
|
-
OPERATOR_NAME_CNV,
|
|
296
|
-
OPERATOR_NAME_LSO,
|
|
297
|
-
OPERATOR_NAME_ODF,
|
|
298
|
-
OPERATOR_NAME_LVM,
|
|
299
|
-
OPERATOR_NAME_LVMS,
|
|
300
|
-
OPERATOR_NAME_MCE,
|
|
301
|
-
OPERATOR_NAME_MTV,
|
|
302
|
-
OPERATOR_NAME_NODE_FEATURE_DISCOVERY,
|
|
303
|
-
OPERATOR_NAME_NVIDIA_GPU,
|
|
304
|
-
OPERATOR_NAME_PIPELINES,
|
|
305
|
-
OPERATOR_NAME_SERVICEMESH,
|
|
306
|
-
OPERATOR_NAME_SERVERLESS,
|
|
307
|
-
OPERATOR_NAME_OPENSHIFT_AI,
|
|
308
|
-
];
|
|
309
|
-
export const ExposedOperatorNames = [
|
|
320
|
+
export const singleClusterOperators = [
|
|
310
321
|
OPERATOR_NAME_CNV,
|
|
311
|
-
OPERATOR_NAME_ODF,
|
|
312
|
-
OPERATOR_NAME_LVM,
|
|
313
|
-
OPERATOR_NAME_LVMS,
|
|
314
|
-
OPERATOR_NAME_MCE,
|
|
315
322
|
OPERATOR_NAME_MTV,
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
323
|
+
OPERATOR_NAME_NMSTATE,
|
|
324
|
+
OPERATOR_NAME_NODE_HEALTHCHECK,
|
|
325
|
+
OPERATOR_NAME_NODE_MAINTENANCE,
|
|
326
|
+
OPERATOR_NAME_FENCE_AGENTS_REMEDIATION,
|
|
327
|
+
OPERATOR_NAME_SELF_NODE_REMEDIATION,
|
|
328
|
+
OPERATOR_NAME_KUBE_DESCHEDULER,
|
|
322
329
|
];
|
|
323
330
|
|
|
324
|
-
export
|
|
325
|
-
export type ExposedOperatorName = (typeof ExposedOperatorNames)[number];
|
|
326
|
-
|
|
327
|
-
export const operatorLabelsCim = (
|
|
328
|
-
t: TFunction,
|
|
329
|
-
openshiftVersion: Cluster['openshiftVersion'],
|
|
330
|
-
featureSupportLevel: FeatureSupportLevelData,
|
|
331
|
-
): { [key in ExposedOperatorName]: string } => {
|
|
332
|
-
const useLVMS =
|
|
333
|
-
featureSupportLevel.getFeatureSupportLevel(openshiftVersion || '', 'LVM') === 'supported';
|
|
334
|
-
|
|
335
|
-
return {
|
|
336
|
-
[OPERATOR_NAME_ODF]: t('ai:OpenShift Data Foundation'),
|
|
337
|
-
[OPERATOR_NAME_CNV]: t('ai:OpenShift Virtualization'),
|
|
338
|
-
[OPERATOR_NAME_LVM]: useLVMS
|
|
339
|
-
? t('ai:Logical Volume Manager Storage')
|
|
340
|
-
: t('ai:Logical Volume Manager'),
|
|
341
|
-
};
|
|
342
|
-
};
|
|
343
|
-
|
|
344
|
-
export const operatorLabels = (
|
|
345
|
-
t: TFunction,
|
|
346
|
-
featureSupportLevel: NewFeatureSupportLevelData,
|
|
347
|
-
): { [key in ExposedOperatorName]: string } => {
|
|
348
|
-
const useLVMS = featureSupportLevel.getFeatureSupportLevel('LVM') === 'supported';
|
|
349
|
-
|
|
350
|
-
return {
|
|
351
|
-
[OPERATOR_NAME_ODF]: t('ai:OpenShift Data Foundation'),
|
|
352
|
-
[OPERATOR_NAME_CNV]: t('ai:OpenShift Virtualization'),
|
|
353
|
-
[OPERATOR_NAME_LVM]: useLVMS
|
|
354
|
-
? t('ai:Logical Volume Manager Storage')
|
|
355
|
-
: t('ai:Logical Volume Manager'),
|
|
356
|
-
[OPERATOR_NAME_MCE]: t('ai:Multicluster engine'),
|
|
357
|
-
[OPERATOR_NAME_NODE_FEATURE_DISCOVERY]: t('ai:Node Feature Discovery'),
|
|
358
|
-
[OPERATOR_NAME_NVIDIA_GPU]: t('ai:NVIDIA GPU'),
|
|
359
|
-
[OPERATOR_NAME_PIPELINES]: t('ai:Pipelines'),
|
|
360
|
-
[OPERATOR_NAME_SERVICEMESH]: t('ai:Service Mesh'),
|
|
361
|
-
[OPERATOR_NAME_SERVERLESS]: t('ai:Serverless'),
|
|
362
|
-
[OPERATOR_NAME_OPENSHIFT_AI]: t('ai:OpenShift AI'),
|
|
363
|
-
};
|
|
364
|
-
};
|
|
331
|
+
export const singleClusterBundles = ['virtualization'];
|
|
365
332
|
|
|
366
333
|
export const AI_UI_TAG = 'ui_ocm';
|
|
367
334
|
|
|
368
335
|
export const AI_ASSISTED_MIGRATION_TAG = 'assisted_migration';
|
|
336
|
+
|
|
337
|
+
export const AI_CISCO_INTERSIGHT_TAG = 'cisco_intersight_ui';
|
|
@@ -1,7 +1,15 @@
|
|
|
1
|
-
const DEFAULT_OPENSHIFT_DOCS_VERSION =
|
|
2
|
-
|
|
3
|
-
export const getShortOpenshiftVersion = (ocpVersion?: string) =>
|
|
4
|
-
|
|
1
|
+
const DEFAULT_OPENSHIFT_DOCS_VERSION = 4.15;
|
|
2
|
+
|
|
3
|
+
export const getShortOpenshiftVersion = (ocpVersion?: string) => {
|
|
4
|
+
if (!ocpVersion) {
|
|
5
|
+
return DEFAULT_OPENSHIFT_DOCS_VERSION;
|
|
6
|
+
}
|
|
7
|
+
const versionXY = Number(ocpVersion.split('.').slice(0, 2).join('.'));
|
|
8
|
+
if (!Number.isFinite(versionXY)) {
|
|
9
|
+
return DEFAULT_OPENSHIFT_DOCS_VERSION;
|
|
10
|
+
}
|
|
11
|
+
return versionXY < 4.14 ? 4.14 : versionXY;
|
|
12
|
+
};
|
|
5
13
|
|
|
6
14
|
export const getYearForAssistedInstallerDocumentationLink = () => {
|
|
7
15
|
return new Date().getFullYear();
|
|
@@ -15,6 +23,9 @@ export const OPENSHIFT_LIFE_CYCLE_DATES_LINK =
|
|
|
15
23
|
|
|
16
24
|
export const TECH_SUPPORT_LEVEL_LINK = 'https://access.redhat.com/support/offerings/techpreview';
|
|
17
25
|
|
|
26
|
+
export const DEVELOPER_SUPPORT_LEVEL_LINK =
|
|
27
|
+
'https://access.redhat.com/support/offerings/devpreview';
|
|
28
|
+
|
|
18
29
|
export const CLUSTER_MANAGER_SITE_LINK = 'https://console.redhat.com/openshift/install/pull-secret';
|
|
19
30
|
|
|
20
31
|
export const PULL_SECRET_INFO_LINK = CLUSTER_MANAGER_SITE_LINK;
|
|
@@ -28,7 +39,11 @@ export const getEncryptingDiskDuringInstallationDocsLink = (ocpVersion?: string)
|
|
|
28
39
|
export const getOpenShiftNetworkingDocsLink = (ocpVersion?: string) =>
|
|
29
40
|
`https://docs.redhat.com/en/documentation/openshift_container_platform/${getShortOpenshiftVersion(
|
|
30
41
|
ocpVersion,
|
|
31
|
-
)}/html/installing_on_bare_metal
|
|
42
|
+
)}/html/installing_on_bare_metal/${
|
|
43
|
+
getShortOpenshiftVersion(ocpVersion) > 4.17
|
|
44
|
+
? 'user-provisioned-infrastructure'
|
|
45
|
+
: 'installing-bare-metal'
|
|
46
|
+
}#installation-network-user-infra_installing-bare-metal`;
|
|
32
47
|
|
|
33
48
|
export const SSH_GENERATION_DOC_LINK = 'https://www.redhat.com/sysadmin/configure-ssh-keygen';
|
|
34
49
|
|
|
@@ -68,10 +83,16 @@ export const ODF_REQUIREMENTS_LINK =
|
|
|
68
83
|
'https://docs.redhat.com/en/documentation/red_hat_openshift_data_foundation';
|
|
69
84
|
|
|
70
85
|
export const OPENSHIFT_AI_REQUIREMENTS_LINK =
|
|
71
|
-
'https://docs.redhat.com/en/documentation/
|
|
86
|
+
'https://docs.redhat.com/en/documentation/red_hat_openshift_ai_self-managed/2.16/html/installing_and_uninstalling_openshift_ai_self-managed/installing-and-deploying-openshift-ai_install#requirements-for-openshift-ai-self-managed_install';
|
|
87
|
+
|
|
88
|
+
export const OSC_REQUIREMENTS_LINK =
|
|
89
|
+
'https://docs.redhat.com/en/documentation/openshift_sandboxed_containers/1.8/html/user_guide/deploying-osc-bare-metal#osc-resource-requirements_deploying-bare-metal';
|
|
72
90
|
|
|
73
91
|
export const CNV_LINK = 'https://cloud.redhat.com/learn/topics/virtualization/';
|
|
74
92
|
|
|
93
|
+
export const KMM_LINK =
|
|
94
|
+
'https://docs.redhat.com/en/documentation/openshift_container_platform/4.12/html/specialized_hardware_and_driver_enablement/kernel-module-management-operator';
|
|
95
|
+
|
|
75
96
|
export const ODF_LINK = 'https://www.redhat.com/en/resources/openshift-data-foundation-datasheet';
|
|
76
97
|
|
|
77
98
|
export const getMceDocsLink = (ocpVersion?: string) =>
|
|
@@ -84,6 +105,23 @@ export const getLvmsDocsLink = (ocpVersion?: string) =>
|
|
|
84
105
|
ocpVersion,
|
|
85
106
|
)}/html/storage/configuring-persistent-storage#overview-of-lvm-storage-functionality_ways-to-provision-local-storage`;
|
|
86
107
|
|
|
108
|
+
export const NODE_HEALTHCHECK_LINK =
|
|
109
|
+
'https://docs.redhat.com/en/documentation/workload_availability_for_red_hat_openshift/latest/html/remediation_fencing_and_maintenance/node-health-check-operator';
|
|
110
|
+
|
|
111
|
+
export const SELF_NODE_REMEDIATION_LINK =
|
|
112
|
+
'https://docs.redhat.com/en/documentation/workload_availability_for_red_hat_openshift/latest/html/remediation_fencing_and_maintenance/self-node-remediation-operator-remediate-nodes';
|
|
113
|
+
|
|
114
|
+
export const FENCE_AGENTS_REMEDIATION_LINK =
|
|
115
|
+
'https://docs.redhat.com/en/documentation/workload_availability_for_red_hat_openshift/latest/html/remediation_fencing_and_maintenance/fence-agents-remediation-operator-remediate-nodes';
|
|
116
|
+
|
|
117
|
+
export const NODE_MAINTENANCE_LINK =
|
|
118
|
+
'https://docs.redhat.com/en/documentation/workload_availability_for_red_hat_openshift/latest/html/remediation_fencing_and_maintenance/node-maintenance-operator';
|
|
119
|
+
|
|
120
|
+
export const getKubeDeschedulerLink = (ocpVersion?: string) =>
|
|
121
|
+
`https://docs.redhat.com/en/documentation/openshift_container_platform/${getShortOpenshiftVersion(
|
|
122
|
+
ocpVersion,
|
|
123
|
+
)}/html/nodes/controlling-pod-placement-onto-nodes-scheduling#descheduler`;
|
|
124
|
+
|
|
87
125
|
//Others
|
|
88
126
|
export const REDHAT_CONSOLE_OPENSHIFT = 'https://console.redhat.com/openshift';
|
|
89
127
|
|
|
@@ -104,3 +142,46 @@ export const MTV_LINK =
|
|
|
104
142
|
|
|
105
143
|
export const OPENSHIFT_AI_LINK =
|
|
106
144
|
'https://www.redhat.com/en/technologies/cloud-computing/openshift/openshift-ai';
|
|
145
|
+
|
|
146
|
+
export const OSC_LINK = 'https://docs.redhat.com/en/documentation/openshift_sandboxed_containers';
|
|
147
|
+
|
|
148
|
+
export const getMtuLink = (ocpVersion?: string) =>
|
|
149
|
+
`https://docs.redhat.com/en/documentation/openshift_container_platform/${getShortOpenshiftVersion(
|
|
150
|
+
ocpVersion,
|
|
151
|
+
)}/html/networking/changing-cluster-network-mtu#nw-cluster-mtu-change-about_changing-cluster-network-mtu`;
|
|
152
|
+
|
|
153
|
+
export const AUTHORINO_OPERATOR_LINK = 'https://github.com/Kuadrant/authorino-operator';
|
|
154
|
+
|
|
155
|
+
export const getLsoLink = (ocpVersion?: string) =>
|
|
156
|
+
`https://docs.openshift.com/container-platform/${getShortOpenshiftVersion(
|
|
157
|
+
ocpVersion,
|
|
158
|
+
)}/storage/persistent_storage/persistent_storage_local/ways-to-provision-local-storage.html`;
|
|
159
|
+
|
|
160
|
+
export const getNmstateLink = (ocpVersion?: string) =>
|
|
161
|
+
`https://docs.openshift.com/container-platform/${getShortOpenshiftVersion(
|
|
162
|
+
ocpVersion,
|
|
163
|
+
)}/networking/networking_operators/k8s-nmstate-about-the-k8s-nmstate-operator.html`;
|
|
164
|
+
|
|
165
|
+
export const getNodeFeatureDiscoveryLink = (ocpVersion?: string) =>
|
|
166
|
+
`https://docs.openshift.com/container-platform/${getShortOpenshiftVersion(
|
|
167
|
+
ocpVersion,
|
|
168
|
+
)}/hardware_enablement/psap-node-feature-discovery-operator.html`;
|
|
169
|
+
|
|
170
|
+
export const getNvidiaGpuLink = (ocpVersion?: string) =>
|
|
171
|
+
`https://docs.openshift.com/container-platform/${getShortOpenshiftVersion(
|
|
172
|
+
ocpVersion,
|
|
173
|
+
)}/virt/virtual_machines/advanced_vm_management/virt-configuring-virtual-gpus.html`;
|
|
174
|
+
|
|
175
|
+
export const PIPELINES_OPERATOR_LINK =
|
|
176
|
+
'https://docs.openshift.com/pipelines/1.17/install_config/installing-pipelines.html';
|
|
177
|
+
|
|
178
|
+
export const getServiceMeshLink = (ocpVersion?: string) =>
|
|
179
|
+
`https://docs.openshift.com/container-platform/${getShortOpenshiftVersion(
|
|
180
|
+
ocpVersion,
|
|
181
|
+
)}/service_mesh/v1x/preparing-ossm-installation.html`;
|
|
182
|
+
|
|
183
|
+
export const SERVERLESS_OPERATOR_LINK =
|
|
184
|
+
'https://docs.openshift.com/serverless/1.28/install/install-serverless-operator.html#serverless-install-web-console_install-serverless-operator';
|
|
185
|
+
|
|
186
|
+
export const KUBECONFIG_INFO_LINK =
|
|
187
|
+
'https://docs.redhat.com/en/documentation/openshift_container_platform/4.18/html/cli_tools/openshift-cli-oc#about-switches-between-cli-profiles_managing-cli-profiles';
|
package/lib/common/index.ts
CHANGED
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
import './configurations';
|
|
2
|
-
import './styles.css';
|
|
3
|
-
import './utils';
|
|
4
|
-
|
|
5
1
|
export * from './components';
|
|
6
2
|
export * from './api';
|
|
7
3
|
export * from './types';
|
|
@@ -9,4 +5,6 @@ export * from './config';
|
|
|
9
5
|
export * from './features';
|
|
10
6
|
export * from './reducers';
|
|
11
7
|
export * from './selectors';
|
|
8
|
+
export * from './hooks';
|
|
9
|
+
export * from './utils';
|
|
12
10
|
export { ResourceUIState } from './types/resource-ui-state';
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import head from 'lodash-es/head.js';
|
|
2
2
|
import { SupportedPlatformIntegrations, ValidationsInfo } from '../types';
|
|
3
3
|
import { Cluster, Ip } from '@openshift-assisted/types/assisted-installer-service';
|
|
4
|
-
import { ExposedOperatorName } from '../config';
|
|
5
4
|
import { stringToJSON } from '../utils';
|
|
6
5
|
|
|
7
6
|
export const selectMachineNetworkCIDR = ({
|
|
@@ -46,7 +45,7 @@ export const selectOlmOperators = (cluster?: Pick<Cluster, 'monitoredOperators'>
|
|
|
46
45
|
|
|
47
46
|
export const hasEnabledOperators = (
|
|
48
47
|
monitoredOperators: Cluster['monitoredOperators'],
|
|
49
|
-
searchOperator:
|
|
48
|
+
searchOperator: string,
|
|
50
49
|
) => {
|
|
51
50
|
return selectMonitoredOperators(monitoredOperators).some(
|
|
52
51
|
(operator) => operator.name && operator.name === searchOperator,
|
|
@@ -122,3 +121,11 @@ export const isClusterPlatformTypeVM = ({ platform }: Pick<Cluster, 'platform'>)
|
|
|
122
121
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
123
122
|
// @ts-ignore
|
|
124
123
|
SupportedPlatformIntegrations.includes(platform?.type ?? 'none');
|
|
124
|
+
|
|
125
|
+
export const numberOfEnabledOperators = (monitoredOperators: Cluster['monitoredOperators']) => {
|
|
126
|
+
return monitoredOperators
|
|
127
|
+
? selectMonitoredOperators(
|
|
128
|
+
monitoredOperators.filter((operator) => operator.operatorType === 'olm'),
|
|
129
|
+
).length
|
|
130
|
+
: 0;
|
|
131
|
+
};
|
|
@@ -58,13 +58,9 @@ export type HostDiscoveryValues = V2ClusterUpdateParams & {
|
|
|
58
58
|
export type StorageValues = V2ClusterUpdateParams & {
|
|
59
59
|
nodeLabeling: string;
|
|
60
60
|
};
|
|
61
|
-
export type OperatorsValues =
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
useContainerNativeVirtualization: boolean;
|
|
65
|
-
useMultiClusterEngine: boolean;
|
|
66
|
-
useMigrationToolkitforVirtualization: boolean;
|
|
67
|
-
useOpenShiftAI: boolean;
|
|
61
|
+
export type OperatorsValues = {
|
|
62
|
+
selectedBundles: string[];
|
|
63
|
+
selectedOperators: string[];
|
|
68
64
|
};
|
|
69
65
|
|
|
70
66
|
export type SupportedPlatformType = Extract<PlatformType, 'vsphere' | 'nutanix' | 'external'>;
|
package/lib/common/utils.ts
CHANGED
|
@@ -106,3 +106,8 @@ export const downloadFile = (fileUrl?: string, dataBlob?: Blob, fileName?: strin
|
|
|
106
106
|
link.click();
|
|
107
107
|
document.body.removeChild(link);
|
|
108
108
|
};
|
|
109
|
+
|
|
110
|
+
export const getMajorMinorVersion = (version = '') => {
|
|
111
|
+
const match = /[0-9].[0-9][0-9]?/g.exec(version);
|
|
112
|
+
return match?.[0] || '';
|
|
113
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Modal, ModalVariant } from '@patternfly/react-core';
|
|
3
|
-
import { WizardHeader } from '@patternfly/react-core
|
|
3
|
+
import { WizardHeader } from '@patternfly/react-core';
|
|
4
4
|
import classNames from 'classnames';
|
|
5
5
|
import { ClusterWizardStep } from '../../../../common';
|
|
6
6
|
import { useModalDialogsContext } from '../../hosts/ModalDialogsContext';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { WizardNav, WizardNavItem } from '@patternfly/react-core
|
|
2
|
+
import { WizardNav, WizardNavItem } from '@patternfly/react-core';
|
|
3
3
|
import { Day2WizardStepsType, day2WizardStepNames, staticIpFormViewSubSteps } from './constants';
|
|
4
4
|
import { useDay2WizardContext } from './Day2WizardContext';
|
|
5
5
|
import { isStaticIpStep } from '../../clusterWizard/wizardTransition';
|
|
@@ -18,10 +18,10 @@ const Day2WizardNav = () => {
|
|
|
18
18
|
const getNavItem = (idx: number, stepId: Day2WizardStepsType): React.ReactNode => {
|
|
19
19
|
return (
|
|
20
20
|
<WizardNavItem
|
|
21
|
-
|
|
21
|
+
stepIndex={idx}
|
|
22
22
|
key={stepId}
|
|
23
23
|
content={day2WizardStepNames[stepId]}
|
|
24
|
-
|
|
24
|
+
onClick={() => wizardContext.setCurrentStepId(stepId)}
|
|
25
25
|
isCurrent={wizardContext.currentStepId === stepId}
|
|
26
26
|
isDisabled={isStepDisabled(idx, stepId)}
|
|
27
27
|
/>
|
|
@@ -31,14 +31,14 @@ const Day2WizardNav = () => {
|
|
|
31
31
|
const getStaticIpFormViewNavItem = (idx: number): React.ReactNode => {
|
|
32
32
|
return (
|
|
33
33
|
<WizardNavItem
|
|
34
|
-
|
|
34
|
+
stepIndex={idx}
|
|
35
35
|
isExpandable={true}
|
|
36
36
|
content="Static network configurations"
|
|
37
37
|
key="static-network-configuration-form-view"
|
|
38
38
|
isCurrent={isStaticIpStep(wizardContext.currentStepId)}
|
|
39
39
|
isDisabled={isStepIdxAfterCurrent(idx)}
|
|
40
40
|
>
|
|
41
|
-
<WizardNav
|
|
41
|
+
<WizardNav isInnerList>
|
|
42
42
|
{staticIpFormViewSubSteps.map((stepId, subIdx) => {
|
|
43
43
|
return getNavItem(idx + subIdx, stepId);
|
|
44
44
|
})}
|
|
@@ -33,6 +33,9 @@ export const HostsClusterDetailTabContent = ({
|
|
|
33
33
|
const [day2Cluster, setDay2Cluster] = useStateSafely<Cluster | null>(null);
|
|
34
34
|
const pullSecret = usePullSecret();
|
|
35
35
|
|
|
36
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
37
|
+
const ocmClusterMemo = React.useMemo(() => ocmCluster, []);
|
|
38
|
+
|
|
36
39
|
const handleClickTryAgainLink = React.useCallback(() => {
|
|
37
40
|
setError(undefined);
|
|
38
41
|
setDay2Cluster(null);
|
|
@@ -53,19 +56,20 @@ export const HostsClusterDetailTabContent = ({
|
|
|
53
56
|
setDay2Cluster(null);
|
|
54
57
|
return;
|
|
55
58
|
}
|
|
56
|
-
|
|
57
|
-
const
|
|
59
|
+
|
|
60
|
+
const day1ClusterHostCount = ocmClusterMemo?.metrics?.nodes?.total || 0;
|
|
61
|
+
const openshiftClusterId = Day2ClusterService.getOpenshiftClusterId(ocmClusterMemo);
|
|
58
62
|
if (day1ClusterHostCount === 0 || !openshiftClusterId) {
|
|
59
63
|
setError(<UnableToAddHostsError onTryAgain={handleClickTryAgainLink} />);
|
|
60
64
|
}
|
|
61
65
|
|
|
62
66
|
if (!day2Cluster && pullSecret) {
|
|
63
|
-
const { apiVipDnsname, errorType } = getApiVipDnsName(
|
|
67
|
+
const { apiVipDnsname, errorType } = getApiVipDnsName(ocmClusterMemo);
|
|
64
68
|
if (errorType) {
|
|
65
69
|
const wrongUrlMessage =
|
|
66
70
|
errorType === 'console'
|
|
67
|
-
? `Cluster Console URL is not valid (${
|
|
68
|
-
: `Cluster API URL is not valid (${
|
|
71
|
+
? `Cluster Console URL is not valid (${ocmClusterMemo.console?.url || ''})`
|
|
72
|
+
: `Cluster API URL is not valid (${ocmClusterMemo.api?.url || ''})`;
|
|
69
73
|
setError(
|
|
70
74
|
<>
|
|
71
75
|
{wrongUrlMessage}, you can{' '}
|
|
@@ -85,11 +89,11 @@ export const HostsClusterDetailTabContent = ({
|
|
|
85
89
|
|
|
86
90
|
const loadDay2Cluster = async () => {
|
|
87
91
|
try {
|
|
88
|
-
const day2Cluster = await Day2ClusterService.fetchCluster(
|
|
92
|
+
const day2Cluster = await Day2ClusterService.fetchCluster(ocmClusterMemo, pullSecret);
|
|
89
93
|
|
|
90
94
|
const aiCluster = Day2ClusterService.completeAiClusterWithOcmCluster(
|
|
91
95
|
day2Cluster,
|
|
92
|
-
|
|
96
|
+
ocmClusterMemo,
|
|
93
97
|
);
|
|
94
98
|
setDay2Cluster(aiCluster ?? null);
|
|
95
99
|
} catch (e) {
|
|
@@ -103,13 +107,12 @@ export const HostsClusterDetailTabContent = ({
|
|
|
103
107
|
/>,
|
|
104
108
|
);
|
|
105
109
|
}
|
|
106
|
-
return;
|
|
107
110
|
}
|
|
108
111
|
};
|
|
109
112
|
|
|
110
113
|
void loadDay2Cluster();
|
|
111
114
|
}
|
|
112
|
-
}, [
|
|
115
|
+
}, [pullSecret, day2Cluster, setDay2Cluster, isVisible, handleClickTryAgainLink, ocmClusterMemo]);
|
|
113
116
|
|
|
114
117
|
const refreshCluster = React.useCallback(async () => {
|
|
115
118
|
if (!day2Cluster?.id) {
|
|
@@ -37,7 +37,11 @@ const makeState = (
|
|
|
37
37
|
};
|
|
38
38
|
|
|
39
39
|
export const getAddHostsTabState = (cluster: OcmClusterType): AddHostsTabState => {
|
|
40
|
-
|
|
40
|
+
// Prioritize aiCluster.status over cluster.state to prevent inconsistencies
|
|
41
|
+
// where metrics might show the cluster as ready while installation is still in progress
|
|
42
|
+
const isClusterStateReady = cluster.aiCluster?.status
|
|
43
|
+
? /ready|installed/.test(cluster.aiCluster.status)
|
|
44
|
+
: /ready|installed/.test(cluster.state);
|
|
41
45
|
const wasInstalledUsingAssistedInstaller = cluster.product?.id === 'OCP-AssistedInstall';
|
|
42
46
|
// Checking if the Day1 cluster has reported metrics, so it can be determined if it's an SNO / multi node and has required information
|
|
43
47
|
const day1ClusterHostCount = cluster.metrics?.nodes?.total || 0;
|
|
@@ -7,7 +7,6 @@ import {
|
|
|
7
7
|
import { handleApiError } from '../../common/api';
|
|
8
8
|
import { isApiError } from '../../common/api/utils';
|
|
9
9
|
import { captureException } from '../sentry';
|
|
10
|
-
import * as Sentry from '@sentry/browser';
|
|
11
10
|
|
|
12
11
|
export const SentryErrorMonitorContextProvider: React.FC = ({ children }) => {
|
|
13
12
|
const exceptionReporter: ExceptionReporter = (
|
|
@@ -18,7 +17,7 @@ export const SentryErrorMonitorContextProvider: React.FC = ({ children }) => {
|
|
|
18
17
|
if (isApiError(error)) {
|
|
19
18
|
handleApiError(error);
|
|
20
19
|
} else {
|
|
21
|
-
captureException(error, message, severity
|
|
20
|
+
captureException(error, message, severity);
|
|
22
21
|
}
|
|
23
22
|
};
|
|
24
23
|
return (
|