@openshift-assisted/ui-lib 2.16.5-cim → 2.17.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/Agent/BMCForm.d.ts.map +1 -1
- package/build/@types/cim/components/Agent/MinimalHWRequirements.d.ts.map +1 -1
- package/build/@types/cim/components/Agent/tableUtils.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscovery.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingForm.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/Hypershift/modals/AddNodePoolModal.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/modals/ManageHostsModal.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/modals/RemoveNodePoolModal.d.ts.map +1 -1
- package/build/@types/cim/components/InfraEnv/EnvironmentDetails.d.ts.map +1 -1
- package/build/@types/cim/components/InfraEnv/EnvironmentErrors.d.ts.map +1 -1
- package/build/@types/cim/components/InfraEnv/InfraTableToolbar.d.ts.map +1 -1
- package/build/@types/cim/components/common/ResourceAlerts.d.ts.map +1 -1
- package/build/@types/cim/components/modals/AddBmcHostYamlForm.d.ts.map +1 -1
- package/build/@types/cim/components/modals/AddHostModal.d.ts.map +1 -1
- package/build/@types/cim/components/modals/CimConfiguration/CimConfigProgressAlert.d.ts.map +1 -1
- package/build/@types/cim/components/modals/CimConfiguration/CimConfigurationFormFields.d.ts +4 -0
- package/build/@types/cim/components/modals/CimConfiguration/CimConfigurationFormFields.d.ts.map +1 -0
- package/build/@types/cim/components/modals/CimConfiguration/CimConfigurationModal.d.ts +0 -1
- package/build/@types/cim/components/modals/CimConfiguration/CimConfigurationModal.d.ts.map +1 -1
- package/build/@types/cim/components/modals/CimConfiguration/persist.d.ts +4 -7
- package/build/@types/cim/components/modals/CimConfiguration/persist.d.ts.map +1 -1
- package/build/@types/cim/components/modals/CimConfiguration/types.d.ts +7 -16
- package/build/@types/cim/components/modals/CimConfiguration/types.d.ts.map +1 -1
- package/build/@types/cim/components/modals/EditNtpSourcesModal.d.ts.map +1 -1
- package/build/@types/cim/components/modals/EditProxyModal.d.ts.map +1 -1
- package/build/@types/cim/components/modals/EditPullSecretModal.d.ts.map +1 -1
- package/build/@types/cim/components/modals/EditSSHKeyModal.d.ts.map +1 -1
- package/build/@types/cim/components/modals/MassApproveAgentModal.d.ts.map +1 -1
- package/build/@types/cim/components/modals/ScaleUpModal.d.ts.map +1 -1
- package/build/@types/cim/hooks/index.d.ts +1 -0
- package/build/@types/cim/hooks/index.d.ts.map +1 -1
- package/build/@types/cim/hooks/useAgentServiceConfig.d.ts +4 -0
- package/build/@types/cim/hooks/useAgentServiceConfig.d.ts.map +1 -0
- package/build/@types/cim/types/index.d.ts +0 -1
- package/build/@types/cim/types/index.d.ts.map +1 -1
- package/build/@types/cim/types/models.d.ts +4 -0
- package/build/@types/cim/types/models.d.ts.map +1 -1
- package/build/@types/common/api/assisted-service/BundleAPI.d.ts +2 -2
- package/build/@types/common/api/assisted-service/BundleAPI.d.ts.map +1 -1
- package/build/@types/common/api/assisted-service/ClustersAPI.d.ts +29 -25
- package/build/@types/common/api/assisted-service/ClustersAPI.d.ts.map +1 -1
- package/build/@types/common/api/assisted-service/ComponentVersionsAPI.d.ts +1 -1
- package/build/@types/common/api/assisted-service/EventsAPI.d.ts +1 -1
- package/build/@types/common/api/assisted-service/HostsAPI.d.ts +8 -7
- package/build/@types/common/api/assisted-service/HostsAPI.d.ts.map +1 -1
- package/build/@types/common/api/assisted-service/InfraEnvsAPI.d.ts +9 -8
- package/build/@types/common/api/assisted-service/InfraEnvsAPI.d.ts.map +1 -1
- package/build/@types/common/api/assisted-service/ManagedDomainsAPI.d.ts +1 -1
- package/build/@types/common/api/assisted-service/NewFeatureSupportLevelsAPI.d.ts +2 -2
- package/build/@types/common/api/assisted-service/OperatorsAPI.d.ts +1 -1
- package/build/@types/common/api/assisted-service/SupportedOpenshiftVersionsAPI.d.ts +1 -1
- package/build/@types/common/api/assisted-service/UISettingsAPI.d.ts +2 -2
- package/build/@types/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionControlGroup.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionMode.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/clusterConfiguration/DownloadIsoModal.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/SecurityFields.d.ts +3 -1
- package/build/@types/common/components/clusterConfiguration/SecurityFields.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/utils.d.ts +1 -1
- package/build/@types/common/components/clusterConfiguration/utils.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/utils.test.d.ts +2 -0
- package/build/@types/common/components/clusterConfiguration/utils.test.d.ts.map +1 -0
- package/build/@types/common/components/clusterDetail/ConsoleModal.d.ts.map +1 -1
- package/build/@types/common/components/clusterDetail/FinalizingProgress.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/ClusterWizardStep.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/ClusterWizardStepHeader.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/ReviewValidations.d.ts.map +1 -1
- package/build/@types/common/components/hosts/AITableMemo.d.ts.map +1 -1
- package/build/@types/common/components/hosts/AdditionalNTPSourcesDialog.d.ts.map +1 -1
- package/build/@types/common/components/hosts/DiskRole.d.ts.map +1 -1
- package/build/@types/common/components/hosts/EditHostModal.d.ts.map +1 -1
- package/build/@types/common/components/hosts/HostRequirements.d.ts.map +1 -1
- package/build/@types/common/components/hosts/HostStatus.d.ts.map +1 -1
- package/build/@types/common/components/hosts/MassChangeHostnameModal.d.ts.map +1 -1
- package/build/@types/common/components/hosts/MassDeleteHostModal.d.ts.map +1 -1
- package/build/@types/common/components/hosts/OcpConsoleNodesSectionLink.d.ts.map +1 -1
- package/build/@types/common/components/hosts/VMRebootConfigurationInfo.d.ts.map +1 -1
- package/build/@types/common/components/hosts/status.d.ts.map +1 -1
- package/build/@types/common/components/hosts/tableUtils.d.ts.map +1 -1
- package/build/@types/common/components/operators/operatorDescriptions.d.ts +2 -0
- package/build/@types/common/components/operators/operatorDescriptions.d.ts.map +1 -1
- package/build/@types/common/components/operators/operatorSpecs.d.ts.map +1 -1
- package/build/@types/common/components/storage/DisksTable.d.ts.map +1 -1
- package/build/@types/common/components/storage/StorageUtils.d.ts.map +1 -1
- package/build/@types/common/components/ui/ClusterEventsToolbar.d.ts.map +1 -1
- package/build/@types/common/components/ui/ConfirmationModal.d.ts +2 -2
- package/build/@types/common/components/ui/ConfirmationModal.d.ts.map +1 -1
- package/build/@types/common/components/ui/CustomToolbarFilter.d.ts.map +1 -1
- package/build/@types/common/components/ui/DetailList.d.ts +2 -2
- package/build/@types/common/components/ui/DetailList.d.ts.map +1 -1
- package/build/@types/common/components/ui/ExternalLink.d.ts.map +1 -1
- package/build/@types/common/components/ui/NoPermissionsError.d.ts.map +1 -1
- package/build/@types/common/components/ui/OpenShiftVersionDropdown.d.ts.map +1 -1
- package/build/@types/common/components/ui/OpenShiftVersionModal.d.ts.map +1 -1
- package/build/@types/common/components/ui/PopoverIcon.d.ts.map +1 -1
- package/build/@types/common/components/ui/PrismCode.d.ts +3 -3
- package/build/@types/common/components/ui/PrismCode.d.ts.map +1 -1
- package/build/@types/common/components/ui/SectionTitle.d.ts.map +1 -1
- package/build/@types/common/components/ui/SimpleDropdown.d.ts.map +1 -1
- package/build/@types/common/components/ui/StaticTextField.d.ts.map +1 -1
- package/build/@types/common/components/ui/Toolbar/ToolbarText.d.ts +2 -2
- package/build/@types/common/components/ui/Toolbar/ToolbarText.d.ts.map +1 -1
- package/build/@types/common/components/ui/WizardNavItem.d.ts.map +1 -1
- package/build/@types/common/components/ui/eventsModal.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/AlertFormikError.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/CertificatesUploadField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/CheckboxField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/CodeField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/InputField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/LabelField.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/NumberInputField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/PullSecretField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/RemovableField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/RichInputField.d.ts +1 -0
- package/build/@types/common/components/ui/formik/RichInputField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/SelectField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/SwitchField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/TextAreaField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/TextAreaSecretField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/UploadField.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/formik/validationSchemas.d.ts.map +1 -1
- package/build/@types/common/components/ui/uiState/EmptyState.d.ts +2 -2
- package/build/@types/common/components/ui/uiState/EmptyState.d.ts.map +1 -1
- package/build/@types/common/components/ui/uiState/ErrorState.d.ts +3 -3
- package/build/@types/common/components/ui/uiState/ErrorState.d.ts.map +1 -1
- package/build/@types/common/config/constants.d.ts +8 -0
- package/build/@types/common/config/constants.d.ts.map +1 -1
- package/build/@types/common/config/docs_links.d.ts +4 -1
- package/build/@types/common/config/docs_links.d.ts.map +1 -1
- package/build/@types/common/reducers/alertsSlice.d.ts +1 -0
- package/build/@types/common/reducers/alertsSlice.d.ts.map +1 -1
- package/build/@types/ocm/components/AddHosts/InventoryAddHost.d.ts.map +1 -1
- package/build/@types/ocm/components/AddHosts/day2Wizard/Day2StaticIP.d.ts.map +1 -1
- package/build/@types/ocm/components/AddHosts/day2Wizard/Day2StaticIpHostConfigurations.d.ts.map +1 -1
- package/build/@types/ocm/components/AddHosts/day2Wizard/Day2Wizard.d.ts.map +1 -1
- package/build/@types/ocm/components/AddHosts/day2Wizard/Day2WizardFooter.d.ts.map +1 -1
- package/build/@types/ocm/components/AddHosts/day2Wizard/Day2WizardNav.d.ts.map +1 -1
- package/build/@types/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabMock.d.ts.map +1 -1
- package/build/@types/ocm/components/HostsClusterDetailTab/utils.d.ts.map +1 -1
- package/build/@types/ocm/components/Routes.d.ts +1 -0
- package/build/@types/ocm/components/Routes.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts.map +1 -1
- 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/HostsNetworkConfigurationControlGroup.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/OcmDiscoveryImageConfigForm.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/DeleteCustomManifestModal.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifest.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/ExpandedManifest.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/AdvancedNetworkFields.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/AvailableSubnetsControl.d.ts +2 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/AvailableSubnetsControl.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.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/StackTypeControl.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.d.ts +3 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/VirtualIPControlGroup.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.d.ts +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/reorderNetworks.d.ts +5 -0
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/reorderNetworks.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterConfiguration/operators/bundleSpecs.d.ts +0 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/bundleSpecs.d.ts.map +1 -1
- 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/ReviewNetworkingTable.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/CollapsedHost.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/BondsConfirmationModal.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHostsFields.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/FormViewNetworkWideFields.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/StaticIpHostsArray.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/components/YamlView/YamlViewFields.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/CancelInstallationModal.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/ClusterDetail.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/ClusterDetailStatusMessages.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/ClusterDetailStatusVarieties.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/ClusterInstallationError.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/ClusterInstallationProgressCard.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/ClusterPollingErrorModal.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/ClusterProperties.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/ClusterProperties.test.d.ts +2 -0
- package/build/@types/ocm/components/clusterDetail/ClusterProperties.test.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterDetail/ClusterUpdateErrorModal.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/OpenShiftVersionDetail.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/ProgressBarAlerts.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/ResetClusterModal.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/ClusterWizardContext.d.ts +3 -0
- package/build/@types/ocm/components/clusterWizard/ClusterWizardContext.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 +2 -1
- package/build/@types/ocm/components/clusterWizard/ClusterWizardFooter.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterWizardNavigation.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/HostDiscovery.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/NewClusterWizard.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/OperatorsBundle.d.ts +2 -1
- package/build/@types/ocm/components/clusterWizard/OperatorsBundle.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/OperatorsSelect.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/OperatorsSelect.test.d.ts +2 -0
- package/build/@types/ocm/components/clusterWizard/OperatorsSelect.test.d.ts.map +1 -0
- 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/disconnected/BasicStep.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/disconnected/InstallDisconnectedSwitch.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.d.ts +4 -0
- package/build/@types/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterWizard/disconnected/ReviewStep.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 +2 -2
- package/build/@types/ocm/components/clusterWizard/wizardTransition.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/ClusterBreadcrumbs.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/ClusterPage.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/Clusters.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/ClustersListToolbar.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/DeleteClusterModal.d.ts.map +1 -1
- package/build/@types/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.d.ts +1 -1
- package/build/@types/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/DeleteHostModal.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/HostsDiscoveryTable.d.ts +3 -2
- package/build/@types/ocm/components/hosts/HostsDiscoveryTable.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/ResetHostModal.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/UpdateDay2ApiVipModal.d.ts.map +1 -1
- package/build/@types/ocm/components/ui/InfoLinkWithModal.d.ts.map +1 -1
- package/build/@types/ocm/hooks/index.d.ts +1 -0
- package/build/@types/ocm/hooks/index.d.ts.map +1 -1
- package/build/@types/ocm/hooks/useInfraEnvHosts.d.ts +9 -0
- package/build/@types/ocm/hooks/useInfraEnvHosts.d.ts.map +1 -0
- package/build/@types/ocm/hooks/useInfraEnvId.d.ts.map +1 -1
- package/build/@types/ocm/hooks/useLateBinding.d.ts +4 -0
- package/build/@types/ocm/hooks/useLateBinding.d.ts.map +1 -0
- package/build/@types/ocm/services/BundleService.d.ts +1 -1
- package/build/@types/ocm/services/BundleService.d.ts.map +1 -1
- package/build/@types/ocm/services/ClustersService.d.ts +10 -6
- package/build/@types/ocm/services/ClustersService.d.ts.map +1 -1
- package/build/@types/ocm/services/HostsService.d.ts +13 -12
- package/build/@types/ocm/services/HostsService.d.ts.map +1 -1
- package/build/@types/ocm/services/InfraEnvsService.d.ts +3 -3
- package/build/@types/ocm/services/InfraEnvsService.d.ts.map +1 -1
- package/build/@types/ocm/services/UISettingsService.d.ts +1 -1
- package/build/@types/ocm/store/slices/infra-envs/thunks.d.ts +1 -1
- package/build/cjs/cim/components/Agent/AgentStatus.js +1 -1
- package/build/cjs/cim/components/Agent/BMCForm.js +5 -4
- package/build/cjs/cim/components/Agent/BMCForm.js.map +1 -1
- package/build/cjs/cim/components/Agent/MinimalHWRequirements.js +3 -2
- package/build/cjs/cim/components/Agent/MinimalHWRequirements.js.map +1 -1
- package/build/cjs/cim/components/Agent/tableUtils.js +0 -9
- package/build/cjs/cim/components/Agent/tableUtils.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/LabelSelector.css +1 -1
- package/build/cjs/cim/components/ClusterDeployment/LabelsSelector.js +3 -3
- package/build/cjs/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.js +2 -2
- package/build/cjs/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/customManifests/ConfigMapDetail.js +1 -1
- package/build/cjs/cim/components/ClusterDeployment/customManifests/ConfigMapDetail.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscovery.js +12 -13
- package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscovery.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelection.js +1 -1
- package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelection.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingForm.js +5 -7
- package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingForm.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/use-networking-formik.js +1 -1
- package/build/cjs/cim/components/ClusterDeployment/use-networking-formik.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/DetailsPage/ClusterInstallationProgress.css +1 -1
- package/build/cjs/cim/components/Hypershift/DetailsPage/ConditionsTable.js +3 -3
- package/build/cjs/cim/components/Hypershift/DetailsPage/ConditionsTable.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/DetailsPage/HostedClusterProgress.js +2 -2
- package/build/cjs/cim/components/Hypershift/DetailsPage/HostedClusterProgress.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/DetailsPage/NodePoolsProgress.js +2 -2
- package/build/cjs/cim/components/Hypershift/DetailsPage/NodePoolsProgress.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/NodePoolForm.css +2 -2
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/NetworkStep/NetworkForm.css +2 -2
- package/build/cjs/cim/components/Hypershift/forms/NodePoolAgentsForm.js +1 -1
- package/build/cjs/cim/components/Hypershift/forms/NodePoolAgentsForm.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/modals/AddNodePoolModal.js +4 -3
- package/build/cjs/cim/components/Hypershift/modals/AddNodePoolModal.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/modals/ManageHostsModal.js +4 -3
- package/build/cjs/cim/components/Hypershift/modals/ManageHostsModal.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/modals/RemoveNodePoolModal.js +4 -3
- package/build/cjs/cim/components/Hypershift/modals/RemoveNodePoolModal.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/utils/status.js +6 -6
- package/build/cjs/cim/components/Hypershift/utils/status.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/AddHostDropdown.js +1 -1
- package/build/cjs/cim/components/InfraEnv/EnvironmentDetails.js +6 -8
- package/build/cjs/cim/components/InfraEnv/EnvironmentDetails.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/EnvironmentErrors.js +2 -1
- package/build/cjs/cim/components/InfraEnv/EnvironmentErrors.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/InfraEnvFormPage.js +1 -1
- package/build/cjs/cim/components/InfraEnv/InfraEnvHostsTabAgentsWarning.js +2 -2
- package/build/cjs/cim/components/InfraEnv/InfraEnvHostsTabAgentsWarning.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/InfraTableToolbar.js +4 -4
- package/build/cjs/cim/components/InfraEnv/InfraTableToolbar.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/infra-env.css +2 -2
- package/build/cjs/cim/components/common/CpuArchitectureDropdown.js +1 -1
- package/build/cjs/cim/components/common/ResourceAlerts.css +1 -1
- package/build/cjs/cim/components/common/ResourceAlerts.js +15 -16
- package/build/cjs/cim/components/common/ResourceAlerts.js.map +1 -1
- package/build/cjs/cim/components/helpers/agentStatus.js +2 -2
- package/build/cjs/cim/components/helpers/agentStatus.js.map +1 -1
- package/build/cjs/cim/components/modals/AddBmcHostModal.js +2 -2
- package/build/cjs/cim/components/modals/AddBmcHostModal.js.map +1 -1
- package/build/cjs/cim/components/modals/AddBmcHostYamlForm.css +1 -1
- package/build/cjs/cim/components/modals/AddBmcHostYamlForm.js +4 -4
- package/build/cjs/cim/components/modals/AddBmcHostYamlForm.js.map +1 -1
- package/build/cjs/cim/components/modals/AddBmcHostYamlModal.js +2 -2
- package/build/cjs/cim/components/modals/AddBmcHostYamlModal.js.map +1 -1
- package/build/cjs/cim/components/modals/AddHostModal.js +13 -9
- package/build/cjs/cim/components/modals/AddHostModal.js.map +1 -1
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigProgressAlert.js +1 -4
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigProgressAlert.js.map +1 -1
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationFormFields.js +91 -0
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationFormFields.js.map +1 -0
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationModal.js +78 -121
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationModal.js.map +1 -1
- package/build/cjs/cim/components/modals/CimConfiguration/persist.js +44 -95
- package/build/cjs/cim/components/modals/CimConfiguration/persist.js.map +1 -1
- package/build/cjs/cim/components/modals/EditBMHModal.js +2 -2
- package/build/cjs/cim/components/modals/EditBMHModal.js.map +1 -1
- package/build/cjs/cim/components/modals/EditNtpSourcesModal.js +4 -3
- package/build/cjs/cim/components/modals/EditNtpSourcesModal.js.map +1 -1
- package/build/cjs/cim/components/modals/EditProxyModal.js +4 -3
- package/build/cjs/cim/components/modals/EditProxyModal.js.map +1 -1
- package/build/cjs/cim/components/modals/EditPullSecretModal.js +4 -3
- package/build/cjs/cim/components/modals/EditPullSecretModal.js.map +1 -1
- package/build/cjs/cim/components/modals/EditSSHKeyModal.js +4 -3
- package/build/cjs/cim/components/modals/EditSSHKeyModal.js.map +1 -1
- package/build/cjs/cim/components/modals/MassApproveAgentModal.js +5 -4
- package/build/cjs/cim/components/modals/MassApproveAgentModal.js.map +1 -1
- package/build/cjs/cim/components/modals/MassDeleteAgentModal.js +3 -3
- package/build/cjs/cim/components/modals/MassDeleteAgentModal.js.map +1 -1
- package/build/cjs/cim/components/modals/ScaleUpModal.js +4 -3
- package/build/cjs/cim/components/modals/ScaleUpModal.js.map +1 -1
- package/build/cjs/cim/hooks/index.js +1 -0
- package/build/cjs/cim/hooks/index.js.map +1 -1
- package/build/cjs/cim/hooks/useAgentServiceConfig.js +13 -0
- package/build/cjs/cim/hooks/useAgentServiceConfig.js.map +1 -0
- package/build/cjs/cim/types/index.js +0 -1
- package/build/cjs/cim/types/index.js.map +1 -1
- package/build/cjs/cim/types/models.js +45 -5
- package/build/cjs/cim/types/models.js.map +1 -1
- package/build/cjs/common/api/assisted-service/BundleAPI.js +4 -2
- package/build/cjs/common/api/assisted-service/BundleAPI.js.map +1 -1
- package/build/cjs/common/api/assisted-service/ClustersAPI.js +3 -0
- package/build/cjs/common/api/assisted-service/ClustersAPI.js.map +1 -1
- package/build/cjs/common/api/assisted-service/HostsAPI.js +8 -0
- package/build/cjs/common/api/assisted-service/HostsAPI.js.map +1 -1
- package/build/cjs/common/api/assisted-service/InfraEnvsAPI.js +5 -0
- package/build/cjs/common/api/assisted-service/InfraEnvsAPI.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/CertificateFields.css +1 -1
- package/build/cjs/common/components/clusterConfiguration/CertificateFields.js +1 -1
- package/build/cjs/common/components/clusterConfiguration/CertificateFields.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DiscoveryImageConfigForm.js +2 -2
- package/build/cjs/common/components/clusterConfiguration/DiscoveryImageConfigForm.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DiscoveryInstructions.js +8 -8
- package/build/cjs/common/components/clusterConfiguration/DiscoveryInstructions.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DiscoveryIpxeInstructions.js +7 -7
- package/build/cjs/common/components/clusterConfiguration/DiscoveryIpxeInstructions.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.js +27 -25
- package/build/cjs/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionControlGroup.js +6 -4
- package/build/cjs/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionControlGroup.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionMode.js +1 -2
- package/build/cjs/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionMode.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DownloadIpxeScript.js +2 -2
- package/build/cjs/common/components/clusterConfiguration/DownloadIpxeScript.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DownloadIso.js +7 -7
- package/build/cjs/common/components/clusterConfiguration/DownloadIso.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DownloadIsoModal.js +3 -2
- package/build/cjs/common/components/clusterConfiguration/DownloadIsoModal.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/ProxyFields.css +1 -1
- package/build/cjs/common/components/clusterConfiguration/SecurityFields.js +7 -5
- package/build/cjs/common/components/clusterConfiguration/SecurityFields.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/utils.js +23 -12
- package/build/cjs/common/components/clusterConfiguration/utils.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/utils.test.js +242 -0
- package/build/cjs/common/components/clusterConfiguration/utils.test.js.map +1 -0
- package/build/cjs/common/components/clusterDetail/ClusterProgressItem.js +1 -1
- package/build/cjs/common/components/clusterDetail/ClusterProgressItem.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/ConsoleModal.js +8 -5
- package/build/cjs/common/components/clusterDetail/ConsoleModal.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/FinalizingProgress.js +6 -7
- package/build/cjs/common/components/clusterDetail/FinalizingProgress.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/OperatorsProgressItem.js +4 -4
- package/build/cjs/common/components/clusterDetail/OperatorsProgressItem.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/ProgressBarTexts.js +4 -4
- package/build/cjs/common/components/clusterDetail/ProgressBarTexts.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/ClusterWizardStep.css +6 -6
- package/build/cjs/common/components/clusterWizard/ClusterWizardStep.js +4 -4
- package/build/cjs/common/components/clusterWizard/ClusterWizardStep.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/ClusterWizardStepHeader.js +1 -2
- package/build/cjs/common/components/clusterWizard/ClusterWizardStepHeader.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/ReviewValidations.js +4 -3
- package/build/cjs/common/components/clusterWizard/ReviewValidations.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/networkingSteps/UserManagedNetworkingTextContent.js +2 -2
- package/build/cjs/common/components/clusterWizard/networkingSteps/UserManagedNetworkingTextContent.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.js +1 -1
- package/build/cjs/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.js.map +1 -1
- package/build/cjs/common/components/clusters/PullSecret.js +1 -1
- package/build/cjs/common/components/hosts/AITableMemo.js +2 -1
- package/build/cjs/common/components/hosts/AITableMemo.js.map +1 -1
- package/build/cjs/common/components/hosts/AdditionalNTPSourcesDialog.js +4 -3
- package/build/cjs/common/components/hosts/AdditionalNTPSourcesDialog.js.map +1 -1
- package/build/cjs/common/components/hosts/DiskRole.js +1 -1
- package/build/cjs/common/components/hosts/DiskRole.js.map +1 -1
- package/build/cjs/common/components/hosts/EditHostForm.js +2 -2
- package/build/cjs/common/components/hosts/EditHostForm.js.map +1 -1
- package/build/cjs/common/components/hosts/EditHostModal.js +3 -2
- package/build/cjs/common/components/hosts/EditHostModal.js.map +1 -1
- package/build/cjs/common/components/hosts/HostPropertyValidationPopover.js +4 -4
- package/build/cjs/common/components/hosts/HostPropertyValidationPopover.js.map +1 -1
- package/build/cjs/common/components/hosts/HostRequirements.js +1 -2
- package/build/cjs/common/components/hosts/HostRequirements.js.map +1 -1
- package/build/cjs/common/components/hosts/HostStatus.js +12 -12
- package/build/cjs/common/components/hosts/HostStatus.js.map +1 -1
- package/build/cjs/common/components/hosts/HostValidationGroups.css +2 -2
- package/build/cjs/common/components/hosts/HostValidationGroups.js +4 -4
- package/build/cjs/common/components/hosts/HostValidationGroups.js.map +1 -1
- package/build/cjs/common/components/hosts/Hostname.js +5 -5
- package/build/cjs/common/components/hosts/Hostname.js.map +1 -1
- package/build/cjs/common/components/hosts/HostsTable.css +4 -4
- package/build/cjs/common/components/hosts/MassChangeHostnameModal.css +2 -2
- package/build/cjs/common/components/hosts/MassChangeHostnameModal.js +7 -6
- package/build/cjs/common/components/hosts/MassChangeHostnameModal.js.map +1 -1
- package/build/cjs/common/components/hosts/MassDeleteHostModal.js +4 -3
- package/build/cjs/common/components/hosts/MassDeleteHostModal.js.map +1 -1
- package/build/cjs/common/components/hosts/OcpConsoleNodesSectionLink.js +1 -4
- package/build/cjs/common/components/hosts/OcpConsoleNodesSectionLink.js.map +1 -1
- package/build/cjs/common/components/hosts/TableToolbar.css +1 -1
- package/build/cjs/common/components/hosts/TableToolbar.js +6 -9
- package/build/cjs/common/components/hosts/TableToolbar.js.map +1 -1
- package/build/cjs/common/components/hosts/VMRebootConfigurationInfo.js +6 -6
- package/build/cjs/common/components/hosts/VMRebootConfigurationInfo.js.map +1 -1
- package/build/cjs/common/components/hosts/status.js +12 -13
- package/build/cjs/common/components/hosts/status.js.map +1 -1
- package/build/cjs/common/components/hosts/tableUtils.js +3 -4
- package/build/cjs/common/components/hosts/tableUtils.js.map +1 -1
- package/build/cjs/common/components/operators/operatorDescriptions.js +3 -1
- package/build/cjs/common/components/operators/operatorDescriptions.js.map +1 -1
- package/build/cjs/common/components/operators/operatorSpecs.js +24 -1
- package/build/cjs/common/components/operators/operatorSpecs.js.map +1 -1
- package/build/cjs/common/components/storage/DisksTable.js +1 -2
- package/build/cjs/common/components/storage/DisksTable.js.map +1 -1
- package/build/cjs/common/components/storage/StorageUtils.js +4 -3
- package/build/cjs/common/components/storage/StorageUtils.js.map +1 -1
- package/build/cjs/common/components/ui/ClusterEventsToolbar.js +11 -12
- package/build/cjs/common/components/ui/ClusterEventsToolbar.js.map +1 -1
- package/build/cjs/common/components/ui/ConfirmationModal.js +5 -3
- package/build/cjs/common/components/ui/ConfirmationModal.js.map +1 -1
- package/build/cjs/common/components/ui/CustomToolbarFilter.js +19 -19
- package/build/cjs/common/components/ui/CustomToolbarFilter.js.map +1 -1
- package/build/cjs/common/components/ui/DetailList.css +2 -2
- package/build/cjs/common/components/ui/DetailList.js +7 -7
- package/build/cjs/common/components/ui/DetailList.js.map +1 -1
- package/build/cjs/common/components/ui/ExternalLink.js +1 -1
- package/build/cjs/common/components/ui/ExternalLink.js.map +1 -1
- package/build/cjs/common/components/ui/GridGap.js +1 -1
- package/build/cjs/common/components/ui/NoPermissionsError.js +1 -3
- package/build/cjs/common/components/ui/NoPermissionsError.js.map +1 -1
- package/build/cjs/common/components/ui/OpenShiftVersionDropdown.js +9 -5
- package/build/cjs/common/components/ui/OpenShiftVersionDropdown.js.map +1 -1
- package/build/cjs/common/components/ui/OpenShiftVersionModal.css +1 -1
- package/build/cjs/common/components/ui/OpenShiftVersionModal.js +7 -5
- package/build/cjs/common/components/ui/OpenShiftVersionModal.js.map +1 -1
- package/build/cjs/common/components/ui/PopoverIcon.js +2 -3
- package/build/cjs/common/components/ui/PopoverIcon.js.map +1 -1
- package/build/cjs/common/components/ui/PreviewBadge.js +5 -5
- package/build/cjs/common/components/ui/PreviewBadge.js.map +1 -1
- package/build/cjs/common/components/ui/PrismCode.css +1 -1
- package/build/cjs/common/components/ui/PrismCode.js +6 -7
- package/build/cjs/common/components/ui/PrismCode.js.map +1 -1
- package/build/cjs/common/components/ui/SectionTitle.js +1 -2
- package/build/cjs/common/components/ui/SectionTitle.js.map +1 -1
- package/build/cjs/common/components/ui/SimpleDropdown.js +1 -1
- package/build/cjs/common/components/ui/SimpleDropdown.js.map +1 -1
- package/build/cjs/common/components/ui/StaticTextField.js +2 -3
- package/build/cjs/common/components/ui/StaticTextField.js.map +1 -1
- package/build/cjs/common/components/ui/Toolbar/ToolbarSecondaryGroup.js +1 -1
- package/build/cjs/common/components/ui/Toolbar/ToolbarSecondaryGroup.js.map +1 -1
- package/build/cjs/common/components/ui/Toolbar/ToolbarText.js +1 -1
- package/build/cjs/common/components/ui/Toolbar/ToolbarText.js.map +1 -1
- package/build/cjs/common/components/ui/WizardFooter.js +3 -3
- package/build/cjs/common/components/ui/WizardFooter.js.map +1 -1
- package/build/cjs/common/components/ui/WizardNavItem.js +1 -1
- package/build/cjs/common/components/ui/WizardNavItem.js.map +1 -1
- package/build/cjs/common/components/ui/eventsModal.js +10 -9
- package/build/cjs/common/components/ui/eventsModal.js.map +1 -1
- package/build/cjs/common/components/ui/formik/AlertFormikError.js +1 -2
- package/build/cjs/common/components/ui/formik/AlertFormikError.js.map +1 -1
- package/build/cjs/common/components/ui/formik/CertificatesUploadField.js +2 -2
- package/build/cjs/common/components/ui/formik/CertificatesUploadField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/CheckboxField.js +1 -1
- package/build/cjs/common/components/ui/formik/CheckboxField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/CodeField.js +3 -3
- package/build/cjs/common/components/ui/formik/CodeField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/InputField.js +6 -5
- package/build/cjs/common/components/ui/formik/InputField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/LabelField.css +8 -8
- package/build/cjs/common/components/ui/formik/LabelField.js +3 -3
- package/build/cjs/common/components/ui/formik/LabelField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/MultiSelectField.js +6 -6
- package/build/cjs/common/components/ui/formik/MultiSelectField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/NumberInputField.js +2 -2
- package/build/cjs/common/components/ui/formik/NumberInputField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/PencilEditField.css +1 -1
- package/build/cjs/common/components/ui/formik/PencilEditField.js +1 -1
- package/build/cjs/common/components/ui/formik/PullSecretField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/RemovableField.css +6 -6
- package/build/cjs/common/components/ui/formik/RemovableField.js +1 -2
- package/build/cjs/common/components/ui/formik/RemovableField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/RichInputField.css +2 -9
- package/build/cjs/common/components/ui/formik/RichInputField.js +9 -9
- package/build/cjs/common/components/ui/formik/RichInputField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/SelectField.js +2 -2
- package/build/cjs/common/components/ui/formik/SelectField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/SwitchField.js +2 -2
- package/build/cjs/common/components/ui/formik/SwitchField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/TextAreaField.js +3 -3
- package/build/cjs/common/components/ui/formik/TextAreaField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/TextAreaSecretField.js +3 -1
- package/build/cjs/common/components/ui/formik/TextAreaSecretField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/UploadField.js +3 -3
- package/build/cjs/common/components/ui/formik/UploadField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/validationSchemas.js +123 -13
- package/build/cjs/common/components/ui/formik/validationSchemas.js.map +1 -1
- package/build/cjs/common/components/ui/uiState/EmptyState.js +1 -3
- package/build/cjs/common/components/ui/uiState/EmptyState.js.map +1 -1
- package/build/cjs/common/components/ui/uiState/ErrorState.js +2 -4
- package/build/cjs/common/components/ui/uiState/ErrorState.js.map +1 -1
- package/build/cjs/common/components/ui/uiState/LoadingState.js +1 -1
- package/build/cjs/common/components/ui/uiState/LoadingState.js.map +1 -1
- package/build/cjs/common/config/constants.js +14 -2
- package/build/cjs/common/config/constants.js.map +1 -1
- package/build/cjs/common/config/docs_links.js +19 -4
- package/build/cjs/common/config/docs_links.js.map +1 -1
- package/build/cjs/common/reducers/alertsSlice.js +1 -1
- package/build/cjs/common/reducers/alertsSlice.js.map +1 -1
- package/build/cjs/ocm/components/AddHosts/InventoryAddHost.js +4 -5
- package/build/cjs/ocm/components/AddHosts/InventoryAddHost.js.map +1 -1
- package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2StaticIP.js +4 -4
- package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2StaticIP.js.map +1 -1
- package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2StaticIpHostConfigurations.js +1 -2
- package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2StaticIpHostConfigurations.js.map +1 -1
- package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2Wizard.js +3 -4
- package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2Wizard.js.map +1 -1
- package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2WizardFooter.js +1 -1
- package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2WizardFooter.js.map +1 -1
- package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2WizardNav.js +4 -4
- package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2WizardNav.js.map +1 -1
- package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabMock.js +3 -4
- package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabMock.js.map +1 -1
- package/build/cjs/ocm/components/HostsClusterDetailTab/utils.js +18 -11
- package/build/cjs/ocm/components/HostsClusterDetailTab/utils.js.map +1 -1
- package/build/cjs/ocm/components/Routes.css +10 -0
- package/build/cjs/ocm/components/Routes.js +3 -1
- package/build/cjs/ocm/components/Routes.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/CpuArchitectureDropdown.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/CpuArchitectureDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/CustomManifestCheckbox.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/CustomManifestCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageModal.js +2 -1
- package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageModal.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageTypeDropdown.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageTypeDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/HostInventory.js +12 -14
- package/build/cjs/ocm/components/clusterConfiguration/HostInventory.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/HostsNetworkConfigurationControlGroup.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/HostsNetworkConfigurationControlGroup.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmBaseDomainField.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/OcmBaseDomainField.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js +2 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.js +12 -9
- package/build/cjs/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmOperatorProgressItem.js +4 -4
- package/build/cjs/ocm/components/clusterConfiguration/OcmOperatorProgressItem.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.js +3 -3
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/DeleteCustomManifestModal.js +7 -6
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/DeleteCustomManifestModal.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifest.js +1 -2
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifest.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/ExpandedManifest.js +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/ExpandedManifest.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/AdvancedNetworkFields.js +10 -17
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/AdvancedNetworkFields.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/AvailableSubnetsControl.js +88 -13
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/AvailableSubnetsControl.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.js +3 -3
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js +3 -4
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/StackTypeControl.js +90 -8
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/StackTypeControl.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.js +44 -8
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/VirtualIPControlGroup.js +30 -21
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/VirtualIPControlGroup.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.js +8 -8
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/reorderNetworks.js +60 -0
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/reorderNetworks.js.map +1 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/OperatorCheckbox.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/OperatorCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/bundleSpecs.js +0 -2
- package/build/cjs/ocm/components/clusterConfiguration/operators/bundleSpecs.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/utils.js +10 -6
- package/build/cjs/ocm/components/clusterConfiguration/operators/utils.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.js +15 -10
- package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewCluster.css +5 -7
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.js +49 -13
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.js +17 -17
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewSummary.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewSummary.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/TableSummaryExpandable.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/TableSummaryExpandable.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/CollapsedHost.js +1 -2
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/CollapsedHost.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/BondsConfirmationModal.js +4 -3
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/BondsConfirmationModal.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHostsFields.js +3 -4
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHostsFields.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/FormViewNetworkWideFields.js +5 -5
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/FormViewNetworkWideFields.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpHostsArray.js +1 -2
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpHostsArray.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.js +5 -4
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlViewFields.js +6 -7
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlViewFields.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/staticIp.css +9 -9
- package/build/cjs/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.js +1 -1
- package/build/cjs/ocm/components/clusterDetail/CancelInstallationModal.js +6 -5
- package/build/cjs/ocm/components/clusterDetail/CancelInstallationModal.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ClusterDetail.js +1 -2
- package/build/cjs/ocm/components/clusterDetail/ClusterDetail.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ClusterDetailStatusMessages.js +17 -14
- package/build/cjs/ocm/components/clusterDetail/ClusterDetailStatusMessages.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ClusterDetailStatusVarieties.js +5 -3
- package/build/cjs/ocm/components/clusterDetail/ClusterDetailStatusVarieties.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ClusterDetailsButtonGroup.css +2 -2
- package/build/cjs/ocm/components/clusterDetail/ClusterInstallationError.js +4 -5
- package/build/cjs/ocm/components/clusterDetail/ClusterInstallationError.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ClusterInstallationProgressCard.js +10 -6
- package/build/cjs/ocm/components/clusterDetail/ClusterInstallationProgressCard.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ClusterPollingErrorModal.js +5 -3
- package/build/cjs/ocm/components/clusterDetail/ClusterPollingErrorModal.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ClusterProperties.js +1 -2
- package/build/cjs/ocm/components/clusterDetail/ClusterProperties.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ClusterProperties.test.js +180 -0
- package/build/cjs/ocm/components/clusterDetail/ClusterProperties.test.js.map +1 -0
- package/build/cjs/ocm/components/clusterDetail/ClusterSummaryExpandable.css +1 -1
- package/build/cjs/ocm/components/clusterDetail/ClusterSummaryExpandable.js +1 -1
- package/build/cjs/ocm/components/clusterDetail/ClusterUpdateErrorModal.js +5 -3
- package/build/cjs/ocm/components/clusterDetail/ClusterUpdateErrorModal.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/HostInventoryExpandable.css +1 -1
- package/build/cjs/ocm/components/clusterDetail/HostInventoryExpandable.js +1 -1
- package/build/cjs/ocm/components/clusterDetail/OpenShiftVersionDetail.js +2 -3
- package/build/cjs/ocm/components/clusterDetail/OpenShiftVersionDetail.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ProgressBarAlerts.js +4 -5
- package/build/cjs/ocm/components/clusterDetail/ProgressBarAlerts.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ResetClusterModal.js +9 -6
- package/build/cjs/ocm/components/clusterDetail/ResetClusterModal.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js +21 -3
- package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js +4 -5
- package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizard.js +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardContext.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js +4 -0
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardFooter.js +22 -7
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardFooter.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardNavigation.js +4 -4
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardNavigation.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/HostDiscovery.js +3 -0
- package/build/cjs/ocm/components/clusterWizard/HostDiscovery.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/NewClusterWizard.js +4 -1
- package/build/cjs/ocm/components/clusterWizard/NewClusterWizard.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/OperatorsBundle.css +3 -3
- package/build/cjs/ocm/components/clusterWizard/OperatorsBundle.js +12 -40
- package/build/cjs/ocm/components/clusterWizard/OperatorsBundle.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/OperatorsSelect.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/OperatorsSelect.test.js +131 -0
- package/build/cjs/ocm/components/clusterWizard/OperatorsSelect.test.js.map +1 -0
- package/build/cjs/ocm/components/clusterWizard/OperatorsStep.js +14 -3
- 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/disconnected/BasicStep.js +52 -10
- package/build/cjs/ocm/components/clusterWizard/disconnected/BasicStep.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/disconnected/InstallDisconnectedSwitch.js +1 -1
- package/build/cjs/ocm/components/clusterWizard/disconnected/InstallDisconnectedSwitch.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.js +128 -0
- package/build/cjs/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.js.map +1 -0
- package/build/cjs/ocm/components/clusterWizard/disconnected/ReviewStep.js +44 -10
- package/build/cjs/ocm/components/clusterWizard/disconnected/ReviewStep.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 +3 -0
- package/build/cjs/ocm/components/clusterWizard/wizardTransition.js.map +1 -1
- package/build/cjs/ocm/components/clusters/AssistedInstallerHeader.js +4 -4
- package/build/cjs/ocm/components/clusters/AssistedInstallerHeader.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClusterBreadcrumbs.js +1 -1
- package/build/cjs/ocm/components/clusters/ClusterBreadcrumbs.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClusterLoading.js +1 -1
- package/build/cjs/ocm/components/clusters/ClusterLoading.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClusterPage.js +8 -9
- package/build/cjs/ocm/components/clusters/ClusterPage.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClusterPageErrors.js +1 -1
- package/build/cjs/ocm/components/clusters/ClusterPageErrors.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClusterStatus.js +2 -2
- package/build/cjs/ocm/components/clusters/ClusterStatus.js.map +1 -1
- package/build/cjs/ocm/components/clusters/Clusters.js +6 -7
- package/build/cjs/ocm/components/clusters/Clusters.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClustersListToolbar.js +5 -5
- package/build/cjs/ocm/components/clusters/ClustersListToolbar.js.map +1 -1
- package/build/cjs/ocm/components/clusters/DeleteClusterModal.js +8 -6
- package/build/cjs/ocm/components/clusters/DeleteClusterModal.js.map +1 -1
- package/build/cjs/ocm/components/clusters/NewClusterPage.js +2 -2
- package/build/cjs/ocm/components/clusters/NewClusterPage.js.map +1 -1
- package/build/cjs/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.js +25 -14
- package/build/cjs/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.js.map +1 -1
- package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js +0 -3
- package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js.map +1 -1
- package/build/cjs/ocm/components/hosts/DeleteHostModal.js +5 -3
- package/build/cjs/ocm/components/hosts/DeleteHostModal.js.map +1 -1
- package/build/cjs/ocm/components/hosts/HostRequirementsContent.js +1 -2
- package/build/cjs/ocm/components/hosts/HostRequirementsContent.js.map +1 -1
- package/build/cjs/ocm/components/hosts/HostsDiscoveryTable.js +1 -2
- package/build/cjs/ocm/components/hosts/HostsDiscoveryTable.js.map +1 -1
- package/build/cjs/ocm/components/hosts/ResetHostModal.js +8 -6
- package/build/cjs/ocm/components/hosts/ResetHostModal.js.map +1 -1
- package/build/cjs/ocm/components/hosts/UpdateDay2ApiVipForm.js +2 -2
- package/build/cjs/ocm/components/hosts/UpdateDay2ApiVipForm.js.map +1 -1
- package/build/cjs/ocm/components/hosts/UpdateDay2ApiVipModal.js +3 -2
- package/build/cjs/ocm/components/hosts/UpdateDay2ApiVipModal.js.map +1 -1
- package/build/cjs/ocm/components/ui/InfoLinkWithModal.js +5 -3
- package/build/cjs/ocm/components/ui/InfoLinkWithModal.js.map +1 -1
- package/build/cjs/ocm/hooks/index.js +3 -1
- package/build/cjs/ocm/hooks/index.js.map +1 -1
- package/build/cjs/ocm/hooks/useInfraEnvHosts.js +47 -0
- package/build/cjs/ocm/hooks/useInfraEnvHosts.js.map +1 -0
- package/build/cjs/ocm/hooks/useInfraEnvId.js +11 -2
- package/build/cjs/ocm/hooks/useInfraEnvId.js.map +1 -1
- package/build/cjs/ocm/hooks/useLateBinding.js +61 -0
- package/build/cjs/ocm/hooks/useLateBinding.js.map +1 -0
- package/build/cjs/ocm/services/BundleService.js +2 -2
- package/build/cjs/ocm/services/BundleService.js.map +1 -1
- package/build/cjs/ocm/services/ClustersService.js +10 -2
- package/build/cjs/ocm/services/ClustersService.js.map +1 -1
- package/build/cjs/ocm/services/HostsService.js +6 -0
- package/build/cjs/ocm/services/HostsService.js.map +1 -1
- package/build/cjs/ocm/services/InfraEnvsService.js +2 -2
- package/build/cjs/ocm/services/InfraEnvsService.js.map +1 -1
- package/lib/cim/components/Agent/AgentStatus.tsx +1 -1
- package/lib/cim/components/Agent/BMCForm.tsx +5 -6
- package/lib/cim/components/Agent/MinimalHWRequirements.tsx +2 -1
- package/lib/cim/components/Agent/tableUtils.tsx +0 -11
- package/lib/cim/components/ClusterDeployment/LabelSelector.css +1 -1
- package/lib/cim/components/ClusterDeployment/LabelsSelector.tsx +3 -3
- package/lib/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.tsx +12 -5
- package/lib/cim/components/ClusterDeployment/customManifests/ConfigMapDetail.tsx +3 -3
- package/lib/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscovery.tsx +21 -31
- package/lib/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelection.tsx +2 -2
- package/lib/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingForm.tsx +12 -17
- package/lib/cim/components/ClusterDeployment/use-networking-formik.ts +2 -2
- package/lib/cim/components/Hypershift/DetailsPage/ClusterInstallationProgress.css +1 -1
- package/lib/cim/components/Hypershift/DetailsPage/ConditionsTable.tsx +1 -1
- package/lib/cim/components/Hypershift/DetailsPage/HostedClusterProgress.tsx +1 -1
- package/lib/cim/components/Hypershift/DetailsPage/NodePoolsProgress.tsx +1 -1
- package/lib/cim/components/Hypershift/HostedClusterWizard/HostsStep/NodePoolForm.css +2 -2
- package/lib/cim/components/Hypershift/HostedClusterWizard/NetworkStep/NetworkForm.css +2 -2
- package/lib/cim/components/Hypershift/forms/NodePoolAgentsForm.tsx +2 -2
- package/lib/cim/components/Hypershift/modals/AddNodePoolModal.tsx +2 -6
- package/lib/cim/components/Hypershift/modals/ManageHostsModal.tsx +2 -6
- package/lib/cim/components/Hypershift/modals/RemoveNodePoolModal.tsx +2 -6
- package/lib/cim/components/Hypershift/utils/status.tsx +3 -3
- package/lib/cim/components/InfraEnv/AddHostDropdown.tsx +1 -1
- package/lib/cim/components/InfraEnv/EnvironmentDetails.tsx +6 -13
- package/lib/cim/components/InfraEnv/EnvironmentErrors.tsx +2 -1
- package/lib/cim/components/InfraEnv/InfraEnvFormPage.tsx +1 -1
- package/lib/cim/components/InfraEnv/InfraEnvHostsTabAgentsWarning.tsx +1 -1
- package/lib/cim/components/InfraEnv/InfraTableToolbar.tsx +26 -20
- package/lib/cim/components/InfraEnv/infra-env.css +2 -2
- package/lib/cim/components/common/CpuArchitectureDropdown.tsx +1 -1
- package/lib/cim/components/common/ResourceAlerts.css +1 -1
- package/lib/cim/components/common/ResourceAlerts.tsx +29 -39
- package/lib/cim/components/helpers/agentStatus.tsx +1 -1
- package/lib/cim/components/modals/AddBmcHostModal.tsx +1 -1
- package/lib/cim/components/modals/AddBmcHostYamlForm.css +1 -1
- package/lib/cim/components/modals/AddBmcHostYamlForm.tsx +7 -10
- package/lib/cim/components/modals/AddBmcHostYamlModal.tsx +1 -1
- package/lib/cim/components/modals/AddHostModal.tsx +17 -14
- package/lib/cim/components/modals/CimConfiguration/CimConfigProgressAlert.tsx +2 -1
- package/lib/cim/components/modals/CimConfiguration/CimConfigurationFormFields.tsx +259 -0
- package/lib/cim/components/modals/CimConfiguration/CimConfigurationModal.tsx +165 -194
- package/lib/cim/components/modals/CimConfiguration/persist.ts +62 -125
- package/lib/cim/components/modals/CimConfiguration/types.ts +7 -22
- package/lib/cim/components/modals/EditBMHModal.tsx +1 -1
- package/lib/cim/components/modals/EditNtpSourcesModal.tsx +2 -7
- package/lib/cim/components/modals/EditProxyModal.tsx +2 -7
- package/lib/cim/components/modals/EditPullSecretModal.tsx +2 -6
- package/lib/cim/components/modals/EditSSHKeyModal.tsx +2 -6
- package/lib/cim/components/modals/MassApproveAgentModal.tsx +3 -11
- package/lib/cim/components/modals/MassDeleteAgentModal.tsx +2 -2
- package/lib/cim/components/modals/ScaleUpModal.tsx +1 -3
- package/lib/cim/hooks/index.tsx +1 -0
- package/lib/cim/hooks/useAgentServiceConfig.tsx +15 -0
- package/lib/cim/types/index.ts +0 -1
- package/lib/cim/types/models.tsx +48 -4
- package/lib/common/api/assisted-service/BundleAPI.ts +15 -2
- package/lib/common/api/assisted-service/ClustersAPI.ts +6 -0
- package/lib/common/api/assisted-service/HostsAPI.ts +13 -0
- package/lib/common/api/assisted-service/InfraEnvsAPI.ts +6 -0
- package/lib/common/components/clusterConfiguration/CertificateFields.css +1 -1
- package/lib/common/components/clusterConfiguration/CertificateFields.tsx +1 -1
- package/lib/common/components/clusterConfiguration/DiscoveryImageConfigForm.tsx +6 -6
- package/lib/common/components/clusterConfiguration/DiscoveryInstructions.tsx +16 -16
- package/lib/common/components/clusterConfiguration/DiscoveryIpxeInstructions.tsx +12 -12
- package/lib/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.tsx +40 -39
- package/lib/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionControlGroup.tsx +25 -23
- package/lib/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionMode.tsx +3 -6
- package/lib/common/components/clusterConfiguration/DownloadIpxeScript.tsx +6 -6
- package/lib/common/components/clusterConfiguration/DownloadIso.tsx +16 -9
- package/lib/common/components/clusterConfiguration/DownloadIsoModal.tsx +2 -3
- package/lib/common/components/clusterConfiguration/ProxyFields.css +1 -1
- package/lib/common/components/clusterConfiguration/SecurityFields.tsx +13 -6
- package/lib/common/components/clusterConfiguration/utils.test.ts +275 -0
- package/lib/common/components/clusterConfiguration/utils.ts +26 -9
- package/lib/common/components/clusterDetail/ClusterProgressItem.tsx +2 -2
- package/lib/common/components/clusterDetail/ConsoleModal.tsx +16 -15
- package/lib/common/components/clusterDetail/FinalizingProgress.tsx +8 -10
- package/lib/common/components/clusterDetail/OperatorsProgressItem.tsx +2 -2
- package/lib/common/components/clusterDetail/ProgressBarTexts.tsx +2 -2
- package/lib/common/components/clusterWizard/ClusterWizardStep.css +6 -6
- package/lib/common/components/clusterWizard/ClusterWizardStep.tsx +15 -4
- package/lib/common/components/clusterWizard/ClusterWizardStepHeader.tsx +2 -4
- package/lib/common/components/clusterWizard/ReviewValidations.tsx +5 -2
- package/lib/common/components/clusterWizard/networkingSteps/UserManagedNetworkingTextContent.tsx +5 -5
- package/lib/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.tsx +1 -1
- package/lib/common/components/clusters/PullSecret.tsx +1 -1
- package/lib/common/components/hosts/AITableMemo.tsx +1 -0
- package/lib/common/components/hosts/AdditionalNTPSourcesDialog.tsx +9 -9
- package/lib/common/components/hosts/DiskRole.tsx +1 -0
- package/lib/common/components/hosts/EditHostForm.tsx +6 -6
- package/lib/common/components/hosts/EditHostModal.tsx +2 -3
- package/lib/common/components/hosts/HostPropertyValidationPopover.tsx +2 -2
- package/lib/common/components/hosts/HostRequirements.tsx +2 -4
- package/lib/common/components/hosts/HostStatus.tsx +23 -32
- package/lib/common/components/hosts/HostValidationGroups.css +2 -2
- package/lib/common/components/hosts/HostValidationGroups.tsx +2 -2
- package/lib/common/components/hosts/Hostname.tsx +3 -3
- package/lib/common/components/hosts/HostsTable.css +4 -4
- package/lib/common/components/hosts/MassChangeHostnameModal.css +2 -2
- package/lib/common/components/hosts/MassChangeHostnameModal.tsx +13 -10
- package/lib/common/components/hosts/MassDeleteHostModal.tsx +8 -9
- package/lib/common/components/hosts/OcpConsoleNodesSectionLink.tsx +2 -1
- package/lib/common/components/hosts/TableToolbar.css +1 -1
- package/lib/common/components/hosts/TableToolbar.tsx +14 -14
- package/lib/common/components/hosts/VMRebootConfigurationInfo.tsx +12 -19
- package/lib/common/components/hosts/status.tsx +4 -5
- package/lib/common/components/hosts/tableUtils.tsx +12 -10
- package/lib/common/components/operators/operatorDescriptions.tsx +6 -0
- package/lib/common/components/operators/operatorSpecs.tsx +34 -1
- package/lib/common/components/storage/DisksTable.tsx +2 -11
- package/lib/common/components/storage/StorageUtils.tsx +9 -5
- package/lib/common/components/ui/ClusterEventsToolbar.tsx +25 -23
- package/lib/common/components/ui/ConfirmationModal.tsx +18 -14
- package/lib/common/components/ui/CustomToolbarFilter.tsx +51 -42
- package/lib/common/components/ui/DetailList.css +2 -2
- package/lib/common/components/ui/DetailList.tsx +21 -29
- package/lib/common/components/ui/ExternalLink.tsx +9 -3
- package/lib/common/components/ui/GridGap.tsx +1 -1
- package/lib/common/components/ui/NoPermissionsError.tsx +2 -4
- package/lib/common/components/ui/OpenShiftVersionDropdown.tsx +17 -8
- package/lib/common/components/ui/OpenShiftVersionModal.css +1 -1
- package/lib/common/components/ui/OpenShiftVersionModal.tsx +28 -17
- package/lib/common/components/ui/PopoverIcon.tsx +7 -6
- package/lib/common/components/ui/PreviewBadge.tsx +5 -5
- package/lib/common/components/ui/PrismCode.css +1 -1
- package/lib/common/components/ui/PrismCode.tsx +8 -9
- package/lib/common/components/ui/SectionTitle.tsx +4 -6
- package/lib/common/components/ui/SimpleDropdown.tsx +1 -0
- package/lib/common/components/ui/StaticTextField.tsx +5 -7
- package/lib/common/components/ui/Toolbar/ToolbarSecondaryGroup.tsx +1 -1
- package/lib/common/components/ui/Toolbar/ToolbarText.tsx +3 -3
- package/lib/common/components/ui/WizardFooter.tsx +6 -6
- package/lib/common/components/ui/WizardNavItem.tsx +5 -1
- package/lib/common/components/ui/eventsModal.tsx +25 -18
- package/lib/common/components/ui/formik/AlertFormikError.tsx +8 -10
- package/lib/common/components/ui/formik/CertificatesUploadField.tsx +2 -1
- package/lib/common/components/ui/formik/CheckboxField.tsx +1 -0
- package/lib/common/components/ui/formik/CodeField.tsx +5 -2
- package/lib/common/components/ui/formik/InputField.tsx +23 -9
- package/lib/common/components/ui/formik/LabelField.css +8 -8
- package/lib/common/components/ui/formik/LabelField.tsx +3 -2
- package/lib/common/components/ui/formik/MultiSelectField.tsx +9 -7
- package/lib/common/components/ui/formik/NumberInputField.tsx +2 -1
- package/lib/common/components/ui/formik/PencilEditField.css +1 -1
- package/lib/common/components/ui/formik/PencilEditField.tsx +1 -1
- package/lib/common/components/ui/formik/PullSecretField.tsx +1 -0
- package/lib/common/components/ui/formik/RemovableField.css +6 -6
- package/lib/common/components/ui/formik/RemovableField.tsx +2 -3
- package/lib/common/components/ui/formik/RichInputField.css +2 -9
- package/lib/common/components/ui/formik/RichInputField.tsx +28 -14
- package/lib/common/components/ui/formik/SelectField.tsx +2 -1
- package/lib/common/components/ui/formik/SwitchField.tsx +2 -1
- package/lib/common/components/ui/formik/TextAreaField.tsx +9 -6
- package/lib/common/components/ui/formik/TextAreaSecretField.tsx +4 -1
- package/lib/common/components/ui/formik/UploadField.tsx +3 -1
- package/lib/common/components/ui/formik/_validationSchemas.test.ts +82 -0
- package/lib/common/components/ui/formik/types.ts +2 -2
- package/lib/common/components/ui/formik/validationSchemas.ts +147 -27
- package/lib/common/components/ui/uiState/EmptyState.tsx +3 -7
- package/lib/common/components/ui/uiState/ErrorState.tsx +8 -12
- package/lib/common/components/ui/uiState/LoadingState.tsx +1 -1
- package/lib/common/config/constants.ts +12 -0
- package/lib/common/config/docs_links.ts +24 -6
- package/lib/common/reducers/alertsSlice.ts +2 -1
- package/lib/ocm/components/AddHosts/InventoryAddHost.tsx +7 -9
- package/lib/ocm/components/AddHosts/day2Wizard/Day2StaticIP.tsx +8 -10
- package/lib/ocm/components/AddHosts/day2Wizard/Day2StaticIpHostConfigurations.tsx +3 -8
- package/lib/ocm/components/AddHosts/day2Wizard/Day2Wizard.tsx +4 -5
- package/lib/ocm/components/AddHosts/day2Wizard/Day2WizardFooter.tsx +1 -0
- package/lib/ocm/components/AddHosts/day2Wizard/Day2WizardNav.tsx +7 -2
- package/lib/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabMock.tsx +3 -6
- package/lib/ocm/components/HostsClusterDetailTab/utils.ts +30 -14
- package/lib/ocm/components/Routes.css +10 -0
- package/lib/ocm/components/Routes.tsx +4 -1
- package/lib/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.tsx +2 -1
- package/lib/ocm/components/clusterConfiguration/CpuArchitectureDropdown.tsx +3 -1
- package/lib/ocm/components/clusterConfiguration/CustomManifestCheckbox.tsx +3 -1
- package/lib/ocm/components/clusterConfiguration/DiscoveryImageModal.tsx +6 -3
- package/lib/ocm/components/clusterConfiguration/DiscoveryImageTypeDropdown.tsx +3 -1
- package/lib/ocm/components/clusterConfiguration/HostInventory.tsx +19 -29
- package/lib/ocm/components/clusterConfiguration/HostsNetworkConfigurationControlGroup.tsx +2 -1
- package/lib/ocm/components/clusterConfiguration/OcmBaseDomainField.tsx +3 -2
- package/lib/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.tsx +17 -16
- package/lib/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.tsx +37 -26
- package/lib/ocm/components/clusterConfiguration/OcmOperatorProgressItem.tsx +2 -2
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.tsx +6 -6
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/DeleteCustomManifestModal.tsx +22 -15
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifest.tsx +2 -3
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/ExpandedManifest.tsx +1 -7
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.tsx +2 -1
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/AdvancedNetworkFields.tsx +15 -23
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/AvailableSubnetsControl.tsx +141 -37
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.tsx +3 -2
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.tsx +6 -7
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/StackTypeControl.tsx +103 -11
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.tsx +109 -14
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/VirtualIPControlGroup.tsx +69 -15
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.ts +18 -7
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/reorderNetworks.ts +72 -0
- package/lib/ocm/components/clusterConfiguration/operators/OperatorCheckbox.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/operators/bundleSpecs.tsx +0 -3
- package/lib/ocm/components/clusterConfiguration/operators/utils.tsx +12 -7
- package/lib/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.tsx +47 -27
- package/lib/ocm/components/clusterConfiguration/review/ReviewCluster.css +5 -7
- package/lib/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.tsx +70 -15
- package/lib/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.tsx +24 -21
- package/lib/ocm/components/clusterConfiguration/review/ReviewSummary.tsx +4 -4
- package/lib/ocm/components/clusterConfiguration/review/TableSummaryExpandable.tsx +2 -2
- package/lib/ocm/components/clusterConfiguration/staticIp/components/CollapsedHost.tsx +2 -12
- package/lib/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/BondsConfirmationModal.tsx +8 -9
- package/lib/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHostsFields.tsx +4 -5
- package/lib/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/FormViewNetworkWideFields.tsx +9 -9
- package/lib/ocm/components/clusterConfiguration/staticIp/components/StaticIpHostsArray.tsx +2 -3
- package/lib/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.tsx +15 -7
- package/lib/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlViewFields.tsx +8 -10
- package/lib/ocm/components/clusterConfiguration/staticIp/components/staticIp.css +9 -9
- package/lib/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.tsx +1 -1
- package/lib/ocm/components/clusterDetail/CancelInstallationModal.tsx +15 -19
- package/lib/ocm/components/clusterDetail/ClusterDetail.tsx +2 -12
- package/lib/ocm/components/clusterDetail/ClusterDetailStatusMessages.tsx +34 -26
- package/lib/ocm/components/clusterDetail/ClusterDetailStatusVarieties.tsx +17 -13
- package/lib/ocm/components/clusterDetail/ClusterDetailsButtonGroup.css +2 -2
- package/lib/ocm/components/clusterDetail/ClusterInstallationError.tsx +7 -16
- package/lib/ocm/components/clusterDetail/ClusterInstallationProgressCard.tsx +31 -23
- package/lib/ocm/components/clusterDetail/ClusterPollingErrorModal.tsx +15 -12
- package/lib/ocm/components/clusterDetail/ClusterProperties.test.ts +215 -0
- package/lib/ocm/components/clusterDetail/ClusterProperties.tsx +2 -4
- package/lib/ocm/components/clusterDetail/ClusterSummaryExpandable.css +1 -1
- package/lib/ocm/components/clusterDetail/ClusterSummaryExpandable.tsx +1 -1
- package/lib/ocm/components/clusterDetail/ClusterUpdateErrorModal.tsx +17 -12
- package/lib/ocm/components/clusterDetail/HostInventoryExpandable.css +1 -1
- package/lib/ocm/components/clusterDetail/HostInventoryExpandable.tsx +1 -1
- package/lib/ocm/components/clusterDetail/OpenShiftVersionDetail.tsx +6 -8
- package/lib/ocm/components/clusterDetail/ProgressBarAlerts.tsx +7 -9
- package/lib/ocm/components/clusterDetail/ResetClusterModal.tsx +18 -20
- package/lib/ocm/components/clusterWizard/ClusterDetails.tsx +30 -3
- package/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx +9 -10
- package/lib/ocm/components/clusterWizard/ClusterWizard.tsx +1 -1
- package/lib/ocm/components/clusterWizard/ClusterWizardContext.tsx +3 -0
- package/lib/ocm/components/clusterWizard/ClusterWizardContextProvider.tsx +6 -0
- package/lib/ocm/components/clusterWizard/ClusterWizardFooter.tsx +27 -5
- package/lib/ocm/components/clusterWizard/ClusterWizardNavigation.tsx +7 -2
- package/lib/ocm/components/clusterWizard/HostDiscovery.tsx +3 -0
- package/lib/ocm/components/clusterWizard/NewClusterWizard.tsx +4 -1
- package/lib/ocm/components/clusterWizard/OperatorsBundle.css +3 -3
- package/lib/ocm/components/clusterWizard/OperatorsBundle.tsx +8 -49
- package/lib/ocm/components/clusterWizard/OperatorsSelect.test.ts +163 -0
- package/lib/ocm/components/clusterWizard/OperatorsSelect.tsx +0 -1
- package/lib/ocm/components/clusterWizard/OperatorsStep.tsx +22 -2
- package/lib/ocm/components/clusterWizard/constants.ts +1 -0
- package/lib/ocm/components/clusterWizard/disconnected/BasicStep.tsx +64 -25
- package/lib/ocm/components/clusterWizard/disconnected/InstallDisconnectedSwitch.tsx +0 -1
- package/lib/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.tsx +201 -0
- package/lib/ocm/components/clusterWizard/disconnected/ReviewStep.tsx +45 -17
- package/lib/ocm/components/clusterWizard/index.ts +1 -0
- package/lib/ocm/components/clusterWizard/wizardTransition.ts +5 -1
- package/lib/ocm/components/clusters/AssistedInstallerHeader.tsx +9 -9
- package/lib/ocm/components/clusters/ClusterBreadcrumbs.tsx +3 -8
- package/lib/ocm/components/clusters/ClusterLoading.tsx +2 -2
- package/lib/ocm/components/clusters/ClusterPage.tsx +9 -11
- package/lib/ocm/components/clusters/ClusterPageErrors.tsx +2 -2
- package/lib/ocm/components/clusters/ClusterStatus.tsx +1 -1
- package/lib/ocm/components/clusters/Clusters.tsx +7 -16
- package/lib/ocm/components/clusters/ClustersListToolbar.tsx +9 -7
- package/lib/ocm/components/clusters/DeleteClusterModal.tsx +16 -10
- package/lib/ocm/components/clusters/NewClusterPage.tsx +3 -3
- package/lib/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.tsx +40 -18
- package/lib/ocm/components/featureSupportLevels/featureStateUtils.ts +1 -3
- package/lib/ocm/components/hosts/DeleteHostModal.tsx +18 -8
- package/lib/ocm/components/hosts/HostRequirementsContent.tsx +4 -4
- package/lib/ocm/components/hosts/HostsDiscoveryTable.tsx +3 -2
- package/lib/ocm/components/hosts/ResetHostModal.tsx +16 -12
- package/lib/ocm/components/hosts/UpdateDay2ApiVipForm.tsx +6 -6
- package/lib/ocm/components/hosts/UpdateDay2ApiVipModal.tsx +2 -3
- package/lib/ocm/components/ui/InfoLinkWithModal.tsx +9 -11
- package/lib/ocm/hooks/index.ts +1 -0
- package/lib/ocm/hooks/useInfraEnvHosts.ts +60 -0
- package/lib/ocm/hooks/useInfraEnvId.ts +15 -2
- package/lib/ocm/hooks/useLateBinding.ts +71 -0
- package/lib/ocm/services/BundleService.ts +12 -2
- package/lib/ocm/services/ClustersService.ts +14 -2
- package/lib/ocm/services/HostsService.ts +9 -0
- package/lib/ocm/services/InfraEnvsService.ts +4 -1
- package/package.json +12 -12
- package/build/@types/cim/components/modals/CimConfiguration/CimConfigurationForm.d.ts +0 -5
- package/build/@types/cim/components/modals/CimConfiguration/CimConfigurationForm.d.ts.map +0 -1
- package/build/@types/cim/types/resources.d.ts +0 -45
- package/build/@types/cim/types/resources.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/UserManagedNetworkingTextContent.d.ts +0 -6
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/UserManagedNetworkingTextContent.d.ts.map +0 -1
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationForm.css +0 -23
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationForm.js +0 -85
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationForm.js.map +0 -1
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationModal.css +0 -3
- package/build/cjs/cim/types/resources.js +0 -10
- package/build/cjs/cim/types/resources.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/UserManagedNetworkingTextContent.js +0 -25
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/UserManagedNetworkingTextContent.js.map +0 -1
- package/lib/cim/components/modals/CimConfiguration/CimConfigurationForm.css +0 -23
- package/lib/cim/components/modals/CimConfiguration/CimConfigurationForm.tsx +0 -290
- package/lib/cim/components/modals/CimConfiguration/CimConfigurationModal.css +0 -3
- package/lib/cim/types/resources.ts +0 -50
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/UserManagedNetworkingTextContent.tsx +0 -30
- package/lib/ocm/hooks/_use-feature-detection.test.tsx +0 -115
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
import { describe, it, expect } from 'vitest';
|
|
2
|
+
import { Bundle } from '@openshift-assisted/types/assisted-installer-service';
|
|
3
|
+
import { OperatorsValues } from '../../../common';
|
|
4
|
+
|
|
5
|
+
// Test the counting logic that was implemented in OperatorsSelect
|
|
6
|
+
function calculateSelectedOperators(
|
|
7
|
+
values: OperatorsValues,
|
|
8
|
+
bundles: Bundle[],
|
|
9
|
+
opSpecs: Record<string, unknown>,
|
|
10
|
+
): string[] {
|
|
11
|
+
// Calculate all selected operators (direct selections + bundle selections)
|
|
12
|
+
const bundleOperators = values.selectedBundles.flatMap(
|
|
13
|
+
(bundleId) => bundles.find((b) => b.id === bundleId)?.operators || [],
|
|
14
|
+
);
|
|
15
|
+
|
|
16
|
+
const allSelectedOperators = values.selectedOperators
|
|
17
|
+
.concat(bundleOperators)
|
|
18
|
+
.filter((op, index, array) => array.indexOf(op) === index); // Remove duplicates
|
|
19
|
+
|
|
20
|
+
return allSelectedOperators.filter((opKey) => !!opSpecs[opKey]);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
describe('OperatorsSelect counting logic', () => {
|
|
24
|
+
const mockBundles: Bundle[] = [
|
|
25
|
+
{
|
|
26
|
+
id: 'virtualization',
|
|
27
|
+
title: 'Virtualization',
|
|
28
|
+
description: 'Virtualization bundle',
|
|
29
|
+
operators: ['cnv', 'nmstate', 'mtv'],
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
id: 'openshift-ai',
|
|
33
|
+
title: 'OpenShift AI',
|
|
34
|
+
description: 'AI bundle',
|
|
35
|
+
operators: ['nvidia-gpu', 'authorino', 'odf'],
|
|
36
|
+
},
|
|
37
|
+
];
|
|
38
|
+
|
|
39
|
+
const mockOpSpecs = {
|
|
40
|
+
lvm: { title: 'LVM' },
|
|
41
|
+
odf: { title: 'ODF' },
|
|
42
|
+
cnv: { title: 'CNV' },
|
|
43
|
+
nmstate: { title: 'NMState' },
|
|
44
|
+
mtv: { title: 'MTV' },
|
|
45
|
+
'nvidia-gpu': { title: 'NVIDIA GPU' },
|
|
46
|
+
authorino: { title: 'Authorino' },
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
it('should count only manually selected operators when no bundles are selected', () => {
|
|
50
|
+
const values: OperatorsValues = {
|
|
51
|
+
selectedOperators: ['lvm', 'odf'],
|
|
52
|
+
selectedBundles: [],
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
const result = calculateSelectedOperators(values, mockBundles, mockOpSpecs);
|
|
56
|
+
|
|
57
|
+
expect(result).toHaveLength(2);
|
|
58
|
+
expect(result).toContain('lvm');
|
|
59
|
+
expect(result).toContain('odf');
|
|
60
|
+
});
|
|
61
|
+
|
|
62
|
+
it('should count bundle operators when a bundle is selected', () => {
|
|
63
|
+
const values: OperatorsValues = {
|
|
64
|
+
selectedOperators: ['lvm'], // 1 manually selected
|
|
65
|
+
selectedBundles: ['virtualization'], // bundle with 3 operators: cnv, nmstate, mtv
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
const result = calculateSelectedOperators(values, mockBundles, mockOpSpecs);
|
|
69
|
+
|
|
70
|
+
expect(result).toHaveLength(4);
|
|
71
|
+
expect(result).toContain('lvm');
|
|
72
|
+
expect(result).toContain('cnv');
|
|
73
|
+
expect(result).toContain('nmstate');
|
|
74
|
+
expect(result).toContain('mtv');
|
|
75
|
+
});
|
|
76
|
+
|
|
77
|
+
it('should not double-count operators that are both manually selected and in a bundle', () => {
|
|
78
|
+
const values: OperatorsValues = {
|
|
79
|
+
selectedOperators: ['lvm', 'cnv'], // cnv is also in the bundle
|
|
80
|
+
selectedBundles: ['virtualization'], // bundle with: cnv, nmstate, mtv
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
const result = calculateSelectedOperators(values, mockBundles, mockOpSpecs);
|
|
84
|
+
|
|
85
|
+
expect(result).toHaveLength(4);
|
|
86
|
+
expect(result).toContain('lvm');
|
|
87
|
+
expect(result).toContain('cnv');
|
|
88
|
+
expect(result).toContain('nmstate');
|
|
89
|
+
expect(result).toContain('mtv');
|
|
90
|
+
// cnv should only appear once in the result
|
|
91
|
+
expect(result.filter((op) => op === 'cnv')).toHaveLength(1);
|
|
92
|
+
});
|
|
93
|
+
|
|
94
|
+
it('should only count operators that have valid specs', () => {
|
|
95
|
+
const values: OperatorsValues = {
|
|
96
|
+
selectedOperators: ['lvm', 'invalid-operator'], // invalid-operator not in opSpecs
|
|
97
|
+
selectedBundles: [],
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
const result = calculateSelectedOperators(values, mockBundles, mockOpSpecs);
|
|
101
|
+
|
|
102
|
+
expect(result).toHaveLength(1);
|
|
103
|
+
expect(result).toContain('lvm');
|
|
104
|
+
expect(result).not.toContain('invalid-operator');
|
|
105
|
+
});
|
|
106
|
+
|
|
107
|
+
it('should handle multiple bundles correctly', () => {
|
|
108
|
+
const values: OperatorsValues = {
|
|
109
|
+
selectedOperators: ['lvm'],
|
|
110
|
+
selectedBundles: ['virtualization', 'openshift-ai'], // Two bundles
|
|
111
|
+
};
|
|
112
|
+
|
|
113
|
+
const result = calculateSelectedOperators(values, mockBundles, mockOpSpecs);
|
|
114
|
+
|
|
115
|
+
expect(result).toHaveLength(7); // lvm + 3 from virtualization + 3 from openshift-ai
|
|
116
|
+
expect(result).toContain('lvm');
|
|
117
|
+
expect(result).toContain('cnv');
|
|
118
|
+
expect(result).toContain('nmstate');
|
|
119
|
+
expect(result).toContain('mtv');
|
|
120
|
+
expect(result).toContain('nvidia-gpu');
|
|
121
|
+
expect(result).toContain('authorino');
|
|
122
|
+
expect(result).toContain('odf');
|
|
123
|
+
});
|
|
124
|
+
|
|
125
|
+
it('should handle overlapping operators in multiple bundles', () => {
|
|
126
|
+
const values: OperatorsValues = {
|
|
127
|
+
selectedOperators: [],
|
|
128
|
+
selectedBundles: ['virtualization', 'openshift-ai'], // Both bundles have 'odf' (but only virtualization has it in our mock)
|
|
129
|
+
};
|
|
130
|
+
|
|
131
|
+
// Let's modify the virtualization bundle to include odf to test overlap
|
|
132
|
+
const bundlesWithOverlap: Bundle[] = [
|
|
133
|
+
{
|
|
134
|
+
id: 'virtualization',
|
|
135
|
+
title: 'Virtualization',
|
|
136
|
+
description: 'Virtualization bundle',
|
|
137
|
+
operators: ['cnv', 'nmstate', 'mtv', 'odf'], // Added odf
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
id: 'openshift-ai',
|
|
141
|
+
title: 'OpenShift AI',
|
|
142
|
+
description: 'AI bundle',
|
|
143
|
+
operators: ['nvidia-gpu', 'authorino', 'odf'], // odf is in both bundles
|
|
144
|
+
},
|
|
145
|
+
];
|
|
146
|
+
|
|
147
|
+
const result = calculateSelectedOperators(values, bundlesWithOverlap, mockOpSpecs);
|
|
148
|
+
|
|
149
|
+
expect(result).toHaveLength(6); // cnv, nmstate, mtv, odf, nvidia-gpu, authorino (odf not double-counted)
|
|
150
|
+
expect(result.filter((op) => op === 'odf')).toHaveLength(1); // odf should only appear once
|
|
151
|
+
});
|
|
152
|
+
|
|
153
|
+
it('should handle empty selections correctly', () => {
|
|
154
|
+
const values: OperatorsValues = {
|
|
155
|
+
selectedOperators: [],
|
|
156
|
+
selectedBundles: [],
|
|
157
|
+
};
|
|
158
|
+
|
|
159
|
+
const result = calculateSelectedOperators(values, mockBundles, mockOpSpecs);
|
|
160
|
+
|
|
161
|
+
expect(result).toHaveLength(0);
|
|
162
|
+
});
|
|
163
|
+
});
|
|
@@ -37,7 +37,6 @@ const OperatorsSelect = ({
|
|
|
37
37
|
const [supportedOperators, setSupportedOperators] = useStateSafely<string[]>([]);
|
|
38
38
|
const isSingleClusterFeatureEnabled = useFeature('ASSISTED_INSTALLER_SINGLE_CLUSTER_FEATURE');
|
|
39
39
|
const { values } = useFormikContext<OperatorsValues>();
|
|
40
|
-
|
|
41
40
|
React.useEffect(() => {
|
|
42
41
|
const fetchSupportedOperators = async () => {
|
|
43
42
|
try {
|
|
@@ -18,13 +18,26 @@ export const OperatorsStep = ({ cluster }: ClusterOperatorProps) => {
|
|
|
18
18
|
const { addAlert } = useAlerts();
|
|
19
19
|
const [bundlesLoading, setBundlesLoading] = React.useState(true);
|
|
20
20
|
const [bundles, setBundles] = React.useState<Bundle[]>([]);
|
|
21
|
+
const [allBundles, setAllBundles] = React.useState<Bundle[]>([]);
|
|
21
22
|
const { preflightRequirements, isLoading } = useClusterPreflightRequirements(cluster.id);
|
|
22
23
|
const [searchTerm, setSearchTerm] = React.useState('');
|
|
23
24
|
React.useEffect(() => {
|
|
24
25
|
const fetchBundles = async () => {
|
|
25
26
|
try {
|
|
26
|
-
const fetchedBundles = await BundleService.listBundles(
|
|
27
|
+
const fetchedBundles = await BundleService.listBundles(
|
|
28
|
+
cluster?.openshiftVersion || '',
|
|
29
|
+
cluster?.cpuArchitecture || '',
|
|
30
|
+
cluster?.platform?.type || '',
|
|
31
|
+
cluster?.controlPlaneCount === 1 ? 'SNO' : undefined,
|
|
32
|
+
);
|
|
33
|
+
const allBundles = await BundleService.listBundles(
|
|
34
|
+
cluster?.openshiftVersion || '',
|
|
35
|
+
cluster?.cpuArchitecture || '',
|
|
36
|
+
cluster?.platform?.type || '',
|
|
37
|
+
undefined,
|
|
38
|
+
);
|
|
27
39
|
setBundles(fetchedBundles);
|
|
40
|
+
setAllBundles(allBundles);
|
|
28
41
|
} catch (error) {
|
|
29
42
|
handleApiError(error, () =>
|
|
30
43
|
addAlert({
|
|
@@ -38,7 +51,13 @@ export const OperatorsStep = ({ cluster }: ClusterOperatorProps) => {
|
|
|
38
51
|
};
|
|
39
52
|
|
|
40
53
|
void fetchBundles();
|
|
41
|
-
}, [
|
|
54
|
+
}, [
|
|
55
|
+
addAlert,
|
|
56
|
+
cluster.cpuArchitecture,
|
|
57
|
+
cluster.openshiftVersion,
|
|
58
|
+
cluster.platform?.type,
|
|
59
|
+
cluster.controlPlaneCount,
|
|
60
|
+
]);
|
|
42
61
|
|
|
43
62
|
const filteredBundles = bundles.filter(
|
|
44
63
|
(bundle) =>
|
|
@@ -75,6 +94,7 @@ export const OperatorsStep = ({ cluster }: ClusterOperatorProps) => {
|
|
|
75
94
|
bundles={filteredBundles}
|
|
76
95
|
preflightRequirements={preflightRequirements}
|
|
77
96
|
searchTerm={searchTerm}
|
|
97
|
+
allBundles={allBundles}
|
|
78
98
|
/>
|
|
79
99
|
</StackItem>
|
|
80
100
|
<StackItem>
|
|
@@ -14,6 +14,7 @@ export const wizardStepNames: { [key in ClusterWizardStepsType]: string } = {
|
|
|
14
14
|
'credentials-download': 'Download credentials',
|
|
15
15
|
'disconnected-review': 'Review and download ISO',
|
|
16
16
|
'disconnected-basic': 'Basic information',
|
|
17
|
+
'disconnected-optional-configurations': 'Optional configurations',
|
|
17
18
|
};
|
|
18
19
|
|
|
19
20
|
export const defaultWizardSteps: ClusterWizardStepsType[] = [
|
|
@@ -1,33 +1,67 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import {
|
|
3
3
|
ClusterWizardStep,
|
|
4
|
-
|
|
4
|
+
TechnologyPreview,
|
|
5
5
|
ExternalLink,
|
|
6
6
|
OCP_RELEASES_PAGE,
|
|
7
7
|
StaticTextField,
|
|
8
8
|
useTranslation,
|
|
9
9
|
} from '../../../../common';
|
|
10
|
-
import {
|
|
11
|
-
Split,
|
|
12
|
-
SplitItem,
|
|
13
|
-
TextContent,
|
|
14
|
-
Text,
|
|
15
|
-
TextVariants,
|
|
16
|
-
Grid,
|
|
17
|
-
GridItem,
|
|
18
|
-
Form,
|
|
19
|
-
} from '@patternfly/react-core';
|
|
20
|
-
import { Formik } from 'formik';
|
|
10
|
+
import { Flex, Grid, GridItem, Form, Content } from '@patternfly/react-core';
|
|
21
11
|
import OcmOpenShiftVersion from '../../clusterConfiguration/OcmOpenShiftVersion';
|
|
22
12
|
import { useClusterWizardContext } from '../ClusterWizardContext';
|
|
23
13
|
import ClusterWizardFooter from '../ClusterWizardFooter';
|
|
24
14
|
import ClusterWizardNavigation from '../ClusterWizardNavigation';
|
|
25
15
|
import { WithErrorBoundary } from '../../../../common/components/ErrorHandling/WithErrorBoundary';
|
|
26
16
|
import InstallDisconnectedSwitch from './InstallDisconnectedSwitch';
|
|
17
|
+
import { Formik } from 'formik';
|
|
18
|
+
import ClustersService from '../../../services/ClustersService';
|
|
19
|
+
import { handleApiError, getApiErrorMessage } from '../../../../common/api';
|
|
20
|
+
import { useAlerts } from '../../../../common/components/AlertsContextProvider';
|
|
21
|
+
import { AlertVariant } from '@patternfly/react-core';
|
|
22
|
+
import { ClusterWizardFlowStateNew } from '../wizardTransition';
|
|
23
|
+
import { useLocation, useNavigate } from 'react-router-dom-v5-compat';
|
|
24
|
+
import { AxiosResponse } from 'axios';
|
|
25
|
+
import { Cluster } from '@openshift-assisted/types//assisted-installer-service';
|
|
27
26
|
|
|
28
27
|
const BasicStep = () => {
|
|
29
28
|
const { t } = useTranslation();
|
|
30
29
|
const { moveNext } = useClusterWizardContext();
|
|
30
|
+
const { addAlert } = useAlerts();
|
|
31
|
+
const [isSubmitting, setIsSubmitting] = React.useState(false);
|
|
32
|
+
const navigate = useNavigate();
|
|
33
|
+
const location = useLocation();
|
|
34
|
+
const currentPath = location.pathname;
|
|
35
|
+
let disconnectedClusterId: string | undefined;
|
|
36
|
+
|
|
37
|
+
const onNext = async () => {
|
|
38
|
+
try {
|
|
39
|
+
setIsSubmitting(true);
|
|
40
|
+
// Create cluster only - infraEnv will be created in OptionalConfigurationsStep
|
|
41
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
42
|
+
const { data: disconnectedCluster }: AxiosResponse<Cluster> =
|
|
43
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-call
|
|
44
|
+
await ClustersService.registerDisconnected({
|
|
45
|
+
name: 'disconnected-cluster',
|
|
46
|
+
openshiftVersion: '4.20',
|
|
47
|
+
});
|
|
48
|
+
disconnectedClusterId = disconnectedCluster.id;
|
|
49
|
+
navigate(`${currentPath}/${disconnectedClusterId}`, {
|
|
50
|
+
state: ClusterWizardFlowStateNew,
|
|
51
|
+
});
|
|
52
|
+
moveNext();
|
|
53
|
+
} catch (error: unknown) {
|
|
54
|
+
handleApiError(error, () => {
|
|
55
|
+
addAlert({
|
|
56
|
+
title: 'Failed to create disconnected cluster',
|
|
57
|
+
message: getApiErrorMessage(error),
|
|
58
|
+
variant: AlertVariant.danger,
|
|
59
|
+
});
|
|
60
|
+
});
|
|
61
|
+
} finally {
|
|
62
|
+
setIsSubmitting(false);
|
|
63
|
+
}
|
|
64
|
+
};
|
|
31
65
|
|
|
32
66
|
return (
|
|
33
67
|
<Formik
|
|
@@ -38,28 +72,33 @@ const BasicStep = () => {
|
|
|
38
72
|
>
|
|
39
73
|
<ClusterWizardStep
|
|
40
74
|
navigation={<ClusterWizardNavigation />}
|
|
41
|
-
footer={
|
|
75
|
+
footer={
|
|
76
|
+
<ClusterWizardFooter
|
|
77
|
+
onNext={() => {
|
|
78
|
+
void onNext();
|
|
79
|
+
}}
|
|
80
|
+
isSubmitting={isSubmitting}
|
|
81
|
+
disconnectedClusterId={disconnectedClusterId}
|
|
82
|
+
/>
|
|
83
|
+
}
|
|
42
84
|
>
|
|
43
85
|
<WithErrorBoundary title="Failed to load Basic step">
|
|
44
86
|
<Grid hasGutter>
|
|
45
87
|
<GridItem>
|
|
46
|
-
<
|
|
47
|
-
<SplitItem>
|
|
48
|
-
<TextContent>
|
|
49
|
-
<Text component={TextVariants.h2}>Basic information</Text>
|
|
50
|
-
</TextContent>
|
|
51
|
-
</SplitItem>
|
|
52
|
-
<SplitItem>
|
|
53
|
-
<DeveloperPreview />
|
|
54
|
-
</SplitItem>
|
|
55
|
-
</Split>
|
|
88
|
+
<Content component="h2">Basic information</Content>
|
|
56
89
|
</GridItem>
|
|
57
90
|
<GridItem>
|
|
58
|
-
<
|
|
91
|
+
<Flex alignItems={{ default: 'alignItemsCenter' }} gap={{ default: 'gapSm' }}>
|
|
92
|
+
<TechnologyPreview />
|
|
93
|
+
<InstallDisconnectedSwitch />
|
|
94
|
+
<span>
|
|
95
|
+
{t("ai:I'm installing on a disconnected/air-gapped/secured environment")}
|
|
96
|
+
</span>
|
|
97
|
+
</Flex>
|
|
59
98
|
</GridItem>
|
|
60
99
|
<GridItem>
|
|
61
100
|
<Form id="wizard-cluster-basic-info__form">
|
|
62
|
-
<OcmOpenShiftVersion openshiftVersion="4.
|
|
101
|
+
<OcmOpenShiftVersion openshiftVersion="4.20" withPreviewText withMultiText>
|
|
63
102
|
<ExternalLink href={`${window.location.origin}/${OCP_RELEASES_PAGE}`}>
|
|
64
103
|
<span data-ouia-id="openshift-releases-link">
|
|
65
104
|
{t('ai:Learn more about OpenShift releases')}
|
|
@@ -10,7 +10,6 @@ const InstallDisconnectedSwitch = ({ isDisabled }: { isDisabled?: boolean }) =>
|
|
|
10
10
|
const switchBtn = (
|
|
11
11
|
<Switch
|
|
12
12
|
id="disconnected-install-switch"
|
|
13
|
-
label={t("ai:I'm installing on a disconnected/air-gapped/secured environment")}
|
|
14
13
|
isChecked={installDisconnected}
|
|
15
14
|
onChange={(_, checked) => setInstallDisconnected(checked)}
|
|
16
15
|
ouiaId="DisconnectedInstall"
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Formik, useFormikContext } from 'formik';
|
|
3
|
+
import * as Yup from 'yup';
|
|
4
|
+
import {
|
|
5
|
+
ClusterWizardStep,
|
|
6
|
+
TechnologyPreview,
|
|
7
|
+
getRichTextValidation,
|
|
8
|
+
sshPublicKeyValidationSchema,
|
|
9
|
+
pullSecretValidationSchema,
|
|
10
|
+
getFormikErrorFields,
|
|
11
|
+
} from '../../../../common';
|
|
12
|
+
import { Split, SplitItem, Grid, GridItem, Form, Content, Checkbox } from '@patternfly/react-core';
|
|
13
|
+
import { useClusterWizardContext } from '../ClusterWizardContext';
|
|
14
|
+
import ClusterWizardFooter from '../ClusterWizardFooter';
|
|
15
|
+
import ClusterWizardNavigation from '../ClusterWizardNavigation';
|
|
16
|
+
import { WithErrorBoundary } from '../../../../common/components/ErrorHandling/WithErrorBoundary';
|
|
17
|
+
import UploadSSH from '../../../../common/components/clusterConfiguration/UploadSSH';
|
|
18
|
+
import PullSecretField from '../../../../common/components/ui/formik/PullSecretField';
|
|
19
|
+
import { isInOcm, handleApiError, getApiErrorMessage } from '../../../../common/api';
|
|
20
|
+
import { useAlerts } from '../../../../common/components/AlertsContextProvider';
|
|
21
|
+
import { AlertVariant } from '@patternfly/react-core';
|
|
22
|
+
import InfraEnvsService from '../../../services/InfraEnvsService';
|
|
23
|
+
import { InfraEnvsAPI } from '../../../services/apis';
|
|
24
|
+
import usePullSecret from '../../../hooks/usePullSecret';
|
|
25
|
+
import { useParams } from 'react-router-dom-v5-compat';
|
|
26
|
+
import ClustersService from '../../../services/ClustersService';
|
|
27
|
+
import { Cluster } from '@openshift-assisted/types/assisted-installer-service';
|
|
28
|
+
|
|
29
|
+
type OptionalConfigurationsFormValues = {
|
|
30
|
+
sshPublicKey?: string;
|
|
31
|
+
pullSecret?: string;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
const PullSecretSync: React.FC<{ pullSecret?: string }> = ({ pullSecret }) => {
|
|
35
|
+
const { setFieldValue } = useFormikContext<OptionalConfigurationsFormValues>();
|
|
36
|
+
|
|
37
|
+
React.useEffect(() => {
|
|
38
|
+
if (pullSecret !== undefined) {
|
|
39
|
+
setFieldValue('pullSecret', pullSecret);
|
|
40
|
+
}
|
|
41
|
+
}, [pullSecret, setFieldValue]);
|
|
42
|
+
|
|
43
|
+
return null;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
const OptionalConfigurationsStep = () => {
|
|
47
|
+
const pullSecret = usePullSecret() || '';
|
|
48
|
+
const { clusterId } = useParams<{ clusterId: string }>();
|
|
49
|
+
const [cluster, setCluster] = React.useState<Cluster | null>(null);
|
|
50
|
+
|
|
51
|
+
const { moveNext, moveBack, setDisconnectedInfraEnv, disconnectedInfraEnv } =
|
|
52
|
+
useClusterWizardContext();
|
|
53
|
+
const { addAlert } = useAlerts();
|
|
54
|
+
const [editPullSecret, setEditPullSecret] = React.useState(false);
|
|
55
|
+
|
|
56
|
+
React.useEffect(() => {
|
|
57
|
+
const fetchCluster = async () => {
|
|
58
|
+
if (!clusterId) {
|
|
59
|
+
return;
|
|
60
|
+
}
|
|
61
|
+
try {
|
|
62
|
+
const fetchedCluster = await ClustersService.get(clusterId);
|
|
63
|
+
setCluster(fetchedCluster);
|
|
64
|
+
} catch (error) {
|
|
65
|
+
handleApiError(error, () => {
|
|
66
|
+
addAlert({
|
|
67
|
+
title: 'Failed to fetch cluster',
|
|
68
|
+
message: getApiErrorMessage(error),
|
|
69
|
+
variant: AlertVariant.danger,
|
|
70
|
+
});
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
void fetchCluster();
|
|
75
|
+
}, [clusterId, addAlert]);
|
|
76
|
+
|
|
77
|
+
const validationSchema = React.useMemo(
|
|
78
|
+
() =>
|
|
79
|
+
Yup.object<OptionalConfigurationsFormValues>().shape({
|
|
80
|
+
sshPublicKey: sshPublicKeyValidationSchema,
|
|
81
|
+
pullSecret: pullSecretValidationSchema,
|
|
82
|
+
}),
|
|
83
|
+
[],
|
|
84
|
+
);
|
|
85
|
+
|
|
86
|
+
const initialValues: OptionalConfigurationsFormValues = {
|
|
87
|
+
sshPublicKey: '',
|
|
88
|
+
pullSecret: pullSecret,
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
return (
|
|
92
|
+
<Formik
|
|
93
|
+
initialValues={initialValues}
|
|
94
|
+
validate={getRichTextValidation<OptionalConfigurationsFormValues>(validationSchema)}
|
|
95
|
+
onSubmit={async (values) => {
|
|
96
|
+
if (!cluster || !cluster.id) {
|
|
97
|
+
addAlert({
|
|
98
|
+
title: 'Missing cluster',
|
|
99
|
+
message: 'Cluster must be created before configuring infrastructure environment',
|
|
100
|
+
variant: AlertVariant.danger,
|
|
101
|
+
});
|
|
102
|
+
return;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
try {
|
|
106
|
+
// Check if infraEnv already exists
|
|
107
|
+
if (disconnectedInfraEnv && disconnectedInfraEnv.id) {
|
|
108
|
+
// Update existing infraEnv
|
|
109
|
+
const updateParams = {
|
|
110
|
+
pullSecret: values.pullSecret || pullSecret,
|
|
111
|
+
...(values.sshPublicKey && { sshAuthorizedKey: values.sshPublicKey }),
|
|
112
|
+
};
|
|
113
|
+
const { data: updatedInfraEnv } = await InfraEnvsAPI.update(
|
|
114
|
+
disconnectedInfraEnv.id,
|
|
115
|
+
updateParams,
|
|
116
|
+
);
|
|
117
|
+
setDisconnectedInfraEnv(updatedInfraEnv);
|
|
118
|
+
moveNext();
|
|
119
|
+
} else {
|
|
120
|
+
// Create infraEnv with all params
|
|
121
|
+
const createParams = {
|
|
122
|
+
name: `disconnected-cluster_infra-env`,
|
|
123
|
+
pullSecret: values.pullSecret || pullSecret,
|
|
124
|
+
clusterId: cluster.id,
|
|
125
|
+
openshiftVersion: cluster.openshiftVersion,
|
|
126
|
+
cpuArchitecture: 'x86_64' as const,
|
|
127
|
+
...(values.sshPublicKey && { sshAuthorizedKey: values.sshPublicKey }),
|
|
128
|
+
};
|
|
129
|
+
const createdInfraEnv = await InfraEnvsService.create(createParams);
|
|
130
|
+
setDisconnectedInfraEnv(createdInfraEnv);
|
|
131
|
+
moveNext();
|
|
132
|
+
}
|
|
133
|
+
} catch (error) {
|
|
134
|
+
handleApiError(error, () => {
|
|
135
|
+
addAlert({
|
|
136
|
+
title:
|
|
137
|
+
disconnectedInfraEnv && disconnectedInfraEnv.id
|
|
138
|
+
? 'Failed to update infrastructure environment'
|
|
139
|
+
: 'Failed to create infrastructure environment',
|
|
140
|
+
message: getApiErrorMessage(error),
|
|
141
|
+
variant: AlertVariant.danger,
|
|
142
|
+
});
|
|
143
|
+
});
|
|
144
|
+
}
|
|
145
|
+
}}
|
|
146
|
+
>
|
|
147
|
+
{({ submitForm, isValid, errors, touched, isSubmitting }) => {
|
|
148
|
+
const errorFields = getFormikErrorFields(errors, touched);
|
|
149
|
+
const handleNext = () => {
|
|
150
|
+
void submitForm(); // This will trigger onSubmit
|
|
151
|
+
};
|
|
152
|
+
|
|
153
|
+
return (
|
|
154
|
+
<ClusterWizardStep
|
|
155
|
+
navigation={<ClusterWizardNavigation />}
|
|
156
|
+
footer={
|
|
157
|
+
<ClusterWizardFooter
|
|
158
|
+
disconnectedClusterId={clusterId}
|
|
159
|
+
onNext={handleNext} // Changed from moveNext
|
|
160
|
+
onBack={moveBack}
|
|
161
|
+
isNextDisabled={!isValid}
|
|
162
|
+
errorFields={errorFields}
|
|
163
|
+
isSubmitting={isSubmitting}
|
|
164
|
+
/>
|
|
165
|
+
}
|
|
166
|
+
>
|
|
167
|
+
<WithErrorBoundary title="Failed to load Optional Configurations step">
|
|
168
|
+
<PullSecretSync pullSecret={pullSecret} />
|
|
169
|
+
<Grid hasGutter>
|
|
170
|
+
<GridItem>
|
|
171
|
+
<Split>
|
|
172
|
+
<SplitItem>
|
|
173
|
+
<Content component="h2">Optional configurations</Content>
|
|
174
|
+
</SplitItem>
|
|
175
|
+
<SplitItem>
|
|
176
|
+
<TechnologyPreview />
|
|
177
|
+
</SplitItem>
|
|
178
|
+
</Split>
|
|
179
|
+
</GridItem>
|
|
180
|
+
<GridItem>
|
|
181
|
+
<Form id="wizard-cluster-optional-configurations__form">
|
|
182
|
+
<UploadSSH />
|
|
183
|
+
<Checkbox
|
|
184
|
+
label="Edit pull secret"
|
|
185
|
+
isChecked={editPullSecret}
|
|
186
|
+
onChange={(_, checked) => setEditPullSecret(checked)}
|
|
187
|
+
id="edit-pull-secret-checkbox"
|
|
188
|
+
/>
|
|
189
|
+
{(editPullSecret || !pullSecret) && <PullSecretField isOcm={isInOcm} />}
|
|
190
|
+
</Form>
|
|
191
|
+
</GridItem>
|
|
192
|
+
</Grid>
|
|
193
|
+
</WithErrorBoundary>
|
|
194
|
+
</ClusterWizardStep>
|
|
195
|
+
);
|
|
196
|
+
}}
|
|
197
|
+
</Formik>
|
|
198
|
+
);
|
|
199
|
+
};
|
|
200
|
+
|
|
201
|
+
export default OptionalConfigurationsStep;
|