@openshift-assisted/ui-lib 2.14.6-cim → 2.15.0-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,158 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import {
|
|
3
|
+
FormGroup,
|
|
4
|
+
Tooltip,
|
|
5
|
+
Dropdown,
|
|
6
|
+
DropdownItem,
|
|
7
|
+
MenuToggle,
|
|
8
|
+
MenuToggleElement,
|
|
9
|
+
DropdownList,
|
|
10
|
+
} from '@patternfly/react-core';
|
|
11
|
+
import { useField } from 'formik';
|
|
12
|
+
import { getFieldId, PopoverIcon } from '../../../common';
|
|
13
|
+
import {
|
|
14
|
+
NewFeatureSupportLevelMap,
|
|
15
|
+
useNewFeatureSupportLevel,
|
|
16
|
+
} from '../../../common/components/newFeatureSupportLevels';
|
|
17
|
+
import OcmSNODisclaimer from './OcmSNODisclaimer';
|
|
18
|
+
import toNumber from 'lodash-es/toNumber';
|
|
19
|
+
|
|
20
|
+
const INPUT_NAME = 'controlPlaneCount';
|
|
21
|
+
const fieldId = getFieldId(INPUT_NAME, 'input');
|
|
22
|
+
const DEFAULT_VALUE = 3;
|
|
23
|
+
|
|
24
|
+
export const ControlPlaneNodesLabel = () => {
|
|
25
|
+
return (
|
|
26
|
+
<>
|
|
27
|
+
Number of control plane nodes{' '}
|
|
28
|
+
<PopoverIcon
|
|
29
|
+
bodyContent={
|
|
30
|
+
<>
|
|
31
|
+
Control plane nodes manage workloads, maintain cluster state, and ensure stability.
|
|
32
|
+
Using more than three nodes boosts fault tolerance and availability, reducing downtime
|
|
33
|
+
during failures.
|
|
34
|
+
</>
|
|
35
|
+
}
|
|
36
|
+
/>
|
|
37
|
+
</>
|
|
38
|
+
);
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
interface ControlPlaneNodesOption {
|
|
42
|
+
value: number;
|
|
43
|
+
label: string;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
interface ControlPlaneNodesDropdownProps {
|
|
47
|
+
featureSupportLevelData?: NewFeatureSupportLevelMap | null;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
const isDropdownItemEnabled = (
|
|
51
|
+
controlPlaneNodeCount: number,
|
|
52
|
+
isNonStandardControlPlaneEnabled: boolean,
|
|
53
|
+
): boolean => {
|
|
54
|
+
if (controlPlaneNodeCount === 4 || controlPlaneNodeCount === 5) {
|
|
55
|
+
return isNonStandardControlPlaneEnabled;
|
|
56
|
+
}
|
|
57
|
+
return true;
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
const ControlPlaneNodesDropdown: React.FC<ControlPlaneNodesDropdownProps> = ({
|
|
61
|
+
featureSupportLevelData,
|
|
62
|
+
}) => {
|
|
63
|
+
const [field, , { setValue }] = useField<number>(INPUT_NAME);
|
|
64
|
+
const [isOpen, setOpen] = React.useState<boolean>(false);
|
|
65
|
+
const newFeatureSupportLevelContext = useNewFeatureSupportLevel();
|
|
66
|
+
|
|
67
|
+
const snoSupportLevel = newFeatureSupportLevelContext.getFeatureSupportLevel(
|
|
68
|
+
'SNO',
|
|
69
|
+
featureSupportLevelData ?? undefined,
|
|
70
|
+
);
|
|
71
|
+
const snoExpansion = newFeatureSupportLevelContext.isFeatureSupported(
|
|
72
|
+
'SINGLE_NODE_EXPANSION',
|
|
73
|
+
featureSupportLevelData ?? undefined,
|
|
74
|
+
);
|
|
75
|
+
const isDisabled = newFeatureSupportLevelContext.isFeatureDisabled(
|
|
76
|
+
'SNO',
|
|
77
|
+
featureSupportLevelData ?? undefined,
|
|
78
|
+
);
|
|
79
|
+
|
|
80
|
+
const disabledReason =
|
|
81
|
+
'This option is not available with the current configurations. Make sure that OpenShift version is 4.18 or newer, CPU architecture is x86_64 and no external platform integration is selected.';
|
|
82
|
+
|
|
83
|
+
const isNonStandardControlPlaneEnabled = newFeatureSupportLevelContext.isFeatureSupported(
|
|
84
|
+
'NON_STANDARD_HA_CONTROL_PLANE',
|
|
85
|
+
featureSupportLevelData ?? undefined,
|
|
86
|
+
);
|
|
87
|
+
|
|
88
|
+
const options: ControlPlaneNodesOption[] = [
|
|
89
|
+
{ value: 1, label: '1 (Single Node OpenShift)' },
|
|
90
|
+
{ value: 3, label: '3 (highly available cluster)' },
|
|
91
|
+
{ value: 4, label: '4 (highly available cluster+)' },
|
|
92
|
+
{ value: 5, label: '5 (highly available cluster++)' },
|
|
93
|
+
];
|
|
94
|
+
|
|
95
|
+
React.useEffect(() => {
|
|
96
|
+
if (!field.value) {
|
|
97
|
+
setValue(DEFAULT_VALUE);
|
|
98
|
+
}
|
|
99
|
+
}, [field.value, setValue]);
|
|
100
|
+
|
|
101
|
+
const onSelect = (event?: React.MouseEvent<Element, MouseEvent>): void => {
|
|
102
|
+
const selectedValue = event?.currentTarget.id as string;
|
|
103
|
+
setValue(toNumber(selectedValue));
|
|
104
|
+
setOpen(false);
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
const dropdownItems = options.map(({ value, label }) => {
|
|
108
|
+
const isItemEnabled = isDropdownItemEnabled(value, isNonStandardControlPlaneEnabled);
|
|
109
|
+
return (
|
|
110
|
+
<DropdownItem key={value} id={value.toString()} isAriaDisabled={!isItemEnabled}>
|
|
111
|
+
<Tooltip hidden={isItemEnabled} content={disabledReason} position="top">
|
|
112
|
+
<div>{label}</div>
|
|
113
|
+
</Tooltip>
|
|
114
|
+
</DropdownItem>
|
|
115
|
+
);
|
|
116
|
+
});
|
|
117
|
+
|
|
118
|
+
const toggle = (toggleRef: React.Ref<MenuToggleElement>) => (
|
|
119
|
+
<MenuToggle
|
|
120
|
+
id={fieldId}
|
|
121
|
+
ref={toggleRef}
|
|
122
|
+
onClick={() => setOpen(!isOpen)}
|
|
123
|
+
isExpanded={isOpen}
|
|
124
|
+
className="pf-v5-u-w-100"
|
|
125
|
+
>
|
|
126
|
+
{options.find((opt) => opt.value === field.value)?.label || 'Select'}
|
|
127
|
+
</MenuToggle>
|
|
128
|
+
);
|
|
129
|
+
|
|
130
|
+
return (
|
|
131
|
+
<>
|
|
132
|
+
<FormGroup
|
|
133
|
+
id={`form-control__${fieldId}`}
|
|
134
|
+
label={<ControlPlaneNodesLabel />}
|
|
135
|
+
fieldId={fieldId}
|
|
136
|
+
>
|
|
137
|
+
<Dropdown
|
|
138
|
+
id={`${fieldId}-dropdown`}
|
|
139
|
+
isOpen={isOpen}
|
|
140
|
+
toggle={toggle}
|
|
141
|
+
onOpenChange={() => setOpen(!isOpen)}
|
|
142
|
+
onSelect={onSelect}
|
|
143
|
+
>
|
|
144
|
+
<DropdownList>{dropdownItems}</DropdownList>
|
|
145
|
+
</Dropdown>
|
|
146
|
+
</FormGroup>
|
|
147
|
+
{field.value === 1 && (
|
|
148
|
+
<OcmSNODisclaimer
|
|
149
|
+
isDisabled={isDisabled}
|
|
150
|
+
snoSupportLevel={snoSupportLevel || 'supported'}
|
|
151
|
+
snoExpansionSupported={snoExpansion}
|
|
152
|
+
/>
|
|
153
|
+
)}
|
|
154
|
+
</>
|
|
155
|
+
);
|
|
156
|
+
};
|
|
157
|
+
|
|
158
|
+
export default ControlPlaneNodesDropdown;
|
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
import {
|
|
3
|
+
FormGroup,
|
|
4
|
+
Split,
|
|
5
|
+
SplitItem,
|
|
6
|
+
Tooltip,
|
|
7
|
+
Dropdown,
|
|
8
|
+
DropdownItem,
|
|
9
|
+
MenuToggle,
|
|
10
|
+
MenuToggleElement,
|
|
11
|
+
} from '@patternfly/react-core';
|
|
5
12
|
import { useField } from 'formik';
|
|
6
13
|
import {
|
|
7
14
|
architectureData,
|
|
@@ -119,7 +126,7 @@ const CpuArchitectureDropdown = ({
|
|
|
119
126
|
]);
|
|
120
127
|
|
|
121
128
|
const onSelect = React.useCallback(
|
|
122
|
-
(event?: React.
|
|
129
|
+
(event?: React.MouseEvent<Element, MouseEvent>): void => {
|
|
123
130
|
const selectedCpuArch = event?.currentTarget.id as SupportedCpuArchitecture;
|
|
124
131
|
setValue(selectedCpuArch);
|
|
125
132
|
setOpen(false);
|
|
@@ -146,31 +153,30 @@ const CpuArchitectureDropdown = ({
|
|
|
146
153
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
147
154
|
}, [cpuArchitectures, openshiftVersion, selectedCpuArchitecture]);
|
|
148
155
|
|
|
149
|
-
const toggle = React.
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
),
|
|
160
|
-
[setOpen, currentCpuArch],
|
|
156
|
+
const toggle = (toggleRef: React.Ref<MenuToggleElement>) => (
|
|
157
|
+
<MenuToggle
|
|
158
|
+
id={fieldId}
|
|
159
|
+
ref={toggleRef}
|
|
160
|
+
onClick={() => setOpen(!isOpen)}
|
|
161
|
+
isExpanded={isOpen}
|
|
162
|
+
className="pf-v5-u-w-100"
|
|
163
|
+
>
|
|
164
|
+
{currentCpuArch}
|
|
165
|
+
</MenuToggle>
|
|
161
166
|
);
|
|
162
167
|
|
|
163
168
|
return (
|
|
164
169
|
<FormGroup id={`form-control__${fieldId}`} fieldId={fieldId} label={'CPU architecture'}>
|
|
165
170
|
<Dropdown
|
|
166
171
|
{...field}
|
|
167
|
-
id={fieldId}
|
|
168
|
-
dropdownItems={enabledItems}
|
|
172
|
+
id={`${fieldId}-dropdown`}
|
|
169
173
|
toggle={toggle}
|
|
170
174
|
isOpen={isOpen}
|
|
171
|
-
className="pf-v5-u-w-100"
|
|
172
175
|
onSelect={onSelect}
|
|
173
|
-
|
|
176
|
+
onOpenChange={() => setOpen(!isOpen)}
|
|
177
|
+
>
|
|
178
|
+
{enabledItems}
|
|
179
|
+
</Dropdown>
|
|
174
180
|
</FormGroup>
|
|
175
181
|
);
|
|
176
182
|
};
|
|
@@ -13,7 +13,6 @@ import { useClusterWizardContext } from '../clusterWizard/ClusterWizardContext';
|
|
|
13
13
|
import DeleteCustomManifestModal from './manifestsConfiguration/DeleteCustomManifestModal';
|
|
14
14
|
import { ClustersService } from '../../services';
|
|
15
15
|
import { ClustersAPI } from '../../services/apis';
|
|
16
|
-
import { useLocation } from 'react-router-dom-v5-compat';
|
|
17
16
|
|
|
18
17
|
const Label = () => {
|
|
19
18
|
return (
|
|
@@ -38,18 +37,6 @@ const CustomManifestCheckbox = ({ clusterId, isDisabled }: CustomManifestCheckbo
|
|
|
38
37
|
const fieldId = getFieldId(name, 'input');
|
|
39
38
|
const clusterWizardContext = useClusterWizardContext();
|
|
40
39
|
const [isDeleteCustomManifestsOpen, setDeleteCustomManifestsOpen] = React.useState(false);
|
|
41
|
-
const location = useLocation();
|
|
42
|
-
|
|
43
|
-
React.useEffect(() => {
|
|
44
|
-
const searchParams = new URLSearchParams(location.search);
|
|
45
|
-
const isAssistedMigration = searchParams.get('source') === 'assisted_migration';
|
|
46
|
-
|
|
47
|
-
if (isAssistedMigration) {
|
|
48
|
-
setValue(true);
|
|
49
|
-
clusterWizardContext.setCustomManifestsStep(true);
|
|
50
|
-
}
|
|
51
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
52
|
-
}, [location]);
|
|
53
40
|
|
|
54
41
|
const cleanCustomManifests = React.useCallback(async () => {
|
|
55
42
|
const { data: manifests } = await ClustersAPI.getManifests(clusterId);
|
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Button, ButtonVariant, Modal, ModalVariant } from '@patternfly/react-core';
|
|
3
3
|
import { pluralize } from 'humanize-plus';
|
|
4
|
-
import {
|
|
4
|
+
import {
|
|
5
|
+
AI_CISCO_INTERSIGHT_TAG,
|
|
6
|
+
CpuArchitecture,
|
|
7
|
+
DownloadIso,
|
|
8
|
+
ErrorState,
|
|
9
|
+
isSNO,
|
|
10
|
+
ToolbarButton,
|
|
11
|
+
} from '../../../common';
|
|
5
12
|
import DiscoveryImageForm from './DiscoveryImageForm';
|
|
6
13
|
import { useModalDialogsContext } from '../hosts/ModalDialogsContext';
|
|
7
14
|
import useInfraEnvImageUrl from '../../hooks/useInfraEnvImageUrl';
|
|
@@ -9,6 +16,9 @@ import useInfraEnvIpxeImageUrl from '../../hooks/useInfraEnvIpxeImageUrl';
|
|
|
9
16
|
import DownloadIpxeScript from '../../../common/components/clusterConfiguration/DownloadIpxeScript';
|
|
10
17
|
import './DiscoveryImageModal.css';
|
|
11
18
|
import { Cluster } from '@openshift-assisted/types/assisted-installer-service';
|
|
19
|
+
import { ClustersService } from '../../services';
|
|
20
|
+
import { useDispatch } from 'react-redux';
|
|
21
|
+
import { updateCluster } from '../../store/slices/current-cluster/slice';
|
|
12
22
|
|
|
13
23
|
type DiscoveryImageModalButtonProps = {
|
|
14
24
|
ButtonComponent?: typeof Button | typeof ToolbarButton;
|
|
@@ -49,6 +59,8 @@ export const DiscoveryImageModal = () => {
|
|
|
49
59
|
const { getIsoImageUrl } = useInfraEnvImageUrl();
|
|
50
60
|
const { getIpxeImageUrl } = useInfraEnvIpxeImageUrl();
|
|
51
61
|
|
|
62
|
+
const dispatch = useDispatch();
|
|
63
|
+
|
|
52
64
|
const onImageReady = React.useCallback(async () => {
|
|
53
65
|
// We need to retrieve the Iso for the only infraEnv on Day1, hence we don't specify the architecture
|
|
54
66
|
const { url, error } = await getIsoImageUrl(cluster.id, CpuArchitecture.USE_DAY1_ARCHITECTURE);
|
|
@@ -73,6 +85,16 @@ export const DiscoveryImageModal = () => {
|
|
|
73
85
|
setIpxeSelected(true);
|
|
74
86
|
}, []);
|
|
75
87
|
|
|
88
|
+
const updateTagsForCiscoIntersight = async (cluster: Cluster) => {
|
|
89
|
+
try {
|
|
90
|
+
const { data: updatedCluster } = await ClustersService.update(cluster.id, cluster.tags, {
|
|
91
|
+
tags: AI_CISCO_INTERSIGHT_TAG,
|
|
92
|
+
});
|
|
93
|
+
|
|
94
|
+
dispatch(updateCluster(updatedCluster));
|
|
95
|
+
} catch (e) {}
|
|
96
|
+
};
|
|
97
|
+
|
|
76
98
|
if (!cluster) {
|
|
77
99
|
return null;
|
|
78
100
|
}
|
|
@@ -98,6 +120,7 @@ export const DiscoveryImageModal = () => {
|
|
|
98
120
|
isSNO={isSNOCluster}
|
|
99
121
|
onReset={onReset}
|
|
100
122
|
onClose={close}
|
|
123
|
+
updateTagsForCiscoIntersight={() => void updateTagsForCiscoIntersight(cluster)}
|
|
101
124
|
/>
|
|
102
125
|
) : ipxeDownloadUrl ? (
|
|
103
126
|
<DownloadIpxeScript
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { FormGroup } from '@patternfly/react-core';
|
|
2
|
+
import { FormGroup, Tooltip } from '@patternfly/react-core';
|
|
3
3
|
import {
|
|
4
4
|
DropdownItem,
|
|
5
|
-
|
|
5
|
+
Divider,
|
|
6
6
|
Dropdown,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
MenuToggle,
|
|
8
|
+
MenuToggleElement,
|
|
9
|
+
DropdownList,
|
|
10
|
+
} from '@patternfly/react-core';
|
|
10
11
|
import { useField } from 'formik';
|
|
11
12
|
import {
|
|
12
13
|
CpuArchitecture,
|
|
@@ -47,74 +48,74 @@ export const DiscoveryImageTypeDropdown = ({
|
|
|
47
48
|
key="full-iso"
|
|
48
49
|
id="full-iso"
|
|
49
50
|
description={'Use when configuring custom networking for easier debugging'}
|
|
51
|
+
value={discoveryImageTypes['full-iso']}
|
|
50
52
|
>
|
|
51
53
|
{discoveryImageTypes['full-iso']}
|
|
52
54
|
</DropdownItem>,
|
|
53
|
-
<
|
|
54
|
-
<
|
|
55
|
-
key="minimal-iso"
|
|
56
|
-
|
|
57
|
-
description={'Use when provisioning with default networking options'}
|
|
58
|
-
tooltip={
|
|
55
|
+
<Divider component="li" key="separator1" />,
|
|
56
|
+
<Tooltip
|
|
57
|
+
key="minimal-iso-tooltip"
|
|
58
|
+
content={
|
|
59
59
|
isMinimalISODisabled ? (
|
|
60
60
|
<p>{'This provisioning type is not supported when using s390x architecture'}</p>
|
|
61
61
|
) : undefined
|
|
62
62
|
}
|
|
63
|
-
isAriaDisabled={!!isMinimalISODisabled}
|
|
64
63
|
>
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
64
|
+
<DropdownItem
|
|
65
|
+
key="minimal-iso"
|
|
66
|
+
id="minimal-iso"
|
|
67
|
+
description={'Use when provisioning with default networking options'}
|
|
68
|
+
isAriaDisabled={!!isMinimalISODisabled}
|
|
69
|
+
value={discoveryImageTypes['minimal-iso']}
|
|
70
|
+
>
|
|
71
|
+
{discoveryImageTypes['minimal-iso']}
|
|
72
|
+
</DropdownItem>
|
|
73
|
+
</Tooltip>,
|
|
74
|
+
<Divider component="li" key="separator2" />,
|
|
68
75
|
<DropdownItem
|
|
69
76
|
key="discovery-image-ipxe"
|
|
70
77
|
id="discovery-image-ipxe"
|
|
71
78
|
description={'Use when your platform does not support booting from ISO'}
|
|
79
|
+
value={discoveryImageTypes['discovery-image-ipxe']}
|
|
72
80
|
>
|
|
73
81
|
{discoveryImageTypes['discovery-image-ipxe']}
|
|
74
82
|
</DropdownItem>,
|
|
75
83
|
];
|
|
76
84
|
|
|
77
|
-
const onSelect = React.
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
setValue(imageTypeSelection);
|
|
85
|
-
setOpen(false);
|
|
86
|
-
onChange(imageTypeSelection === 'discovery-image-ipxe');
|
|
87
|
-
},
|
|
88
|
-
[setCurrent, setOpen, defaultValue, setValue, onChange],
|
|
89
|
-
);
|
|
85
|
+
const onSelect = (event?: React.MouseEvent<Element, MouseEvent>, value?: string | number) => {
|
|
86
|
+
const imageTypeSelection = value as string;
|
|
87
|
+
setCurrent(imageTypeSelection ? imageTypeSelection : '');
|
|
88
|
+
setValue(event?.currentTarget.id as DiscoveryImageType);
|
|
89
|
+
setOpen(false);
|
|
90
|
+
onChange(imageTypeSelection === 'discovery-image-ipxe');
|
|
91
|
+
};
|
|
90
92
|
|
|
91
|
-
const toggle = React.
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
[setOpen, current, value, isDisabled],
|
|
93
|
+
const toggle = (toggleRef: React.Ref<MenuToggleElement>) => (
|
|
94
|
+
<MenuToggle
|
|
95
|
+
id={fieldId}
|
|
96
|
+
className="pf-v5-u-w-100"
|
|
97
|
+
ref={toggleRef}
|
|
98
|
+
isFullWidth
|
|
99
|
+
onClick={() => setOpen(!isOpen)}
|
|
100
|
+
isExpanded={isOpen}
|
|
101
|
+
isDisabled={isDisabled}
|
|
102
|
+
>
|
|
103
|
+
{current || value}
|
|
104
|
+
</MenuToggle>
|
|
104
105
|
);
|
|
105
106
|
|
|
106
107
|
return (
|
|
107
108
|
<FormGroup fieldId={fieldId} label={'Provisioning type'}>
|
|
108
109
|
<Dropdown
|
|
109
110
|
{...field}
|
|
110
|
-
|
|
111
|
-
id={fieldId}
|
|
112
|
-
dropdownItems={dropdownItems}
|
|
111
|
+
id={`${fieldId}-dropdown`}
|
|
113
112
|
toggle={toggle}
|
|
114
113
|
isOpen={isOpen}
|
|
115
|
-
className="pf-v5-u-w-100"
|
|
116
114
|
onSelect={onSelect}
|
|
117
|
-
|
|
115
|
+
onOpenChange={() => setOpen(!isOpen)}
|
|
116
|
+
>
|
|
117
|
+
<DropdownList>{dropdownItems}</DropdownList>
|
|
118
|
+
</Dropdown>
|
|
118
119
|
</FormGroup>
|
|
119
120
|
);
|
|
120
121
|
};
|
|
@@ -30,7 +30,6 @@ const schedulableMastersTooltip =
|
|
|
30
30
|
|
|
31
31
|
const HostInventory = ({ cluster }: { cluster: Cluster }) => {
|
|
32
32
|
const isSingleClusterFeatureEnabled = useFeature('ASSISTED_INSTALLER_SINGLE_CLUSTER_FEATURE');
|
|
33
|
-
|
|
34
33
|
const mastersMustRunWorkloads = selectMastersMustRunWorkloads(cluster);
|
|
35
34
|
const { setFieldValue } = useFormikContext<HostDiscoveryValues>();
|
|
36
35
|
const { isViewerMode } = useSelector(selectCurrentClusterPermissionsState);
|
|
@@ -5,11 +5,13 @@ import {
|
|
|
5
5
|
HelperText,
|
|
6
6
|
HelperTextItem,
|
|
7
7
|
Tooltip,
|
|
8
|
+
Dropdown,
|
|
9
|
+
DropdownItem,
|
|
10
|
+
MenuToggle,
|
|
11
|
+
MenuToggleElement,
|
|
8
12
|
} from '@patternfly/react-core';
|
|
9
|
-
import { Dropdown, DropdownItem, DropdownToggle } from '@patternfly/react-core/deprecated';
|
|
10
13
|
import { useField, useFormikContext } from 'formik';
|
|
11
14
|
import { ClusterDetailsValues, getFieldId } from '../../../common';
|
|
12
|
-
import { CaretDownIcon } from '@patternfly/react-icons/dist/js/icons/caret-down-icon';
|
|
13
15
|
import { OcmCheckboxField, OcmInputField } from '../ui/OcmFormFields';
|
|
14
16
|
import { ManagedDomain } from '@openshift-assisted/types/assisted-installer-service';
|
|
15
17
|
import { clusterExistsReason } from '../featureSupportLevels/featureStateUtils';
|
|
@@ -62,25 +64,25 @@ export const OcmBaseDomainField = ({
|
|
|
62
64
|
));
|
|
63
65
|
}, [managedDomains]);
|
|
64
66
|
|
|
65
|
-
const dropdownToggle = React.
|
|
67
|
+
const dropdownToggle = (toggleRef: React.Ref<MenuToggleElement>) => {
|
|
66
68
|
const selectedDomain = managedDomains.find((d) => d.domain === value);
|
|
67
69
|
return (
|
|
68
|
-
<
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
<MenuToggle
|
|
71
|
+
ref={toggleRef}
|
|
72
|
+
onClick={() => setOpen(!isOpen)}
|
|
73
|
+
isExpanded={isOpen}
|
|
72
74
|
className="pf-v5-u-w-100"
|
|
73
75
|
>
|
|
74
76
|
{selectedDomain ? getManagedDomainLabel(selectedDomain) : 'Base domain'}
|
|
75
|
-
</
|
|
77
|
+
</MenuToggle>
|
|
76
78
|
);
|
|
77
|
-
}
|
|
79
|
+
};
|
|
78
80
|
|
|
79
81
|
const toggleRedHatDnsService = (checked: boolean) =>
|
|
80
82
|
setValue((checked && managedDomains.map((d) => d.domain)[0]) || '');
|
|
81
83
|
|
|
82
84
|
const onSelect = React.useCallback(
|
|
83
|
-
(event?: React.
|
|
85
|
+
(event?: React.MouseEvent<Element, MouseEvent>): void => {
|
|
84
86
|
const selectedDomain = event?.currentTarget.id || '';
|
|
85
87
|
setValue(selectedDomain);
|
|
86
88
|
setOpen(false);
|
|
@@ -111,11 +113,12 @@ export const OcmBaseDomainField = ({
|
|
|
111
113
|
{useRedHatDnsService ? (
|
|
112
114
|
<Dropdown
|
|
113
115
|
toggle={dropdownToggle}
|
|
114
|
-
dropdownItems={dropdownItems}
|
|
115
116
|
isOpen={isOpen}
|
|
116
117
|
onSelect={onSelect}
|
|
117
|
-
|
|
118
|
-
|
|
118
|
+
onOpenChange={() => setOpen(!isOpen)}
|
|
119
|
+
>
|
|
120
|
+
{dropdownItems}
|
|
121
|
+
</Dropdown>
|
|
119
122
|
) : (
|
|
120
123
|
<OcmInputField
|
|
121
124
|
name={INPUT_NAME}
|
|
@@ -5,7 +5,6 @@ import { useFormikContext } from 'formik';
|
|
|
5
5
|
import { HostsNetworkConfigurationControlGroup } from './HostsNetworkConfigurationControlGroup';
|
|
6
6
|
import {
|
|
7
7
|
ClusterDetailsValues,
|
|
8
|
-
isSNO,
|
|
9
8
|
OpenshiftVersionOptionType,
|
|
10
9
|
PullSecret,
|
|
11
10
|
ocmClusterNameValidationMessages,
|
|
@@ -24,7 +23,6 @@ import OcmOpenShiftVersionSelect from './OcmOpenShiftVersionSelect';
|
|
|
24
23
|
import CustomManifestCheckbox from './CustomManifestCheckbox';
|
|
25
24
|
import CpuArchitectureDropdown from './CpuArchitectureDropdown';
|
|
26
25
|
import { OcmBaseDomainField } from './OcmBaseDomainField';
|
|
27
|
-
import OcmSNOControlGroup from './OcmSNOControlGroup';
|
|
28
26
|
import useSupportLevelsAPI from '../../hooks/useSupportLevelsAPI';
|
|
29
27
|
import { useOpenShiftVersionsContext } from '../clusterWizard/OpenShiftVersionsContext';
|
|
30
28
|
import { ExternalPlatformDropdown } from './platformIntegration/ExternalPlatformDropdown';
|
|
@@ -34,6 +32,7 @@ import { ExternalPlatformLabels } from './platformIntegration/constants';
|
|
|
34
32
|
import { ManagedDomain, PlatformType } from '@openshift-assisted/types/assisted-installer-service';
|
|
35
33
|
import { useClusterWizardContext } from '../clusterWizard/ClusterWizardContext';
|
|
36
34
|
import { useFeature } from '../../hooks/use-feature';
|
|
35
|
+
import ControlPlaneNodesDropdown, { ControlPlaneNodesLabel } from './ControlPlaneNodesDropdown';
|
|
37
36
|
|
|
38
37
|
export type OcmClusterDetailsFormFieldsProps = {
|
|
39
38
|
forceOpenshiftVersion?: string;
|
|
@@ -59,7 +58,7 @@ export const OcmClusterDetailsFormFields = ({
|
|
|
59
58
|
clusterId,
|
|
60
59
|
}: OcmClusterDetailsFormFieldsProps) => {
|
|
61
60
|
const { values, setFieldValue } = useFormikContext<ClusterDetailsValues>();
|
|
62
|
-
const {
|
|
61
|
+
const { useRedHatDnsService } = values;
|
|
63
62
|
const nameInputRef = React.useRef<HTMLInputElement>();
|
|
64
63
|
|
|
65
64
|
const { t } = useTranslation();
|
|
@@ -134,7 +133,6 @@ export const OcmClusterDetailsFormFields = ({
|
|
|
134
133
|
|
|
135
134
|
<OcmBaseDomainField managedDomains={managedDomains} clusterExists={clusterExists} />
|
|
136
135
|
|
|
137
|
-
{/* TODO(mlibra): For single-cluster: We will probably change this to just a static text */}
|
|
138
136
|
{forceOpenshiftVersion ? (
|
|
139
137
|
<OcmOpenShiftVersion
|
|
140
138
|
versions={versions}
|
|
@@ -146,7 +144,7 @@ export const OcmClusterDetailsFormFields = ({
|
|
|
146
144
|
) : (
|
|
147
145
|
<OcmOpenShiftVersionSelect versions={versions} />
|
|
148
146
|
)}
|
|
149
|
-
{clusterExists ? (
|
|
147
|
+
{clusterExists || isSingleClusterFeatureEnabled ? (
|
|
150
148
|
<StaticTextField name="cpuArchitecture" label="CPU architecture" isRequired>
|
|
151
149
|
{cpuArchitecture}
|
|
152
150
|
</StaticTextField>
|
|
@@ -156,10 +154,6 @@ export const OcmClusterDetailsFormFields = ({
|
|
|
156
154
|
cpuArchitectures={cpuArchitectures}
|
|
157
155
|
/>
|
|
158
156
|
)}
|
|
159
|
-
<OcmSNOControlGroup
|
|
160
|
-
highAvailabilityMode={highAvailabilityMode}
|
|
161
|
-
featureSupportLevelData={featureSupportLevelData ?? undefined}
|
|
162
|
-
/>
|
|
163
157
|
|
|
164
158
|
{!isPullSecretSet && <PullSecret isOcm={isOcm} defaultPullSecret={defaultPullSecret} />}
|
|
165
159
|
|
|
@@ -176,26 +170,30 @@ export const OcmClusterDetailsFormFields = ({
|
|
|
176
170
|
onChange={handleExternalPartnerIntegrationsChange}
|
|
177
171
|
cpuArchitecture={values.cpuArchitecture as SupportedCpuArchitecture}
|
|
178
172
|
featureSupportLevelData={featureSupportLevelData}
|
|
179
|
-
isSNO={
|
|
173
|
+
isSNO={values.controlPlaneCount === 1}
|
|
180
174
|
/>
|
|
181
175
|
)}
|
|
182
176
|
|
|
177
|
+
{clusterExists ? (
|
|
178
|
+
<StaticTextField name="controlPlaneCount" label={<ControlPlaneNodesLabel />}>
|
|
179
|
+
{values.controlPlaneCount}
|
|
180
|
+
</StaticTextField>
|
|
181
|
+
) : (
|
|
182
|
+
<ControlPlaneNodesDropdown featureSupportLevelData={featureSupportLevelData} />
|
|
183
|
+
)}
|
|
183
184
|
<CustomManifestCheckbox clusterId={clusterId || ''} isDisabled={platform === 'external'} />
|
|
184
185
|
|
|
185
|
-
{
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
/>
|
|
192
|
-
)
|
|
193
|
-
}
|
|
186
|
+
{!isSingleClusterFeatureEnabled && (
|
|
187
|
+
<HostsNetworkConfigurationControlGroup
|
|
188
|
+
clusterExists={clusterExists}
|
|
189
|
+
isDisabled={platform === 'external'}
|
|
190
|
+
/>
|
|
191
|
+
)}
|
|
194
192
|
|
|
195
193
|
<DiskEncryptionControlGroup
|
|
196
194
|
values={values}
|
|
197
195
|
isDisabled={isPullSecretSet}
|
|
198
|
-
isSNO={
|
|
196
|
+
isSNO={values.controlPlaneCount === 1}
|
|
199
197
|
docVersion={openshiftVersion}
|
|
200
198
|
/>
|
|
201
199
|
</Form>
|
|
@@ -52,10 +52,7 @@ const OcmClusterProgressItems = ({
|
|
|
52
52
|
</GridItem>
|
|
53
53
|
<RenderIf condition={olmOperators.length > 0}>
|
|
54
54
|
<GridItem span={3}>
|
|
55
|
-
<OcmOperatorsProgressItem
|
|
56
|
-
operators={olmOperators}
|
|
57
|
-
openshiftVersion={cluster.openshiftVersion}
|
|
58
|
-
/>
|
|
55
|
+
<OcmOperatorsProgressItem operators={olmOperators} />
|
|
59
56
|
</GridItem>
|
|
60
57
|
</RenderIf>
|
|
61
58
|
</Grid>
|