@openshift-assisted/ui-lib 2.14.6-cim → 2.15.0-cim
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscovery.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/LabelsSelector.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/wizardTransition.d.ts +1 -1
- package/build/@types/cim/components/ClusterDeployment/wizardTransition.d.ts.map +1 -1
- package/build/@types/cim/components/InfraEnv/AddHostDropdown.d.ts.map +1 -1
- package/build/@types/cim/components/InfraEnv/InfraEnvOpenShiftVersionDropdown.d.ts.map +1 -1
- package/build/@types/cim/components/InfraEnv/InfraTableToolbar.d.ts.map +1 -1
- package/build/@types/cim/components/common/CpuArchitectureDropdown.d.ts.map +1 -1
- package/build/@types/cim/components/featureSupportLevels/ACMFeatureSupportLevelProvider.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/clusterDeployment.d.ts +1 -1
- package/build/@types/cim/components/helpers/versions.d.ts +0 -1
- package/build/@types/cim/components/helpers/versions.d.ts.map +1 -1
- package/build/@types/cim/index.d.ts +1 -0
- package/build/@types/cim/index.d.ts.map +1 -1
- package/build/@types/common/api/assisted-service/BundleAPI.d.ts +8 -0
- package/build/@types/common/api/assisted-service/BundleAPI.d.ts.map +1 -0
- package/build/@types/common/api/assisted-service/ClustersAPI.d.ts +1 -0
- package/build/@types/common/api/assisted-service/ClustersAPI.d.ts.map +1 -1
- package/build/@types/common/api/assisted-service/OperatorsAPI.d.ts +6 -0
- package/build/@types/common/api/assisted-service/OperatorsAPI.d.ts.map +1 -0
- package/build/@types/common/api/index.d.ts +1 -0
- package/build/@types/common/api/index.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/DownloadIso.d.ts +2 -1
- package/build/@types/common/components/clusterConfiguration/DownloadIso.d.ts.map +1 -1
- package/build/@types/common/components/clusterDetail/ClusterCredentials.d.ts.map +1 -1
- package/build/@types/common/components/clusterDetail/ClusterProgressItems.d.ts.map +1 -1
- package/build/@types/common/components/clusterDetail/OperatorsProgressItem.d.ts +2 -3
- package/build/@types/common/components/clusterDetail/OperatorsProgressItem.d.ts.map +1 -1
- package/build/@types/common/components/clusterDetail/index.d.ts +1 -0
- package/build/@types/common/components/clusterDetail/index.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/ClusterWizardStep.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/clusterDetailsValidation.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/types.d.ts +2 -2
- package/build/@types/common/components/clusterWizard/types.d.ts.map +1 -1
- package/build/@types/common/components/hosts/DiskRole.d.ts.map +1 -1
- package/build/@types/common/components/hosts/HostPropertyValidationPopover.d.ts.map +1 -1
- package/build/@types/common/components/hosts/HostRowDetail.d.ts.map +1 -1
- package/build/@types/common/components/hosts/HostStatus.d.ts.map +1 -1
- package/build/@types/common/components/hosts/HostValidationGroups.d.ts +2 -1
- package/build/@types/common/components/hosts/HostValidationGroups.d.ts.map +1 -1
- package/build/@types/common/components/hosts/TableToolbar.d.ts.map +1 -1
- package/build/@types/common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge.d.ts +1 -2
- package/build/@types/common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge.d.ts.map +1 -1
- package/build/@types/common/components/newFeatureSupportLevels/types.d.ts +5 -3
- package/build/@types/common/components/newFeatureSupportLevels/types.d.ts.map +1 -1
- package/build/@types/common/components/operators/operatorSpecs.d.ts +22 -0
- package/build/@types/common/components/operators/operatorSpecs.d.ts.map +1 -0
- package/build/@types/common/components/storage/DisksTable.d.ts.map +1 -1
- package/build/@types/common/components/ui/ClusterEventsToolbar.d.ts.map +1 -1
- package/build/@types/common/components/ui/DeveloperPreview.d.ts.map +1 -1
- package/build/@types/common/components/ui/OpenShiftVersionDropdown.d.ts +0 -1
- package/build/@types/common/components/ui/OpenShiftVersionDropdown.d.ts.map +1 -1
- package/build/@types/common/components/ui/SimpleDropdown.d.ts +2 -2
- package/build/@types/common/components/ui/SimpleDropdown.d.ts.map +1 -1
- package/build/@types/common/components/ui/WizardFooter.d.ts +2 -0
- package/build/@types/common/components/ui/WizardFooter.d.ts.map +1 -1
- package/build/@types/common/components/ui/WizardNavItem.d.ts +1 -1
- package/build/@types/common/components/ui/WizardNavItem.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/MultiSelectField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/types.d.ts +2 -2
- package/build/@types/common/components/ui/formik/types.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/validationSchemas.d.ts +1 -1
- package/build/@types/common/components/ui/utils.d.ts +1 -1
- package/build/@types/common/components/ui/utils.d.ts.map +1 -1
- package/build/@types/common/config/constants.d.ts +45 -15
- package/build/@types/common/config/constants.d.ts.map +1 -1
- package/build/@types/common/config/docs_links.d.ts +21 -2
- package/build/@types/common/config/docs_links.d.ts.map +1 -1
- package/build/@types/common/hooks/index.d.ts +1 -0
- package/build/@types/common/hooks/index.d.ts.map +1 -1
- package/build/@types/common/index.d.ts +2 -3
- package/build/@types/common/index.d.ts.map +1 -1
- package/build/@types/common/selectors/clusterSelectors.d.ts +2 -2
- package/build/@types/common/selectors/clusterSelectors.d.ts.map +1 -1
- package/build/@types/common/types/clusters.d.ts +3 -7
- package/build/@types/common/types/clusters.d.ts.map +1 -1
- package/build/@types/common/types/ui-settings.d.ts +1 -0
- package/build/@types/common/types/ui-settings.d.ts.map +1 -1
- package/build/@types/common/utils.d.ts +1 -0
- package/build/@types/common/utils.d.ts.map +1 -1
- package/build/@types/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.d.ts.map +1 -1
- package/build/@types/ocm/components/HostsClusterDetailTab/utils.d.ts.map +1 -1
- package/build/@types/ocm/components/SentryErrorMonitorContextProvider.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts +9 -0
- package/build/@types/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterConfiguration/CpuArchitectureDropdown.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/CustomManifestCheckbox.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/DiscoveryImageModal.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/DiscoveryImageTypeDropdown.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/HostInventory.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmBaseDomainField.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmClusterProgressItems.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmOperatorProgressItem.d.ts +2 -3
- package/build/@types/ocm/components/clusterConfiguration/OcmOperatorProgressItem.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.d.ts +1 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/OperatorCheckbox.d.ts +12 -0
- package/build/@types/ocm/components/clusterConfiguration/operators/OperatorCheckbox.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterConfiguration/operators/bundleSpecs.d.ts +11 -0
- package/build/@types/ocm/components/clusterConfiguration/operators/bundleSpecs.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterConfiguration/operators/utils.d.ts +6 -8
- package/build/@types/ocm/components/clusterConfiguration/operators/utils.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.d.ts +1 -1
- package/build/@types/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/review/ReviewStep.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/review/ReviewSummary.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/data/formDataToInfraEnvField.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/AssistedInstallerDetailCard.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/ClusterDetailStatusMessages.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/ClusterDetailsButtonGroup.d.ts +1 -0
- package/build/@types/ocm/components/clusterDetail/ClusterDetailsButtonGroup.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/ProgressBarAlerts.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterDetails.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterDetailsForm.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterWizard.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterWizardContextProvider.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterWizardFooter.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/CredentialsDownload.d.ts +7 -0
- package/build/@types/ocm/components/clusterWizard/CredentialsDownload.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterWizard/KubeconfigDownload.d.ts +7 -0
- package/build/@types/ocm/components/clusterWizard/KubeconfigDownload.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterWizard/Operators.d.ts +1 -3
- package/build/@types/ocm/components/clusterWizard/Operators.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/OperatorsBundle.d.ts +9 -0
- package/build/@types/ocm/components/clusterWizard/OperatorsBundle.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterWizard/OperatorsSelect.d.ts +9 -0
- package/build/@types/ocm/components/clusterWizard/OperatorsSelect.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterWizard/OperatorsStep.d.ts +1 -1
- package/build/@types/ocm/components/clusterWizard/OperatorsStep.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/constants.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/index.d.ts +1 -0
- package/build/@types/ocm/components/clusterWizard/index.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/wizardTransition.d.ts +3 -3
- package/build/@types/ocm/components/clusterWizard/wizardTransition.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/ClusterPage.d.ts +2 -1
- package/build/@types/ocm/components/clusters/ClusterPage.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/ClustersListToolbar.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/index.d.ts +3 -0
- package/build/@types/ocm/components/clusters/index.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/utils.d.ts +1 -5
- package/build/@types/ocm/components/clusters/utils.d.ts.map +1 -1
- package/build/@types/ocm/components/featureSupportLevels/FeatureSupportLevelProvider.d.ts.map +1 -1
- package/build/@types/ocm/components/featureSupportLevels/featureStateUtils.d.ts +1 -6
- package/build/@types/ocm/components/featureSupportLevels/featureStateUtils.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/ModalDialogsContext.d.ts +5 -1
- package/build/@types/ocm/components/hosts/ModalDialogsContext.d.ts.map +1 -1
- package/build/@types/ocm/components/index.d.ts +2 -0
- package/build/@types/ocm/components/index.d.ts.map +1 -1
- package/build/@types/ocm/components/utils.d.ts +0 -2
- package/build/@types/ocm/components/utils.d.ts.map +1 -1
- package/build/@types/ocm/hooks/index.d.ts +2 -0
- package/build/@types/ocm/hooks/index.d.ts.map +1 -1
- package/build/@types/ocm/index.d.ts +1 -0
- package/build/@types/ocm/index.d.ts.map +1 -1
- package/build/@types/ocm/sentry.d.ts +2 -2
- package/build/@types/ocm/sentry.d.ts.map +1 -1
- package/build/@types/ocm/services/BundleService.d.ts +6 -0
- package/build/@types/ocm/services/BundleService.d.ts.map +1 -0
- package/build/@types/ocm/services/ClusterDetailsService.d.ts.map +1 -1
- package/build/@types/ocm/services/ClustersService.d.ts.map +1 -1
- package/build/@types/ocm/services/OperatorsService.d.ts +1 -9
- package/build/@types/ocm/services/OperatorsService.d.ts.map +1 -1
- package/build/@types/ocm/store/slices/current-cluster/slice.d.ts +1 -0
- package/build/@types/ocm/store/slices/current-cluster/slice.d.ts.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscovery.js +2 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscovery.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/LabelsSelector.js +5 -5
- package/build/cjs/cim/components/ClusterDeployment/LabelsSelector.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ShortCapacitySummary.js +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ShortCapacitySummary.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/AddHostDropdown.js +29 -28
- package/build/cjs/cim/components/InfraEnv/AddHostDropdown.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/InfraEnvAgentTable.js +2 -2
- package/build/cjs/cim/components/InfraEnv/InfraEnvAgentTable.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/InfraEnvOpenShiftVersionDropdown.js +4 -8
- package/build/cjs/cim/components/InfraEnv/InfraEnvOpenShiftVersionDropdown.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/InfraTableToolbar.js +12 -12
- package/build/cjs/cim/components/InfraEnv/InfraTableToolbar.js.map +1 -1
- package/build/cjs/cim/components/common/CpuArchitectureDropdown.js +2 -2
- package/build/cjs/cim/components/common/CpuArchitectureDropdown.js.map +1 -1
- package/build/cjs/cim/components/featureSupportLevels/ACMFeatureSupportLevelProvider.js +2 -1
- package/build/cjs/cim/components/featureSupportLevels/ACMFeatureSupportLevelProvider.js.map +1 -1
- package/build/cjs/cim/components/helpers/versions.js +3 -7
- package/build/cjs/cim/components/helpers/versions.js.map +1 -1
- package/build/cjs/cim/components/modals/MassApproveAction.js +2 -2
- package/build/cjs/cim/components/modals/MassApproveAction.js.map +1 -1
- package/build/cjs/cim/index.js +1 -0
- package/build/cjs/cim/index.js.map +1 -1
- package/build/cjs/common/api/assisted-service/BundleAPI.js +16 -0
- package/build/cjs/common/api/assisted-service/BundleAPI.js.map +1 -0
- package/build/cjs/common/api/assisted-service/ClustersAPI.js +5 -0
- package/build/cjs/common/api/assisted-service/ClustersAPI.js.map +1 -1
- package/build/cjs/common/api/assisted-service/OperatorsAPI.js +13 -0
- package/build/cjs/common/api/assisted-service/OperatorsAPI.js.map +1 -0
- package/build/cjs/common/api/index.js +1 -0
- package/build/cjs/common/api/index.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/ControlPlaneNodesDropdown.js +5 -6
- package/build/cjs/common/components/clusterConfiguration/ControlPlaneNodesDropdown.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DownloadIso.js +6 -2
- package/build/cjs/common/components/clusterConfiguration/DownloadIso.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/ClusterCredentials.js +1 -1
- package/build/cjs/common/components/clusterDetail/ClusterCredentials.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/ClusterProgressItems.js +1 -1
- package/build/cjs/common/components/clusterDetail/ClusterProgressItems.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/OperatorsProgressItem.js +7 -8
- package/build/cjs/common/components/clusterDetail/OperatorsProgressItem.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/index.js +3 -1
- package/build/cjs/common/components/clusterDetail/index.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/ClusterWizardStep.js +2 -4
- package/build/cjs/common/components/clusterWizard/ClusterWizardStep.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/clusterDetailsValidation.js +8 -6
- package/build/cjs/common/components/clusterWizard/clusterDetailsValidation.js.map +1 -1
- package/build/cjs/common/components/hosts/AITableMemo.js +16 -13
- package/build/cjs/common/components/hosts/AITableMemo.js.map +1 -1
- package/build/cjs/common/components/hosts/DiskRole.js +5 -5
- package/build/cjs/common/components/hosts/DiskRole.js.map +1 -1
- package/build/cjs/common/components/hosts/HostPropertyValidationPopover.js +12 -9
- package/build/cjs/common/components/hosts/HostPropertyValidationPopover.js.map +1 -1
- package/build/cjs/common/components/hosts/HostRowDetail.js +35 -1
- package/build/cjs/common/components/hosts/HostRowDetail.js.map +1 -1
- package/build/cjs/common/components/hosts/HostStatus.js +1 -1
- package/build/cjs/common/components/hosts/HostStatus.js.map +1 -1
- package/build/cjs/common/components/hosts/HostToolbarActions.js +3 -3
- package/build/cjs/common/components/hosts/HostToolbarActions.js.map +1 -1
- package/build/cjs/common/components/hosts/HostValidationGroups.js +27 -5
- package/build/cjs/common/components/hosts/HostValidationGroups.js.map +1 -1
- package/build/cjs/common/components/hosts/TableToolbar.js +15 -15
- package/build/cjs/common/components/hosts/TableToolbar.js.map +1 -1
- package/build/cjs/common/components/hosts/utils.js +1 -1
- package/build/cjs/common/components/hosts/utils.js.map +1 -1
- package/build/cjs/common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge.js.map +1 -1
- package/build/cjs/common/components/operators/operatorSpecs.js +215 -0
- package/build/cjs/common/components/operators/operatorSpecs.js.map +1 -0
- package/build/cjs/common/components/storage/DisksTable.js +14 -10
- package/build/cjs/common/components/storage/DisksTable.js.map +1 -1
- package/build/cjs/common/components/ui/ClusterEventsToolbar.js +18 -10
- package/build/cjs/common/components/ui/ClusterEventsToolbar.js.map +1 -1
- package/build/cjs/common/components/ui/DeveloperPreview.js +2 -1
- package/build/cjs/common/components/ui/DeveloperPreview.js.map +1 -1
- package/build/cjs/common/components/ui/OpenShiftVersionDropdown.js +13 -16
- package/build/cjs/common/components/ui/OpenShiftVersionDropdown.js.map +1 -1
- package/build/cjs/common/components/ui/SimpleDropdown.js +4 -5
- package/build/cjs/common/components/ui/SimpleDropdown.js.map +1 -1
- package/build/cjs/common/components/ui/WizardFooter.js +6 -4
- package/build/cjs/common/components/ui/WizardFooter.js.map +1 -1
- package/build/cjs/common/components/ui/WizardNavItem.js +2 -2
- package/build/cjs/common/components/ui/WizardNavItem.js.map +1 -1
- package/build/cjs/common/components/ui/formik/MultiSelectField.js +26 -28
- package/build/cjs/common/components/ui/formik/MultiSelectField.js.map +1 -1
- package/build/cjs/common/components/ui/utils.js +1 -1
- package/build/cjs/common/components/ui/utils.js.map +1 -1
- package/build/cjs/common/config/constants.js +42 -60
- package/build/cjs/common/config/constants.js.map +1 -1
- package/build/cjs/common/config/docs_links.js +43 -5
- package/build/cjs/common/config/docs_links.js.map +1 -1
- package/build/cjs/common/hooks/index.js +3 -1
- package/build/cjs/common/hooks/index.js.map +1 -1
- package/build/cjs/common/index.js +2 -3
- package/build/cjs/common/index.js.map +1 -1
- package/build/cjs/common/selectors/clusterSelectors.js +7 -1
- package/build/cjs/common/selectors/clusterSelectors.js.map +1 -1
- package/build/cjs/common/types/clusters.js.map +1 -1
- package/build/cjs/common/utils.js +6 -1
- package/build/cjs/common/utils.js.map +1 -1
- package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2Wizard.js +2 -2
- package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2Wizard.js.map +1 -1
- package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2WizardNav.js +5 -5
- package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2WizardNav.js.map +1 -1
- package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.js +10 -9
- package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.js.map +1 -1
- package/build/cjs/ocm/components/HostsClusterDetailTab/utils.js +8 -4
- package/build/cjs/ocm/components/HostsClusterDetailTab/utils.js.map +1 -1
- package/build/cjs/ocm/components/SentryErrorMonitorContextProvider.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.js +70 -0
- package/build/cjs/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.js.map +1 -0
- package/build/cjs/ocm/components/clusterConfiguration/CpuArchitectureDropdown.js +3 -5
- package/build/cjs/ocm/components/clusterConfiguration/CpuArchitectureDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/CustomManifestCheckbox.js +0 -11
- package/build/cjs/ocm/components/clusterConfiguration/CustomManifestCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageModal.js +14 -1
- package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageModal.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageTypeDropdown.js +15 -17
- package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageTypeDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/HostInventory.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmBaseDomainField.js +5 -7
- package/build/cjs/ocm/components/clusterConfiguration/OcmBaseDomainField.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js +6 -7
- package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmClusterProgressItems.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmClusterProgressItems.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmOperatorProgressItem.js +6 -8
- package/build/cjs/ocm/components/clusterConfiguration/OcmOperatorProgressItem.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.js +6 -8
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js +23 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.js +7 -10
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/OperatorCheckbox.js +91 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/OperatorCheckbox.js.map +1 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/bundleSpecs.js +23 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/bundleSpecs.js.map +1 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/utils.js +54 -19
- package/build/cjs/ocm/components/clusterConfiguration/operators/utils.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.js +38 -23
- package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.js +24 -18
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewStep.js +2 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewStep.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewSummary.js +1 -6
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewSummary.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/BondsSelect.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHostsFields.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHostsFields.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.js +8 -2
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.js +3 -3
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/formDataToInfraEnvField.js +0 -2
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/formDataToInfraEnvField.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/nmstateYaml.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/nmstateYaml.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/AssistedInstallerDetailCard.js +11 -11
- package/build/cjs/ocm/components/clusterDetail/AssistedInstallerDetailCard.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ClusterDetailStatusMessages.js +16 -14
- package/build/cjs/ocm/components/clusterDetail/ClusterDetailStatusMessages.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ClusterDetailsButtonGroup.js +1 -0
- package/build/cjs/ocm/components/clusterDetail/ClusterDetailsButtonGroup.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ProgressBarAlerts.js +3 -21
- package/build/cjs/ocm/components/clusterDetail/ProgressBarAlerts.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js +8 -0
- package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js +5 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizard.js +3 -0
- package/build/cjs/ocm/components/clusterWizard/ClusterWizard.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js +2 -3
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardFooter.js +11 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardFooter.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardNavigation.js +5 -5
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardNavigation.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/CredentialsDownload.js +62 -0
- package/build/cjs/ocm/components/clusterWizard/CredentialsDownload.js.map +1 -0
- package/build/cjs/ocm/components/clusterWizard/KubeconfigDownload.js +21 -0
- package/build/cjs/ocm/components/clusterWizard/KubeconfigDownload.js.map +1 -0
- package/build/cjs/ocm/components/clusterWizard/Operators.js +11 -22
- package/build/cjs/ocm/components/clusterWizard/Operators.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/OperatorsBundle.css +6 -0
- package/build/cjs/ocm/components/clusterWizard/OperatorsBundle.js +123 -0
- package/build/cjs/ocm/components/clusterWizard/OperatorsBundle.js.map +1 -0
- package/build/cjs/ocm/components/clusterWizard/OperatorsSelect.js +63 -0
- package/build/cjs/ocm/components/clusterWizard/OperatorsSelect.js.map +1 -0
- package/build/cjs/ocm/components/clusterWizard/OperatorsStep.js +33 -22
- package/build/cjs/ocm/components/clusterWizard/OperatorsStep.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/constants.js +1 -0
- package/build/cjs/ocm/components/clusterWizard/constants.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/index.js +3 -1
- package/build/cjs/ocm/components/clusterWizard/index.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/wizardTransition.js +10 -6
- package/build/cjs/ocm/components/clusterWizard/wizardTransition.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClusterPage.js +4 -6
- package/build/cjs/ocm/components/clusters/ClusterPage.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClustersListToolbar.js +3 -3
- package/build/cjs/ocm/components/clusters/ClustersListToolbar.js.map +1 -1
- package/build/cjs/ocm/components/clusters/index.js +7 -1
- package/build/cjs/ocm/components/clusters/index.js.map +1 -1
- package/build/cjs/ocm/components/clusters/utils.js +1 -14
- package/build/cjs/ocm/components/clusters/utils.js.map +1 -1
- package/build/cjs/ocm/components/featureSupportLevels/FeatureSupportLevelProvider.js +0 -1
- package/build/cjs/ocm/components/featureSupportLevels/FeatureSupportLevelProvider.js.map +1 -1
- package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js +85 -61
- package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js.map +1 -1
- package/build/cjs/ocm/components/hosts/ModalDialogsContext.js +1 -0
- package/build/cjs/ocm/components/hosts/ModalDialogsContext.js.map +1 -1
- package/build/cjs/ocm/components/index.js +2 -0
- package/build/cjs/ocm/components/index.js.map +1 -1
- package/build/cjs/ocm/components/utils.js +1 -10
- package/build/cjs/ocm/components/utils.js.map +1 -1
- package/build/cjs/ocm/hooks/index.js +5 -1
- package/build/cjs/ocm/hooks/index.js.map +1 -1
- package/build/cjs/ocm/hooks/useInfraEnv.js +2 -2
- package/build/cjs/ocm/hooks/useInfraEnv.js.map +1 -1
- package/build/cjs/ocm/index.js +1 -0
- package/build/cjs/ocm/index.js.map +1 -1
- package/build/cjs/ocm/sentry.js +1 -1
- package/build/cjs/ocm/sentry.js.map +1 -1
- package/build/cjs/ocm/services/BundleService.js +20 -0
- package/build/cjs/ocm/services/BundleService.js.map +1 -0
- package/build/cjs/ocm/services/ClusterDetailsService.js +2 -1
- package/build/cjs/ocm/services/ClusterDetailsService.js.map +1 -1
- package/build/cjs/ocm/services/ClustersService.js +7 -1
- package/build/cjs/ocm/services/ClustersService.js.map +1 -1
- package/build/cjs/ocm/services/OperatorsService.js +6 -50
- package/build/cjs/ocm/services/OperatorsService.js.map +1 -1
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscovery.tsx +8 -6
- package/lib/cim/components/ClusterDeployment/LabelsSelector.tsx +27 -14
- package/lib/cim/components/ClusterDeployment/ShortCapacitySummary.tsx +1 -1
- package/lib/cim/components/InfraEnv/AddHostDropdown.tsx +59 -47
- package/lib/cim/components/InfraEnv/InfraEnvAgentTable.tsx +1 -1
- package/lib/cim/components/InfraEnv/InfraEnvOpenShiftVersionDropdown.tsx +34 -22
- package/lib/cim/components/InfraEnv/InfraTableToolbar.tsx +40 -28
- package/lib/cim/components/common/CpuArchitectureDropdown.tsx +5 -2
- package/lib/cim/components/featureSupportLevels/ACMFeatureSupportLevelProvider.tsx +2 -1
- package/lib/cim/components/helpers/versions.ts +1 -5
- package/lib/cim/components/modals/MassApproveAction.tsx +1 -1
- package/lib/cim/index.ts +1 -0
- package/lib/common/api/assisted-service/BundleAPI.ts +18 -0
- package/lib/common/api/assisted-service/ClustersAPI.ts +6 -0
- package/lib/common/api/assisted-service/OperatorsAPI.ts +13 -0
- package/lib/common/api/index.ts +1 -0
- package/lib/common/components/clusterConfiguration/ControlPlaneNodesDropdown.tsx +30 -17
- package/lib/common/components/clusterConfiguration/DownloadIso.tsx +9 -1
- package/lib/common/components/clusterDetail/ClusterCredentials.tsx +12 -2
- package/lib/common/components/clusterDetail/ClusterProgressItems.tsx +1 -4
- package/lib/common/components/clusterDetail/OperatorsProgressItem.tsx +6 -12
- package/lib/common/components/clusterDetail/index.ts +1 -0
- package/lib/common/components/clusterWizard/ClusterWizardStep.tsx +2 -4
- package/lib/common/components/clusterWizard/clusterDetailsValidation.ts +7 -6
- package/lib/common/components/clusterWizard/types.ts +3 -1
- package/lib/common/components/hosts/AITableMemo.tsx +1 -1
- package/lib/common/components/hosts/DiskRole.tsx +23 -17
- package/lib/common/components/hosts/HostPropertyValidationPopover.tsx +10 -4
- package/lib/common/components/hosts/HostRowDetail.tsx +71 -1
- package/lib/common/components/hosts/HostStatus.tsx +1 -2
- package/lib/common/components/hosts/HostToolbarActions.tsx +1 -1
- package/lib/common/components/hosts/HostValidationGroups.tsx +52 -5
- package/lib/common/components/hosts/TableToolbar.tsx +54 -48
- package/lib/common/components/hosts/utils.ts +1 -1
- package/lib/common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge.tsx +2 -2
- package/lib/common/components/newFeatureSupportLevels/types.ts +16 -9
- package/lib/common/components/operators/operatorSpecs.tsx +344 -0
- package/lib/common/components/storage/DisksTable.tsx +24 -19
- package/lib/common/components/ui/ClusterEventsToolbar.tsx +78 -45
- package/lib/common/components/ui/DeveloperPreview.tsx +2 -0
- package/lib/common/components/ui/OpenShiftVersionDropdown.tsx +38 -44
- package/lib/common/components/ui/SimpleDropdown.tsx +23 -22
- package/lib/common/components/ui/WizardFooter.tsx +29 -10
- package/lib/common/components/ui/WizardNavItem.tsx +1 -1
- package/lib/common/components/ui/formik/MultiSelectField.tsx +98 -58
- package/lib/common/components/ui/formik/types.ts +2 -2
- package/lib/common/components/ui/utils.ts +4 -2
- package/lib/common/config/constants.ts +42 -73
- package/lib/common/config/docs_links.ts +87 -6
- package/lib/common/hooks/index.ts +1 -0
- package/lib/common/index.ts +2 -4
- package/lib/common/selectors/clusterSelectors.ts +9 -2
- package/lib/common/types/clusters.ts +3 -7
- package/lib/common/types/ui-settings.ts +1 -0
- package/lib/common/utils.ts +5 -0
- package/lib/ocm/components/AddHosts/day2Wizard/Day2Wizard.tsx +1 -1
- package/lib/ocm/components/AddHosts/day2Wizard/Day2WizardNav.tsx +5 -5
- package/lib/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.tsx +12 -9
- package/lib/ocm/components/HostsClusterDetailTab/utils.ts +5 -1
- package/lib/ocm/components/SentryErrorMonitorContextProvider.tsx +1 -2
- package/lib/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.tsx +158 -0
- package/lib/ocm/components/clusterConfiguration/CpuArchitectureDropdown.tsx +26 -20
- package/lib/ocm/components/clusterConfiguration/CustomManifestCheckbox.tsx +0 -13
- package/lib/ocm/components/clusterConfiguration/DiscoveryImageModal.tsx +24 -1
- package/lib/ocm/components/clusterConfiguration/DiscoveryImageTypeDropdown.tsx +47 -46
- package/lib/ocm/components/clusterConfiguration/HostInventory.tsx +0 -1
- package/lib/ocm/components/clusterConfiguration/OcmBaseDomainField.tsx +16 -13
- package/lib/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.tsx +18 -20
- package/lib/ocm/components/clusterConfiguration/OcmClusterProgressItems.tsx +1 -4
- package/lib/ocm/components/clusterConfiguration/OcmOperatorProgressItem.tsx +5 -10
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.tsx +25 -26
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.tsx +29 -1
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.tsx +24 -29
- package/lib/ocm/components/clusterConfiguration/operators/OperatorCheckbox.tsx +210 -0
- package/lib/ocm/components/clusterConfiguration/operators/bundleSpecs.tsx +43 -0
- package/lib/ocm/components/clusterConfiguration/operators/utils.tsx +88 -31
- package/lib/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.tsx +89 -63
- package/lib/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.tsx +46 -43
- package/lib/ocm/components/clusterConfiguration/review/ReviewStep.tsx +2 -1
- package/lib/ocm/components/clusterConfiguration/review/ReviewSummary.tsx +1 -15
- package/lib/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/BondsSelect.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHostsFields.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.tsx +13 -8
- package/lib/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.tsx +9 -7
- package/lib/ocm/components/clusterConfiguration/staticIp/data/formDataToInfraEnvField.ts +0 -2
- package/lib/ocm/components/clusterConfiguration/staticIp/data/nmstateYaml.ts +1 -1
- package/lib/ocm/components/clusterDetail/AssistedInstallerDetailCard.tsx +38 -28
- package/lib/ocm/components/clusterDetail/ClusterDetailStatusMessages.tsx +18 -19
- package/lib/ocm/components/clusterDetail/ClusterDetailsButtonGroup.tsx +2 -0
- package/lib/ocm/components/clusterDetail/ProgressBarAlerts.tsx +3 -36
- package/lib/ocm/components/clusterWizard/ClusterDetails.tsx +8 -0
- package/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx +7 -1
- package/lib/ocm/components/clusterWizard/ClusterWizard.tsx +3 -0
- package/lib/ocm/components/clusterWizard/ClusterWizardContextProvider.tsx +1 -3
- package/lib/ocm/components/clusterWizard/ClusterWizardFooter.tsx +15 -1
- package/lib/ocm/components/clusterWizard/ClusterWizardNavigation.tsx +5 -5
- package/lib/ocm/components/clusterWizard/CredentialsDownload.tsx +105 -0
- package/lib/ocm/components/clusterWizard/KubeconfigDownload.tsx +39 -0
- package/lib/ocm/components/clusterWizard/Operators.tsx +17 -41
- package/lib/ocm/components/clusterWizard/OperatorsBundle.css +6 -0
- package/lib/ocm/components/clusterWizard/OperatorsBundle.tsx +244 -0
- package/lib/ocm/components/clusterWizard/OperatorsSelect.tsx +108 -0
- package/lib/ocm/components/clusterWizard/OperatorsStep.tsx +48 -36
- package/lib/ocm/components/clusterWizard/_wizardTransition.test.ts +25 -0
- package/lib/ocm/components/clusterWizard/constants.ts +1 -0
- package/lib/ocm/components/clusterWizard/index.ts +1 -0
- package/lib/ocm/components/clusterWizard/wizardTransition.ts +12 -7
- package/lib/ocm/components/clusters/ClusterPage.tsx +11 -8
- package/lib/ocm/components/clusters/ClustersListToolbar.tsx +39 -19
- package/lib/ocm/components/clusters/index.ts +3 -0
- package/lib/ocm/components/clusters/utils.ts +0 -19
- package/lib/ocm/components/featureSupportLevels/FeatureSupportLevelProvider.tsx +0 -1
- package/lib/ocm/components/featureSupportLevels/featureStateUtils.ts +94 -69
- package/lib/ocm/components/hosts/ModalDialogsContext.tsx +8 -1
- package/lib/ocm/components/index.ts +2 -0
- package/lib/ocm/components/utils.ts +0 -12
- package/lib/ocm/hooks/index.ts +2 -0
- package/lib/ocm/hooks/useInfraEnv.ts +1 -1
- package/lib/ocm/index.ts +1 -0
- package/lib/ocm/sentry.ts +2 -1
- package/lib/ocm/services/BundleService.ts +14 -0
- package/lib/ocm/services/ClusterDetailsService.ts +2 -1
- package/lib/ocm/services/ClustersService.ts +11 -3
- package/lib/ocm/services/OperatorsService.tsx +4 -76
- package/package.json +3 -3
- package/build/@types/ocm/components/clusterConfiguration/OcmSNOControlGroup.d.ts +0 -10
- package/build/@types/ocm/components/clusterConfiguration/OcmSNOControlGroup.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/CnvCheckbox.d.ts +0 -8
- package/build/@types/ocm/components/clusterConfiguration/operators/CnvCheckbox.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/CnvHostRequirements.d.ts +0 -8
- package/build/@types/ocm/components/clusterConfiguration/operators/CnvHostRequirements.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/LvmCheckbox.d.ts +0 -8
- package/build/@types/ocm/components/clusterConfiguration/operators/LvmCheckbox.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/LvmHostRequirements.d.ts +0 -7
- package/build/@types/ocm/components/clusterConfiguration/operators/LvmHostRequirements.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/MceCheckbox.d.ts +0 -9
- package/build/@types/ocm/components/clusterConfiguration/operators/MceCheckbox.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/MceRequirements.d.ts +0 -8
- package/build/@types/ocm/components/clusterConfiguration/operators/MceRequirements.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/MtvOperatorCheckbox.d.ts +0 -7
- package/build/@types/ocm/components/clusterConfiguration/operators/MtvOperatorCheckbox.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/MtvRequirements.d.ts +0 -7
- package/build/@types/ocm/components/clusterConfiguration/operators/MtvRequirements.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/OdfCheckbox.d.ts +0 -4
- package/build/@types/ocm/components/clusterConfiguration/operators/OdfCheckbox.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/OpenShiftAICheckbox.d.ts +0 -4
- package/build/@types/ocm/components/clusterConfiguration/operators/OpenShiftAICheckbox.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/OpenShiftAIRequirements.d.ts +0 -4
- package/build/@types/ocm/components/clusterConfiguration/operators/OpenShiftAIRequirements.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterDetail/RebootNodeZeroModal.d.ts +0 -7
- package/build/@types/ocm/components/clusterDetail/RebootNodeZeroModal.d.ts.map +0 -1
- package/build/cjs/common/components/ui/OpenShiftVersionDropdown.css +0 -9
- package/build/cjs/ocm/components/clusterConfiguration/OcmSNOControlGroup.js +0 -20
- package/build/cjs/ocm/components/clusterConfiguration/OcmSNOControlGroup.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/CnvCheckbox.js +0 -49
- package/build/cjs/ocm/components/clusterConfiguration/operators/CnvCheckbox.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/CnvHostRequirements.js +0 -55
- package/build/cjs/ocm/components/clusterConfiguration/operators/CnvHostRequirements.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/LvmCheckbox.js +0 -61
- package/build/cjs/ocm/components/clusterConfiguration/operators/LvmCheckbox.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/LvmHostRequirements.js +0 -22
- package/build/cjs/ocm/components/clusterConfiguration/operators/LvmHostRequirements.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/MceCheckbox.js +0 -36
- package/build/cjs/ocm/components/clusterConfiguration/operators/MceCheckbox.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/MceRequirements.js +0 -54
- package/build/cjs/ocm/components/clusterConfiguration/operators/MceRequirements.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/MtvOperatorCheckbox.js +0 -41
- package/build/cjs/ocm/components/clusterConfiguration/operators/MtvOperatorCheckbox.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/MtvRequirements.js +0 -51
- package/build/cjs/ocm/components/clusterConfiguration/operators/MtvRequirements.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/OdfCheckbox.js +0 -46
- package/build/cjs/ocm/components/clusterConfiguration/operators/OdfCheckbox.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/OpenShiftAICheckbox.js +0 -48
- package/build/cjs/ocm/components/clusterConfiguration/operators/OpenShiftAICheckbox.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/OpenShiftAIRequirements.js +0 -30
- package/build/cjs/ocm/components/clusterConfiguration/operators/OpenShiftAIRequirements.js.map +0 -1
- package/build/cjs/ocm/components/clusterDetail/RebootNodeZeroModal.css +0 -7
- package/build/cjs/ocm/components/clusterDetail/RebootNodeZeroModal.js +0 -35
- package/build/cjs/ocm/components/clusterDetail/RebootNodeZeroModal.js.map +0 -1
- package/lib/common/components/ui/OpenShiftVersionDropdown.css +0 -9
- package/lib/ocm/components/clusterConfiguration/OcmSNOControlGroup.tsx +0 -62
- package/lib/ocm/components/clusterConfiguration/operators/CnvCheckbox.tsx +0 -108
- package/lib/ocm/components/clusterConfiguration/operators/CnvHostRequirements.tsx +0 -64
- package/lib/ocm/components/clusterConfiguration/operators/LvmCheckbox.tsx +0 -130
- package/lib/ocm/components/clusterConfiguration/operators/LvmHostRequirements.tsx +0 -38
- package/lib/ocm/components/clusterConfiguration/operators/MceCheckbox.tsx +0 -83
- package/lib/ocm/components/clusterConfiguration/operators/MceRequirements.tsx +0 -61
- package/lib/ocm/components/clusterConfiguration/operators/MtvOperatorCheckbox.tsx +0 -79
- package/lib/ocm/components/clusterConfiguration/operators/MtvRequirements.tsx +0 -52
- package/lib/ocm/components/clusterConfiguration/operators/OdfCheckbox.tsx +0 -74
- package/lib/ocm/components/clusterConfiguration/operators/OpenShiftAICheckbox.tsx +0 -80
- package/lib/ocm/components/clusterConfiguration/operators/OpenShiftAIRequirements.tsx +0 -36
- package/lib/ocm/components/clusterDetail/RebootNodeZeroModal.css +0 -7
- package/lib/ocm/components/clusterDetail/RebootNodeZeroModal.tsx +0 -69
- /package/build/cjs/{common/styles.css → ocm/components/clusterDetail/ClusterDetailsButtonGroup.css} +0 -0
- /package/lib/{common/styles.css → ocm/components/clusterDetail/ClusterDetailsButtonGroup.css} +0 -0
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Alert } from '@patternfly/react-core';
|
|
3
3
|
import {
|
|
4
|
-
RenderIf,
|
|
5
4
|
REDHAT_CONSOLE_OPENSHIFT,
|
|
6
5
|
canDownloadKubeconfig,
|
|
7
6
|
isSNO,
|
|
@@ -16,6 +15,7 @@ import { ExternalPlatformLinks } from '../clusterConfiguration/platformIntegrati
|
|
|
16
15
|
import { useNewFeatureSupportLevel } from '../../../common/components/newFeatureSupportLevels';
|
|
17
16
|
import { Cluster, PlatformType } from '@openshift-assisted/types/assisted-installer-service';
|
|
18
17
|
import PostInstallAlert from '../../../common/components/clusterDetail/PostInstallAlert';
|
|
18
|
+
import { useFeature } from '../../hooks/use-feature';
|
|
19
19
|
|
|
20
20
|
type ClusterDetailStatusMessagesProps = {
|
|
21
21
|
cluster: Cluster;
|
|
@@ -26,6 +26,7 @@ const ClusterDetailStatusMessages = ({
|
|
|
26
26
|
cluster,
|
|
27
27
|
showAddHostsInfo,
|
|
28
28
|
}: ClusterDetailStatusMessagesProps) => {
|
|
29
|
+
const isSingleClusterFeatureEnabled = useFeature('ASSISTED_INSTALLER_SINGLE_CLUSTER_FEATURE');
|
|
29
30
|
const featureSupportLevelContext = useNewFeatureSupportLevel();
|
|
30
31
|
const { inactiveDeletionHours } = useDefaultConfiguration(['inactiveDeletionHours']);
|
|
31
32
|
const inactiveDeletionDays = Math.round((inactiveDeletionHours || 0) / 24);
|
|
@@ -43,23 +44,21 @@ const ClusterDetailStatusMessages = ({
|
|
|
43
44
|
|
|
44
45
|
return (
|
|
45
46
|
<>
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
</RenderIf>
|
|
62
|
-
<RenderIf condition={showAddHostsAlert}>
|
|
47
|
+
{!isSingleClusterFeatureEnabled &&
|
|
48
|
+
typeof inactiveDeletionHours === 'number' &&
|
|
49
|
+
canDownloadKubeconfig(cluster.status) && (
|
|
50
|
+
<Alert
|
|
51
|
+
variant="info"
|
|
52
|
+
isInline
|
|
53
|
+
title={
|
|
54
|
+
dateDifference > 0
|
|
55
|
+
? `Download and save your kubeconfig file in a safe place. This file will be automatically ` +
|
|
56
|
+
`deleted from Assisted Installer's service in ${dateDifference} days.`
|
|
57
|
+
: `Kubeconfig file was automatically deleted ${inactiveDeletionDays} days after installation.`
|
|
58
|
+
}
|
|
59
|
+
/>
|
|
60
|
+
)}
|
|
61
|
+
{showAddHostsAlert && (
|
|
63
62
|
<Alert
|
|
64
63
|
variant="info"
|
|
65
64
|
isInline
|
|
@@ -76,7 +75,7 @@ const ClusterDetailStatusMessages = ({
|
|
|
76
75
|
</p>
|
|
77
76
|
}
|
|
78
77
|
/>
|
|
79
|
-
|
|
78
|
+
)}
|
|
80
79
|
{platformLink && <PostInstallAlert link={platformLink} />}
|
|
81
80
|
</>
|
|
82
81
|
);
|
|
@@ -15,6 +15,8 @@ import ViewClusterEventsButton from '../../../common/components/ui/ViewClusterEv
|
|
|
15
15
|
import { LaunchOpenshiftConsoleButton } from '../../../common/components/clusterDetail/ConsoleModal';
|
|
16
16
|
import { Cluster, Credentials } from '@openshift-assisted/types/assisted-installer-service';
|
|
17
17
|
|
|
18
|
+
import './ClusterDetailsButtonGroup.css';
|
|
19
|
+
|
|
18
20
|
type ClusterDetailsButtonGroupProps = {
|
|
19
21
|
cluster: Cluster;
|
|
20
22
|
credentials?: Credentials;
|
|
@@ -1,25 +1,18 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Alert, AlertActionLink, Text, TextContent } from '@patternfly/react-core';
|
|
3
3
|
import { pluralize } from 'humanize-plus';
|
|
4
|
-
import { TFunction } from 'i18next';
|
|
5
4
|
import {
|
|
6
5
|
RenderIf,
|
|
7
6
|
toSentence,
|
|
8
7
|
canDownloadClusterLogs,
|
|
9
8
|
getReportIssueLink,
|
|
10
|
-
operatorLabels,
|
|
11
9
|
useAlerts,
|
|
12
|
-
OperatorName,
|
|
13
10
|
} from '../../../common';
|
|
14
|
-
import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
|
|
15
11
|
import { downloadClusterInstallationLogs } from './utils';
|
|
16
12
|
import { useModalDialogsContext } from '../hosts/ModalDialogsContext';
|
|
17
13
|
import { isInOcm } from '../../../common/api';
|
|
18
|
-
import {
|
|
19
|
-
NewFeatureSupportLevelData,
|
|
20
|
-
useNewFeatureSupportLevel,
|
|
21
|
-
} from '../../../common/components/newFeatureSupportLevels';
|
|
22
14
|
import { Cluster, MonitoredOperator } from '@openshift-assisted/types/assisted-installer-service';
|
|
15
|
+
import { useOperatorSpecs } from '../../../common/components/operators/operatorSpecs';
|
|
23
16
|
|
|
24
17
|
type InstallationProgressWarningProps = {
|
|
25
18
|
cluster: Cluster;
|
|
@@ -32,26 +25,6 @@ type InstallationProgressWarningProps = {
|
|
|
32
25
|
isCriticalNumberOfWorkersFailed?: boolean;
|
|
33
26
|
};
|
|
34
27
|
|
|
35
|
-
const getFailedOperatorsNames = (
|
|
36
|
-
failedOperators: MonitoredOperator[],
|
|
37
|
-
openshiftVersion: Cluster['openshiftVersion'],
|
|
38
|
-
featureSupportLevel: NewFeatureSupportLevelData,
|
|
39
|
-
t: TFunction,
|
|
40
|
-
): string => {
|
|
41
|
-
let failedOperatorsNames = '';
|
|
42
|
-
const translatedOperatorLabels = operatorLabels(t, featureSupportLevel);
|
|
43
|
-
for (let i = 0; i < failedOperators.length; i++) {
|
|
44
|
-
const operatorName = (failedOperators[i].name as OperatorName) || '';
|
|
45
|
-
const operatorLabel: string = (operatorName && translatedOperatorLabels[operatorName]) || '';
|
|
46
|
-
if (i > 0) {
|
|
47
|
-
if (i === failedOperators.length - 1) failedOperatorsNames += ' and ';
|
|
48
|
-
else failedOperatorsNames += ', ';
|
|
49
|
-
}
|
|
50
|
-
failedOperatorsNames += `${operatorLabel} (${operatorName.toUpperCase()})`;
|
|
51
|
-
}
|
|
52
|
-
return failedOperatorsNames;
|
|
53
|
-
};
|
|
54
|
-
|
|
55
28
|
const getFailedHostsMessage = (
|
|
56
29
|
failedHosts: number,
|
|
57
30
|
totalHosts: number,
|
|
@@ -93,8 +66,7 @@ export const HostInstallationWarning = ({
|
|
|
93
66
|
message,
|
|
94
67
|
}: InstallationProgressWarningProps) => {
|
|
95
68
|
const { addAlert, clearAlerts } = useAlerts();
|
|
96
|
-
const
|
|
97
|
-
const featureSupportLevel = useNewFeatureSupportLevel();
|
|
69
|
+
const opSpecs = useOperatorSpecs();
|
|
98
70
|
|
|
99
71
|
return (
|
|
100
72
|
<>
|
|
@@ -121,12 +93,7 @@ export const HostInstallationWarning = ({
|
|
|
121
93
|
</RenderIf>
|
|
122
94
|
<RenderIf condition={failedOperators?.length > 0}>
|
|
123
95
|
<p>
|
|
124
|
-
{
|
|
125
|
-
failedOperators,
|
|
126
|
-
cluster.openshiftVersion,
|
|
127
|
-
featureSupportLevel,
|
|
128
|
-
t,
|
|
129
|
-
)}{' '}
|
|
96
|
+
{failedOperators.map(({ name }) => opSpecs[name || '']?.title || name).join(' and ')}{' '}
|
|
130
97
|
failed to install. Due to this, the cluster will be degraded, but you can try to install
|
|
131
98
|
the operator from the Operator Hub. Please check the installation log for more
|
|
132
99
|
information.
|
|
@@ -75,9 +75,17 @@ const ClusterDetails = ({ cluster, infraEnv }: ClusterDetailsProps) => {
|
|
|
75
75
|
try {
|
|
76
76
|
const searchParams = new URLSearchParams(location.search);
|
|
77
77
|
const isAssistedMigration = searchParams.get('source') === 'assisted_migration';
|
|
78
|
+
//For Assisted Migration we need to LVMs operator
|
|
79
|
+
if (isAssistedMigration) {
|
|
80
|
+
params.olmOperators = [{ name: 'lvm' }];
|
|
81
|
+
}
|
|
78
82
|
const cluster = await ClustersService.create(params, isAssistedMigration);
|
|
79
83
|
navigate(`../${cluster.id}`, { state: ClusterWizardFlowStateNew });
|
|
80
84
|
await UISettingService.update(cluster.id, { addCustomManifests });
|
|
85
|
+
//For Assisted Migration we need to enable virtualization bundle
|
|
86
|
+
if (isAssistedMigration) {
|
|
87
|
+
await UISettingService.update(cluster.id, { bundlesSelected: ['virtualization'] });
|
|
88
|
+
}
|
|
81
89
|
} catch (e) {
|
|
82
90
|
handleApiError(e, () =>
|
|
83
91
|
addAlert({ title: 'Failed to create new cluster', message: getApiErrorMessage(e) }),
|
|
@@ -31,6 +31,7 @@ import {
|
|
|
31
31
|
InfraEnv,
|
|
32
32
|
ManagedDomain,
|
|
33
33
|
} from '@openshift-assisted/types/assisted-installer-service';
|
|
34
|
+
import { useFeature } from '../../hooks/use-feature';
|
|
34
35
|
|
|
35
36
|
type ClusterDetailsFormProps = {
|
|
36
37
|
cluster?: Cluster;
|
|
@@ -67,6 +68,7 @@ const ClusterDetailsForm = (props: ClusterDetailsFormProps) => {
|
|
|
67
68
|
const { search } = useLocation();
|
|
68
69
|
const { isViewerMode } = useSelector(selectCurrentClusterPermissionsState);
|
|
69
70
|
const { clearAlerts } = useAlerts();
|
|
71
|
+
const isSingleClusterFeatureEnabled = useFeature('ASSISTED_INSTALLER_SINGLE_CLUSTER_FEATURE');
|
|
70
72
|
|
|
71
73
|
const handleSubmit = React.useCallback(
|
|
72
74
|
async (values: OcmClusterDetailsValues) => {
|
|
@@ -175,7 +177,11 @@ const ClusterDetailsForm = (props: ClusterDetailsFormProps) => {
|
|
|
175
177
|
<GridItem span={12} lg={10} xl={9} xl2={7}>
|
|
176
178
|
<OcmClusterDetailsFormFields
|
|
177
179
|
versions={ocpVersions}
|
|
178
|
-
forceOpenshiftVersion={
|
|
180
|
+
forceOpenshiftVersion={
|
|
181
|
+
isSingleClusterFeatureEnabled
|
|
182
|
+
? ocpVersions[0].version
|
|
183
|
+
: cluster?.openshiftVersion
|
|
184
|
+
}
|
|
179
185
|
isPullSecretSet={!!cluster?.pullSecretSet}
|
|
180
186
|
defaultPullSecret={pullSecret}
|
|
181
187
|
isOcm={isInOcm}
|
|
@@ -16,6 +16,7 @@ import {
|
|
|
16
16
|
InfraEnv,
|
|
17
17
|
InfraEnvUpdateParams,
|
|
18
18
|
} from '@openshift-assisted/types/assisted-installer-service';
|
|
19
|
+
import CredentialsDownload from './CredentialsDownload';
|
|
19
20
|
|
|
20
21
|
type ClusterWizardProps = {
|
|
21
22
|
cluster: Cluster;
|
|
@@ -44,6 +45,8 @@ const ClusterWizard = ({ cluster, infraEnv, updateInfraEnv }: ClusterWizardProps
|
|
|
44
45
|
case 'static-ip-network-wide-configurations':
|
|
45
46
|
case 'static-ip-yaml-view':
|
|
46
47
|
return <StaticIp cluster={cluster} infraEnv={infraEnv} updateInfraEnv={updateInfraEnv} />;
|
|
48
|
+
case 'credentials-download':
|
|
49
|
+
return <CredentialsDownload cluster={cluster} />;
|
|
47
50
|
case 'cluster-details':
|
|
48
51
|
default:
|
|
49
52
|
return <ClusterDetails cluster={cluster} infraEnv={infraEnv} />;
|
|
@@ -69,8 +69,7 @@ const getWizardStepIds = (
|
|
|
69
69
|
stepsCopy = removeStepFromClusterWizard(stepsCopy, 'custom-manifests', 1);
|
|
70
70
|
}
|
|
71
71
|
if (isSingleClusterFeatureEnabled) {
|
|
72
|
-
|
|
73
|
-
stepsCopy = removeStepFromClusterWizard(stepsCopy, 'operators', 1);
|
|
72
|
+
stepsCopy = addStepToClusterWizard(stepsCopy, 'networking', ['credentials-download']);
|
|
74
73
|
}
|
|
75
74
|
|
|
76
75
|
return stepsCopy;
|
|
@@ -115,7 +114,6 @@ const ClusterWizardContextProvider = ({
|
|
|
115
114
|
staticIpInfo,
|
|
116
115
|
cluster?.status,
|
|
117
116
|
cluster?.hosts,
|
|
118
|
-
isSingleClusterFeatureEnabled,
|
|
119
117
|
customManifestsStepNeedsToBeFilled,
|
|
120
118
|
);
|
|
121
119
|
|
|
@@ -15,6 +15,8 @@ import ClusterWizardStepValidationsAlert from '../../../common/components/cluste
|
|
|
15
15
|
import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
|
|
16
16
|
import { onFetchEvents } from '../fetching/fetchEvents';
|
|
17
17
|
import { Cluster } from '@openshift-assisted/types/assisted-installer-service';
|
|
18
|
+
import { useFeature } from '../../hooks/use-feature';
|
|
19
|
+
import { useModalDialogsContext } from '../hosts/ModalDialogsContext';
|
|
18
20
|
|
|
19
21
|
type ClusterValidationSectionProps = {
|
|
20
22
|
cluster?: Cluster;
|
|
@@ -82,9 +84,16 @@ const ClusterWizardFooter = ({
|
|
|
82
84
|
}: ClusterWizardFooterProps) => {
|
|
83
85
|
const { alerts } = useAlerts();
|
|
84
86
|
const navigate = useNavigate();
|
|
87
|
+
const isSingleClusterFeatureEnabled = useFeature('ASSISTED_INSTALLER_SINGLE_CLUSTER_FEATURE');
|
|
88
|
+
const { currentStepId } = useClusterWizardContext();
|
|
89
|
+
const { resetSingleClusterDialog } = useModalDialogsContext();
|
|
85
90
|
|
|
86
91
|
const handleCancel = React.useCallback(() => navigate('/cluster-list'), [navigate]);
|
|
87
92
|
|
|
93
|
+
const handleReset = React.useCallback(() => {
|
|
94
|
+
resetSingleClusterDialog.open({ cluster });
|
|
95
|
+
}, [resetSingleClusterDialog, cluster]);
|
|
96
|
+
|
|
88
97
|
const alertsSection = alerts.length ? <Alerts /> : undefined;
|
|
89
98
|
|
|
90
99
|
const errorsSection = (
|
|
@@ -100,7 +109,12 @@ const ClusterWizardFooter = ({
|
|
|
100
109
|
<WizardFooter
|
|
101
110
|
alerts={alertsSection}
|
|
102
111
|
errors={errorsSection}
|
|
103
|
-
onCancel={onCancel || handleCancel}
|
|
112
|
+
onCancel={isSingleClusterFeatureEnabled ? undefined : onCancel || handleCancel}
|
|
113
|
+
onReset={
|
|
114
|
+
isSingleClusterFeatureEnabled && currentStepId !== 'cluster-details'
|
|
115
|
+
? handleReset
|
|
116
|
+
: undefined
|
|
117
|
+
}
|
|
104
118
|
leftExtraActions={additionalActions}
|
|
105
119
|
cluster={cluster}
|
|
106
120
|
onFetchEvents={onFetchEvents}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
|
-
import { WizardNav } from '@patternfly/react-core
|
|
2
|
+
import { WizardNav } from '@patternfly/react-core';
|
|
3
3
|
import {
|
|
4
4
|
canNextClusterDetails,
|
|
5
5
|
canNextHostDiscovery,
|
|
@@ -51,11 +51,11 @@ const ClusterWizardNavigation = ({ cluster }: { cluster?: Cluster }) => {
|
|
|
51
51
|
const getNavItem = (idx: number, stepId: ClusterWizardStepsType): ReactNode => {
|
|
52
52
|
return (
|
|
53
53
|
<WizardNavItem
|
|
54
|
-
|
|
54
|
+
stepIndex={idx}
|
|
55
55
|
key={stepId}
|
|
56
56
|
id={`wizard-nv-${stepId}`}
|
|
57
57
|
content={wizardStepNames[stepId]}
|
|
58
|
-
|
|
58
|
+
onClick={() => clusterWizardContext.setCurrentStepId(stepId)}
|
|
59
59
|
isCurrent={clusterWizardContext.currentStepId === stepId}
|
|
60
60
|
isDisabled={isStepDisabled(idx, stepId)}
|
|
61
61
|
isValid={() => isStepValid(stepId, cluster)}
|
|
@@ -66,14 +66,14 @@ const ClusterWizardNavigation = ({ cluster }: { cluster?: Cluster }) => {
|
|
|
66
66
|
const getStaticIpFormViewNavItem = (idx: number): ReactNode => {
|
|
67
67
|
return (
|
|
68
68
|
<WizardNavItem
|
|
69
|
-
|
|
69
|
+
stepIndex={idx}
|
|
70
70
|
isExpandable={true}
|
|
71
71
|
content="Static network configurations"
|
|
72
72
|
key="static-network-configuration-form-view"
|
|
73
73
|
isCurrent={isStaticIpStep(clusterWizardContext.currentStepId)}
|
|
74
74
|
isDisabled={isStepIdxAfterCurrent(idx)}
|
|
75
75
|
>
|
|
76
|
-
<WizardNav
|
|
76
|
+
<WizardNav isInnerList>
|
|
77
77
|
{staticIpFormViewSubSteps.map((stepId, subIdx) => {
|
|
78
78
|
return getNavItem(idx + subIdx, stepId);
|
|
79
79
|
})}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import {
|
|
3
|
+
ClustersAPI,
|
|
4
|
+
ClusterWizardStep,
|
|
5
|
+
ClusterWizardStepHeader,
|
|
6
|
+
getApiErrorMessage,
|
|
7
|
+
handleApiError,
|
|
8
|
+
KUBECONFIG_INFO_LINK,
|
|
9
|
+
useAlerts,
|
|
10
|
+
useTranslation,
|
|
11
|
+
} from '../../../common';
|
|
12
|
+
import { useClusterWizardContext } from './ClusterWizardContext';
|
|
13
|
+
import ClusterWizardFooter from './ClusterWizardFooter';
|
|
14
|
+
import ClusterWizardNavigation from './ClusterWizardNavigation';
|
|
15
|
+
import { WithErrorBoundary } from '../../../common/components/ErrorHandling/WithErrorBoundary';
|
|
16
|
+
import { Cluster } from '@openshift-assisted/types/assisted-installer-service';
|
|
17
|
+
import { Alert, AlertVariant, Checkbox, Stack } from '@patternfly/react-core';
|
|
18
|
+
import { downloadFile } from '../../../common/utils';
|
|
19
|
+
import { ExternalLinkAltIcon } from '@patternfly/react-icons/dist/js/icons/external-link-alt-icon';
|
|
20
|
+
|
|
21
|
+
const CredentialsDownload: React.FC<{ cluster: Cluster }> = ({ cluster }) => {
|
|
22
|
+
const clusterWizardContext = useClusterWizardContext();
|
|
23
|
+
const [isChecked, setIsChecked] = React.useState<boolean>(false);
|
|
24
|
+
const [isDownloading, setIsDownloading] = React.useState(false);
|
|
25
|
+
const { addAlert } = useAlerts();
|
|
26
|
+
const { t } = useTranslation();
|
|
27
|
+
|
|
28
|
+
const downloadSingleFile = async (fileName: string) => {
|
|
29
|
+
try {
|
|
30
|
+
const response = await ClustersAPI.downloadClusterCredentials(cluster.id, fileName);
|
|
31
|
+
downloadFile('', response.data, fileName);
|
|
32
|
+
return true;
|
|
33
|
+
} catch (e) {
|
|
34
|
+
handleApiError(e, (e) => {
|
|
35
|
+
addAlert({
|
|
36
|
+
title: t('ai:Could not download {{fileName}} file', { fileName }),
|
|
37
|
+
message: getApiErrorMessage(e),
|
|
38
|
+
});
|
|
39
|
+
});
|
|
40
|
+
return false;
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
const handleDownloadClick = async () => {
|
|
45
|
+
setIsDownloading(true);
|
|
46
|
+
|
|
47
|
+
const configSuccess = await downloadSingleFile('kubeconfig');
|
|
48
|
+
const passwordSuccess = await downloadSingleFile('kubeadmin-password');
|
|
49
|
+
|
|
50
|
+
const hasError = !configSuccess || !passwordSuccess;
|
|
51
|
+
|
|
52
|
+
setTimeout(() => {
|
|
53
|
+
setIsDownloading(false);
|
|
54
|
+
|
|
55
|
+
if (!hasError) {
|
|
56
|
+
clusterWizardContext.moveNext();
|
|
57
|
+
}
|
|
58
|
+
}, 500);
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
const footer = (
|
|
62
|
+
<ClusterWizardFooter
|
|
63
|
+
cluster={cluster}
|
|
64
|
+
onNext={() => void handleDownloadClick()}
|
|
65
|
+
onBack={() => clusterWizardContext.moveBack()}
|
|
66
|
+
isNextDisabled={!isChecked || isDownloading}
|
|
67
|
+
nextButtonText={t('ai:Download credentials')}
|
|
68
|
+
isNextButtonLoading={isDownloading}
|
|
69
|
+
/>
|
|
70
|
+
);
|
|
71
|
+
|
|
72
|
+
return (
|
|
73
|
+
<ClusterWizardStep navigation={<ClusterWizardNavigation cluster={cluster} />} footer={footer}>
|
|
74
|
+
<WithErrorBoundary title={t('ai:Failed to load Credentials Download step')}>
|
|
75
|
+
<Stack hasGutter>
|
|
76
|
+
<ClusterWizardStepHeader>{t('ai:Download credentials')}</ClusterWizardStepHeader>
|
|
77
|
+
<Alert
|
|
78
|
+
title={t('ai:Make sure you download and store your credentials files in a safe place')}
|
|
79
|
+
variant={AlertVariant.warning}
|
|
80
|
+
isInline
|
|
81
|
+
actionLinks={
|
|
82
|
+
<a href={KUBECONFIG_INFO_LINK} target="_blank" rel="noopener noreferrer">
|
|
83
|
+
{t('ai:Learn more about Kubeconfig')} <ExternalLinkAltIcon />
|
|
84
|
+
</a>
|
|
85
|
+
}
|
|
86
|
+
>
|
|
87
|
+
{t(`ai:You should use your cluster's Kubeconfig file to gain access to the cluster.`)}
|
|
88
|
+
<br />
|
|
89
|
+
{t(`ai:You can use username and password to log-in to your console through the UI.`)}
|
|
90
|
+
</Alert>
|
|
91
|
+
<Checkbox
|
|
92
|
+
id="credentials-download-agreement"
|
|
93
|
+
isChecked={isChecked}
|
|
94
|
+
onChange={() => setIsChecked(!isChecked)}
|
|
95
|
+
label={t(
|
|
96
|
+
'ai:I understand that I need to download credentials files prior of proceeding with the cluster installation.',
|
|
97
|
+
)}
|
|
98
|
+
/>
|
|
99
|
+
</Stack>
|
|
100
|
+
</WithErrorBoundary>
|
|
101
|
+
</ClusterWizardStep>
|
|
102
|
+
);
|
|
103
|
+
};
|
|
104
|
+
|
|
105
|
+
export default CredentialsDownload;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ClusterWizardStep, ClusterWizardStepHeader } from '../../../common';
|
|
3
|
+
import { useClusterWizardContext } from './ClusterWizardContext';
|
|
4
|
+
import ClusterWizardFooter from './ClusterWizardFooter';
|
|
5
|
+
import ClusterWizardNavigation from './ClusterWizardNavigation';
|
|
6
|
+
import { WithErrorBoundary } from '../../../common/components/ErrorHandling/WithErrorBoundary';
|
|
7
|
+
import { Cluster } from '@openshift-assisted/types/assisted-installer-service';
|
|
8
|
+
import { Checkbox } from '@patternfly/react-core';
|
|
9
|
+
|
|
10
|
+
const KubeconfigDownload: React.FC<{ cluster: Cluster }> = ({ cluster }) => {
|
|
11
|
+
const [isChecked, setIsChecked] = React.useState<boolean>(false);
|
|
12
|
+
const clusterWizardContext = useClusterWizardContext();
|
|
13
|
+
|
|
14
|
+
const footer = (
|
|
15
|
+
<ClusterWizardFooter
|
|
16
|
+
cluster={cluster}
|
|
17
|
+
onNext={() => clusterWizardContext.moveNext()}
|
|
18
|
+
onBack={() => clusterWizardContext.moveBack()}
|
|
19
|
+
isNextDisabled={!isChecked}
|
|
20
|
+
nextButtonText="Download Kubeconfig"
|
|
21
|
+
/>
|
|
22
|
+
);
|
|
23
|
+
|
|
24
|
+
return (
|
|
25
|
+
<ClusterWizardStep navigation={<ClusterWizardNavigation cluster={cluster} />} footer={footer}>
|
|
26
|
+
<WithErrorBoundary title="Failed to load Kubeconfig Download step">
|
|
27
|
+
<ClusterWizardStepHeader>Download Kubeconfig</ClusterWizardStepHeader>
|
|
28
|
+
<Checkbox
|
|
29
|
+
id="Kubeconfig-download-agreement"
|
|
30
|
+
isChecked={isChecked}
|
|
31
|
+
onChange={() => setIsChecked(!isChecked)}
|
|
32
|
+
label="I understand that I need to download Kubeconfig file prior of proceeding with the cluster installation."
|
|
33
|
+
/>
|
|
34
|
+
</WithErrorBoundary>
|
|
35
|
+
</ClusterWizardStep>
|
|
36
|
+
);
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
export default KubeconfigDownload;
|
|
@@ -2,17 +2,13 @@ import React from 'react';
|
|
|
2
2
|
import { useDispatch } from 'react-redux';
|
|
3
3
|
import { useLocation, useNavigate } from 'react-router-dom-v5-compat';
|
|
4
4
|
import { Formik, FormikConfig, useFormikContext } from 'formik';
|
|
5
|
+
import { Cluster } from '@openshift-assisted/types/assisted-installer-service';
|
|
5
6
|
import {
|
|
6
7
|
ClusterWizardStep,
|
|
7
8
|
getFormikErrorFields,
|
|
8
|
-
OPERATOR_NAME_CNV,
|
|
9
|
-
OPERATOR_NAME_LVM,
|
|
10
|
-
OPERATOR_NAME_MCE,
|
|
11
|
-
OPERATOR_NAME_MTV,
|
|
12
|
-
OPERATOR_NAME_ODF,
|
|
13
|
-
OPERATOR_NAME_OPENSHIFT_AI,
|
|
14
9
|
OperatorsValues,
|
|
15
|
-
|
|
10
|
+
selectOlmOperators,
|
|
11
|
+
UISettingsValues,
|
|
16
12
|
useAlerts,
|
|
17
13
|
useFormikAutoSave,
|
|
18
14
|
} from '../../../common';
|
|
@@ -20,24 +16,18 @@ import { useClusterWizardContext } from './ClusterWizardContext';
|
|
|
20
16
|
import ClusterWizardFooter from '../clusterWizard/ClusterWizardFooter';
|
|
21
17
|
import ClusterWizardNavigation from '../clusterWizard/ClusterWizardNavigation';
|
|
22
18
|
import { OperatorsStep } from './OperatorsStep';
|
|
23
|
-
import { ClustersService
|
|
19
|
+
import { ClustersService } from '../../services';
|
|
24
20
|
import { setServerUpdateError, updateCluster } from '../../store/slices/current-cluster/slice';
|
|
25
21
|
import { getApiErrorMessage, handleApiError, isUnknownServerError } from '../../../common/api';
|
|
26
22
|
import { canNextOperators } from './wizardTransition';
|
|
27
|
-
import { Cluster, MonitoredOperator } from '@openshift-assisted/types/assisted-installer-service';
|
|
28
23
|
|
|
29
|
-
|
|
30
|
-
|
|
24
|
+
const getOperatorsInitialValues = (
|
|
25
|
+
uiSettings: UISettingsValues | undefined,
|
|
26
|
+
cluster: Cluster,
|
|
31
27
|
): OperatorsValues => {
|
|
32
|
-
const isOperatorEnabled = (operatorNames: string[]) =>
|
|
33
|
-
!!monitoredOperators.find((operator) => operatorNames.includes(operator.name || ''));
|
|
34
28
|
return {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
useContainerNativeVirtualization: isOperatorEnabled([OPERATOR_NAME_CNV]),
|
|
38
|
-
useMultiClusterEngine: isOperatorEnabled([OPERATOR_NAME_MCE]),
|
|
39
|
-
useMigrationToolkitforVirtualization: isOperatorEnabled([OPERATOR_NAME_MTV]),
|
|
40
|
-
useOpenShiftAI: isOperatorEnabled([OPERATOR_NAME_OPENSHIFT_AI]),
|
|
29
|
+
selectedBundles: uiSettings?.bundlesSelected || [],
|
|
30
|
+
selectedOperators: selectOlmOperators(cluster).map((o) => o.name || ''),
|
|
41
31
|
};
|
|
42
32
|
};
|
|
43
33
|
|
|
@@ -78,43 +68,29 @@ const OperatorsForm = ({ cluster }: { cluster: Cluster }) => {
|
|
|
78
68
|
/>
|
|
79
69
|
}
|
|
80
70
|
>
|
|
81
|
-
<OperatorsStep
|
|
71
|
+
<OperatorsStep cluster={cluster} />
|
|
82
72
|
</ClusterWizardStep>
|
|
83
73
|
);
|
|
84
74
|
};
|
|
85
75
|
|
|
86
76
|
const Operators = ({ cluster }: { cluster: Cluster }) => {
|
|
87
77
|
const dispatch = useDispatch();
|
|
78
|
+
const { updateUISettings, uiSettings } = useClusterWizardContext();
|
|
88
79
|
const { addAlert, clearAlerts } = useAlerts();
|
|
89
80
|
|
|
90
|
-
const
|
|
91
|
-
|
|
92
|
-
const initialValues = React.useMemo(
|
|
93
|
-
() => getOperatorsInitialValues(olmOperators),
|
|
94
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
95
|
-
[], // just once, Formik does not reinitialize
|
|
96
|
-
);
|
|
97
|
-
|
|
98
|
-
const handleSubmit: FormikConfig<OperatorsValues>['onSubmit'] = async (
|
|
99
|
-
values,
|
|
100
|
-
{ setFieldValue },
|
|
101
|
-
) => {
|
|
81
|
+
const handleSubmit: FormikConfig<OperatorsValues>['onSubmit'] = async (values) => {
|
|
102
82
|
clearAlerts();
|
|
103
83
|
|
|
104
|
-
const enabledOperators =
|
|
84
|
+
const enabledOperators = values.selectedOperators.map((so) => ({
|
|
85
|
+
name: so,
|
|
86
|
+
}));
|
|
105
87
|
|
|
106
88
|
try {
|
|
107
89
|
const { data: updatedCluster } = await ClustersService.update(cluster.id, cluster.tags, {
|
|
108
90
|
olmOperators: enabledOperators,
|
|
109
91
|
});
|
|
110
92
|
|
|
111
|
-
|
|
112
|
-
enabledOperators,
|
|
113
|
-
updatedCluster.monitoredOperators,
|
|
114
|
-
);
|
|
115
|
-
Object.keys(needSyncOperators).forEach((operatorName) => {
|
|
116
|
-
setFieldValue(operatorName, true);
|
|
117
|
-
});
|
|
93
|
+
await updateUISettings({ bundlesSelected: values.selectedBundles });
|
|
118
94
|
|
|
119
95
|
dispatch(updateCluster(updatedCluster));
|
|
120
96
|
} catch (e) {
|
|
@@ -128,7 +104,7 @@ const Operators = ({ cluster }: { cluster: Cluster }) => {
|
|
|
128
104
|
};
|
|
129
105
|
|
|
130
106
|
return (
|
|
131
|
-
<Formik initialValues={
|
|
107
|
+
<Formik initialValues={getOperatorsInitialValues(uiSettings, cluster)} onSubmit={handleSubmit}>
|
|
132
108
|
<OperatorsForm cluster={cluster} />
|
|
133
109
|
</Formik>
|
|
134
110
|
);
|