@openshift-assisted/ui-lib 2.14.5-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/ClusterDeploymentDetailsForm.d.ts.map +1 -1
- 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/EnvironmentDetails.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/ClusterDeploymentDetailsForm.js +2 -2
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetailsForm.js.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/EnvironmentDetails.js +16 -14
- package/build/cjs/cim/components/InfraEnv/EnvironmentDetails.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/ClusterDeploymentDetailsForm.tsx +4 -2
- 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/EnvironmentDetails.tsx +7 -10
- 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
|
@@ -4,10 +4,8 @@ exports.OcmBaseDomainField = exports.BaseDnsHelperText = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const react_1 = tslib_1.__importDefault(require("react"));
|
|
6
6
|
const react_core_1 = require("@patternfly/react-core");
|
|
7
|
-
const deprecated_1 = require("@patternfly/react-core/deprecated");
|
|
8
7
|
const formik_1 = require("formik");
|
|
9
8
|
const common_1 = require("../../../common");
|
|
10
|
-
const caret_down_icon_1 = require("@patternfly/react-icons/dist/js/icons/caret-down-icon");
|
|
11
9
|
const OcmFormFields_1 = require("../ui/OcmFormFields");
|
|
12
10
|
const featureStateUtils_1 = require("../featureSupportLevels/featureStateUtils");
|
|
13
11
|
const INPUT_NAME = 'baseDnsDomain';
|
|
@@ -30,12 +28,12 @@ const OcmBaseDomainField = ({ managedDomains, clusterExists, }) => {
|
|
|
30
28
|
const { name, baseDnsDomain, useRedHatDnsService } = values;
|
|
31
29
|
const [isOpen, setOpen] = react_1.default.useState(false);
|
|
32
30
|
const dropdownItems = react_1.default.useMemo(() => {
|
|
33
|
-
return managedDomains === null || managedDomains === void 0 ? void 0 : managedDomains.map((d) => (react_1.default.createElement(
|
|
31
|
+
return managedDomains === null || managedDomains === void 0 ? void 0 : managedDomains.map((d) => (react_1.default.createElement(react_core_1.DropdownItem, { key: d.domain, id: d.domain }, getManagedDomainLabel(d))));
|
|
34
32
|
}, [managedDomains]);
|
|
35
|
-
const dropdownToggle =
|
|
33
|
+
const dropdownToggle = (toggleRef) => {
|
|
36
34
|
const selectedDomain = managedDomains.find((d) => d.domain === value);
|
|
37
|
-
return (react_1.default.createElement(
|
|
38
|
-
}
|
|
35
|
+
return (react_1.default.createElement(react_core_1.MenuToggle, { ref: toggleRef, onClick: () => setOpen(!isOpen), isExpanded: isOpen, className: "pf-v5-u-w-100" }, selectedDomain ? getManagedDomainLabel(selectedDomain) : 'Base domain'));
|
|
36
|
+
};
|
|
39
37
|
const toggleRedHatDnsService = (checked) => setValue((checked && managedDomains.map((d) => d.domain)[0]) || '');
|
|
40
38
|
const onSelect = react_1.default.useCallback((event) => {
|
|
41
39
|
const selectedDomain = (event === null || event === void 0 ? void 0 : event.currentTarget.id) || '';
|
|
@@ -46,7 +44,7 @@ const OcmBaseDomainField = ({ managedDomains, clusterExists, }) => {
|
|
|
46
44
|
!!managedDomains.length && toggleRedHatDnsService && (react_1.default.createElement(react_core_1.Tooltip, { content: featureStateUtils_1.clusterExistsReason, hidden: !clusterExists },
|
|
47
45
|
react_1.default.createElement(OcmFormFields_1.OcmCheckboxField, { name: "useRedHatDnsService", label: "Use a temporary 60-day domain", helperText: "A base domain will be provided for temporary, non-production clusters.", onChange: toggleRedHatDnsService, isDisabled: clusterExists }))),
|
|
48
46
|
react_1.default.createElement(react_core_1.FormGroup, { id: `form-control__${fieldId}`, fieldId: fieldId, name: INPUT_NAME, label: INPUT_LABEL, isRequired: true },
|
|
49
|
-
useRedHatDnsService ? (react_1.default.createElement(
|
|
47
|
+
useRedHatDnsService ? (react_1.default.createElement(react_core_1.Dropdown, { toggle: dropdownToggle, isOpen: isOpen, onSelect: onSelect, onOpenChange: () => setOpen(!isOpen) }, dropdownItems)) : (react_1.default.createElement(OcmFormFields_1.OcmInputField, { name: INPUT_NAME, placeholder: "localhost.com", isDisabled: useRedHatDnsService, isRequired: true })),
|
|
50
48
|
react_1.default.createElement(exports.BaseDnsHelperText, { name: name, baseDnsDomain: baseDnsDomain }))));
|
|
51
49
|
};
|
|
52
50
|
exports.OcmBaseDomainField = OcmBaseDomainField;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OcmBaseDomainField.js","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterConfiguration/OcmBaseDomainField.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,
|
|
1
|
+
{"version":3,"file":"OcmBaseDomainField.js","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterConfiguration/OcmBaseDomainField.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,uDAUgC;AAChC,mCAAoD;AACpD,4CAAmE;AACnE,uDAAsE;AAEtE,iFAAgF;AAEhF,MAAM,UAAU,GAAG,eAAe,CAAC;AACnC,MAAM,WAAW,GAAG,aAAa,CAAC;AAClC,MAAM,OAAO,GAAG,IAAA,mBAAU,EAAC,UAAU,EAAE,OAAO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EAC1B,KAAK,EAAC,+BAA+B,EACrC,UAAU,EAAC,wEAAwE,EACnF,QAAQ,EAAE,sBAAsB,EAChC,UAAU,EAAE,aAAa,GACzB,CACM,CACX;QACD,8BAAC,sBAAS,IACR,EAAE,EAAE,iBAAiB,OAAO,EAAE,EAC9B,OAAO,EAAE,OAAO,EAChB,IAAI,EAAE,UAAU,EAChB,KAAK,EAAE,WAAW,EAClB,UAAU;YAET,mBAAmB,CAAC,CAAC,CAAC,CACrB,8BAAC,qBAAQ,IACP,MAAM,EAAE,cAAc,EACtB,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,QAAQ,EAClB,YAAY,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,IAEnC,aAAa,CACL,CACZ,CAAC,CAAC,CAAC,CACF,8BAAC,6BAAa,IACZ,IAAI,EAAE,UAAU,EAChB,WAAW,EAAC,eAAe,EAC3B,UAAU,EAAE,mBAAmB,EAC/B,UAAU,SACV,CACH;YACD,8BAAC,yBAAiB,IAAC,IAAI,EAAE,IAAI,EAAE,aAAa,EAAE,aAAa,GAAI,CACrD,CACX,CACJ,CAAC;AACJ,CAAC,CAAC;AAvFW,QAAA,kBAAkB,sBAuF7B"}
|
|
@@ -15,7 +15,6 @@ const OcmOpenShiftVersionSelect_1 = tslib_1.__importDefault(require("./OcmOpenSh
|
|
|
15
15
|
const CustomManifestCheckbox_1 = tslib_1.__importDefault(require("./CustomManifestCheckbox"));
|
|
16
16
|
const CpuArchitectureDropdown_1 = tslib_1.__importDefault(require("./CpuArchitectureDropdown"));
|
|
17
17
|
const OcmBaseDomainField_1 = require("./OcmBaseDomainField");
|
|
18
|
-
const OcmSNOControlGroup_1 = tslib_1.__importDefault(require("./OcmSNOControlGroup"));
|
|
19
18
|
const useSupportLevelsAPI_1 = tslib_1.__importDefault(require("../../hooks/useSupportLevelsAPI"));
|
|
20
19
|
const OpenShiftVersionsContext_1 = require("../clusterWizard/OpenShiftVersionsContext");
|
|
21
20
|
const ExternalPlatformDropdown_1 = require("./platformIntegration/ExternalPlatformDropdown");
|
|
@@ -24,9 +23,10 @@ const newFeatureSupportLevels_1 = require("../../../common/components/newFeature
|
|
|
24
23
|
const constants_1 = require("./platformIntegration/constants");
|
|
25
24
|
const ClusterWizardContext_1 = require("../clusterWizard/ClusterWizardContext");
|
|
26
25
|
const use_feature_1 = require("../../hooks/use-feature");
|
|
26
|
+
const ControlPlaneNodesDropdown_1 = tslib_1.__importStar(require("./ControlPlaneNodesDropdown"));
|
|
27
27
|
const OcmClusterDetailsFormFields = ({ managedDomains = [], versions, isPullSecretSet, defaultPullSecret, forceOpenshiftVersion, isOcm, clusterExists, clusterCpuArchitecture, clusterId, }) => {
|
|
28
28
|
const { values, setFieldValue } = (0, formik_1.useFormikContext)();
|
|
29
|
-
const {
|
|
29
|
+
const { useRedHatDnsService } = values;
|
|
30
30
|
const nameInputRef = React.useRef();
|
|
31
31
|
const { t } = (0, use_translation_wrapper_1.useTranslation)();
|
|
32
32
|
const isSingleClusterFeatureEnabled = (0, use_feature_1.useFeature)('ASSISTED_INSTALLER_SINGLE_CLUSTER_FEATURE');
|
|
@@ -60,14 +60,13 @@ const OcmClusterDetailsFormFields = ({ managedDomains = [], versions, isPullSecr
|
|
|
60
60
|
: (0, common_1.ocmClusterNameValidationMessages)(t), maxLength: common_1.CLUSTER_NAME_MAX_LENGTH }),
|
|
61
61
|
React.createElement(OcmBaseDomainField_1.OcmBaseDomainField, { managedDomains: managedDomains, clusterExists: clusterExists }),
|
|
62
62
|
forceOpenshiftVersion ? (React.createElement(OcmOpenShiftVersion_1.default, { versions: versions, openshiftVersion: forceOpenshiftVersion, clusterCpuArchitecture: clusterCpuArchitecture, withPreviewText: true, withMultiText: true })) : (React.createElement(OcmOpenShiftVersionSelect_1.default, { versions: versions })),
|
|
63
|
-
clusterExists ? (React.createElement(common_1.StaticTextField, { name: "cpuArchitecture", label: "CPU architecture", isRequired: true }, cpuArchitecture)) : (React.createElement(CpuArchitectureDropdown_1.default, { openshiftVersion: openshiftVersion, cpuArchitectures: cpuArchitectures })),
|
|
64
|
-
React.createElement(OcmSNOControlGroup_1.default, { highAvailabilityMode: highAvailabilityMode, featureSupportLevelData: featureSupportLevelData !== null && featureSupportLevelData !== void 0 ? featureSupportLevelData : undefined }),
|
|
63
|
+
clusterExists || isSingleClusterFeatureEnabled ? (React.createElement(common_1.StaticTextField, { name: "cpuArchitecture", label: "CPU architecture", isRequired: true }, cpuArchitecture)) : (React.createElement(CpuArchitectureDropdown_1.default, { openshiftVersion: openshiftVersion, cpuArchitectures: cpuArchitectures })),
|
|
65
64
|
!isPullSecretSet && React.createElement(common_1.PullSecret, { isOcm: isOcm, defaultPullSecret: defaultPullSecret }),
|
|
66
|
-
clusterExists ? (React.createElement(common_1.StaticTextField, { name: "platform", label: "Integrate with external partner platforms", isRequired: true }, constants_1.ExternalPlatformLabels[values.platform])) : (React.createElement(ExternalPlatformDropdown_1.ExternalPlatformDropdown, { onChange: handleExternalPartnerIntegrationsChange, cpuArchitecture: values.cpuArchitecture, featureSupportLevelData: featureSupportLevelData, isSNO:
|
|
65
|
+
clusterExists ? (React.createElement(common_1.StaticTextField, { name: "platform", label: "Integrate with external partner platforms", isRequired: true }, constants_1.ExternalPlatformLabels[values.platform])) : (React.createElement(ExternalPlatformDropdown_1.ExternalPlatformDropdown, { onChange: handleExternalPartnerIntegrationsChange, cpuArchitecture: values.cpuArchitecture, featureSupportLevelData: featureSupportLevelData, isSNO: values.controlPlaneCount === 1 })),
|
|
66
|
+
clusterExists ? (React.createElement(common_1.StaticTextField, { name: "controlPlaneCount", label: React.createElement(ControlPlaneNodesDropdown_1.ControlPlaneNodesLabel, null) }, values.controlPlaneCount)) : (React.createElement(ControlPlaneNodesDropdown_1.default, { featureSupportLevelData: featureSupportLevelData })),
|
|
67
67
|
React.createElement(CustomManifestCheckbox_1.default, { clusterId: clusterId || '', isDisabled: platform === 'external' }),
|
|
68
|
-
// Reason: In the single-cluster flow, the Host discovery phase is replaced by a single one-fits-all ISO download
|
|
69
68
|
!isSingleClusterFeatureEnabled && (React.createElement(HostsNetworkConfigurationControlGroup_1.HostsNetworkConfigurationControlGroup, { clusterExists: clusterExists, isDisabled: platform === 'external' })),
|
|
70
|
-
React.createElement(DiskEncryptionControlGroup_1.default, { values: values, isDisabled: isPullSecretSet, isSNO:
|
|
69
|
+
React.createElement(DiskEncryptionControlGroup_1.default, { values: values, isDisabled: isPullSecretSet, isSNO: values.controlPlaneCount === 1, docVersion: openshiftVersion })));
|
|
71
70
|
};
|
|
72
71
|
exports.OcmClusterDetailsFormFields = OcmClusterDetailsFormFields;
|
|
73
72
|
//# sourceMappingURL=OcmClusterDetailsFormFields.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OcmClusterDetailsFormFields.js","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,uDAA8C;AAC9C,mCAA0C;AAE1C,mGAAgG;AAChG,
|
|
1
|
+
{"version":3,"file":"OcmClusterDetailsFormFields.js","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,uDAA8C;AAC9C,mCAA0C;AAE1C,mGAAgG;AAChG,4CAWyB;AACzB,yKAAyI;AACzI,2FAA+E;AAC/E,uDAAwD;AACxD,wFAAwD;AACxD,oGAAoE;AACpE,8FAA8D;AAC9D,gGAAgE;AAChE,6DAA0D;AAC1D,kGAAkE;AAClE,wFAAwF;AACxF,6FAA0F;AAC1F,gDAAqE;AACrE,gGAA+F;AAC/F,+DAAyE;AAEzE,gFAAgF;AAChF,yDAAqD;AACrD,iGAAgG;AAczF,MAAM,2BAA2B,GAAG,CAAC,EAC1C,cAAc,GAAG,EAAE,EACnB,QAAQ,EACR,eAAe,EACf,iBAAiB,EACjB,qBAAqB,EACrB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SAAS,EAAE,SAAS,IAAI,EAAE,EAAE,UAAU,EAAE,QAAQ,KAAK,UAAU,GAAI;QAE1F,CAAC,6BAA6B,IAAI,CACjC,oBAAC,6EAAqC,IACpC,aAAa,EAAE,aAAa,EAC5B,UAAU,EAAE,QAAQ,KAAK,UAAU,GACnC,CACH;QAED,oBAAC,oCAA0B,IACzB,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,eAAe,EAC3B,KAAK,EAAE,MAAM,CAAC,iBAAiB,KAAK,CAAC,EACrC,UAAU,EAAE,gBAAgB,GAC5B,CACG,CACR,CAAC;AACJ,CAAC,CAAC;AAxJW,QAAA,2BAA2B,+BAwJtC"}
|
|
@@ -24,7 +24,7 @@ const OcmClusterProgressItems = ({ cluster, minimizedView = false, onFetchEvents
|
|
|
24
24
|
react_1.default.createElement(FinalizingProgress_1.FinalizingProgress, { cluster: cluster, onFetchEvents: onFetchEvents, fallbackEventsURL: fallbackEventsURL })),
|
|
25
25
|
react_1.default.createElement(common_1.RenderIf, { condition: olmOperators.length > 0 },
|
|
26
26
|
react_1.default.createElement(react_core_1.GridItem, { span: 3 },
|
|
27
|
-
react_1.default.createElement(OcmOperatorProgressItem_1.default, { operators: olmOperators
|
|
27
|
+
react_1.default.createElement(OcmOperatorProgressItem_1.default, { operators: olmOperators })))))));
|
|
28
28
|
};
|
|
29
29
|
exports.default = OcmClusterProgressItems;
|
|
30
30
|
//# sourceMappingURL=OcmClusterProgressItems.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OcmClusterProgressItems.js","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterConfiguration/OcmClusterProgressItems.tsx"],"names":[],"mappings":";;;AAAA,uDAAwD;AACxD,0DAA0B;AAC1B,4CAKyB;AACzB,oGAAiG;AACjG,gGAA6F;AAC7F,gGAAiE;AAWjE,MAAM,uBAAuB,GAAG,CAAC,EAC/B,OAAO,EACP,aAAa,GAAG,KAAK,EACrB,aAAa,EACb,iBAAiB,G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Aa,EAAE,aAAa,EAC5B,iBAAiB,EAAE,iBAAiB,GACpC,CACO;gBACX,8BAAC,iBAAQ,IAAC,SAAS,EAAE,YAAY,CAAC,MAAM,GAAG,CAAC;oBAC1C,8BAAC,qBAAQ,IAAC,IAAI,EAAE,CAAC;wBACf,8BAAC,iCAAwB,IAAC,SAAS,EAAE,YAAY,GAAI,CAC5C,CACF,CACN,CACE,CACV,CACJ,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,uBAAuB,CAAC"}
|
|
@@ -14,8 +14,7 @@ const humanize_plus_1 = require("humanize-plus");
|
|
|
14
14
|
require("./OcmOperatorsProgressItem.css");
|
|
15
15
|
const use_translation_wrapper_1 = require("../../../common/hooks/use-translation-wrapper");
|
|
16
16
|
const ClusterProgressItem_1 = tslib_1.__importDefault(require("../../../common/components/clusterDetail/ClusterProgressItem"));
|
|
17
|
-
const
|
|
18
|
-
const newFeatureSupportLevels_1 = require("../../../common/components/newFeatureSupportLevels");
|
|
17
|
+
const operatorSpecs_1 = require("../../../common/components/operators/operatorSpecs");
|
|
19
18
|
function getAggregatedStatus(operators) {
|
|
20
19
|
const operatorStates = operators.map((operator) => operator.status || 'pending');
|
|
21
20
|
if (operatorStates.includes('failed'))
|
|
@@ -68,28 +67,27 @@ function getOperatorsIcon(status) {
|
|
|
68
67
|
exports.getOperatorsIcon = getOperatorsIcon;
|
|
69
68
|
const OperatorsPopover = ({ operators, children }) => {
|
|
70
69
|
const { t } = (0, use_translation_wrapper_1.useTranslation)();
|
|
71
|
-
const
|
|
70
|
+
const opSpecs = (0, operatorSpecs_1.useOperatorSpecs)();
|
|
72
71
|
return (react_1.default.createElement(react_core_1.Popover, { headerContent: react_1.default.createElement("div", null, t('ai:Operators')), bodyContent: react_1.default.createElement(react_core_1.List, { className: "operators-progress-item__operators-list" }, operators.map((operator) => {
|
|
73
|
-
var _a;
|
|
72
|
+
var _a, _b;
|
|
74
73
|
let status = (_a = operator.status) !== null && _a !== void 0 ? _a : 'pending';
|
|
75
74
|
if (operator.status === 'available') {
|
|
76
75
|
status = 'installed';
|
|
77
76
|
}
|
|
78
|
-
const name = (
|
|
79
|
-
operator.name;
|
|
77
|
+
const name = ((_b = opSpecs[operator.name]) === null || _b === void 0 ? void 0 : _b.title) || operator.name;
|
|
80
78
|
return (react_1.default.createElement(react_core_1.ListItem, { key: operator.name, title: operator.statusInfo },
|
|
81
79
|
name,
|
|
82
80
|
" ",
|
|
83
81
|
status));
|
|
84
82
|
})), minWidth: "30rem", maxWidth: "50rem" }, children));
|
|
85
83
|
};
|
|
86
|
-
const OcmOperatorsProgressItem = ({ operators
|
|
84
|
+
const OcmOperatorsProgressItem = ({ operators }) => {
|
|
87
85
|
const { t } = (0, use_translation_wrapper_1.useTranslation)();
|
|
88
86
|
const icon = getOperatorsIcon(getAggregatedStatus(operators));
|
|
89
87
|
const label = getOperatorsLabel(operators, t);
|
|
90
88
|
return (react_1.default.createElement(ClusterProgressItem_1.default, { icon: icon },
|
|
91
89
|
react_1.default.createElement(react_1.default.Fragment, null,
|
|
92
|
-
react_1.default.createElement(OperatorsPopover, { operators: operators
|
|
90
|
+
react_1.default.createElement(OperatorsPopover, { operators: operators },
|
|
93
91
|
react_1.default.createElement(react_core_1.Button, { variant: react_core_1.ButtonVariant.link, isInline: true, "data-testid": "operators-progress-item" }, t('ai:Operators'))),
|
|
94
92
|
react_1.default.createElement("small", null, label))));
|
|
95
93
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OcmOperatorProgressItem.js","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterConfiguration/OcmOperatorProgressItem.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,uDAAwF;AACxF,+FAA0F;AAC1F,2GAAsG;AACtG,6FAAwF;AACxF,qFAAiF;AACjF,sGAAkH;AAClH,wGAAgH;AAChH,iDAA0C;AAG1C,0CAAwC;AACxC,2FAA+E;AAC/E,+HAA+F;
|
|
1
|
+
{"version":3,"file":"Oc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 @@ exports.FolderDropdown = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const react_1 = tslib_1.__importDefault(require("react"));
|
|
6
6
|
const react_core_1 = require("@patternfly/react-core");
|
|
7
|
-
const deprecated_1 = require("@patternfly/react-core/deprecated");
|
|
8
|
-
const caret_down_icon_1 = require("@patternfly/react-icons/dist/js/icons/caret-down-icon");
|
|
9
7
|
const formik_1 = require("formik");
|
|
10
8
|
const formik_2 = require("../../../../../common/components/ui/formik");
|
|
11
9
|
const common_1 = require("../../../../../common");
|
|
@@ -16,20 +14,20 @@ const FolderLabel = () => {
|
|
|
16
14
|
react_1.default.createElement(common_1.PopoverIcon, { bodyContent: react_1.default.createElement(react_1.default.Fragment, null, "To overwrite an existing manifest, save the new manifest in the same folder with the same name.") })));
|
|
17
15
|
};
|
|
18
16
|
const dropdownItems = [
|
|
19
|
-
react_1.default.createElement(
|
|
20
|
-
react_1.default.createElement(
|
|
17
|
+
react_1.default.createElement(react_core_1.DropdownItem, { key: "manifests", id: "manifests" }, 'manifests'),
|
|
18
|
+
react_1.default.createElement(react_core_1.DropdownItem, { key: "openshift", id: "openshift" }, 'openshift'),
|
|
21
19
|
];
|
|
22
20
|
const FolderDropdown = ({ name }) => {
|
|
23
21
|
const [field, { value }, { setValue }] = (0, formik_1.useField)(name);
|
|
24
22
|
const [isOpen, setOpen] = react_1.default.useState(false);
|
|
25
23
|
const fieldId = (0, formik_2.getFieldId)(name, 'input');
|
|
26
|
-
const onSelect =
|
|
24
|
+
const onSelect = (event) => {
|
|
27
25
|
setValue(event === null || event === void 0 ? void 0 : event.currentTarget.id);
|
|
28
26
|
setOpen(false);
|
|
29
|
-
}
|
|
30
|
-
const toggle =
|
|
27
|
+
};
|
|
28
|
+
const toggle = (toggleRef) => (react_1.default.createElement(react_core_1.MenuToggle, { ref: toggleRef, onClick: () => setOpen(!isOpen), isExpanded: isOpen, className: "pf-v5-u-w-100" }, value || 'manifests'));
|
|
31
29
|
return (react_1.default.createElement(react_core_1.FormGroup, { fieldId: fieldId, label: react_1.default.createElement(FolderLabel, null), isRequired: true },
|
|
32
|
-
react_1.default.createElement(
|
|
30
|
+
react_1.default.createElement(react_core_1.Dropdown, Object.assign({}, field, { id: fieldId, onOpenChange: () => setOpen(!isOpen), onSelect: onSelect, toggle: toggle, isOpen: isOpen }), dropdownItems),
|
|
33
31
|
react_1.default.createElement(react_core_1.HelperText, { style: { display: 'inherit' } }, 'Manifests can be placed in "manifests" or "openshift" directories.')));
|
|
34
32
|
};
|
|
35
33
|
exports.FolderDropdown = FolderDropdown;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FolderDropdown.js","sourceRoot":"","sources":["../../../../../../../lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,
|
|
1
|
+
{"version":3,"file":"FolderDropdown.js","sourceRoot":"","sources":["../../../../../../../lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,uDAOgC;AAChC,mCAAkC;AAClC,uEAAwE;AACxE,kDAAoD;AAEpD,MAAM,WAAW,GAAG,GAAG,EAAE;IACvB,OAAO,CACL;;QACS,GAAG;QACV,8BAAC,oBAAW,IACV,WAAW,EACT,gKAGG,GAEL,CACD,CACJ,CAAC;AACJ,CAAC,CAAC;AAMF,MAAM,aAAa,GAAG;IACpB,8BAAC,yBAAY,IAAC,GAAG,EAAC,WAAW,EAAC,EAAE,EAAC,WAAW,IACzC,WAAW,CACC;IACf,8BAAC,yBAAY,IAAC,GAAG,EAAC,WAAW,EAAC,EAAE,EAAC,WAAW,IACzC,WAAW,CACC;CAChB,CAAC;AAEK,MAAM,cAAc,GAAG,CAAC,EAAE,IAAI,EAAuB,EAAE,EAAE;IAC9D,MAAM,CAAC,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,QAAQ,EAAE,CA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23
|
const hooks_1 = require("../../../hooks");
|
|
24
24
|
const newFeatureSupportLevels_1 = require("../../../../common/components/newFeatureSupportLevels");
|
|
25
|
+
const use_feature_1 = require("../../../hooks/use-feature");
|
|
25
26
|
const NetworkConfigurationForm = ({ cluster, hostSubnets, defaultNetworkSettings, infraEnv }) => {
|
|
26
27
|
const { alerts } = (0, common_1.useAlerts)();
|
|
27
28
|
const clusterWizardContext = (0, ClusterWizardContext_1.useClusterWizardContext)();
|
|
@@ -29,6 +30,9 @@ const NetworkConfigurationForm = ({ cluster, hostSubnets, defaultNetworkSettings
|
|
|
29
30
|
const { errors, touched, isSubmitting, isValid, setFieldValue, values } = (0, formik_1.useFormikContext)();
|
|
30
31
|
const isAutoSaveRunning = (0, common_1.useFormikAutoSave)();
|
|
31
32
|
const errorFields = (0, common_1.getFormikErrorFields)(errors, touched);
|
|
33
|
+
const isSingleClusterFeatureEnabled = (0, use_feature_1.useFeature)('ASSISTED_INSTALLER_SINGLE_CLUSTER_FEATURE');
|
|
34
|
+
const { addAlert } = (0, common_1.useAlerts)();
|
|
35
|
+
const dispatch = (0, react_redux_1.useDispatch)();
|
|
32
36
|
// DHCP allocation is currently not supported for Nutanix hosts
|
|
33
37
|
// https://issues.redhat.com/browse/MGMT-12382
|
|
34
38
|
const isHostsPlatformTypeNutanix = react_1.default.useMemo(() => { var _a; return ((_a = cluster.platform) === null || _a === void 0 ? void 0 : _a.type) === 'nutanix'; }, [cluster.platform]);
|
|
@@ -37,11 +41,29 @@ const NetworkConfigurationForm = ({ cluster, hostSubnets, defaultNetworkSettings
|
|
|
37
41
|
setFieldValue('vipDhcpAllocation', false);
|
|
38
42
|
}
|
|
39
43
|
}, [isHostsPlatformTypeNutanix, setFieldValue, values.vipDhcpAllocation]);
|
|
44
|
+
const onNext = react_1.default.useCallback(() => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
|
|
45
|
+
if (isSingleClusterFeatureEnabled) {
|
|
46
|
+
try {
|
|
47
|
+
yield common_1.ClustersAPI.updateInstallConfig(cluster.id, JSON.stringify(JSON.stringify({ featureSet: 'TechPreviewNoUpgrade' })));
|
|
48
|
+
}
|
|
49
|
+
catch (e) {
|
|
50
|
+
(0, api_1.handleApiError)(e, () => addAlert({
|
|
51
|
+
title: 'Failed to update install-config',
|
|
52
|
+
message: (0, api_1.getApiErrorMessage)(e),
|
|
53
|
+
}));
|
|
54
|
+
if ((0, api_1.isUnknownServerError)(e)) {
|
|
55
|
+
dispatch((0, slice_1.setServerUpdateError)());
|
|
56
|
+
}
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
clusterWizardContext.moveNext();
|
|
61
|
+
}), [addAlert, cluster.id, clusterWizardContext, dispatch, isSingleClusterFeatureEnabled]);
|
|
40
62
|
const footer = (react_1.default.createElement(ClusterWizardFooter_1.default, { cluster: cluster, errorFields: errorFields, isSubmitting: isSubmitting, isNextDisabled: isSubmitting ||
|
|
41
63
|
isAutoSaveRunning ||
|
|
42
64
|
!!alerts.length ||
|
|
43
65
|
!isValid ||
|
|
44
|
-
!(0, wizardTransition_1.canNextNetwork)({ cluster }), onNext: () =>
|
|
66
|
+
!(0, wizardTransition_1.canNextNetwork)({ cluster }), onNext: () => void onNext(), onBack: () => clusterWizardContext.moveBack(), isBackDisabled: isSubmitting || isAutoSaveRunning }));
|
|
45
67
|
return (react_1.default.createElement(common_1.ClusterWizardStep, { navigation: react_1.default.createElement(ClusterWizardNavigation_1.default, { cluster: cluster }), footer: footer },
|
|
46
68
|
react_1.default.createElement(react_core_1.Form, null,
|
|
47
69
|
react_1.default.createElement(react_core_1.Grid, { hasGutter: true },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NetworkConfigurationForm.js","sourceRoot":"","sources":["../../../../../../lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.tsx"],"names":[],"mappings":";;;AAAA,0DAA0B;AAC1B,6CAAuD;AACvD,mCAAgE;AAChE,uDAAiF;AACjF,+
|
|
1
|
+
{"version":3,"file":"NetworkConfigurationForm.js","sourceRoot":"","sources":["../../../../../../lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.tsx"],"names":[],"mappings":";;;AAAA,0DAA0B;AAC1B,6CAAuD;AACvD,mCAAgE;AAChE,uDAAiF;AACjF,+CAe4B;AAC5B,8FAAgF;AAChF,mFAAmF;AACnF,0GAA0E;AAC1E,2EAAsE;AACtE,kHAAkF;AAClF,oGAAoE;AACpE,qFAAqD;AACrD,+EAAuG;AACvG,qFAG0C;AAC1C,0FAA0D;AAC1D,4CAAmD;AACnD,gDAAoD;AACpD,uEAGqD;AACrD,gDAAkG;AAClG,0CAA+C;AAO/C,mGAAkG;AAClG,4DAAwD;AAExD,MAAM,wBAAwB,GAWzB,CAAC,EAAE,OAAO,EAAE,WAAW,EAAE,sBAAsB,EAAE,QAAQ,EAAE,EAAE,EAAE;IAClE,MAAM,EAAE,MAAM,EAAE,GAAG,IAAA,kBAAS,GAAE,CAAC;IAC/B,MAAM,oBAAoB,GAAG,IAAA,8CAAuB,GAAE,CAAC;IACvD,MAAM,EAAE,YAAY,EAAE,GAAG,IAAA,yBAAW,EAAC,gDAAoC,CAAC,CAAC;IAC3E,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,EAAE,GACrE,IAAA,yBAAgB,GAA8B,CAAC;IACjD,MAAM,iBAAiB,GAAG,IAAA,0BAAiB,GAAE,CAAC;IAC9C,MAAM,WAAW,GAAG,IAAA,6BAAoB,EAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC1D,MAAM,6BAA6B,GAAG,IAAA,wBAAU,EAAC,2CAA2C,CAAC,CAAC;IAC9F,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAA,kBAAS,GAAE,CAAC;IACjC,MAAM,QAAQ,GAAG,IAAA,yBAAW,GAAE,CAAC;IAE/B,+DAA+D;IAC/D,8CAA8C;IAC9C,MAAM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8BAAC,eAAM,IACL,aAAa,EAAE,aAAa,EAC5B,gBAAgB,EAAE,wBAAwB,EAC1C,QAAQ,EAAE,QAAQ,EAClB,eAAe;QAEf,8BAAC,wBAAwB,IACvB,OAAO,EAAE,OAAO,EAChB,WAAW,EAAE,WAAW,EACxB,sBAAsB,EAAE,oBAAoB,EAC5C,QAAQ,EAAE,QAAQ,GAClB,CACK,CACV,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,wBAAwB,CAAC"}
|
package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.js
CHANGED
|
@@ -3,8 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.SubnetsDropdown = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const react_1 = tslib_1.__importDefault(require("react"));
|
|
6
|
-
const
|
|
7
|
-
const caret_down_icon_1 = require("@patternfly/react-icons/dist/js/icons/caret-down-icon");
|
|
6
|
+
const react_core_1 = require("@patternfly/react-core");
|
|
8
7
|
const formik_1 = require("formik");
|
|
9
8
|
const common_1 = require("../../../../common");
|
|
10
9
|
const toFormSelectOptions = (subnets) => {
|
|
@@ -53,16 +52,14 @@ const SubnetsDropdown = ({ name, machineSubnets, isDisabled }) => {
|
|
|
53
52
|
}
|
|
54
53
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
55
54
|
}, []);
|
|
56
|
-
const dropdownItems = itemsSubnets.map(({ value, label, isDisabled }) => (react_1.default.createElement(
|
|
57
|
-
const onSelect =
|
|
58
|
-
|
|
59
|
-
const currentValue = (_a = event === null || event === void 0 ? void 0 : event.currentTarget.innerText) !== null && _a !== void 0 ? _a : currentDisplayValue;
|
|
60
|
-
setCurrentDisplayValue(currentValue);
|
|
55
|
+
const dropdownItems = itemsSubnets.map(({ value, label, isDisabled }) => (react_1.default.createElement(react_core_1.DropdownItem, { key: value, id: value, isDisabled: isDisabled, value: value }, label)));
|
|
56
|
+
const onSelect = (event, value) => {
|
|
57
|
+
setCurrentDisplayValue(value);
|
|
61
58
|
setValue(event === null || event === void 0 ? void 0 : event.currentTarget.id);
|
|
62
59
|
setOpen(false);
|
|
63
|
-
}
|
|
64
|
-
const toggle =
|
|
65
|
-
return (react_1.default.createElement(
|
|
60
|
+
};
|
|
61
|
+
const toggle = (toggleRef) => (react_1.default.createElement(react_core_1.MenuToggle, { ref: toggleRef, onClick: () => setOpen(!isOpen), isExpanded: isOpen, isDisabled: isDisabled, className: "pf-v5-u-w-100" }, currentDisplayValue));
|
|
62
|
+
return (react_1.default.createElement(react_core_1.Dropdown, Object.assign({}, field, { id: fieldId, onOpenChange: () => setOpen(!isOpen), onSelect: onSelect, toggle: toggle, isOpen: isOpen }), dropdownItems));
|
|
66
63
|
};
|
|
67
64
|
exports.SubnetsDropdown = SubnetsDropdown;
|
|
68
65
|
//# sourceMappingURL=SubnetsDropdown.js.map
|
package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SubnetsDropdown.js","sourceRoot":"","sources":["../../../../../../lib/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,
|
|
1
|
+
{"version":3,"file":"SubnetsDropdown.js","sourceRoot":"","sources":["../../../../../../lib/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,uDAA+F;AAC/F,mCAAkC;AAClC,+CAA2E;AAQ3E,MAAM,mBAAmB,GAAG,CAAC,OAAqB,EAAE,EAAE;IACpD,OAAO,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC;QACjC,KAAK,EAAE,GAAG,EAAE,CAAC,SAAS,GAAG,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,oBA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CAAC,SAAuC,EAAE,EAAE,CAAC,CAC1D,8BAAC,uBAAU,IACT,GAAG,EAAE,SAAS,EACd,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,EAC/B,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,UAAU,EACtB,SAAS,EAAC,eAAe,IAExB,mBAAmB,CACT,CACd,CAAC;IAEF,OAAO,CACL,8BAAC,qBAAQ,oBACH,KAAK,IACT,EAAE,EAAE,OAAO,EACX,YAAY,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,EACpC,QAAQ,EAAE,QAAQ,EAClB,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,KAEb,aAAa,CACL,CACZ,CAAC;AACJ,CAAC,CAAC;AArEW,QAAA,eAAe,mBAqE1B"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const React = tslib_1.__importStar(require("react"));
|
|
5
|
+
const react_core_1 = require("@patternfly/react-core");
|
|
6
|
+
const formik_1 = require("formik");
|
|
7
|
+
const react_redux_1 = require("react-redux");
|
|
8
|
+
const selectors_1 = require("../../../store/slices/current-cluster/selectors");
|
|
9
|
+
const NewFeatureSupportLevelBadge_1 = tslib_1.__importDefault(require("../../../../common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge"));
|
|
10
|
+
const common_1 = require("../../../../common");
|
|
11
|
+
const newFeatureSupportLevels_1 = require("../../../../common/components/newFeatureSupportLevels");
|
|
12
|
+
const utils_1 = require("./utils");
|
|
13
|
+
const operatorSpecs_1 = require("../../../../common/components/operators/operatorSpecs");
|
|
14
|
+
const OperatorRequirements = ({ operatorId, preflightRequirements, Requirements, cluster, }) => {
|
|
15
|
+
var _a, _b, _c, _d, _e;
|
|
16
|
+
const isSingleNode = (0, react_redux_1.useSelector)(selectors_1.selectIsCurrentClusterSNO);
|
|
17
|
+
const operator = (_a = preflightRequirements === null || preflightRequirements === void 0 ? void 0 : preflightRequirements.operators) === null || _a === void 0 ? void 0 : _a.find((operatorRequirements) => operatorRequirements.operatorName === operatorId);
|
|
18
|
+
const workerRequirements = (_c = (_b = operator === null || operator === void 0 ? void 0 : operator.requirements) === null || _b === void 0 ? void 0 : _b.worker) === null || _c === void 0 ? void 0 : _c.quantitative;
|
|
19
|
+
const masterRequirements = (_e = (_d = operator === null || operator === void 0 ? void 0 : operator.requirements) === null || _d === void 0 ? void 0 : _d.master) === null || _e === void 0 ? void 0 : _e.quantitative;
|
|
20
|
+
const hasWorkerRequirements = !!Object.keys(workerRequirements || {}).length;
|
|
21
|
+
const hasMasterRequirements = !!Object.keys(masterRequirements || {}).length;
|
|
22
|
+
if (!hasWorkerRequirements && !hasMasterRequirements && !Requirements) {
|
|
23
|
+
return (React.createElement(common_1.PopoverIcon, { component: 'a', id: operatorId, bodyContent: "No additional requirements needed" }));
|
|
24
|
+
}
|
|
25
|
+
return (React.createElement(common_1.PopoverIcon, { component: 'a', headerContent: "Additional requirements", id: operatorId, bodyContent: React.createElement(react_core_1.Stack, { hasGutter: true },
|
|
26
|
+
Requirements && (React.createElement(react_core_1.StackItem, null,
|
|
27
|
+
React.createElement(Requirements, { cluster: cluster }))),
|
|
28
|
+
React.createElement(react_core_1.StackItem, null,
|
|
29
|
+
React.createElement(react_core_1.List, null,
|
|
30
|
+
!isSingleNode && hasWorkerRequirements && (React.createElement(react_core_1.ListItem, null,
|
|
31
|
+
"Each worker node requires an additional ",
|
|
32
|
+
(workerRequirements === null || workerRequirements === void 0 ? void 0 : workerRequirements.ramMib) || 360,
|
|
33
|
+
" MiB of memory ",
|
|
34
|
+
(workerRequirements === null || workerRequirements === void 0 ? void 0 : workerRequirements.diskSizeGb) ? ',' : ' and',
|
|
35
|
+
' ',
|
|
36
|
+
(workerRequirements === null || workerRequirements === void 0 ? void 0 : workerRequirements.cpuCores) || 2,
|
|
37
|
+
" CPU cores",
|
|
38
|
+
(workerRequirements === null || workerRequirements === void 0 ? void 0 : workerRequirements.diskSizeGb)
|
|
39
|
+
? ` and ${workerRequirements === null || workerRequirements === void 0 ? void 0 : workerRequirements.diskSizeGb} storage space`
|
|
40
|
+
: '')),
|
|
41
|
+
hasMasterRequirements && (React.createElement(react_core_1.ListItem, null,
|
|
42
|
+
"Each control plane node requires an additional ",
|
|
43
|
+
(masterRequirements === null || masterRequirements === void 0 ? void 0 : masterRequirements.ramMib) || 150,
|
|
44
|
+
' ',
|
|
45
|
+
"MiB of memory ",
|
|
46
|
+
(masterRequirements === null || masterRequirements === void 0 ? void 0 : masterRequirements.diskSizeGb) ? ',' : ' and',
|
|
47
|
+
' ',
|
|
48
|
+
(masterRequirements === null || masterRequirements === void 0 ? void 0 : masterRequirements.cpuCores) || 4,
|
|
49
|
+
" CPU cores",
|
|
50
|
+
(masterRequirements === null || masterRequirements === void 0 ? void 0 : masterRequirements.diskSizeGb)
|
|
51
|
+
? ` and ${masterRequirements === null || masterRequirements === void 0 ? void 0 : masterRequirements.diskSizeGb} storage space`
|
|
52
|
+
: ''))))) }));
|
|
53
|
+
};
|
|
54
|
+
const OperatorCheckbox = ({ bundles, cluster, operatorId, title, featureId, notStandalone, Description, Requirements, openshiftVersion, preflightRequirements, }) => {
|
|
55
|
+
var _a, _b;
|
|
56
|
+
const { getFeatureSupportLevel, getFeatureDisabledReason } = (0, newFeatureSupportLevels_1.useNewFeatureSupportLevel)();
|
|
57
|
+
const opSpecs = (0, operatorSpecs_1.useOperatorSpecs)();
|
|
58
|
+
const { isViewerMode } = (0, react_redux_1.useSelector)(selectors_1.selectCurrentClusterPermissionsState);
|
|
59
|
+
const { values, setFieldValue } = (0, formik_1.useFormikContext)();
|
|
60
|
+
const fieldId = (0, common_1.getFieldId)(operatorId, 'input');
|
|
61
|
+
const supportLevel = getFeatureSupportLevel(featureId);
|
|
62
|
+
const isInBundle = values.selectedBundles.some((sb) => { var _a, _b; return !!((_b = (_a = bundles.find((b) => b.id === sb)) === null || _a === void 0 ? void 0 : _a.operators) === null || _b === void 0 ? void 0 : _b.includes(operatorId)); });
|
|
63
|
+
const isChecked = values.selectedOperators.includes(operatorId) || isInBundle;
|
|
64
|
+
const parentOperator = (_a = preflightRequirements === null || preflightRequirements === void 0 ? void 0 : preflightRequirements.operators) === null || _a === void 0 ? void 0 : _a.find((op) => { var _a; return (_a = op.dependencies) === null || _a === void 0 ? void 0 : _a.includes(operatorId); });
|
|
65
|
+
let parentOperatorName = '';
|
|
66
|
+
if ((parentOperator === null || parentOperator === void 0 ? void 0 : parentOperator.operatorName) &&
|
|
67
|
+
values.selectedOperators.includes(parentOperator.operatorName)) {
|
|
68
|
+
parentOperatorName = ((_b = opSpecs[parentOperator.operatorName]) === null || _b === void 0 ? void 0 : _b.title) || parentOperator.operatorName;
|
|
69
|
+
}
|
|
70
|
+
const disabledReason = isInBundle
|
|
71
|
+
? 'This operator is part of a bundle and cannot be deselected.'
|
|
72
|
+
: notStandalone
|
|
73
|
+
? 'This operator cannot be installed as a standalone'
|
|
74
|
+
: parentOperatorName
|
|
75
|
+
? `This operator is a dependency of ${parentOperatorName}`
|
|
76
|
+
: getFeatureDisabledReason(featureId);
|
|
77
|
+
return (React.createElement(react_core_1.FormGroup, { fieldId: fieldId, id: `form-control__${fieldId}` },
|
|
78
|
+
React.createElement(react_core_1.Checkbox, { id: fieldId, label: React.createElement(React.Fragment, null,
|
|
79
|
+
React.createElement(react_core_1.Tooltip, { hidden: !disabledReason, content: disabledReason },
|
|
80
|
+
React.createElement("span", null,
|
|
81
|
+
title,
|
|
82
|
+
" ")),
|
|
83
|
+
React.createElement(OperatorRequirements, { operatorId: operatorId, preflightRequirements: preflightRequirements, Requirements: Requirements, cluster: cluster }),
|
|
84
|
+
React.createElement(NewFeatureSupportLevelBadge_1.default, { featureId: featureId, supportLevel: supportLevel })), "aria-describedby": `${fieldId}-helper`, isChecked: isChecked, onChange: (_, checked) => {
|
|
85
|
+
setFieldValue('selectedOperators', (0, utils_1.getNewOperators)(values.selectedOperators, operatorId, preflightRequirements, checked, opSpecs));
|
|
86
|
+
}, isDisabled: isViewerMode || !!disabledReason, description: !!Description && (React.createElement(react_core_1.HelperText, null,
|
|
87
|
+
React.createElement(react_core_1.HelperTextItem, { variant: "indeterminate" },
|
|
88
|
+
React.createElement(Description, { openshiftVersion: openshiftVersion })))), "data-testid": `operator-checkbox-${operatorId}` })));
|
|
89
|
+
};
|
|
90
|
+
exports.default = OperatorCheckbox;
|
|
91
|
+
//# sourceMappingURL=OperatorCheckbox.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OperatorCheckbox.js","sourceRoot":"","sources":["../../../../../../lib/ocm/components/clusterConfiguration/operators/OperatorCheckbox.tsx"],"names":[],"mappings":";;;AAAA,qDAA+B;AAC/B,uDAUgC;AAChC,mCAA0C;AAC1C,6CAA0C;AAM1C,+EAGyD;AACzD,4JAA4H;AAC5H,+CAA8E;AAC9E,mGAAkG;AAClG,mCAA0C;AAC1C,yFAG+D;AAE/D,MAAM,oBAAoB,GAAG,CAAC,EAC5B,UAAU,EACV,qBAAqB,EACrB,YAAY,EACZ,OAAO,GAQR,EAAE,EAAE;;IACH,MAAM,YAAY,GAAG,IAAA,yBAAW,EAAC,qCAAyB,CAAC,CAAC;IAE5D,MAAM,QAAQ,GAAG,MAAA,qBAAqB,aAArB,qBAAqB,uBAArB,qBAAqB,CAAE,SAAS,0CAAE,IAAI,CACrD,CAAC,oBAAoB,EAAE,EAAE,CAAC,oBAAoB,CAAC,YAAY,KAAK,UAAU,CAC3E,CAAC;IAEF,MAAM,kBAAkB,GAAG,MAAA,MAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,YAAY,0CAAE,MAAM,0CAAE,YAAY,CAAC;IACxE,MAAM,kBAAkB,GAAG,MAAA,MAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,YAAY,0CAAE,MAA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KAAK,EACH;gBACE,oBAAC,oBAAO,IAAC,MAAM,EAAE,CAAC,cAAc,EAAE,OAAO,EAAE,cAAc;oBACvD;wBAAO,KAAK;4BAAS,CACb;gBACV,oBAAC,oBAAoB,IACnB,UAAU,EAAE,UAAU,EACtB,qBAAqB,EAAE,qBAAqB,EAC5C,YAAY,EAAE,YAAY,EAC1B,OAAO,EAAE,OAAO,GAChB;gBACF,oBAAC,qCAA2B,IAAC,SAAS,EAAE,SAAS,EAAE,YAAY,EAAE,YAAY,GAAI,CAChF,sBAEa,GAAG,OAAO,SAAS,EACrC,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,CAAC,CAAC,EAAE,OAAO,EAAE,EAAE;gBACvB,aAAa,CACX,mBAAmB,EACnB,IAAA,uBAAe,EACb,MAAM,CAAC,iBAAiB,EACxB,UAAU,EACV,qBAAqB,EACrB,OAAO,EACP,OAAO,CACR,CACF,CAAC;YACJ,CAAC,EACD,UAAU,EAAE,YAAY,IAAI,CAAC,CAAC,cAAc,EAC5C,WAAW,EACT,CAAC,CAAC,WAAW,IAAI,CACf,oBAAC,uBAAU;gBACT,oBAAC,2BAAc,IAAC,OAAO,EAAC,eAAe;oBACrC,oBAAC,WAAW,IAAC,gBAAgB,EAAE,gBAAgB,GAAI,CACpC,CACN,CACd,iBAEU,qBAAqB,UAAU,EAAE,GAC9C,CACQ,CACb,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.bundleSpecs = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const React = tslib_1.__importStar(require("react"));
|
|
6
|
+
const react_core_1 = require("@patternfly/react-core");
|
|
7
|
+
exports.bundleSpecs = {
|
|
8
|
+
virtualization: {
|
|
9
|
+
noSNO: true,
|
|
10
|
+
Description: () => (React.createElement(react_core_1.List, null,
|
|
11
|
+
React.createElement(react_core_1.ListItem, null, "Enabled CPU virtualization support in BIOS (Intel-VT / AMD-V) on all nodes."),
|
|
12
|
+
React.createElement(react_core_1.ListItem, null, "Each control plane node requires an additional 1024 MiB of memory and 3 CPU cores."),
|
|
13
|
+
React.createElement(react_core_1.ListItem, null, "Each worker node requires an additional 1024 MiB of memory and 5 CPU cores."),
|
|
14
|
+
React.createElement(react_core_1.ListItem, null, "Additional resources may be required to support the selected storage operator."))),
|
|
15
|
+
},
|
|
16
|
+
'openshift-ai': {
|
|
17
|
+
noSNO: true,
|
|
18
|
+
incompatibleBundles: [],
|
|
19
|
+
Description: () => (React.createElement(react_core_1.List, null,
|
|
20
|
+
React.createElement(react_core_1.ListItem, null, "NVIDIA GPU, AMD GPU and Kernel Module Management may or may not be installed based on the GPU discovered on your hosts."))),
|
|
21
|
+
},
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=bundleSpecs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundleSpecs.js","sourceRoot":"","sources":["../../../../../../lib/ocm/components/clusterConfiguration/operators/bundleSpecs.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,uDAAwD;AAS3C,QAAA,WAAW,GAAkC;IACxD,cAAc,EAAE;QACd,KAAK,EAAE,IAAI;QACX,WAAW,EAAE,GAAG,EAAE,CAAC,CACjB,oBAAC,iBAAI;YACH,oBAAC,qBAAQ,sFAEE;YACX,oBAAC,qBAAQ,6FAEE;YACX,oBAAC,qBAAQ,sFAEE;YACX,oBAAC,qBAAQ,yFAEE,CACN,CACR;KACF;IACD,cAAc,EAAE;QACd,KAAK,EAAE,IAAI;QACX,mBAAmB,EAAE,EAAE;QACvB,WAAW,EAAE,GAAG,EAAE,CAAC,CACjB,oBAAC,iBAAI;YACH,oBAAC,qBAAQ,kIAGE,CACN,CACR;KACF;CACF,CAAC"}
|