@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
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Badge,
|
|
3
|
+
Dropdown,
|
|
4
|
+
DropdownGroup,
|
|
5
|
+
DropdownItem,
|
|
3
6
|
Grid,
|
|
4
7
|
GridItem,
|
|
8
|
+
MenuToggle,
|
|
9
|
+
MenuToggleElement,
|
|
5
10
|
SearchInput,
|
|
6
11
|
Split,
|
|
7
12
|
SplitItem,
|
|
8
13
|
ToolbarFilter,
|
|
9
14
|
ToolbarItem,
|
|
10
15
|
} from '@patternfly/react-core';
|
|
11
|
-
import {
|
|
12
|
-
Select,
|
|
13
|
-
SelectGroup,
|
|
14
|
-
SelectOption,
|
|
15
|
-
SelectVariant,
|
|
16
|
-
} from '@patternfly/react-core/deprecated';
|
|
17
16
|
import { FilterIcon } from '@patternfly/react-icons/dist/js/icons/filter-icon';
|
|
18
17
|
import * as React from 'react';
|
|
19
18
|
import { HostStatus, HostStatusDef } from '../../../common/components/hosts/types';
|
|
@@ -94,6 +93,19 @@ const InfraTableToolbar: React.FC<InfraTableToolbarProps> = ({
|
|
|
94
93
|
const filterStatuses = React.useMemo(() => getStatusesForFilter(agentStatuses), [agentStatuses]);
|
|
95
94
|
const categoryLabels = getCategoryLabels(t);
|
|
96
95
|
|
|
96
|
+
const onStatusFilterToggle = () => setStatusFilterOpen(!statusFilterOpen);
|
|
97
|
+
const onStatusFilterSelect = (
|
|
98
|
+
e?: React.MouseEvent<Element, MouseEvent>,
|
|
99
|
+
value?: string | number,
|
|
100
|
+
) => {
|
|
101
|
+
if (!statusFilter?.includes(value as string)) {
|
|
102
|
+
const newItems = (statusFilter ? [...statusFilter, value] : [value]) as string[];
|
|
103
|
+
setStatusFilter(newItems);
|
|
104
|
+
} else {
|
|
105
|
+
setStatusFilter(statusFilter?.filter((f) => f !== value));
|
|
106
|
+
}
|
|
107
|
+
};
|
|
108
|
+
|
|
97
109
|
return (
|
|
98
110
|
<TableToolbar
|
|
99
111
|
selectedIDs={selectedHostIDs || []}
|
|
@@ -118,34 +130,34 @@ const InfraTableToolbar: React.FC<InfraTableToolbarProps> = ({
|
|
|
118
130
|
deleteChipGroup={() => setStatusFilter([])}
|
|
119
131
|
categoryName="Status"
|
|
120
132
|
>
|
|
121
|
-
<
|
|
122
|
-
variant={SelectVariant.checkbox}
|
|
123
|
-
aria-label={t('ai:Status')}
|
|
124
|
-
onToggle={(_event, value) => setStatusFilterOpen(value)}
|
|
125
|
-
onSelect={(e, value) => {
|
|
126
|
-
// eslint-disable-next-line
|
|
127
|
-
if ((e.target as any).checked) {
|
|
128
|
-
const newItems = (statusFilter ? [...statusFilter, value] : [value]) as string[];
|
|
129
|
-
setStatusFilter(newItems);
|
|
130
|
-
} else {
|
|
131
|
-
setStatusFilter(statusFilter?.filter((f) => f !== value));
|
|
132
|
-
}
|
|
133
|
-
}}
|
|
134
|
-
selections={statusFilter}
|
|
133
|
+
<Dropdown
|
|
135
134
|
isOpen={statusFilterOpen}
|
|
136
|
-
|
|
137
|
-
|
|
135
|
+
onSelect={onStatusFilterSelect}
|
|
136
|
+
onOpenChange={onStatusFilterToggle}
|
|
137
|
+
toggle={(toggleRef: React.Ref<MenuToggleElement>) => (
|
|
138
|
+
<MenuToggle
|
|
139
|
+
ref={toggleRef}
|
|
140
|
+
isFullWidth
|
|
141
|
+
onClick={onStatusFilterToggle}
|
|
142
|
+
isExpanded={statusFilterOpen}
|
|
143
|
+
icon={<FilterIcon />}
|
|
144
|
+
>
|
|
145
|
+
{t('ai:Status')}
|
|
146
|
+
</MenuToggle>
|
|
147
|
+
)}
|
|
148
|
+
shouldFocusToggleOnSelect
|
|
138
149
|
>
|
|
139
150
|
{[
|
|
140
151
|
<Grid key="statuses" hasGutter className="table-toolbar__dropdown">
|
|
141
152
|
{Object.keys(filterStatuses).map((category) => (
|
|
142
153
|
<GridItem key={category} span={4}>
|
|
143
|
-
<
|
|
154
|
+
<DropdownGroup label={categoryLabels[category as HostStatusDef['category']]}>
|
|
144
155
|
{Object.keys(filterStatuses[category]).map((label) => (
|
|
145
|
-
<
|
|
156
|
+
<DropdownItem
|
|
157
|
+
hasCheckbox
|
|
146
158
|
key={label}
|
|
147
159
|
value={label}
|
|
148
|
-
|
|
160
|
+
isSelected={statusFilter?.includes(label)}
|
|
149
161
|
>
|
|
150
162
|
<Split hasGutter>
|
|
151
163
|
<SplitItem>{label}</SplitItem>
|
|
@@ -153,14 +165,14 @@ const InfraTableToolbar: React.FC<InfraTableToolbarProps> = ({
|
|
|
153
165
|
<Badge isRead>{statusCount[label] || 0}</Badge>
|
|
154
166
|
</SplitItem>
|
|
155
167
|
</Split>
|
|
156
|
-
</
|
|
168
|
+
</DropdownItem>
|
|
157
169
|
))}
|
|
158
|
-
</
|
|
170
|
+
</DropdownGroup>
|
|
159
171
|
</GridItem>
|
|
160
172
|
))}
|
|
161
173
|
</Grid>,
|
|
162
174
|
]}
|
|
163
|
-
</
|
|
175
|
+
</Dropdown>
|
|
164
176
|
</ToolbarFilter>
|
|
165
177
|
</ToolbarItem>
|
|
166
178
|
</TableToolbar>
|
|
@@ -74,23 +74,26 @@ const CpuArchitectureDropdown = ({
|
|
|
74
74
|
return !isDisabled ? (
|
|
75
75
|
<FormGroup
|
|
76
76
|
isInline
|
|
77
|
-
|
|
77
|
+
id={`form-control__${fieldId}`}
|
|
78
78
|
label={t('ai:CPU architecture')}
|
|
79
79
|
isRequired
|
|
80
80
|
name={'cpuArchiteture'}
|
|
81
81
|
>
|
|
82
82
|
<Dropdown
|
|
83
|
+
id={`${fieldId}-dropdown`}
|
|
83
84
|
toggle={(toggleRef) => (
|
|
84
85
|
<MenuToggle
|
|
86
|
+
id={fieldId}
|
|
85
87
|
ref={toggleRef}
|
|
86
88
|
onClick={() => setCpuArchOpen(!cpuArchOpen)}
|
|
87
|
-
className="pf-u-w-100"
|
|
89
|
+
className="pf-v5-u-w-100"
|
|
88
90
|
>
|
|
89
91
|
{value ? architectureData[value].label : t('ai:CPU architecture')}
|
|
90
92
|
</MenuToggle>
|
|
91
93
|
)}
|
|
92
94
|
isOpen={cpuArchOpen}
|
|
93
95
|
onSelect={onCpuArchSelect}
|
|
96
|
+
onOpenChange={() => setCpuArchOpen(!cpuArchOpen)}
|
|
94
97
|
>
|
|
95
98
|
{dropdownItems}
|
|
96
99
|
</Dropdown>
|
|
@@ -9,9 +9,10 @@ import {
|
|
|
9
9
|
import { ClusterImageSetK8sResource } from '../../types';
|
|
10
10
|
import { featureSupportLevelsACM } from '../../config/constants';
|
|
11
11
|
import { getFeatureDisabledReason, isFeatureSupported } from './featureStateUtils';
|
|
12
|
-
import { getOCPVersions, getVersionFromReleaseImage
|
|
12
|
+
import { getOCPVersions, getVersionFromReleaseImage } from '../helpers';
|
|
13
13
|
import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
|
|
14
14
|
import { SupportLevel } from '@openshift-assisted/types/assisted-installer-service';
|
|
15
|
+
import { getMajorMinorVersion } from '../../../common/utils';
|
|
15
16
|
|
|
16
17
|
export type ACMFeatureSupportLevelProvider = PropsWithChildren<{
|
|
17
18
|
clusterImages: ClusterImageSetK8sResource[];
|
|
@@ -8,6 +8,7 @@ import {
|
|
|
8
8
|
} from '../../types';
|
|
9
9
|
import { CpuArchitecture, OpenshiftVersionOptionType } from '../../../common';
|
|
10
10
|
import { OpenshiftVersion } from '@openshift-assisted/types/assisted-installer-service';
|
|
11
|
+
import { getMajorMinorVersion } from '../../../common/utils';
|
|
11
12
|
|
|
12
13
|
export const getVersionFromReleaseImage = (releaseImage = '') => {
|
|
13
14
|
const match = /.+:(\d+\.\d+(?:\.\d+)?(?:-\w+)?)/gm.exec(releaseImage);
|
|
@@ -120,11 +121,6 @@ export const getSelectedVersion = (
|
|
|
120
121
|
export const getCurrentClusterVersion = (cv?: ClusterVersionK8sResource): string | undefined =>
|
|
121
122
|
cv?.status?.history?.[0]?.version || cv?.spec?.desiredUpdate?.version;
|
|
122
123
|
|
|
123
|
-
export const getMajorMinorVersion = (version = '') => {
|
|
124
|
-
const match = /[0-9].[0-9][0-9]?/g.exec(version);
|
|
125
|
-
return match?.[0] || '';
|
|
126
|
-
};
|
|
127
|
-
|
|
128
124
|
export const getNetworkType = (
|
|
129
125
|
ocpVersion: OpenshiftVersionOptionType | undefined,
|
|
130
126
|
): 'OVNKubernetes' | 'OpenShiftSDN' =>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { DropdownItem } from '@patternfly/react-core
|
|
2
|
+
import { DropdownItem } from '@patternfly/react-core';
|
|
3
3
|
import { AgentK8sResource } from '../../types';
|
|
4
4
|
import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
|
|
5
5
|
|
package/lib/cim/index.ts
CHANGED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { client } from '../axiosClient';
|
|
2
|
+
import { Bundle } from '@openshift-assisted/types/assisted-installer-service';
|
|
3
|
+
|
|
4
|
+
const BundleAPI = {
|
|
5
|
+
makeBaseURI() {
|
|
6
|
+
return `/v2/operators/bundles`;
|
|
7
|
+
},
|
|
8
|
+
|
|
9
|
+
list() {
|
|
10
|
+
return client.get<Bundle[]>(`${BundleAPI.makeBaseURI()}`);
|
|
11
|
+
},
|
|
12
|
+
|
|
13
|
+
listOperatorsForBundle(bundleName: string) {
|
|
14
|
+
return client.get<string[]>(`${BundleAPI.makeBaseURI()}?bundle_name=${bundleName}`);
|
|
15
|
+
},
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export default BundleAPI;
|
|
@@ -239,6 +239,12 @@ const ClustersAPI = {
|
|
|
239
239
|
params,
|
|
240
240
|
);
|
|
241
241
|
},
|
|
242
|
+
|
|
243
|
+
updateInstallConfig(clusterId: Cluster['id'], config: string) {
|
|
244
|
+
return client.patch(`${ClustersAPI.makeBaseURI(clusterId)}/install-config`, config, {
|
|
245
|
+
headers: { 'Content-Type': 'application/json' },
|
|
246
|
+
});
|
|
247
|
+
},
|
|
242
248
|
};
|
|
243
249
|
|
|
244
250
|
export default ClustersAPI;
|
package/lib/common/api/index.ts
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
|
|
2
|
+
import {
|
|
3
|
+
FormGroup,
|
|
4
|
+
Tooltip,
|
|
5
|
+
Dropdown,
|
|
6
|
+
DropdownItem,
|
|
7
|
+
MenuToggle,
|
|
8
|
+
MenuToggleElement,
|
|
9
|
+
DropdownList,
|
|
10
|
+
} from '@patternfly/react-core';
|
|
4
11
|
import { useTranslation } from '../../hooks/use-translation-wrapper';
|
|
5
12
|
import { getFieldId, StaticField } from '../..';
|
|
6
13
|
import { useField } from 'formik';
|
|
@@ -55,29 +62,35 @@ const ControlPlaneNodesDropdown = ({
|
|
|
55
62
|
);
|
|
56
63
|
});
|
|
57
64
|
|
|
58
|
-
const onControlPlaneSelect = (
|
|
59
|
-
|
|
60
|
-
|
|
65
|
+
const onControlPlaneSelect = (
|
|
66
|
+
e?: React.MouseEvent<Element, MouseEvent>,
|
|
67
|
+
value?: string | number,
|
|
68
|
+
) => {
|
|
69
|
+
setValue(toNumber(value));
|
|
61
70
|
setControlPlanelOpen(false);
|
|
62
71
|
};
|
|
63
72
|
|
|
64
73
|
return !isDisabled ? (
|
|
65
74
|
<FormGroup isInline fieldId={fieldId} label={t('ai:Number of control plane nodes')} isRequired>
|
|
66
75
|
<Dropdown
|
|
67
|
-
toggle={
|
|
68
|
-
<DropdownToggle
|
|
69
|
-
onToggle={() => setControlPlanelOpen(!controlPlanelOpen)}
|
|
70
|
-
className="pf-u-w-100"
|
|
71
|
-
>
|
|
72
|
-
{selectedValue ? selectedValue : '3'}
|
|
73
|
-
</DropdownToggle>
|
|
74
|
-
}
|
|
75
|
-
name="controlPlaneCount"
|
|
76
76
|
isOpen={controlPlanelOpen}
|
|
77
77
|
onSelect={onControlPlaneSelect}
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
78
|
+
onOpenChange={() => setControlPlanelOpen(!controlPlanelOpen)}
|
|
79
|
+
toggle={(toggleRef: React.Ref<MenuToggleElement>) => (
|
|
80
|
+
<MenuToggle
|
|
81
|
+
className="pf-v5-u-w-100"
|
|
82
|
+
ref={toggleRef}
|
|
83
|
+
isFullWidth
|
|
84
|
+
onClick={() => setControlPlanelOpen(!controlPlanelOpen)}
|
|
85
|
+
isExpanded={controlPlanelOpen}
|
|
86
|
+
>
|
|
87
|
+
{selectedValue ? selectedValue : '3'}
|
|
88
|
+
</MenuToggle>
|
|
89
|
+
)}
|
|
90
|
+
shouldFocusToggleOnSelect
|
|
91
|
+
>
|
|
92
|
+
<DropdownList>{dropdownItems}</DropdownList>
|
|
93
|
+
</Dropdown>
|
|
81
94
|
</FormGroup>
|
|
82
95
|
) : (
|
|
83
96
|
<StaticField
|
|
@@ -26,6 +26,7 @@ export type DownloadISOProps = {
|
|
|
26
26
|
onClose: () => void;
|
|
27
27
|
onReset?: () => void;
|
|
28
28
|
docVersion?: string;
|
|
29
|
+
updateTagsForCiscoIntersight?: () => void;
|
|
29
30
|
};
|
|
30
31
|
|
|
31
32
|
const DownloadIso = ({
|
|
@@ -36,9 +37,16 @@ const DownloadIso = ({
|
|
|
36
37
|
hasDHCP,
|
|
37
38
|
isSNO = false,
|
|
38
39
|
docVersion,
|
|
40
|
+
updateTagsForCiscoIntersight,
|
|
39
41
|
}: DownloadISOProps) => {
|
|
40
42
|
const wgetCommand = `wget -O ${fileName} '${downloadUrl || ''}'`;
|
|
41
43
|
const { t } = useTranslation();
|
|
44
|
+
|
|
45
|
+
const openCiscoIntersightHostsLink = (downloadUrl: string) => {
|
|
46
|
+
updateTagsForCiscoIntersight ? updateTagsForCiscoIntersight() : '';
|
|
47
|
+
window.open(getCiscoIntersightLink(downloadUrl), '_blank', 'noopener');
|
|
48
|
+
};
|
|
49
|
+
|
|
42
50
|
return (
|
|
43
51
|
<>
|
|
44
52
|
<ModalBoxBody>
|
|
@@ -66,7 +74,7 @@ const DownloadIso = ({
|
|
|
66
74
|
icon={<ExternalLinkAltIcon />}
|
|
67
75
|
iconPosition="right"
|
|
68
76
|
isInline
|
|
69
|
-
onClick={() =>
|
|
77
|
+
onClick={() => openCiscoIntersightHostsLink(downloadUrl)}
|
|
70
78
|
>
|
|
71
79
|
{t('ai:Add hosts from Cisco Intersight')}
|
|
72
80
|
</Button>
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
GridItem,
|
|
4
|
+
ClipboardCopy,
|
|
5
|
+
clipboardCopyFunc,
|
|
6
|
+
Button,
|
|
7
|
+
Alert,
|
|
8
|
+
TextInput,
|
|
9
|
+
} from '@patternfly/react-core';
|
|
3
10
|
import { Credentials, Cluster } from '@openshift-assisted/types/assisted-installer-service';
|
|
4
11
|
import { LoadingState, ErrorState } from '../../components/ui/uiState';
|
|
5
12
|
import { DetailList, DetailItem } from '../../components/ui/DetailList';
|
|
@@ -98,7 +105,10 @@ const ClusterCredentials: React.FC<ClusterCredentialsProps> = ({
|
|
|
98
105
|
)}
|
|
99
106
|
{credentials.username && (
|
|
100
107
|
<>
|
|
101
|
-
<DetailItem
|
|
108
|
+
<DetailItem
|
|
109
|
+
title={t('ai:Username')}
|
|
110
|
+
value={<TextInput value={credentials.username} readOnlyVariant="default" />}
|
|
111
|
+
/>
|
|
102
112
|
<DetailItem
|
|
103
113
|
title={t('ai:Password')}
|
|
104
114
|
value={
|
|
@@ -50,10 +50,7 @@ const ClusterProgressItems = ({
|
|
|
50
50
|
</GridItem>
|
|
51
51
|
<RenderIf condition={olmOperators.length > 0}>
|
|
52
52
|
<GridItem span={3}>
|
|
53
|
-
<OperatorsProgressItem
|
|
54
|
-
operators={olmOperators}
|
|
55
|
-
openshiftVersion={cluster.openshiftVersion}
|
|
56
|
-
/>
|
|
53
|
+
<OperatorsProgressItem operators={olmOperators} />
|
|
57
54
|
</GridItem>
|
|
58
55
|
</RenderIf>
|
|
59
56
|
</Grid>
|
|
@@ -9,15 +9,13 @@ import { global_success_color_100 as okColor } from '@patternfly/react-tokens/di
|
|
|
9
9
|
import { pluralize } from 'humanize-plus';
|
|
10
10
|
import { TFunction } from 'i18next';
|
|
11
11
|
import {
|
|
12
|
-
Cluster,
|
|
13
12
|
MonitoredOperator,
|
|
14
13
|
MonitoredOperatorsList,
|
|
15
14
|
OperatorStatus,
|
|
16
15
|
} from '@openshift-assisted/types/assisted-installer-service';
|
|
17
|
-
import { operatorLabelsCim, OperatorName } from '../../config';
|
|
18
16
|
import ClusterProgressItem from './ClusterProgressItem';
|
|
19
17
|
import { useTranslation } from '../../hooks/use-translation-wrapper';
|
|
20
|
-
import {
|
|
18
|
+
import { useOperatorSpecs } from '../operators/operatorSpecs';
|
|
21
19
|
|
|
22
20
|
import './OperatorsProgressItem.css';
|
|
23
21
|
|
|
@@ -74,16 +72,15 @@ export function getOperatorsIcon(status: OperatorStatus | 'pending') {
|
|
|
74
72
|
|
|
75
73
|
type OperatorListProps = {
|
|
76
74
|
operators: MonitoredOperatorsList;
|
|
77
|
-
openshiftVersion: Cluster['openshiftVersion'];
|
|
78
75
|
};
|
|
79
76
|
|
|
80
77
|
type OperatorsPopoverProps = OperatorListProps & {
|
|
81
78
|
children: React.ComponentProps<typeof Popover>['children'];
|
|
82
79
|
};
|
|
83
80
|
|
|
84
|
-
const OperatorsPopover = ({ operators,
|
|
81
|
+
const OperatorsPopover = ({ operators, children }: OperatorsPopoverProps) => {
|
|
85
82
|
const { t } = useTranslation();
|
|
86
|
-
const
|
|
83
|
+
const opSpecs = useOperatorSpecs();
|
|
87
84
|
|
|
88
85
|
return (
|
|
89
86
|
<Popover
|
|
@@ -95,10 +92,7 @@ const OperatorsPopover = ({ operators, openshiftVersion, children }: OperatorsPo
|
|
|
95
92
|
if (operator.status === 'available') {
|
|
96
93
|
status = 'installed';
|
|
97
94
|
}
|
|
98
|
-
const name =
|
|
99
|
-
operatorLabelsCim(t, openshiftVersion, featureSupportLevel)[
|
|
100
|
-
operator.name as OperatorName
|
|
101
|
-
] || operator.name;
|
|
95
|
+
const name = opSpecs[operator.name || '']?.title || operator.name;
|
|
102
96
|
return (
|
|
103
97
|
<ListItem key={operator.name} title={operator.statusInfo}>
|
|
104
98
|
{name} {status}
|
|
@@ -115,14 +109,14 @@ const OperatorsPopover = ({ operators, openshiftVersion, children }: OperatorsPo
|
|
|
115
109
|
);
|
|
116
110
|
};
|
|
117
111
|
|
|
118
|
-
const OperatorsProgressItem = ({ operators
|
|
112
|
+
const OperatorsProgressItem = ({ operators }: OperatorListProps) => {
|
|
119
113
|
const { t } = useTranslation();
|
|
120
114
|
const icon = getOperatorsIcon(getAggregatedStatus(operators));
|
|
121
115
|
const label = getOperatorsLabel(operators, t);
|
|
122
116
|
return (
|
|
123
117
|
<ClusterProgressItem icon={icon}>
|
|
124
118
|
<>
|
|
125
|
-
<OperatorsPopover operators={operators}
|
|
119
|
+
<OperatorsPopover operators={operators}>
|
|
126
120
|
<Button variant={ButtonVariant.link} isInline data-testid="operators-progress-item">
|
|
127
121
|
{t('ai:Operators')}
|
|
128
122
|
</Button>
|
|
@@ -3,3 +3,4 @@ export { default as ClusterProgress } from './ClusterProgress';
|
|
|
3
3
|
export { default as ClusterCredentials } from './ClusterCredentials';
|
|
4
4
|
export { default as KubeconfigDownload } from './KubeconfigDownload';
|
|
5
5
|
export { default as PostInstallAlert } from './PostInstallAlert';
|
|
6
|
+
export { TroubleshootingOpenshiftConsoleButton } from './ConsoleModal';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { WizardBody
|
|
2
|
+
import { WizardBody } from '@patternfly/react-core';
|
|
3
3
|
import { css } from '@patternfly/react-styles';
|
|
4
4
|
|
|
5
5
|
import './ClusterWizardStep.css';
|
|
@@ -14,13 +14,11 @@ export const ClusterWizardStep = ({
|
|
|
14
14
|
footer,
|
|
15
15
|
children,
|
|
16
16
|
}: React.PropsWithChildren<ClusterWizardStepProps>) => {
|
|
17
|
-
// activeStep is required, but we're not passing it. Using the cast to avoid TS error
|
|
18
|
-
const activeStep = undefined as unknown as WizardBodyProps['activeStep'];
|
|
19
17
|
return (
|
|
20
18
|
<div className={css('pf-v5-c-wizard__outer-wrap', 'cluster-wizard-step')}>
|
|
21
19
|
<div className={css('pf-v5-c-wizard__inner-wrap')}>
|
|
22
20
|
{navigation}
|
|
23
|
-
<WizardBody aria-labelledby="step-id"
|
|
21
|
+
<WizardBody aria-labelledby="step-id" hasNoPadding={false}>
|
|
24
22
|
{children}
|
|
25
23
|
</WizardBody>
|
|
26
24
|
</div>
|
|
@@ -16,6 +16,7 @@ import {
|
|
|
16
16
|
} from '../ui';
|
|
17
17
|
import { ClusterDetailsValues } from './types';
|
|
18
18
|
import { FeatureSupportLevelData } from '../featureSupportLevels';
|
|
19
|
+
import toNumber from 'lodash-es/toNumber';
|
|
19
20
|
|
|
20
21
|
const emptyTangServers = (): TangServer[] => {
|
|
21
22
|
return [
|
|
@@ -119,20 +120,20 @@ export const getClusterDetailsValidationSchema = ({
|
|
|
119
120
|
? baseDomainValidationSchema.required('Required')
|
|
120
121
|
: dnsNameValidationSchema.required('Required'),
|
|
121
122
|
pullSecret: pullSecretValidationSchema.required('Required.'),
|
|
122
|
-
SNODisclaimer: Yup.boolean().when(['
|
|
123
|
+
SNODisclaimer: Yup.boolean().when(['controlPlaneCount', 'openshiftVersion'], {
|
|
123
124
|
// The disclaimer is required only if SNO is enabled and SNO feature is not fully supported in that version
|
|
124
125
|
is: (
|
|
125
|
-
|
|
126
|
+
controlPlaneCount: Cluster['controlPlaneCount'],
|
|
126
127
|
openshiftVersion: Cluster['openshiftVersion'],
|
|
127
128
|
) => {
|
|
128
129
|
const selectedVersion = (ocpVersions || []).find((v) => v.value === openshiftVersion);
|
|
130
|
+
const versionToUse = selectedVersion?.value ?? openshiftVersion;
|
|
129
131
|
if (featureSupportLevels) {
|
|
130
|
-
return
|
|
131
|
-
? featureSupportLevels.getFeatureSupportLevel(
|
|
132
|
-
'dev-preview'
|
|
132
|
+
return toNumber(controlPlaneCount) === 1 && versionToUse && featureSupportLevels
|
|
133
|
+
? featureSupportLevels.getFeatureSupportLevel(versionToUse, 'SNO') === 'dev-preview'
|
|
133
134
|
: false;
|
|
134
135
|
} else {
|
|
135
|
-
return
|
|
136
|
+
return toNumber(controlPlaneCount) === 1 && versionToUse && values.isSNODevPreview;
|
|
136
137
|
}
|
|
137
138
|
},
|
|
138
139
|
then: () =>
|
|
@@ -69,7 +69,9 @@ export type ValidationActionLinkProps<S extends string> = {
|
|
|
69
69
|
wizardStepNames: { [key in S]: string };
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
export type ClusterOperatorProps =
|
|
72
|
+
export type ClusterOperatorProps = {
|
|
73
|
+
cluster: Cluster;
|
|
74
|
+
};
|
|
73
75
|
|
|
74
76
|
export type ItemDropdown = {
|
|
75
77
|
label: string;
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
|
|
2
|
+
import {
|
|
3
|
+
Dropdown,
|
|
4
|
+
DropdownItem,
|
|
5
|
+
DropdownList,
|
|
6
|
+
MenuToggle,
|
|
7
|
+
MenuToggleElement,
|
|
8
|
+
} from '@patternfly/react-core';
|
|
4
9
|
import {
|
|
5
10
|
Disk,
|
|
6
11
|
DiskRole as DiskRoleValue,
|
|
@@ -83,7 +88,7 @@ const DiskRoleDropdown: React.FC<DiskRoleDropdownProps> = ({
|
|
|
83
88
|
];
|
|
84
89
|
|
|
85
90
|
const onSelect = React.useCallback(
|
|
86
|
-
(event?: React.
|
|
91
|
+
(event?: React.MouseEvent<Element, MouseEvent>) => {
|
|
87
92
|
const asyncFunc = async () => {
|
|
88
93
|
if (event?.currentTarget.id) {
|
|
89
94
|
setDisabled(true);
|
|
@@ -98,28 +103,29 @@ const DiskRoleDropdown: React.FC<DiskRoleDropdownProps> = ({
|
|
|
98
103
|
);
|
|
99
104
|
|
|
100
105
|
const currentRoleLabel = getCurrentDiskRoleLabel(disk, installationDiskId, t);
|
|
101
|
-
const toggle = React.
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
[setOpen, currentRoleLabel, isDisabled],
|
|
106
|
+
const toggle = (toggleRef: React.Ref<MenuToggleElement>) => (
|
|
107
|
+
<MenuToggle
|
|
108
|
+
variant="plainText"
|
|
109
|
+
ref={toggleRef}
|
|
110
|
+
isFullWidth
|
|
111
|
+
onClick={() => setOpen(!isOpen)}
|
|
112
|
+
isExpanded={isOpen}
|
|
113
|
+
isDisabled={isDisabled}
|
|
114
|
+
>
|
|
115
|
+
{currentRoleLabel}
|
|
116
|
+
</MenuToggle>
|
|
113
117
|
);
|
|
114
118
|
|
|
115
119
|
return (
|
|
116
120
|
<Dropdown
|
|
121
|
+
onOpenChange={() => setOpen(!isOpen)}
|
|
117
122
|
onSelect={onSelect}
|
|
118
|
-
dropdownItems={dropdownItems}
|
|
119
123
|
toggle={toggle}
|
|
120
124
|
isOpen={isOpen}
|
|
121
125
|
isPlain
|
|
122
|
-
|
|
126
|
+
>
|
|
127
|
+
<DropdownList>{dropdownItems}</DropdownList>
|
|
128
|
+
</Dropdown>
|
|
123
129
|
);
|
|
124
130
|
};
|
|
125
131
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Button, ButtonVariant, Popover } from '@patternfly/react-core';
|
|
2
|
+
import { Button, ButtonVariant, Flex, Popover } from '@patternfly/react-core';
|
|
3
3
|
import { CheckCircleIcon } from '@patternfly/react-icons/dist/js/icons/check-circle-icon';
|
|
4
4
|
import { ExclamationCircleIcon } from '@patternfly/react-icons/dist/js/icons/exclamation-circle-icon';
|
|
5
5
|
import { PendingIcon } from '@patternfly/react-icons/dist/js/icons/pending-icon';
|
|
@@ -60,21 +60,27 @@ const HostPropertyValidationPopover: React.FC<HostPropertyValidationPopoverProps
|
|
|
60
60
|
if (showFailure && validation.status === 'failure') {
|
|
61
61
|
return (
|
|
62
62
|
<ValidationPopover validation={validation} actions={failureActions}>
|
|
63
|
-
<
|
|
63
|
+
<Flex columnGap={{ default: 'columnGapSm' }} alignItems={{ default: 'alignItemsCenter' }}>
|
|
64
|
+
<ExclamationCircleIcon color={dangerColor.value} /> {children}
|
|
65
|
+
</Flex>
|
|
64
66
|
</ValidationPopover>
|
|
65
67
|
);
|
|
66
68
|
}
|
|
67
69
|
if (showPending && validation.status === 'pending') {
|
|
68
70
|
return (
|
|
69
71
|
<ValidationPopover validation={validation} actions={pendingActions}>
|
|
70
|
-
<
|
|
72
|
+
<Flex columnGap={{ default: 'columnGapSm' }} alignItems={{ default: 'alignItemsCenter' }}>
|
|
73
|
+
<PendingIcon /> {children}
|
|
74
|
+
</Flex>
|
|
71
75
|
</ValidationPopover>
|
|
72
76
|
);
|
|
73
77
|
}
|
|
74
78
|
if (showSuccess && validation.status === 'success') {
|
|
75
79
|
return (
|
|
76
80
|
<>
|
|
77
|
-
<
|
|
81
|
+
<Flex columnGap={{ default: 'columnGapSm' }} alignItems={{ default: 'alignItemsCenter' }}>
|
|
82
|
+
<CheckCircleIcon color={successColor.value} /> {children}
|
|
83
|
+
</Flex>
|
|
78
84
|
</>
|
|
79
85
|
);
|
|
80
86
|
}
|