@openshift-assisted/ui-lib 2.17.4-cim → 2.18.1-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/BMHEventsModal.d.ts.map +1 -1
- package/build/@types/cim/components/Agent/BMHStatusInfo.d.ts.map +1 -1
- package/build/@types/cim/components/Agent/NoAgentsAlert.d.ts.map +1 -1
- package/build/@types/cim/components/Agent/tableColumns.d.ts.map +1 -1
- package/build/@types/cim/components/Agent/tableUtils.d.ts +2 -1
- package/build/@types/cim/components/Agent/tableUtils.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizardContext.d.ts +1 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizardContext.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/NetworkConfiguration.d.ts +1 -1
- package/build/@types/cim/components/ClusterDeployment/NetworkConfiguration.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsForm.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/components/ClusterDeploymentHostsSelectionAdvanced.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/customManifests/ConfigMapDetail.d.ts +1 -1
- package/build/@types/cim/components/ClusterDeployment/customManifests/ConfigMapDetail.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/customManifests/ConfigMapForm.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/helpers.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscovery.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelectionAdvanced.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/networkConfigurationValidation.d.ts +1 -1
- package/build/@types/cim/components/ClusterDeployment/networkConfigurationValidation.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/review/ReviewConfigMapsTable.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/use-networking-formik.d.ts +5 -5
- package/build/@types/cim/components/ClusterDeployment/use-networking-formik.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/DetailsPage/NodePoolsTable.d.ts +1 -0
- package/build/@types/cim/components/Hypershift/DetailsPage/NodePoolsTable.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsForm.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/hooks/useTemptiflySync.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/utils/labels.d.ts.map +1 -1
- package/build/@types/cim/components/InfraEnv/InfraEnvFormPage.d.ts +1 -1
- package/build/@types/cim/components/InfraEnv/InfraEnvFormPage.d.ts.map +1 -1
- package/build/@types/cim/components/InfraEnv/InfraEnvOpenShiftVersionDropdown.d.ts.map +1 -1
- package/build/@types/cim/components/YamlPreview/YamlPreview.d.ts +1 -1
- package/build/@types/cim/components/YamlPreview/YamlPreview.d.ts.map +1 -1
- package/build/@types/cim/components/common/CpuArchitectureDropdown.d.ts +2 -2
- package/build/@types/cim/components/common/CpuArchitectureDropdown.d.ts.map +1 -1
- package/build/@types/cim/components/common/SpecSyncErrAlert.d.ts.map +1 -1
- package/build/@types/cim/components/featureSupportLevels/ACMFeatureSupportLevelProvider.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/status.d.ts +1 -1
- package/build/@types/cim/components/helpers/status.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/toAssisted.d.ts +3 -3
- package/build/@types/cim/components/helpers/toAssisted.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/versions.d.ts +2 -2
- package/build/@types/cim/components/helpers/versions.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/versions.test.d.ts +2 -0
- package/build/@types/cim/components/helpers/versions.test.d.ts.map +1 -0
- package/build/@types/cim/components/modals/CimConfiguration/CimConfigurationModal.d.ts.map +1 -1
- package/build/@types/cim/components/modals/CimConfiguration/persist.d.ts +14 -17
- package/build/@types/cim/components/modals/CimConfiguration/persist.d.ts.map +1 -1
- package/build/@types/cim/components/modals/CimConfiguration/utils.d.ts +4 -4
- package/build/@types/cim/components/modals/CimConfiguration/utils.d.ts.map +1 -1
- package/build/@types/cim/components/modals/MassApproveAgentModal.d.ts.map +1 -1
- package/build/@types/cim/components/modals/ProvisioningConfigErrorAlert.d.ts.map +1 -1
- package/build/@types/cim/components/modals/utils.d.ts.map +1 -1
- package/build/@types/cim/utils.d.ts +1 -1
- package/build/@types/cim/utils.d.ts.map +1 -1
- package/build/@types/common/api/assisted-service/ClustersAPI.d.ts +0 -4
- package/build/@types/common/api/assisted-service/ClustersAPI.d.ts.map +1 -1
- package/build/@types/common/api/axiosClient.d.ts.map +1 -1
- package/build/@types/common/components/AddHosts/AddHostsContext.d.ts +1 -1
- package/build/@types/common/components/AddHosts/AddHostsContext.d.ts.map +1 -1
- package/build/@types/common/components/AlertsContextProvider.d.ts +1 -1
- package/build/@types/common/components/AlertsContextProvider.d.ts.map +1 -1
- package/build/@types/common/components/ErrorHandling/ErrorMonitorContext.d.ts +1 -1
- package/build/@types/common/components/ErrorHandling/ErrorMonitorContext.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts +3 -3
- package/build/@types/common/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/DiscoveryImageConfigForm.d.ts +1 -1
- package/build/@types/common/components/clusterConfiguration/DiscoveryImageConfigForm.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/DiskEncryptionFields/TangServers.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/ExternalPlatformsDropdown.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/ProxyFields.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/utils.d.ts.map +1 -1
- package/build/@types/common/components/clusterDetail/ClusterProgressItem.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/ClusterWizardStepHeader.d.ts +1 -1
- package/build/@types/common/components/clusterWizard/ClusterWizardStepHeader.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/ClusterWizardStepValidationsAlert.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/ReviewHostsInventory.d.ts +1 -1
- package/build/@types/common/components/clusterWizard/ReviewHostsInventory.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/ReviewValidations.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/clusterDetailsValidation.d.ts +6 -6
- package/build/@types/common/components/clusterWizard/clusterDetailsValidation.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.d.ts +2 -1
- package/build/@types/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/networkingSteps/StackTypeControlGroup.d.ts +2 -1
- package/build/@types/common/components/clusterWizard/networkingSteps/StackTypeControlGroup.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/validationsInfoUtils.d.ts +3 -3
- package/build/@types/common/components/clusterWizard/validationsInfoUtils.d.ts.map +1 -1
- package/build/@types/common/components/clusters/PullSecret.d.ts +2 -0
- package/build/@types/common/components/clusters/PullSecret.d.ts.map +1 -1
- package/build/@types/common/components/hosts/AITable.d.ts +1 -22
- package/build/@types/common/components/hosts/AITable.d.ts.map +1 -1
- package/build/@types/common/components/hosts/HostProgress.d.ts.map +1 -1
- package/build/@types/common/components/hosts/HostPropertyValidationPopover.d.ts +1 -1
- package/build/@types/common/components/hosts/HostPropertyValidationPopover.d.ts.map +1 -1
- package/build/@types/common/components/hosts/HostStatus.d.ts +1 -1
- package/build/@types/common/components/hosts/HostStatus.d.ts.map +1 -1
- package/build/@types/common/components/hosts/HostsTableDetailContext.d.ts +1 -1
- package/build/@types/common/components/hosts/HostsTableDetailContext.d.ts.map +1 -1
- package/build/@types/common/components/hosts/MassChangeHostnameModal.d.ts.map +1 -1
- package/build/@types/common/components/hosts/TableToolbar.d.ts +1 -1
- package/build/@types/common/components/hosts/TableToolbar.d.ts.map +1 -1
- package/build/@types/common/components/hosts/tableUtils.d.ts.map +1 -1
- package/build/@types/common/components/hosts/usePagination.d.ts +1 -1
- package/build/@types/common/components/hosts/usePagination.d.ts.map +1 -1
- package/build/@types/common/components/operators/operatorSpecs.d.ts +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/ui/Alerts.d.ts +1 -1
- package/build/@types/common/components/ui/Alerts.d.ts.map +1 -1
- package/build/@types/common/components/ui/CustomToolbarFilter.d.ts.map +1 -1
- package/build/@types/common/components/ui/GridGap.d.ts +1 -1
- package/build/@types/common/components/ui/GridGap.d.ts.map +1 -1
- package/build/@types/common/components/ui/OpenShiftSelectWithSearch.d.ts.map +1 -1
- package/build/@types/common/components/ui/OpenShiftVersionDropdown.d.ts +2 -4
- package/build/@types/common/components/ui/OpenShiftVersionDropdown.d.ts.map +1 -1
- package/build/@types/common/components/ui/OpenShiftVersionModal.d.ts +2 -2
- package/build/@types/common/components/ui/OpenShiftVersionModal.d.ts.map +1 -1
- package/build/@types/common/components/ui/StaticTextField.d.ts +3 -3
- package/build/@types/common/components/ui/StaticTextField.d.ts.map +1 -1
- package/build/@types/common/components/ui/Toolbar/ToolbarSecondaryGroup.d.ts +1 -1
- package/build/@types/common/components/ui/Toolbar/ToolbarSecondaryGroup.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/CertificatesUploadField.d.ts +1 -1
- package/build/@types/common/components/ui/formik/CertificatesUploadField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/InputField.d.ts +2 -2
- package/build/@types/common/components/ui/formik/InputField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/LabelField.d.ts +7 -4
- package/build/@types/common/components/ui/formik/LabelField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/NumberInputField.d.ts +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/SelectFieldWithSearch.d.ts +3 -3
- package/build/@types/common/components/ui/formik/SelectFieldWithSearch.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/TextAreaField.d.ts +1 -1
- package/build/@types/common/components/ui/formik/TextAreaField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/UploadField.d.ts +1 -1
- package/build/@types/common/components/ui/formik/UploadField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/utils.d.ts +2 -1
- package/build/@types/common/components/ui/formik/utils.d.ts.map +1 -1
- package/build/@types/common/components/ui/utils.d.ts +3 -0
- package/build/@types/common/components/ui/utils.d.ts.map +1 -1
- package/build/@types/common/config/constants.d.ts +4 -4
- package/build/@types/common/config/constants.d.ts.map +1 -1
- package/build/@types/common/config/docs_links.d.ts +1 -0
- package/build/@types/common/config/docs_links.d.ts.map +1 -1
- package/build/@types/common/features/featureGate.d.ts +2 -2
- package/build/@types/common/features/featureGate.d.ts.map +1 -1
- package/build/@types/common/hooks/useDeepCompareMemoize.d.ts.map +1 -1
- package/build/@types/common/hooks/useFormikHelpers.d.ts.map +1 -1
- package/build/@types/common/hooks/useStateSafely.d.ts.map +1 -1
- package/build/@types/common/types/index.d.ts +1 -0
- package/build/@types/common/types/index.d.ts.map +1 -1
- package/build/@types/common/types/networkType.d.ts +12 -0
- package/build/@types/common/types/networkType.d.ts.map +1 -0
- package/build/@types/common/types/ui-settings.d.ts +0 -1
- package/build/@types/common/types/ui-settings.d.ts.map +1 -1
- package/build/@types/common/utils.d.ts.map +1 -1
- package/build/@types/common/validationSchemas/networkingValidation.d.ts +10 -0
- package/build/@types/common/validationSchemas/networkingValidation.d.ts.map +1 -1
- package/build/@types/common/validationSchemas/ntpValidation.d.ts +1 -1
- package/build/@types/common/validationSchemas/ntpValidation.d.ts.map +1 -1
- package/build/@types/common/validationSchemas/proxyValidation.d.ts +1 -1
- package/build/@types/common/validationSchemas/proxyValidation.d.ts.map +1 -1
- package/build/@types/common/validationSchemas/pullSecretValidation.d.ts.map +1 -1
- package/build/@types/ocm/components/AddHosts/InventoryAddHost.d.ts +1 -1
- package/build/@types/ocm/components/AddHosts/InventoryAddHost.d.ts.map +1 -1
- package/build/@types/ocm/components/AddHosts/day2Wizard/Day2DiscoveryImageModalButton.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/HostsClusterDetailTab/HostsClusterDetailTabContentErrors.d.ts.map +1 -1
- package/build/@types/ocm/components/Routes.d.ts +1 -2
- package/build/@types/ocm/components/Routes.d.ts.map +1 -1
- package/build/@types/ocm/components/SentryErrorMonitorContextProvider.d.ts +1 -1
- package/build/@types/ocm/components/SentryErrorMonitorContextProvider.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/ClusterDefaultConfigurationContext.d.ts +1 -1
- package/build/@types/ocm/components/clusterConfiguration/ClusterDefaultConfigurationContext.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/HostInventory.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/InformationAndAlerts.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmBaseDomainField.d.ts +2 -2
- package/build/@types/ocm/components/clusterConfiguration/OcmBaseDomainField.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.d.ts +3 -7
- package/build/@types/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.d.ts +2 -3
- package/build/@types/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.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/CustomManifests.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsArray.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/NetworkTypeDropdown.d.ts +8 -0
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkTypeDropdown.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/OperatorCheckbox.d.ts +2 -2
- package/build/@types/ocm/components/clusterConfiguration/operators/OperatorCheckbox.d.ts.map +1 -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/PlatformIntegrationNote.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/review/ReviewClusterDetailTable.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/review/ReviewCustomManifestsTable.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/ReviewOperatorsTable.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/review/ReviewPlatformTable.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/review/ReviewStep.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/review/ReviewSummary.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/review/TableSummaryExpandable.d.ts +1 -1
- package/build/@types/ocm/components/clusterConfiguration/review/TableSummaryExpandable.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.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/StaticIpForm.d.ts +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.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/MacIpMapping.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/propTypes.d.ts +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/propTypes.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/ClusterPollingErrorModal.d.ts +2 -2
- 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/OpenShiftVersionDetail.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 +2 -2
- package/build/@types/ocm/components/clusterWizard/ClusterDetailsForm.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterWizardContext.d.ts +0 -5
- package/build/@types/ocm/components/clusterWizard/ClusterWizardContext.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterWizardContextProvider.d.ts +4 -4
- package/build/@types/ocm/components/clusterWizard/ClusterWizardContextProvider.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterWizardFooter.d.ts +1 -2
- package/build/@types/ocm/components/clusterWizard/ClusterWizardFooter.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterWizardNavigation.d.ts +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterWizardNavigation.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/CustomManifestStep.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/OpenShiftVersionsContext.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/Operators.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/OperatorsBundle.d.ts +1 -1
- package/build/@types/ocm/components/clusterWizard/OperatorsBundle.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/OperatorsSelect.d.ts +1 -1
- package/build/@types/ocm/components/clusterWizard/OperatorsSelect.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/Storage.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 +1 -1
- package/build/@types/ocm/components/clusterWizard/disconnected/InstallDisconnectedSwitch.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/disconnected/ReviewStep.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/index.d.ts +0 -1
- 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 +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/ClusterToolbar.d.ts +1 -1
- package/build/@types/ocm/components/clusters/ClusterToolbar.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/clusterPolling.d.ts.map +1 -1
- package/build/@types/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.d.ts.map +1 -1
- package/build/@types/ocm/components/featureSupportLevels/featureStateUtils.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/HardwareStatus.d.ts +2 -2
- package/build/@types/ocm/components/hosts/HardwareStatus.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/HostsStorageTable.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/ModalDialogsContext.d.ts +1 -1
- package/build/@types/ocm/components/hosts/ModalDialogsContext.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/StorageAlerts.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/utils.d.ts.map +1 -1
- package/build/@types/ocm/components/ui/AssistedUILibVersion.d.ts +1 -1
- package/build/@types/ocm/components/ui/AssistedUILibVersion.d.ts.map +1 -1
- package/build/@types/ocm/hooks/usePullSecret.d.ts +1 -1
- package/build/@types/ocm/hooks/usePullSecret.d.ts.map +1 -1
- package/build/@types/ocm/hooks/useUISettings.d.ts.map +1 -1
- package/build/@types/ocm/services/ClusterDetailsService.d.ts +6 -7
- package/build/@types/ocm/services/ClusterDetailsService.d.ts.map +1 -1
- package/build/@types/ocm/services/ClustersService.d.ts +0 -4
- package/build/@types/ocm/services/ClustersService.d.ts.map +1 -1
- package/build/@types/ocm/services/types.d.ts +1 -2
- package/build/@types/ocm/services/types.d.ts.map +1 -1
- package/build/@types/ocm/store/hooks.d.ts +1 -1
- package/build/@types/ocm/store/slices/clusters/selectors.d.ts +1 -2
- package/build/@types/ocm/store/slices/clusters/selectors.d.ts.map +1 -1
- package/build/@types/ocm/store/slices/clusters/slice.d.ts +1 -1
- package/build/@types/ocm/store/slices/clusters/slice.d.ts.map +1 -1
- package/build/@types/ocm/store/slices/current-cluster/slice.d.ts +5 -5
- package/build/@types/ocm/store/slices/current-cluster/slice.d.ts.map +1 -1
- package/build/@types/ocm/store/slices/current-user/slice.d.ts +1 -1
- package/build/@types/ocm/store/slices/current-user/slice.d.ts.map +1 -1
- package/build/@types/ocm/store/slices/feature-flags/slice.d.ts +1 -1
- package/build/@types/ocm/store/slices/feature-flags/slice.d.ts.map +1 -1
- package/build/@types/ocm/store/slices/infra-envs/slice.d.ts +1 -1
- package/build/@types/ocm/store/slices/infra-envs/slice.d.ts.map +1 -1
- package/build/@types/ocm/store/store-day1.d.ts +1 -1
- package/build/@types/ocm/store/store-day1.d.ts.map +1 -1
- package/build/cjs/cim/components/Agent/AgentsSelectionHostCountAlerts.js.map +1 -1
- package/build/cjs/cim/components/Agent/AgentsSelectionTable.js.map +1 -1
- package/build/cjs/cim/components/Agent/AgentsSelectionUtils.js.map +1 -1
- package/build/cjs/cim/components/Agent/BMCForm.js +1 -1
- package/build/cjs/cim/components/Agent/BMCForm.js.map +1 -1
- package/build/cjs/cim/components/Agent/BMHEventsModal.js.map +1 -1
- package/build/cjs/cim/components/Agent/BMHStatusInfo.js.map +1 -1
- package/build/cjs/cim/components/Agent/MinimalHWRequirements.js.map +1 -1
- package/build/cjs/cim/components/Agent/tableColumns.js +1 -1
- package/build/cjs/cim/components/Agent/tableColumns.js.map +1 -1
- package/build/cjs/cim/components/Agent/tableUtils.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentCredentials.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentKubeconfigDownload.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentValidationsOverview.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/LocationsSelector.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/NetworkConfiguration.js +44 -5
- package/build/cjs/cim/components/ClusterDeployment/NetworkConfiguration.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsStep.js +1 -1
- package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsStep.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.js +2 -6
- package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/components/ClusterDeploymentHostsSelectionAdvanced.js +8 -6
- package/build/cjs/cim/components/ClusterDeployment/components/ClusterDeploymentHostsSelectionAdvanced.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/constants.js +1 -1
- package/build/cjs/cim/components/ClusterDeployment/constants.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/customManifests/ConfigMapForm.js +1 -1
- package/build/cjs/cim/components/ClusterDeployment/customManifests/ConfigMapForm.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/helpers.js +1 -1
- package/build/cjs/cim/components/ClusterDeployment/helpers.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostDiscoveryTable.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscovery.js +8 -6
- package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscovery.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscoveryStep.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.js +2 -2
- package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelection.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelectionAdvanced.js +8 -6
- package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelectionAdvanced.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/networkConfigurationValidation.js +27 -11
- package/build/cjs/cim/components/ClusterDeployment/networkConfigurationValidation.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentHostsNetworkTable.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingForm.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingStep.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/review/ClusterDeploymentReviewStep.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/use-networking-formik.js +13 -18
- package/build/cjs/cim/components/ClusterDeployment/use-networking-formik.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/wizardTransition.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/DetailsPage/ConditionsTable.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/DetailsPage/HostedClusterProgress.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/DetailsPage/HypershiftKubeconfigDownload.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/DetailsPage/NodePoolsProgress.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/DetailsPage/NodePoolsTable.js +1 -1
- package/build/cjs/cim/components/Hypershift/DetailsPage/NodePoolsTable.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.js +4 -8
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsForm.js +16 -17
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsForm.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsStep.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/NodePoolForm.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/NetworkStep/AdvancedNetworkFields.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/NetworkStep/NetworkStep.js +1 -1
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/NetworkStep/NetworkStep.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/hooks/useSupportedOCPVersions.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/modals/AddNodePoolModal.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/modals/ManageHostsModal.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/modals/NodePoolForm.js +1 -1
- package/build/cjs/cim/components/Hypershift/modals/NodePoolForm.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/modals/RemoveNodePoolModal.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/utils/status.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/EnvironmentDetails.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/EnvironmentErrors.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/InfraEnvAgentTable.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/InfraEnvFormPage.js +1 -1
- package/build/cjs/cim/components/InfraEnv/InfraEnvFormPage.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/InfraEnvHostsTabAgentsWarning.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/InfraEnvOpenShiftVersionDropdown.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/InfraTableToolbar.js.map +1 -1
- package/build/cjs/cim/components/YamlPreview/YamlPreview.js +10 -11
- package/build/cjs/cim/components/YamlPreview/YamlPreview.js.map +1 -1
- package/build/cjs/cim/components/YamlPreview/useYAMLPreview.js.map +1 -1
- package/build/cjs/cim/components/common/CpuArchitectureDropdown.js.map +1 -1
- package/build/cjs/cim/components/common/ResourceAlerts.js.map +1 -1
- package/build/cjs/cim/components/featureSupportLevels/ACMFeatureSupportLevelProvider.js +1 -4
- package/build/cjs/cim/components/featureSupportLevels/ACMFeatureSupportLevelProvider.js.map +1 -1
- package/build/cjs/cim/components/featureSupportLevels/featureStateUtils.js.map +1 -1
- package/build/cjs/cim/components/helpers/agentClusterInstall.js.map +1 -1
- package/build/cjs/cim/components/helpers/agents.js.map +1 -1
- package/build/cjs/cim/components/helpers/clusterDeployment.js.map +1 -1
- package/build/cjs/cim/components/helpers/conditions.js.map +1 -1
- package/build/cjs/cim/components/helpers/network.js.map +1 -1
- package/build/cjs/cim/components/helpers/status.js.map +1 -1
- package/build/cjs/cim/components/helpers/storage.js.map +1 -1
- package/build/cjs/cim/components/helpers/toAssisted.js +1 -1
- package/build/cjs/cim/components/helpers/toAssisted.js.map +1 -1
- package/build/cjs/cim/components/helpers/units.js.map +1 -1
- package/build/cjs/cim/components/helpers/versions.js +39 -28
- package/build/cjs/cim/components/helpers/versions.js.map +1 -1
- package/build/cjs/cim/components/helpers/versions.test.js +423 -0
- package/build/cjs/cim/components/helpers/versions.test.js.map +1 -0
- package/build/cjs/cim/components/modals/AddBmcHostYamlForm.js.map +1 -1
- package/build/cjs/cim/components/modals/AddHostModal.js.map +1 -1
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigProgressAlert.js.map +1 -1
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationFormFields.js.map +1 -1
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationModal.js +39 -16
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationModal.js.map +1 -1
- package/build/cjs/cim/components/modals/CimConfiguration/persist.js +95 -135
- package/build/cjs/cim/components/modals/CimConfiguration/persist.js.map +1 -1
- package/build/cjs/cim/components/modals/CimConfiguration/utils.js.map +1 -1
- package/build/cjs/cim/components/modals/EditAgentModal.js +1 -1
- package/build/cjs/cim/components/modals/EditAgentModal.js.map +1 -1
- package/build/cjs/cim/components/modals/EditBMHModal.js.map +1 -1
- package/build/cjs/cim/components/modals/EditNtpSourcesModal.js.map +1 -1
- package/build/cjs/cim/components/modals/EditProxyModal.js.map +1 -1
- package/build/cjs/cim/components/modals/EditPullSecretModal.js.map +1 -1
- package/build/cjs/cim/components/modals/EditSSHKeyModal.js.map +1 -1
- package/build/cjs/cim/components/modals/MassApproveAgentModal.js +1 -1
- package/build/cjs/cim/components/modals/MassApproveAgentModal.js.map +1 -1
- package/build/cjs/cim/components/modals/MassDeleteAgentModal.js.map +1 -1
- package/build/cjs/cim/components/modals/ProvisioningConfigErrorAlert.js.map +1 -1
- package/build/cjs/cim/components/modals/ScaleUpModal.js.map +1 -1
- package/build/cjs/cim/components/modals/utils.js +1 -1
- package/build/cjs/cim/components/modals/utils.js.map +1 -1
- package/build/cjs/cim/types/k8s/cluster-version.js +1 -1
- package/build/cjs/cim/types/k8s/cluster-version.js.map +1 -1
- package/build/cjs/cim/utils.js.map +1 -1
- package/build/cjs/common/api/accounts-management-service/organizations-api.js +2 -2
- package/build/cjs/common/api/accounts-management-service/organizations-api.js.map +1 -1
- package/build/cjs/common/api/assisted-service/ClustersAPI.js +0 -3
- package/build/cjs/common/api/assisted-service/ClustersAPI.js.map +1 -1
- package/build/cjs/common/api/axiosClient.js +0 -1
- package/build/cjs/common/api/axiosClient.js.map +1 -1
- package/build/cjs/common/api/utils.js.map +1 -1
- package/build/cjs/common/components/AddHosts/AddHostsContext.js.map +1 -1
- package/build/cjs/common/components/AlertsContextProvider.js.map +1 -1
- package/build/cjs/common/components/ErrorHandling/WithErrorBoundary.js +1 -1
- package/build/cjs/common/components/ErrorHandling/WithErrorBoundary.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/CertificateFields.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/ControlPlaneNodesDropdown.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DiscoveryImageConfigForm.js +1 -1
- package/build/cjs/common/components/clusterConfiguration/DiscoveryImageConfigForm.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionControlGroup.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/ExternalPlatformsDropdown.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/ProxyFields.js +5 -2
- package/build/cjs/common/components/clusterConfiguration/ProxyFields.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/SecurityFields.js +1 -1
- package/build/cjs/common/components/clusterConfiguration/SecurityFields.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/utils.js +1 -1
- package/build/cjs/common/components/clusterConfiguration/utils.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/utils.test.js +1 -1
- package/build/cjs/common/components/clusterConfiguration/utils.test.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/ClusterCredentials.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/ClusterProgress.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/FinalizingProgress.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/KubeconfigDownload.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/OperatorsProgressItem.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/ProgressBarTexts.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/ClusterWizardStepHeader.js +1 -1
- package/build/cjs/common/components/clusterWizard/ClusterWizardStepHeader.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/ClusterWizardStepValidationsAlert.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/ReviewHostsInventory.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/ReviewValidations.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/clusterDetailsValidation.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.js +8 -2
- package/build/cjs/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/networkingSteps/NetworkTypeControlGroup.js +3 -3
- package/build/cjs/common/components/clusterWizard/networkingSteps/NetworkTypeControlGroup.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/networkingSteps/StackTypeControlGroup.js +32 -21
- package/build/cjs/common/components/clusterWizard/networkingSteps/StackTypeControlGroup.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/networkingSteps/SubnetsDropdown.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.js +2 -1
- package/build/cjs/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/networkingSteps/reorderNetworks.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/validationsInfoUtils.js.map +1 -1
- package/build/cjs/common/components/clusters/PullSecret.js +17 -16
- package/build/cjs/common/components/clusters/PullSecret.js.map +1 -1
- package/build/cjs/common/components/featureSupportLevels/FeatureSupportLevelBadge.js.map +1 -1
- package/build/cjs/common/components/featureSupportLevels/FeatureSupportLevelContext.js.map +1 -1
- package/build/cjs/common/components/fetching/EventListFetch.js.map +1 -1
- package/build/cjs/common/components/hosts/AITable.js.map +1 -1
- package/build/cjs/common/components/hosts/AdditionalNTPSourcesDialog.js +1 -1
- package/build/cjs/common/components/hosts/AdditionalNTPSourcesDialog.js.map +1 -1
- package/build/cjs/common/components/hosts/DiskLimitations.js.map +1 -1
- package/build/cjs/common/components/hosts/DiskRole.js.map +1 -1
- package/build/cjs/common/components/hosts/EditHostForm.js.map +1 -1
- package/build/cjs/common/components/hosts/EditHostModal.js.map +1 -1
- package/build/cjs/common/components/hosts/FormatDiskCheckbox.js.map +1 -1
- package/build/cjs/common/components/hosts/HostProgress.js.map +1 -1
- package/build/cjs/common/components/hosts/HostPropertyValidationPopover.js +1 -1
- package/build/cjs/common/components/hosts/HostPropertyValidationPopover.js.map +1 -1
- package/build/cjs/common/components/hosts/HostRowDetail.js.map +1 -1
- package/build/cjs/common/components/hosts/HostStatus.js.map +1 -1
- package/build/cjs/common/components/hosts/HostValidationGroups.js.map +1 -1
- package/build/cjs/common/components/hosts/HostsTableDetailContext.js +1 -1
- package/build/cjs/common/components/hosts/HostsTableDetailContext.js.map +1 -1
- package/build/cjs/common/components/hosts/MassChangeHostnameModal.js +2 -2
- package/build/cjs/common/components/hosts/MassChangeHostnameModal.js.map +1 -1
- package/build/cjs/common/components/hosts/MassDeleteHostModal.js.map +1 -1
- package/build/cjs/common/components/hosts/NtpValidationStatus.js.map +1 -1
- package/build/cjs/common/components/hosts/OcpConsoleNodesSectionLink.js.map +1 -1
- package/build/cjs/common/components/hosts/RoleDropdown.js.map +1 -1
- package/build/cjs/common/components/hosts/TableToolbar.js.map +1 -1
- package/build/cjs/common/components/hosts/hardwareInfo.js.map +1 -1
- package/build/cjs/common/components/hosts/tableColumns.js.map +1 -1
- package/build/cjs/common/components/hosts/tableUtils.js +2 -2
- package/build/cjs/common/components/hosts/tableUtils.js.map +1 -1
- package/build/cjs/common/components/hosts/utils.js.map +1 -1
- package/build/cjs/common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge.js.map +1 -1
- package/build/cjs/common/components/newFeatureSupportLevels/NewFeatureSupportLevelContext.js.map +1 -1
- package/build/cjs/common/components/newFeatureSupportLevels/utils.js.map +1 -1
- package/build/cjs/common/components/operators/operatorSpecs.js.map +1 -1
- package/build/cjs/common/components/storage/DisksTable.js.map +1 -1
- package/build/cjs/common/components/ui/Alerts.js.map +1 -1
- package/build/cjs/common/components/ui/BorderedIcon/BorderedIcon.js.map +1 -1
- package/build/cjs/common/components/ui/ClusterEventsToolbar.js.map +1 -1
- package/build/cjs/common/components/ui/CustomToolbarFilter.js +5 -5
- package/build/cjs/common/components/ui/CustomToolbarFilter.js.map +1 -1
- package/build/cjs/common/components/ui/EventsList.js.map +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/GridGap.js.map +1 -1
- package/build/cjs/common/components/ui/OpenShiftSelectWithSearch.js +21 -30
- package/build/cjs/common/components/ui/OpenShiftSelectWithSearch.js.map +1 -1
- package/build/cjs/common/components/ui/OpenShiftVersionDropdown.js +27 -34
- package/build/cjs/common/components/ui/OpenShiftVersionDropdown.js.map +1 -1
- package/build/cjs/common/components/ui/OpenShiftVersionModal.js +8 -9
- package/build/cjs/common/components/ui/OpenShiftVersionModal.js.map +1 -1
- package/build/cjs/common/components/ui/PreviewBadge.js +1 -1
- package/build/cjs/common/components/ui/PreviewBadge.js.map +1 -1
- package/build/cjs/common/components/ui/PrismCode.js.map +1 -1
- package/build/cjs/common/components/ui/StaticTextField.js.map +1 -1
- package/build/cjs/common/components/ui/Toolbar/ToolbarSecondaryGroup.js.map +1 -1
- package/build/cjs/common/components/ui/WizardFooter.js +1 -1
- package/build/cjs/common/components/ui/WizardFooter.js.map +1 -1
- package/build/cjs/common/components/ui/WizardNavItem.js.map +1 -1
- package/build/cjs/common/components/ui/formik/AdditionalNTPSourcesField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/AlertFormikError.js.map +1 -1
- package/build/cjs/common/components/ui/formik/CertificatesUploadField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/CodeField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/FormikAutoSave.js.map +1 -1
- package/build/cjs/common/components/ui/formik/InputField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/LabelField.js +63 -45
- package/build/cjs/common/components/ui/formik/LabelField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/MultiSelectField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/NumberInputField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/PullSecretField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/RichInputField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/SelectFieldWithSearch.js.map +1 -1
- package/build/cjs/common/components/ui/formik/SwitchField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/TextAreaField.js +6 -2
- package/build/cjs/common/components/ui/formik/TextAreaField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/TextAreaSecretField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/UploadField.js +4 -5
- package/build/cjs/common/components/ui/formik/UploadField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/utils.js +5 -1
- package/build/cjs/common/components/ui/formik/utils.js.map +1 -1
- package/build/cjs/common/components/ui/table/utils.js.map +1 -1
- package/build/cjs/common/components/ui/utils.js +5 -1
- package/build/cjs/common/components/ui/utils.js.map +1 -1
- package/build/cjs/common/config/constants.js +12 -5
- package/build/cjs/common/config/constants.js.map +1 -1
- package/build/cjs/common/config/docs_links.js +3 -2
- package/build/cjs/common/config/docs_links.js.map +1 -1
- package/build/cjs/common/features/featureGate.js.map +1 -1
- package/build/cjs/common/hooks/useDeepCompareMemoize.js.map +1 -1
- package/build/cjs/common/hooks/useFieldErrorMsg.js.map +1 -1
- package/build/cjs/common/hooks/useStateSafely.js.map +1 -1
- package/build/cjs/common/selectors/clusterSelectors.js.map +1 -1
- package/build/cjs/common/services/DateAndTime.js.map +1 -1
- package/build/cjs/common/types/cpuArchitecture.js +2 -2
- package/build/cjs/common/types/cpuArchitecture.js.map +1 -1
- package/build/cjs/common/types/index.js +1 -0
- package/build/cjs/common/types/index.js.map +1 -1
- package/build/cjs/common/types/networkType.js +28 -0
- package/build/cjs/common/types/networkType.js.map +1 -0
- package/build/cjs/common/types/resource-ui-state.js +1 -1
- package/build/cjs/common/types/resource-ui-state.js.map +1 -1
- package/build/cjs/common/utils.js.map +1 -1
- package/build/cjs/common/validationSchemas/addressValidation.js.map +1 -1
- package/build/cjs/common/validationSchemas/clusterDetailsValidation.js.map +1 -1
- package/build/cjs/common/validationSchemas/hostnameValidation.js.map +1 -1
- package/build/cjs/common/validationSchemas/networkingValidation.js +19 -1
- package/build/cjs/common/validationSchemas/networkingValidation.js.map +1 -1
- package/build/cjs/common/validationSchemas/ntpValidation.js +20 -15
- package/build/cjs/common/validationSchemas/ntpValidation.js.map +1 -1
- package/build/cjs/common/validationSchemas/proxyValidation.js.map +1 -1
- package/build/cjs/common/validationSchemas/pullSecretValidation.js +8 -7
- package/build/cjs/common/validationSchemas/pullSecretValidation.js.map +1 -1
- package/build/cjs/common/validationSchemas/sshValidation.js.map +1 -1
- package/build/cjs/common/validationSchemas/utils.js.map +1 -1
- package/build/cjs/ocm/components/AddHosts/AddHosts.js.map +1 -1
- package/build/cjs/ocm/components/AddHosts/InventoryAddHost.js.map +1 -1
- package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2ClusterDetails.js.map +1 -1
- package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2GenerateISO.js.map +1 -1
- package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2StaticIP.js +1 -1
- package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2StaticIP.js.map +1 -1
- package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2Wizard.js.map +1 -1
- package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2WizardContext.js.map +1 -1
- package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2WizardContextProvider.js.map +1 -1
- package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2WizardNav.js.map +1 -1
- package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.js.map +1 -1
- package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabMock.js.map +1 -1
- package/build/cjs/ocm/components/HostsClusterDetailTab/utils.js.map +1 -1
- package/build/cjs/ocm/components/Routes.js +3 -5
- package/build/cjs/ocm/components/Routes.js.map +1 -1
- package/build/cjs/ocm/components/SentryErrorMonitorContextProvider.js +2 -2
- package/build/cjs/ocm/components/SentryErrorMonitorContextProvider.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/ClusterDefaultConfigurationContext.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/CpuArchitectureDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageModal.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/HostsNetworkConfigurationControlGroup.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js +6 -11
- package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.js +14 -18
- package/build/cjs/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmOperatorProgressItem.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.js +96 -6
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifest.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifests.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsArray.js +4 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsArray.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsForm.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/customManifestsValidationSchema.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/utils.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.js +3 -6
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkTypeDropdown.js +61 -0
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkTypeDropdown.js.map +1 -0
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.js +4 -4
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/OperatorCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/bundleSpecs.js +3 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/bundleSpecs.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/utils.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewClusterDetailTable.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewStep.js +8 -14
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewStep.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/CollapsedHost.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHosts.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHostsFields.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/FormViewNetworkWide.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/FormViewNetworkWideFields.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/formViewNetworkWideValidationSchema.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.js +30 -26
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpHostsArray.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.js +10 -12
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpViewRadioGroup.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlViewFields.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/YamlView/yamlViewValidationSchema.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/dataTypes.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/dataTypes.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/dummyData.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/formDataFromInfraEnvField.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/formDataToInfraEnvField.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/fromInfraEnv.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/nmstateTypes.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/nmstateTypes.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/nmstateYaml.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/protocolVersion.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/AssistedInstallerDetailCard.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/CancelInstallationModal.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ClusterDetail.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ClusterDetailStatusVarieties.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ClusterProperties.js +1 -5
- package/build/cjs/ocm/components/clusterDetail/ClusterProperties.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ProgressBarAlerts.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ResetClusterModal.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/getProgressBarAlerts.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/utils.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js +18 -11
- package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js +11 -15
- package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizard.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardContext.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js +14 -28
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardFooter.js +6 -21
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardFooter.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardNavigation.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/CredentialsDownload.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/CustomManifestStep.js +1 -1
- package/build/cjs/ocm/components/clusterWizard/CustomManifestStep.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/HostDiscovery.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/NewClusterWizard.js +0 -3
- package/build/cjs/ocm/components/clusterWizard/NewClusterWizard.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/OpenShiftVersionsContext.js +40 -36
- package/build/cjs/ocm/components/clusterWizard/OpenShiftVersionsContext.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/Operators.js.map +1 -1
- 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 +3 -3
- package/build/cjs/ocm/components/clusterWizard/OperatorsSelect.test.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/OperatorsStep.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/StaticIp.js +1 -1
- package/build/cjs/ocm/components/clusterWizard/StaticIp.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/constants.js +1 -1
- package/build/cjs/ocm/components/clusterWizard/constants.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/disconnected/BasicStep.js +1 -45
- package/build/cjs/ocm/components/clusterWizard/disconnected/BasicStep.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/disconnected/ReviewStep.js +5 -40
- package/build/cjs/ocm/components/clusterWizard/disconnected/ReviewStep.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/index.js +1 -3
- package/build/cjs/ocm/components/clusterWizard/index.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/wizardTransition.js +9 -4
- package/build/cjs/ocm/components/clusterWizard/wizardTransition.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClusterPage.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClusterStatus.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClusterToolbar.js +1 -1
- package/build/cjs/ocm/components/clusters/ClusterToolbar.js.map +1 -1
- package/build/cjs/ocm/components/clusters/Clusters.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClustersListToolbar.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClustersTable.js +1 -1
- package/build/cjs/ocm/components/clusters/ClustersTable.js.map +1 -1
- package/build/cjs/ocm/components/clusters/clusterPolling.js.map +1 -1
- package/build/cjs/ocm/components/featureSupportLevels/FeatureSupportLevelProvider.js.map +1 -1
- package/build/cjs/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.js.map +1 -1
- package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js +15 -0
- package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js.map +1 -1
- package/build/cjs/ocm/components/fetching/fetchEvents.js.map +1 -1
- package/build/cjs/ocm/components/hosts/HostRequirementsContent.js.map +1 -1
- package/build/cjs/ocm/components/hosts/HostsStorageTable.js.map +1 -1
- package/build/cjs/ocm/components/hosts/ModalDialogsContext.js.map +1 -1
- package/build/cjs/ocm/components/hosts/StorageAlerts.js.map +1 -1
- package/build/cjs/ocm/components/hosts/UpdateDay2ApiVipForm.js.map +1 -1
- package/build/cjs/ocm/components/hosts/use-hosts-table.js.map +1 -1
- package/build/cjs/ocm/components/hosts/utils.js.map +1 -1
- package/build/cjs/ocm/components/ui/AssistedUILibVersion.js.map +1 -1
- package/build/cjs/ocm/config/constants.js.map +1 -1
- package/build/cjs/ocm/hooks/useClusterCustomManifests.js.map +1 -1
- package/build/cjs/ocm/hooks/useClusterPreflightRequirements.js.map +1 -1
- package/build/cjs/ocm/hooks/useInfraEnv.js.map +1 -1
- package/build/cjs/ocm/hooks/useInfraEnvHosts.js.map +1 -1
- package/build/cjs/ocm/hooks/useInfraEnvId.js.map +1 -1
- package/build/cjs/ocm/hooks/useInfraEnvImageUrl.js.map +1 -1
- package/build/cjs/ocm/hooks/useInfraEnvIpxeImageUrl.js.map +1 -1
- package/build/cjs/ocm/hooks/useLateBinding.js.map +1 -1
- package/build/cjs/ocm/hooks/useManagedDomains.js.map +1 -1
- package/build/cjs/ocm/hooks/usePullSecret.js +31 -7
- package/build/cjs/ocm/hooks/usePullSecret.js.map +1 -1
- package/build/cjs/ocm/hooks/useSetClusterPermissions.js.map +1 -1
- package/build/cjs/ocm/hooks/useSupportLevelsAPI.js.map +1 -1
- package/build/cjs/ocm/hooks/useUISettings.js +0 -1
- package/build/cjs/ocm/hooks/useUISettings.js.map +1 -1
- package/build/cjs/ocm/hooks/useUsedClusterNames.js.map +1 -1
- package/build/cjs/ocm/sentry.js.map +1 -1
- package/build/cjs/ocm/services/ClusterDetailsService.js +19 -4
- package/build/cjs/ocm/services/ClusterDetailsService.js.map +1 -1
- package/build/cjs/ocm/services/ClustersService.js +3 -9
- package/build/cjs/ocm/services/ClustersService.js.map +1 -1
- package/build/cjs/ocm/services/CpuArchitectureService.js.map +1 -1
- package/build/cjs/ocm/services/Day2ClusterService.js +2 -2
- package/build/cjs/ocm/services/Day2ClusterService.js.map +1 -1
- package/build/cjs/ocm/services/HostDiscoveryService.js.map +1 -1
- package/build/cjs/ocm/services/HostsService.js.map +1 -1
- package/build/cjs/ocm/services/InfraEnvIdsCacheService.js.map +1 -1
- package/build/cjs/ocm/services/InfraEnvsService.js.map +1 -1
- package/build/cjs/ocm/services/types.js +1 -1
- package/build/cjs/ocm/services/types.js.map +1 -1
- package/build/cjs/ocm/store/slices/clusters/selectors.js +1 -1
- package/build/cjs/ocm/store/slices/clusters/selectors.js.map +1 -1
- package/build/cjs/ocm/store/slices/clusters/slice.js +1 -1
- package/build/cjs/ocm/store/slices/clusters/slice.js.map +1 -1
- package/build/cjs/ocm/store/slices/current-cluster/selectors.js.map +1 -1
- package/build/cjs/ocm/store/slices/current-cluster/slice.js +1 -1
- package/build/cjs/ocm/store/slices/current-cluster/slice.js.map +1 -1
- package/build/cjs/ocm/store/slices/current-user/slice.js.map +1 -1
- package/build/cjs/ocm/store/slices/feature-flags/slice.js +1 -1
- package/build/cjs/ocm/store/slices/feature-flags/slice.js.map +1 -1
- package/build/cjs/ocm/store/slices/infra-envs/thunks.js.map +1 -1
- package/lib/cim/components/ClusterDeployment/NetworkConfiguration.tsx +51 -3
- package/lib/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.tsx +2 -12
- package/lib/cim/components/ClusterDeployment/components/ClusterDeploymentHostsSelectionAdvanced.tsx +17 -15
- package/lib/cim/components/ClusterDeployment/customManifests/ConfigMapForm.tsx +1 -1
- package/lib/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscovery.tsx +23 -21
- package/lib/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelectionAdvanced.tsx +17 -15
- package/lib/cim/components/ClusterDeployment/networkConfigurationValidation.ts +22 -8
- package/lib/cim/components/ClusterDeployment/use-networking-formik.ts +14 -22
- package/lib/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.tsx +4 -14
- package/lib/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsForm.tsx +56 -22
- package/lib/cim/components/Hypershift/modals/NodePoolForm.tsx +2 -2
- package/lib/cim/components/InfraEnv/InfraEnvFormPage.tsx +2 -2
- package/lib/cim/components/YamlPreview/YamlPreview.tsx +31 -26
- package/lib/cim/components/featureSupportLevels/ACMFeatureSupportLevelProvider.tsx +2 -5
- package/lib/cim/components/helpers/versions.test.ts +465 -0
- package/lib/cim/components/helpers/versions.ts +37 -31
- package/lib/cim/components/modals/CimConfiguration/CimConfigurationModal.tsx +45 -18
- package/lib/cim/components/modals/CimConfiguration/persist.ts +97 -199
- package/lib/cim/components/modals/MassApproveAgentModal.tsx +6 -5
- package/lib/cim/components/modals/MassDeleteAgentModal.tsx +6 -6
- package/lib/common/api/assisted-service/ClustersAPI.ts +0 -6
- package/lib/common/components/AddHosts/AddHostsContext.tsx +1 -1
- package/lib/common/components/AlertsContextProvider.tsx +1 -1
- package/lib/common/components/clusterConfiguration/ProxyFields.tsx +5 -0
- package/lib/common/components/clusterConfiguration/SecurityFields.tsx +1 -1
- package/lib/common/components/clusterWizard/ClusterWizardStepHeader.tsx +4 -2
- package/lib/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.tsx +8 -1
- package/lib/common/components/clusterWizard/networkingSteps/NetworkTypeControlGroup.tsx +1 -1
- package/lib/common/components/clusterWizard/networkingSteps/StackTypeControlGroup.tsx +40 -31
- package/lib/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.tsx +2 -2
- package/lib/common/components/clusters/PullSecret.tsx +40 -28
- package/lib/common/components/hosts/AITable.tsx +1 -1
- package/lib/common/components/hosts/AdditionalNTPSourcesDialog.tsx +1 -1
- package/lib/common/components/hosts/HostPropertyValidationPopover.tsx +8 -2
- package/lib/common/components/hosts/HostStatus.tsx +4 -2
- package/lib/common/components/hosts/HostsTableDetailContext.tsx +3 -6
- package/lib/common/components/hosts/MassChangeHostnameModal.tsx +5 -2
- package/lib/common/components/hosts/TableToolbar.tsx +1 -1
- package/lib/common/components/storage/DisksTable.tsx +3 -1
- package/lib/common/components/ui/CustomToolbarFilter.tsx +6 -4
- package/lib/common/components/ui/GridGap.tsx +3 -1
- package/lib/common/components/ui/OpenShiftSelectWithSearch.tsx +22 -43
- package/lib/common/components/ui/OpenShiftVersionDropdown.tsx +41 -57
- package/lib/common/components/ui/OpenShiftVersionModal.tsx +9 -11
- package/lib/common/components/ui/StaticTextField.tsx +9 -3
- package/lib/common/components/ui/Toolbar/ToolbarSecondaryGroup.tsx +1 -1
- package/lib/common/components/ui/WizardFooter.tsx +1 -1
- package/lib/common/components/ui/formik/CertificatesUploadField.tsx +1 -1
- package/lib/common/components/ui/formik/InputField.tsx +3 -1
- package/lib/common/components/ui/formik/LabelField.tsx +119 -79
- package/lib/common/components/ui/formik/NumberInputField.tsx +1 -1
- package/lib/common/components/ui/formik/PullSecretField.tsx +0 -1
- package/lib/common/components/ui/formik/SelectFieldWithSearch.tsx +1 -1
- package/lib/common/components/ui/formik/TextAreaField.tsx +6 -3
- package/lib/common/components/ui/formik/UploadField.tsx +7 -6
- package/lib/common/components/ui/formik/utils.ts +6 -0
- package/lib/common/components/ui/utils.ts +7 -0
- package/lib/common/config/constants.ts +12 -4
- package/lib/common/config/docs_links.ts +2 -0
- package/lib/common/features/featureGate.tsx +5 -3
- package/lib/common/types/index.ts +1 -0
- package/lib/common/types/networkType.ts +37 -0
- package/lib/common/types/ui-settings.ts +0 -1
- package/lib/common/validationSchemas/networkingValidation.tsx +39 -1
- package/lib/common/validationSchemas/ntpValidation.tsx +13 -7
- package/lib/common/validationSchemas/pullSecretValidation.tsx +8 -9
- package/lib/ocm/components/AddHosts/day2Wizard/Day2StaticIP.tsx +7 -2
- package/lib/ocm/components/Routes.tsx +1 -6
- package/lib/ocm/components/SentryErrorMonitorContextProvider.tsx +3 -1
- package/lib/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.tsx +20 -25
- package/lib/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.tsx +21 -28
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.tsx +163 -19
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsArray.tsx +5 -1
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.tsx +7 -10
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.tsx +2 -2
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkTypeDropdown.tsx +142 -0
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.ts +6 -5
- package/lib/ocm/components/clusterConfiguration/operators/bundleSpecs.tsx +3 -0
- package/lib/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.tsx +3 -7
- package/lib/ocm/components/clusterConfiguration/review/ReviewStep.tsx +10 -12
- package/lib/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.tsx +33 -29
- package/lib/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.tsx +20 -15
- package/lib/ocm/components/clusterConfiguration/staticIp/components/propTypes.ts +1 -1
- package/lib/ocm/components/clusterDetail/ClusterProperties.tsx +2 -6
- package/lib/ocm/components/clusterWizard/ClusterDetails.tsx +22 -15
- package/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx +17 -22
- package/lib/ocm/components/clusterWizard/ClusterWizardContext.tsx +0 -5
- package/lib/ocm/components/clusterWizard/ClusterWizardContextProvider.tsx +16 -47
- package/lib/ocm/components/clusterWizard/ClusterWizardFooter.tsx +5 -26
- package/lib/ocm/components/clusterWizard/NewClusterWizard.tsx +1 -3
- package/lib/ocm/components/clusterWizard/OpenShiftVersionsContext.tsx +22 -18
- package/lib/ocm/components/clusterWizard/constants.ts +1 -1
- package/lib/ocm/components/clusterWizard/disconnected/BasicStep.tsx +1 -52
- package/lib/ocm/components/clusterWizard/disconnected/ReviewStep.tsx +7 -39
- package/lib/ocm/components/clusterWizard/index.ts +0 -1
- package/lib/ocm/components/clusterWizard/wizardTransition.ts +10 -6
- package/lib/ocm/components/clusters/ClusterToolbar.tsx +4 -1
- package/lib/ocm/components/featureSupportLevels/featureStateUtils.ts +17 -0
- package/lib/ocm/components/hosts/ModalDialogsContext.tsx +1 -1
- package/lib/ocm/components/ui/AssistedUILibVersion.tsx +1 -1
- package/lib/ocm/hooks/usePullSecret.ts +33 -8
- package/lib/ocm/hooks/useUISettings.ts +0 -1
- package/lib/ocm/services/ClusterDetailsService.ts +23 -4
- package/lib/ocm/services/ClustersService.ts +1 -7
- package/lib/ocm/services/types.ts +1 -2
- package/lib/ocm/store/slices/clusters/selectors.tsx +6 -4
- package/package.json +19 -23
- package/build/@types/ocm/components/clusterConfiguration/CustomManifestCheckbox.d.ts +0 -8
- package/build/@types/ocm/components/clusterConfiguration/CustomManifestCheckbox.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.d.ts +0 -4
- package/build/@types/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.d.ts.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/CustomManifestCheckbox.js +0 -58
- package/build/cjs/ocm/components/clusterConfiguration/CustomManifestCheckbox.js.map +0 -1
- package/build/cjs/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.js +0 -129
- package/build/cjs/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.js.map +0 -1
- package/lib/@types/global.d.ts +0 -1
- package/lib/ocm/components/clusterConfiguration/CustomManifestCheckbox.tsx +0 -114
- package/lib/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.tsx +0 -203
package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.tsx
CHANGED
|
@@ -1,9 +1,26 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
Content,
|
|
4
|
+
ContentVariants,
|
|
5
|
+
Alert,
|
|
6
|
+
AlertVariant,
|
|
7
|
+
Grid,
|
|
8
|
+
FormGroup,
|
|
9
|
+
Switch,
|
|
10
|
+
Tooltip,
|
|
11
|
+
Stack,
|
|
12
|
+
StackItem,
|
|
13
|
+
} from '@patternfly/react-core';
|
|
3
14
|
|
|
4
15
|
import { CustomManifests } from './components/CustomManifests';
|
|
5
16
|
import { Cluster } from '@openshift-assisted/types/assisted-installer-service';
|
|
6
17
|
import { CustomManifestFormState } from './components/propTypes';
|
|
18
|
+
import { ClustersAPI, ClusterWizardStepHeader, isThirdPartyCNI } from '../../../../common';
|
|
19
|
+
import { getFieldId } from '../../../../common/components/ui/formik';
|
|
20
|
+
import { isOciPlatformType } from '../../utils';
|
|
21
|
+
import DeleteCustomManifestModal from './DeleteCustomManifestModal';
|
|
22
|
+
import { ClustersService } from '../../../services';
|
|
23
|
+
import { useClusterWizardContext } from '../../clusterWizard/ClusterWizardContext';
|
|
7
24
|
|
|
8
25
|
export const CustomManifestsPage = ({
|
|
9
26
|
cluster,
|
|
@@ -11,22 +28,149 @@ export const CustomManifestsPage = ({
|
|
|
11
28
|
}: {
|
|
12
29
|
cluster: Cluster;
|
|
13
30
|
onFormStateChange(formState: CustomManifestFormState): void;
|
|
14
|
-
}) =>
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
31
|
+
}) => {
|
|
32
|
+
const clusterWizardContext = useClusterWizardContext();
|
|
33
|
+
const isRequired = isThirdPartyCNI(cluster.networkType) || isOciPlatformType(cluster);
|
|
34
|
+
const [useCustomManifests, setUseCustomManifests] = React.useState(isRequired);
|
|
35
|
+
const [isDeleteModalOpen, setDeleteModalOpen] = React.useState(false);
|
|
36
|
+
|
|
37
|
+
React.useEffect(() => {
|
|
38
|
+
if (isRequired || clusterWizardContext.uiSettings?.customManifestsAdded) {
|
|
39
|
+
setUseCustomManifests(true);
|
|
40
|
+
}
|
|
41
|
+
}, [isRequired, clusterWizardContext]);
|
|
42
|
+
|
|
43
|
+
// The form unmounts when the switch is off, but its last state persists in the parent.
|
|
44
|
+
React.useEffect(() => {
|
|
45
|
+
if (!useCustomManifests) {
|
|
46
|
+
onFormStateChange({
|
|
47
|
+
isValid: true,
|
|
48
|
+
isSubmitting: false,
|
|
49
|
+
isAutoSaveRunning: false,
|
|
50
|
+
errors: {},
|
|
51
|
+
touched: {},
|
|
52
|
+
isEmpty: true,
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
}, [useCustomManifests, onFormStateChange]);
|
|
56
|
+
|
|
57
|
+
const handleSwitchChange = React.useCallback(
|
|
58
|
+
(_event: React.FormEvent<HTMLInputElement>, on: boolean) => {
|
|
59
|
+
if (!on && clusterWizardContext.uiSettings?.customManifestsAdded) {
|
|
60
|
+
setDeleteModalOpen(true);
|
|
61
|
+
} else {
|
|
62
|
+
setUseCustomManifests(on);
|
|
63
|
+
if (!on) {
|
|
64
|
+
void clusterWizardContext.updateUISettings({ customManifestsAdded: false });
|
|
65
|
+
}
|
|
28
66
|
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
67
|
+
},
|
|
68
|
+
[clusterWizardContext],
|
|
69
|
+
);
|
|
70
|
+
|
|
71
|
+
const handleCloseDeleteModal = React.useCallback(() => {
|
|
72
|
+
setDeleteModalOpen(false);
|
|
73
|
+
}, []);
|
|
74
|
+
|
|
75
|
+
const cleanCustomManifests = React.useCallback(async () => {
|
|
76
|
+
if (!clusterWizardContext.uiSettings?.customManifestsAdded || !cluster.id) return;
|
|
77
|
+
const { data: manifests } = await ClustersAPI.getManifests(cluster.id);
|
|
78
|
+
await ClustersService.removeClusterManifests(manifests, cluster.id);
|
|
79
|
+
setUseCustomManifests(false);
|
|
80
|
+
setDeleteModalOpen(false);
|
|
81
|
+
await clusterWizardContext.updateUISettings({
|
|
82
|
+
customManifestsAdded: false,
|
|
83
|
+
customManifestsUpdated: true,
|
|
84
|
+
});
|
|
85
|
+
}, [cluster.id, clusterWizardContext]);
|
|
86
|
+
|
|
87
|
+
const fieldId = getFieldId('use-custom-manifests', 'switch');
|
|
88
|
+
|
|
89
|
+
const tooltipWhenDisabled = isRequired
|
|
90
|
+
? 'Custom manifests are required when using a third-party CNI or Oracle Cloud Infrastructure.'
|
|
91
|
+
: '';
|
|
92
|
+
|
|
93
|
+
const showExternalPlatformReminder = isOciPlatformType(cluster);
|
|
94
|
+
const showThirdPartyCnIReminder = isThirdPartyCNI(cluster.networkType);
|
|
95
|
+
const showCombinedReminder = showExternalPlatformReminder && showThirdPartyCnIReminder;
|
|
96
|
+
let reminderAlerts: React.ReactNode = null;
|
|
97
|
+
if (showCombinedReminder) {
|
|
98
|
+
reminderAlerts = (
|
|
99
|
+
<Stack>
|
|
100
|
+
<StackItem>
|
|
101
|
+
<Alert
|
|
102
|
+
variant={AlertVariant.info}
|
|
103
|
+
isInline
|
|
104
|
+
title="You're using an external platform and a third-party CNI"
|
|
105
|
+
>
|
|
106
|
+
Make sure to upload the required custom and CNI manifests in this step.
|
|
107
|
+
</Alert>
|
|
108
|
+
</StackItem>
|
|
109
|
+
</Stack>
|
|
110
|
+
);
|
|
111
|
+
} else if (showExternalPlatformReminder) {
|
|
112
|
+
reminderAlerts = (
|
|
113
|
+
<Stack>
|
|
114
|
+
<StackItem>
|
|
115
|
+
<Alert variant={AlertVariant.info} isInline title="You're using an external platform">
|
|
116
|
+
Make sure to upload the required custom manifests in this step.
|
|
117
|
+
</Alert>
|
|
118
|
+
</StackItem>
|
|
119
|
+
</Stack>
|
|
120
|
+
);
|
|
121
|
+
} else if (showThirdPartyCnIReminder) {
|
|
122
|
+
reminderAlerts = (
|
|
123
|
+
<Stack>
|
|
124
|
+
<StackItem>
|
|
125
|
+
<Alert variant={AlertVariant.info} isInline title="You're using a third-party CNI">
|
|
126
|
+
Make sure to upload the required CNI manifests in this step.
|
|
127
|
+
</Alert>
|
|
128
|
+
</StackItem>
|
|
129
|
+
</Stack>
|
|
130
|
+
);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
return (
|
|
134
|
+
<Grid hasGutter>
|
|
135
|
+
<Content>
|
|
136
|
+
<ClusterWizardStepHeader>Custom manifests</ClusterWizardStepHeader>
|
|
137
|
+
<Content component={ContentVariants.small}>
|
|
138
|
+
Upload additional manifests that will be applied at the install time for advanced
|
|
139
|
+
configuration of the cluster.
|
|
140
|
+
</Content>
|
|
141
|
+
</Content>
|
|
142
|
+
<FormGroup fieldId={fieldId} label="">
|
|
143
|
+
<Tooltip content={tooltipWhenDisabled} hidden={!isRequired}>
|
|
144
|
+
<span style={{ display: 'inline-block', cursor: isRequired ? 'not-allowed' : undefined }}>
|
|
145
|
+
<Switch
|
|
146
|
+
id={fieldId}
|
|
147
|
+
data-testid={fieldId}
|
|
148
|
+
data-checked={useCustomManifests}
|
|
149
|
+
isChecked={useCustomManifests}
|
|
150
|
+
isDisabled={isRequired}
|
|
151
|
+
onChange={handleSwitchChange}
|
|
152
|
+
label="Use custom manifests"
|
|
153
|
+
/>
|
|
154
|
+
</span>
|
|
155
|
+
</Tooltip>
|
|
156
|
+
</FormGroup>
|
|
157
|
+
{!useCustomManifests && <div style={{ minHeight: '250px' }} aria-hidden="true" />}
|
|
158
|
+
{useCustomManifests && (
|
|
159
|
+
<>
|
|
160
|
+
{reminderAlerts}
|
|
161
|
+
<Alert
|
|
162
|
+
isInline
|
|
163
|
+
variant="warning"
|
|
164
|
+
title="No validation is performed for the custom manifest contents. Only include resources that are necessary for initial setup to reduce the chance of installation failures."
|
|
165
|
+
/>
|
|
166
|
+
<CustomManifests cluster={cluster} onFormStateChange={onFormStateChange} />
|
|
167
|
+
</>
|
|
168
|
+
)}
|
|
169
|
+
<DeleteCustomManifestModal
|
|
170
|
+
isOpen={isDeleteModalOpen}
|
|
171
|
+
onClose={handleCloseDeleteModal}
|
|
172
|
+
onDelete={() => void cleanCustomManifests()}
|
|
173
|
+
/>
|
|
174
|
+
</Grid>
|
|
175
|
+
);
|
|
176
|
+
};
|
|
@@ -12,6 +12,7 @@ import { CustomManifest } from './CustomManifest';
|
|
|
12
12
|
import { getEmptyManifest, getManifestName } from './utils';
|
|
13
13
|
import { CustomManifestValues } from '../data/dataTypes';
|
|
14
14
|
import { selectCurrentClusterPermissionsState } from '../../../../store/slices/current-cluster/selectors';
|
|
15
|
+
import { useClusterWizardContext } from '../../../clusterWizard/ClusterWizardContext';
|
|
15
16
|
|
|
16
17
|
const fieldName = 'manifests';
|
|
17
18
|
|
|
@@ -40,6 +41,8 @@ export const CustomManifestsArray = ({
|
|
|
40
41
|
clusterId,
|
|
41
42
|
...props
|
|
42
43
|
}: CustomManifestsArrayProps) => {
|
|
44
|
+
const { updateUISettings } = useClusterWizardContext();
|
|
45
|
+
|
|
43
46
|
const [field, { error }] = useField<CustomManifestValues[]>({
|
|
44
47
|
name: fieldName,
|
|
45
48
|
});
|
|
@@ -67,6 +70,7 @@ export const CustomManifestsArray = ({
|
|
|
67
70
|
manifestToRemove['folder'] as string,
|
|
68
71
|
manifestToRemove['filename'],
|
|
69
72
|
);
|
|
73
|
+
await updateUISettings({ customManifestsUpdated: true });
|
|
70
74
|
} catch (e) {
|
|
71
75
|
handleApiError(e, () =>
|
|
72
76
|
addAlert({
|
|
@@ -77,7 +81,7 @@ export const CustomManifestsArray = ({
|
|
|
77
81
|
}
|
|
78
82
|
}
|
|
79
83
|
},
|
|
80
|
-
[addAlert, field.value],
|
|
84
|
+
[addAlert, field.value, updateUISettings],
|
|
81
85
|
);
|
|
82
86
|
|
|
83
87
|
const onConfirm = React.useCallback(async (): Promise<void> => {
|
package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.tsx
CHANGED
|
@@ -4,7 +4,6 @@ import { useSelector } from 'react-redux';
|
|
|
4
4
|
import { Stack, StackItem, Tooltip } from '@patternfly/react-core';
|
|
5
5
|
import {
|
|
6
6
|
canBeDualStack,
|
|
7
|
-
canSelectNetworkTypeSDN,
|
|
8
7
|
CpuArchitecture,
|
|
9
8
|
DUAL_STACK,
|
|
10
9
|
HostSubnets,
|
|
@@ -23,9 +22,9 @@ import {
|
|
|
23
22
|
VirtualIPControlGroupProps,
|
|
24
23
|
AdvancedNetworkFields,
|
|
25
24
|
} from '../../../../common/components/clusterWizard/networkingSteps';
|
|
25
|
+
import { NetworkTypeDropDown } from './NetworkTypeDropdown';
|
|
26
26
|
import { selectCurrentClusterPermissionsState } from '../../../store/slices/current-cluster/selectors';
|
|
27
27
|
import { OcmCheckbox } from '../../ui/OcmFormFields';
|
|
28
|
-
import { NetworkTypeControlGroup } from '../../../../common/components/clusterWizard/networkingSteps/NetworkTypeControlGroup';
|
|
29
28
|
import {
|
|
30
29
|
NewFeatureSupportLevelData,
|
|
31
30
|
NewFeatureSupportLevelMap,
|
|
@@ -144,9 +143,6 @@ const NetworkConfiguration = ({
|
|
|
144
143
|
const isDualStack = values.stackType === DUAL_STACK;
|
|
145
144
|
|
|
146
145
|
const isDualStackSelectable = React.useMemo(() => canBeDualStack(hostSubnets), [hostSubnets]);
|
|
147
|
-
const isSDNSelectable = React.useMemo(() => {
|
|
148
|
-
return canSelectNetworkTypeSDN(isSNOCluster, isDualStack);
|
|
149
|
-
}, [isSNOCluster, isDualStack]);
|
|
150
146
|
|
|
151
147
|
const [isAdvanced, setAdvanced] = React.useState(
|
|
152
148
|
isDualStack || isAdvNetworkConf(cluster, defaultNetworkSettings),
|
|
@@ -259,11 +255,12 @@ const NetworkConfiguration = ({
|
|
|
259
255
|
/>
|
|
260
256
|
</StackItem>
|
|
261
257
|
)}
|
|
262
|
-
|
|
263
|
-
<
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
258
|
+
<StackItem>
|
|
259
|
+
<NetworkTypeDropDown
|
|
260
|
+
isDisabled={isViewerMode}
|
|
261
|
+
featureSupportLevelData={featureSupportLevelData}
|
|
262
|
+
/>
|
|
263
|
+
</StackItem>
|
|
267
264
|
|
|
268
265
|
{!(isUserManagedNetworking && !isSNOCluster) && (
|
|
269
266
|
<StackItem>
|
package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.tsx
CHANGED
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
getFormikErrorFields,
|
|
10
10
|
getHostSubnets,
|
|
11
11
|
HostSubnets,
|
|
12
|
-
|
|
12
|
+
SINGLE_STACK,
|
|
13
13
|
isSNO,
|
|
14
14
|
LoadingState,
|
|
15
15
|
NetworkConfigurationValues,
|
|
@@ -262,7 +262,7 @@ const NetworkConfigurationPage = ({ cluster }: { cluster: Cluster }) => {
|
|
|
262
262
|
if (values.vipDhcpAllocation) {
|
|
263
263
|
delete params.apiVips;
|
|
264
264
|
delete params.ingressVips;
|
|
265
|
-
} else if (values.stackType ===
|
|
265
|
+
} else if (values.stackType === SINGLE_STACK) {
|
|
266
266
|
// The API will rebuild the default machineNetwork
|
|
267
267
|
params.machineNetworks = [];
|
|
268
268
|
}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { useField, useFormikContext } from 'formik';
|
|
3
|
+
import {
|
|
4
|
+
Alert,
|
|
5
|
+
AlertVariant,
|
|
6
|
+
Dropdown,
|
|
7
|
+
DropdownItem,
|
|
8
|
+
FormGroup,
|
|
9
|
+
MenuToggle,
|
|
10
|
+
MenuToggleElement,
|
|
11
|
+
Stack,
|
|
12
|
+
StackItem,
|
|
13
|
+
Tooltip,
|
|
14
|
+
} from '@patternfly/react-core';
|
|
15
|
+
import { getFieldId, ExternalLink } from '../../../../common/components/ui';
|
|
16
|
+
import {
|
|
17
|
+
NewFeatureSupportLevelMap,
|
|
18
|
+
useNewFeatureSupportLevel,
|
|
19
|
+
} from '../../../../common/components/newFeatureSupportLevels';
|
|
20
|
+
import NewFeatureSupportLevelBadge from '../../../../common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge';
|
|
21
|
+
import type { NetworkConfigurationValues } from '../../../../common/types/clusters';
|
|
22
|
+
import {
|
|
23
|
+
NETWORK_TYPE_OVN,
|
|
24
|
+
NETWORK_TYPE_LABELS,
|
|
25
|
+
NETWORK_TYPE_FEATURE_IDS,
|
|
26
|
+
isThirdPartyCNI,
|
|
27
|
+
} from '../../../../common/types/networkType';
|
|
28
|
+
import { RED_HAT_CNI_SUPPORT_MATRIX_LINK } from '../../../../common/config/docs_links';
|
|
29
|
+
|
|
30
|
+
export interface NetworkTypeDropDownProps {
|
|
31
|
+
isDisabled?: boolean;
|
|
32
|
+
featureSupportLevelData: NewFeatureSupportLevelMap | null;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export const NetworkTypeDropDown = ({
|
|
36
|
+
isDisabled = false,
|
|
37
|
+
featureSupportLevelData,
|
|
38
|
+
}: NetworkTypeDropDownProps) => {
|
|
39
|
+
const [field, , { setValue }] = useField<string>('networkType');
|
|
40
|
+
const [isOpen, setOpen] = React.useState(false);
|
|
41
|
+
const { values } = useFormikContext<NetworkConfigurationValues>();
|
|
42
|
+
const { getFeatureDisabledReason, getFeatureSupportLevel } = useNewFeatureSupportLevel();
|
|
43
|
+
const fieldId = getFieldId('networkType', 'input');
|
|
44
|
+
const showThirdPartyBanner = isThirdPartyCNI(values.networkType);
|
|
45
|
+
|
|
46
|
+
React.useEffect(() => {
|
|
47
|
+
if (
|
|
48
|
+
getFeatureDisabledReason(
|
|
49
|
+
NETWORK_TYPE_FEATURE_IDS[field.value],
|
|
50
|
+
featureSupportLevelData ?? undefined,
|
|
51
|
+
) !== undefined
|
|
52
|
+
) {
|
|
53
|
+
setValue(NETWORK_TYPE_OVN);
|
|
54
|
+
}
|
|
55
|
+
}, [field.value, setValue, featureSupportLevelData, getFeatureDisabledReason]);
|
|
56
|
+
|
|
57
|
+
const currentDisplayValue = NETWORK_TYPE_LABELS[field.value];
|
|
58
|
+
|
|
59
|
+
const dropdownItems = Object.entries(NETWORK_TYPE_LABELS).map(([value, label]) => {
|
|
60
|
+
const disabledReason = getFeatureDisabledReason(
|
|
61
|
+
NETWORK_TYPE_FEATURE_IDS[value],
|
|
62
|
+
featureSupportLevelData ?? undefined,
|
|
63
|
+
);
|
|
64
|
+
const featureId = NETWORK_TYPE_FEATURE_IDS[value];
|
|
65
|
+
const supportLevel = featureId
|
|
66
|
+
? getFeatureSupportLevel(featureId, featureSupportLevelData ?? undefined)
|
|
67
|
+
: undefined;
|
|
68
|
+
const shouldDisable =
|
|
69
|
+
supportLevel === 'unavailable' ||
|
|
70
|
+
supportLevel === 'unsupported' ||
|
|
71
|
+
disabledReason !== undefined;
|
|
72
|
+
return (
|
|
73
|
+
<DropdownItem key={value} id={value} value={value} isAriaDisabled={shouldDisable}>
|
|
74
|
+
<Tooltip hidden={!disabledReason} content={disabledReason} position="top">
|
|
75
|
+
<div>
|
|
76
|
+
{label}
|
|
77
|
+
<span onClick={(event) => event.stopPropagation()}>
|
|
78
|
+
<NewFeatureSupportLevelBadge featureId={featureId} supportLevel={supportLevel} />
|
|
79
|
+
</span>
|
|
80
|
+
</div>
|
|
81
|
+
</Tooltip>
|
|
82
|
+
</DropdownItem>
|
|
83
|
+
);
|
|
84
|
+
});
|
|
85
|
+
|
|
86
|
+
const onSelect = (event?: React.MouseEvent<Element, MouseEvent>, nextValue?: string): void => {
|
|
87
|
+
if (nextValue) {
|
|
88
|
+
setValue(nextValue);
|
|
89
|
+
}
|
|
90
|
+
setOpen(false);
|
|
91
|
+
};
|
|
92
|
+
|
|
93
|
+
const toggle = (toggleRef: React.Ref<MenuToggleElement>) => (
|
|
94
|
+
<MenuToggle
|
|
95
|
+
ref={toggleRef}
|
|
96
|
+
onClick={() => setOpen(!isOpen)}
|
|
97
|
+
isExpanded={isOpen}
|
|
98
|
+
isDisabled={isDisabled}
|
|
99
|
+
id={fieldId}
|
|
100
|
+
className="pf-v6-u-w-100"
|
|
101
|
+
style={{ minWidth: '100%' }}
|
|
102
|
+
>
|
|
103
|
+
{currentDisplayValue}
|
|
104
|
+
</MenuToggle>
|
|
105
|
+
);
|
|
106
|
+
|
|
107
|
+
return (
|
|
108
|
+
<Stack hasGutter>
|
|
109
|
+
<StackItem>
|
|
110
|
+
<FormGroup fieldId={fieldId} label="Network type" id={`form-control__${fieldId}`}>
|
|
111
|
+
<Dropdown
|
|
112
|
+
id={`${fieldId}-dropdown`}
|
|
113
|
+
onOpenChange={(open: boolean) => setOpen(open)}
|
|
114
|
+
onSelect={onSelect}
|
|
115
|
+
toggle={toggle}
|
|
116
|
+
isOpen={isOpen}
|
|
117
|
+
>
|
|
118
|
+
{dropdownItems}
|
|
119
|
+
</Dropdown>
|
|
120
|
+
</FormGroup>
|
|
121
|
+
</StackItem>
|
|
122
|
+
{showThirdPartyBanner && (
|
|
123
|
+
<StackItem>
|
|
124
|
+
<Alert variant={AlertVariant.warning} isInline title="Third-party CNI">
|
|
125
|
+
<Stack hasGutter>
|
|
126
|
+
<StackItem>
|
|
127
|
+
Third-party CNIs require uploading CNI manifests. Please verify you have the
|
|
128
|
+
required manifests and that the chosen CNI is compatible with your platform and
|
|
129
|
+
OpenShift version.
|
|
130
|
+
</StackItem>
|
|
131
|
+
<StackItem>
|
|
132
|
+
<ExternalLink href={RED_HAT_CNI_SUPPORT_MATRIX_LINK}>
|
|
133
|
+
Red Hat CNI Support Matrix
|
|
134
|
+
</ExternalLink>
|
|
135
|
+
</StackItem>
|
|
136
|
+
</Stack>
|
|
137
|
+
</Alert>
|
|
138
|
+
</StackItem>
|
|
139
|
+
)}
|
|
140
|
+
</Stack>
|
|
141
|
+
);
|
|
142
|
+
};
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
serviceNetworkValidationSchema,
|
|
12
12
|
IPv4ValidationSchema,
|
|
13
13
|
sshPublicKeyValidationSchema,
|
|
14
|
-
|
|
14
|
+
SINGLE_STACK,
|
|
15
15
|
DUAL_STACK,
|
|
16
16
|
vipArrayValidationSchema,
|
|
17
17
|
NETWORK_TYPE_OVN,
|
|
@@ -50,7 +50,7 @@ export const getNetworkInitialValues = (
|
|
|
50
50
|
: 'clusterManaged',
|
|
51
51
|
networkType: cluster.networkType || NETWORK_TYPE_OVN,
|
|
52
52
|
machineNetworks: cluster.machineNetworks || [],
|
|
53
|
-
stackType: isDualStackType ? DUAL_STACK :
|
|
53
|
+
stackType: isDualStackType ? DUAL_STACK : SINGLE_STACK,
|
|
54
54
|
clusterNetworks:
|
|
55
55
|
cluster.clusterNetworks ||
|
|
56
56
|
(isDualStackType
|
|
@@ -85,7 +85,8 @@ export const getNetworkConfigurationValidationSchema = (
|
|
|
85
85
|
values.managedNetworkingType === 'userManaged'
|
|
86
86
|
? Yup.array()
|
|
87
87
|
: machineNetworksValidationSchema.when('stackType', {
|
|
88
|
-
is: (stackType: NetworkConfigurationValues['stackType']) =>
|
|
88
|
+
is: (stackType: NetworkConfigurationValues['stackType']) =>
|
|
89
|
+
stackType === SINGLE_STACK,
|
|
89
90
|
then: () => machineNetworksValidationSchema.concat(IPv4ValidationSchema),
|
|
90
91
|
otherwise: () =>
|
|
91
92
|
values.machineNetworks && values.machineNetworks?.length >= 2
|
|
@@ -95,13 +96,13 @@ export const getNetworkConfigurationValidationSchema = (
|
|
|
95
96
|
: Yup.array(),
|
|
96
97
|
}),
|
|
97
98
|
clusterNetworks: clusterNetworksValidationSchema(t).when('stackType', {
|
|
98
|
-
is: (stackType: NetworkConfigurationValues['stackType']) => stackType ===
|
|
99
|
+
is: (stackType: NetworkConfigurationValues['stackType']) => stackType === SINGLE_STACK,
|
|
99
100
|
then: (schema) => schema.concat(IPv4ValidationSchema),
|
|
100
101
|
otherwise: (schema) =>
|
|
101
102
|
schema.concat(dualStackValidationSchema('cluster network', t, openshiftVersion)),
|
|
102
103
|
}),
|
|
103
104
|
serviceNetworks: serviceNetworkValidationSchema(t).when('stackType', {
|
|
104
|
-
is: (stackType: NetworkConfigurationValues['stackType']) => stackType ===
|
|
105
|
+
is: (stackType: NetworkConfigurationValues['stackType']) => stackType === SINGLE_STACK,
|
|
105
106
|
then: (schema) => schema.concat(IPv4ValidationSchema),
|
|
106
107
|
otherwise: (schema) =>
|
|
107
108
|
schema.concat(dualStackValidationSchema('service network', t, openshiftVersion)),
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { List, ListItem } from '@patternfly/react-core';
|
|
3
|
+
import { getYearForAssistedInstallerDocumentationLink } from '../../../../common/config/docs_links';
|
|
3
4
|
|
|
4
5
|
export type BundleSpec = {
|
|
5
6
|
incompatibleBundles?: string[];
|
|
@@ -30,11 +31,13 @@ export const bundleSpecs: { [key: string]: BundleSpec } = {
|
|
|
30
31
|
incompatibleBundles: [],
|
|
31
32
|
Description: () => (
|
|
32
33
|
<List>
|
|
34
|
+
<ListItem>GPUs are recommended for optimal AI/ML workload performance.</ListItem>
|
|
33
35
|
<ListItem>
|
|
34
36
|
NVIDIA GPU, AMD GPU and Kernel Module Management may or may not be installed based on the
|
|
35
37
|
GPU discovered on your hosts.
|
|
36
38
|
</ListItem>
|
|
37
39
|
</List>
|
|
38
40
|
),
|
|
41
|
+
docsLink: `https://docs.redhat.com/en/documentation/assisted_installer_for_openshift_container_platform/${getYearForAssistedInstallerDocumentationLink()}/html/installing_openshift_container_platform_with_the_assisted_installer/customizing-with-bundles-and-operators#openshift-ai-bundle_customizing-with-bundles-and-operators`,
|
|
39
42
|
},
|
|
40
43
|
};
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { Title } from '@patternfly/react-core';
|
|
2
2
|
import { Table, TableVariant, Tbody, Td, Tr } from '@patternfly/react-table';
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import { genericTableRowKey, isDualStack } from '../../../../common';
|
|
5
|
-
import {
|
|
6
|
-
getManagementType,
|
|
7
|
-
getStackTypeLabel,
|
|
8
|
-
getNetworkType,
|
|
9
|
-
} from '../../clusterDetail/ClusterProperties';
|
|
4
|
+
import { genericTableRowKey, isDualStack, NETWORK_TYPE_LABELS } from '../../../../common';
|
|
5
|
+
import { getManagementType, getStackTypeLabel } from '../../clusterDetail/ClusterProperties';
|
|
10
6
|
import { Cluster } from '@openshift-assisted/types/assisted-installer-service';
|
|
11
7
|
|
|
12
8
|
type ReviewTableRowsType = {
|
|
@@ -201,7 +197,7 @@ export const ReviewNetworkingTable = ({ cluster }: { cluster: Cluster }) => {
|
|
|
201
197
|
cells: [
|
|
202
198
|
{ title: 'Networking type' },
|
|
203
199
|
{
|
|
204
|
-
title:
|
|
200
|
+
title: cluster.networkType ? NETWORK_TYPE_LABELS[cluster.networkType] : '-',
|
|
205
201
|
props: { 'data-testid': 'networking-type', colSpan: 2 },
|
|
206
202
|
},
|
|
207
203
|
],
|
|
@@ -24,19 +24,17 @@ const ReviewStep = ({ cluster }: { cluster: Cluster }) => {
|
|
|
24
24
|
const [disableInstallButton, setDisableInstallButton] = React.useState<boolean>();
|
|
25
25
|
|
|
26
26
|
React.useEffect(() => {
|
|
27
|
-
|
|
27
|
+
const manifestFail =
|
|
28
28
|
cluster['last-installation-preparation']?.status === 'failed' &&
|
|
29
|
-
cluster['last-installation-preparation'].reason?.includes('manifest')
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
setDisableInstallButton(isViewerMode || isStartingInstallation || cluster.status !== 'ready');
|
|
39
|
-
}
|
|
29
|
+
cluster['last-installation-preparation'].reason?.includes('manifest');
|
|
30
|
+
const userDidntAddressManifestIssue =
|
|
31
|
+
clusterWizardContext.uiSettings?.customManifestsUpdated !== true;
|
|
32
|
+
setDisableInstallButton(
|
|
33
|
+
(manifestFail && userDidntAddressManifestIssue) ||
|
|
34
|
+
isViewerMode ||
|
|
35
|
+
isStartingInstallation ||
|
|
36
|
+
cluster.status !== 'ready',
|
|
37
|
+
);
|
|
40
38
|
}, [cluster, isStartingInstallation, isViewerMode, clusterWizardContext]);
|
|
41
39
|
|
|
42
40
|
const handleClusterInstall = async () => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { PropsWithChildren } from 'react';
|
|
2
2
|
import { useSelector } from 'react-redux';
|
|
3
3
|
import { Form } from '@patternfly/react-core';
|
|
4
|
-
import { Formik,
|
|
4
|
+
import { Formik, useFormikContext, yupToFormErrors } from 'formik';
|
|
5
5
|
import isEqual from 'lodash-es/isEqual.js';
|
|
6
6
|
import { useAlerts, useFormikAutoSave } from '../../../../../common';
|
|
7
7
|
import { useErrorMonitor } from '../../../../../common/components/ErrorHandling/ErrorMonitorContext';
|
|
@@ -9,6 +9,7 @@ import { getApiErrorMessage } from '../../../../../common/api';
|
|
|
9
9
|
import { StaticIpFormProps } from './propTypes';
|
|
10
10
|
import { selectCurrentClusterPermissionsState } from '../../../../store/slices/current-cluster/selectors';
|
|
11
11
|
|
|
12
|
+
/** Reports form state and triggers save on every value change (useFormikAutoSave) */
|
|
12
13
|
const AutosaveWithParentUpdate = <StaticIpFormValues extends object>({
|
|
13
14
|
onFormStateChange,
|
|
14
15
|
getEmptyValues,
|
|
@@ -16,28 +17,41 @@ const AutosaveWithParentUpdate = <StaticIpFormValues extends object>({
|
|
|
16
17
|
onFormStateChange: StaticIpFormProps<StaticIpFormValues>['onFormStateChange'];
|
|
17
18
|
getEmptyValues: StaticIpFormProps<StaticIpFormValues>['getEmptyValues'];
|
|
18
19
|
}) => {
|
|
19
|
-
|
|
20
|
-
const emptyValues = React.useMemo(() => getEmptyValues(), []);
|
|
20
|
+
const emptyValues = React.useMemo(() => getEmptyValues(), [getEmptyValues]);
|
|
21
21
|
const { isSubmitting, isValid, touched, errors, values, initialValues, submitForm } =
|
|
22
22
|
useFormikContext<StaticIpFormValues>();
|
|
23
23
|
|
|
24
|
-
const isEmpty = React.useMemo
|
|
25
|
-
|
|
26
|
-
}, [values, emptyValues]);
|
|
27
|
-
|
|
28
|
-
const isAutoSaveRunning = useFormikAutoSave();
|
|
24
|
+
const isEmpty = React.useMemo(() => isEqual(values, emptyValues), [values, emptyValues]);
|
|
25
|
+
const isAutoSaveRunning = useFormikAutoSave(0);
|
|
29
26
|
|
|
27
|
+
// Submit once on mount when form was opened with existing data (so it gets persisted).
|
|
30
28
|
React.useEffect(() => {
|
|
31
29
|
if (!isEqual(emptyValues, initialValues)) {
|
|
32
30
|
void submitForm();
|
|
33
31
|
}
|
|
34
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
32
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps -- intentional: run only on mount.
|
|
35
33
|
}, []);
|
|
36
34
|
|
|
37
35
|
React.useEffect(() => {
|
|
38
|
-
onFormStateChange({
|
|
39
|
-
|
|
40
|
-
|
|
36
|
+
onFormStateChange({
|
|
37
|
+
isSubmitting,
|
|
38
|
+
isAutoSaveRunning,
|
|
39
|
+
isValid,
|
|
40
|
+
touched,
|
|
41
|
+
errors,
|
|
42
|
+
isEmpty,
|
|
43
|
+
values: values as Record<string, unknown>,
|
|
44
|
+
});
|
|
45
|
+
}, [
|
|
46
|
+
isSubmitting,
|
|
47
|
+
isValid,
|
|
48
|
+
isAutoSaveRunning,
|
|
49
|
+
touched,
|
|
50
|
+
errors,
|
|
51
|
+
values,
|
|
52
|
+
isEmpty,
|
|
53
|
+
onFormStateChange,
|
|
54
|
+
]);
|
|
41
55
|
return null;
|
|
42
56
|
};
|
|
43
57
|
|
|
@@ -55,27 +69,13 @@ export const StaticIpForm = <StaticIpFormValues extends object>({
|
|
|
55
69
|
const { clearAlerts, addAlert } = useAlerts();
|
|
56
70
|
const { captureException } = useErrorMonitor();
|
|
57
71
|
const { isViewerMode } = useSelector(selectCurrentClusterPermissionsState);
|
|
58
|
-
const
|
|
59
|
-
React.useEffect(() => {
|
|
60
|
-
if (showEmptyValues) {
|
|
61
|
-
//after view changed the formik should be rendered with empty values
|
|
62
|
-
setInitialValues(getEmptyValues());
|
|
63
|
-
} else {
|
|
64
|
-
setInitialValues(getInitialValues(infraEnv));
|
|
65
|
-
}
|
|
66
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
67
|
-
}, []);
|
|
68
|
-
|
|
69
|
-
if (!initialValues) {
|
|
70
|
-
return null;
|
|
71
|
-
}
|
|
72
|
+
const initialValues = showEmptyValues ? getEmptyValues() : getInitialValues(infraEnv);
|
|
72
73
|
|
|
73
|
-
const handleSubmit
|
|
74
|
+
const handleSubmit = async (values: StaticIpFormValues) => {
|
|
74
75
|
clearAlerts();
|
|
75
76
|
try {
|
|
76
|
-
const staticNetworkConfig = getUpdateParams(infraEnv, values);
|
|
77
77
|
await updateInfraEnv({
|
|
78
|
-
staticNetworkConfig:
|
|
78
|
+
staticNetworkConfig: getUpdateParams(infraEnv, values),
|
|
79
79
|
});
|
|
80
80
|
} catch (error) {
|
|
81
81
|
captureException(error);
|
|
@@ -98,6 +98,10 @@ export const StaticIpForm = <StaticIpFormValues extends object>({
|
|
|
98
98
|
}
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
+
if (!initialValues) {
|
|
102
|
+
return null;
|
|
103
|
+
}
|
|
104
|
+
|
|
101
105
|
const onSubmit = isViewerMode ? () => Promise.resolve() : handleSubmit;
|
|
102
106
|
return (
|
|
103
107
|
<Formik initialValues={initialValues} onSubmit={onSubmit} validate={validate} validateOnMount>
|