@openshift-assisted/ui-lib 2.51.1 → 2.52.0
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/AgentTable.d.ts.map +1 -1
- package/build/@types/cim/components/Agent/AgentsSelectionHostCountAlerts.d.ts.map +1 -1
- package/build/@types/cim/components/Agent/AgentsSelectionUtils.d.ts.map +1 -1
- 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/MinimalHWRequirements.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 +1 -1
- package/build/@types/cim/components/Agent/tableColumns.d.ts.map +1 -1
- package/build/@types/cim/components/Agent/tableUtils.d.ts +0 -1
- package/build/@types/cim/components/Agent/tableUtils.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentCredentials.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentDetailsTable.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentKubeconfigDownload.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentProgress.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentValidationsOverview.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizard.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizardContext.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/NetworkConfiguration.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/ShortCapacitySummary.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/ClusterDeploymentDetailsStep.d.ts +5 -8
- package/build/@types/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsStep.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/components/ClusterDeploymentHostsSelectionAdvanced.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/components/ValidationSection.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/constants.d.ts +2 -13
- package/build/@types/cim/components/ClusterDeployment/constants.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.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 +1 -1
- package/build/@types/cim/components/ClusterDeployment/helpers.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscoveryStep.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.d.ts +1 -4
- package/build/@types/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.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/networking/ClusterDeploymentNetworkingStep.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/review/ClusterDeploymentReviewStep.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 +3 -3
- package/build/@types/cim/components/ClusterDeployment/use-networking-formik.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/validationSchemas.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/wizardTransition.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/DetailsPage/ClusterInstallationProgress.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/DetailsPage/ConditionsTable.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/DetailsPage/HostedClusterProgress.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/DetailsPage/HypershiftKubeconfigDownload.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/DetailsPage/NodePoolStatus.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/DetailsPage/NodePoolsProgress.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/DetailsPage/NodePoolsTable.d.ts +0 -1
- package/build/@types/cim/components/Hypershift/DetailsPage/NodePoolsTable.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/HostedClusterWizard/DetailsStep/types.d.ts +0 -1
- package/build/@types/cim/components/Hypershift/HostedClusterWizard/DetailsStep/types.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/HostedClusterWizard/HostsStep/types.d.ts +0 -1
- package/build/@types/cim/components/Hypershift/HostedClusterWizard/HostsStep/types.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/HostedClusterWizard/NetworkStep/types.d.ts +0 -1
- package/build/@types/cim/components/Hypershift/HostedClusterWizard/NetworkStep/types.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/forms/NodePoolAgentsForm.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/hooks/useSupportedOCPVersions.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/hooks/useTemptiflySync.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/modals/AddNodePoolModal.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/modals/ManageHostsModal.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/modals/NodePoolForm.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/modals/RemoveNodePoolModal.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/utils/labels.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/utils/nodepool.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/utils/status.d.ts.map +1 -1
- package/build/@types/cim/components/InfraEnv/AddHostDropdown.d.ts.map +1 -1
- package/build/@types/cim/components/InfraEnv/InfraEnvOpenShiftVersionDropdown.d.ts.map +1 -1
- package/build/@types/cim/components/YamlPreview/useYAMLPreview.d.ts.map +1 -1
- package/build/@types/cim/components/common/CpuArchitectureDropdown.d.ts.map +1 -1
- package/build/@types/cim/components/common/InfoAndTroubleshootingNotification.d.ts.map +1 -1
- package/build/@types/cim/components/common/SpecSyncErrAlert.d.ts.map +1 -1
- package/build/@types/cim/components/common/constants.d.ts.map +1 -1
- package/build/@types/cim/components/featureSupportLevels/featureStateUtils.d.ts +1 -1
- package/build/@types/cim/components/featureSupportLevels/featureStateUtils.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/agentClusterInstall.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/agentStatus.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/agents.d.ts +6 -6
- package/build/@types/cim/components/helpers/agents.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/clusterDeployment.d.ts +3 -15
- package/build/@types/cim/components/helpers/clusterDeployment.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/conditions.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/labels.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/network.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/proxy.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/storage.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/toAssisted.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/units.d.ts +1 -1
- package/build/@types/cim/components/helpers/units.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/versions.d.ts +1 -1
- package/build/@types/cim/components/helpers/versions.d.ts.map +1 -1
- package/build/@types/cim/components/modals/CimConfiguration/CimConfigurationFormFields.d.ts.map +1 -1
- package/build/@types/cim/components/modals/CimConfiguration/persist.d.ts.map +1 -1
- package/build/@types/cim/components/modals/CimConfiguration/utils.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/hooks/useAgentServiceConfig.d.ts.map +1 -1
- package/build/@types/cim/hooks/useConfigMaps.d.ts.map +1 -1
- package/build/@types/cim/hooks/useEvents.d.ts.map +1 -1
- package/build/@types/cim/hooks/useK8sWatchResource.d.ts +1 -1
- package/build/@types/cim/hooks/useK8sWatchResource.d.ts.map +1 -1
- package/build/@types/cim/utils.d.ts.map +1 -1
- package/build/@types/common/api/assisted-service/ClustersAPI.d.ts +25 -25
- package/build/@types/common/api/assisted-service/HostsAPI.d.ts +9 -9
- package/build/@types/common/api/assisted-service/InfraEnvsAPI.d.ts +7 -7
- package/build/@types/common/api/assisted-service/UISettingsAPI.d.ts +3 -3
- package/build/@types/common/api/axiosClient.d.ts.map +1 -1
- package/build/@types/common/api/utils.d.ts.map +1 -1
- package/build/@types/common/components/ErrorHandling/ErrorMonitorContext.d.ts.map +1 -1
- package/build/@types/common/components/ErrorHandling/WithErrorBoundary.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/CertificateFields.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/DiscoveryImageConfigForm.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/DiscoveryInstructions.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionControlGroup.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionMode.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/DiskEncryptionFields/TangServers.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/DownloadIpxeScript.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/DownloadIso.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/ExternalPlatformsDropdown.d.ts +1 -7
- package/build/@types/common/components/clusterConfiguration/ExternalPlatformsDropdown.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/FormatDiskWarning.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/ProxyFields.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/SecurityFields.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/utils.d.ts +4 -4
- package/build/@types/common/components/clusterConfiguration/utils.d.ts.map +1 -1
- package/build/@types/common/components/clusterDetail/ClusterCredentials.d.ts.map +1 -1
- package/build/@types/common/components/clusterDetail/ClusterProgress.d.ts.map +1 -1
- package/build/@types/common/components/clusterDetail/ClusterProgressItem.d.ts.map +1 -1
- package/build/@types/common/components/clusterDetail/ClusterProgressItems.d.ts.map +1 -1
- package/build/@types/common/components/clusterDetail/ClusterPropertiesList.d.ts.map +1 -1
- package/build/@types/common/components/clusterDetail/FinalizingProgress.d.ts.map +1 -1
- package/build/@types/common/components/clusterDetail/OperatorsProgressItem.d.ts.map +1 -1
- package/build/@types/common/components/clusterDetail/PostInstallAlert.d.ts.map +1 -1
- package/build/@types/common/components/clusterDetail/ProgressBarTexts.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/ClusterWizardStep.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.map +1 -1
- package/build/@types/common/components/clusterWizard/ReviewValidations.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/clusterDetailsValidation.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/networkingSteps/AdvancedNetworkFields.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/networkingSteps/ManagedNetworkingControlGroup.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/networkingSteps/NetworkTypeControlGroup.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/networkingSteps/StackTypeControlGroup.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/networkingSteps/SubnetsDropdown.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/networkingSteps/UserManagedNetworkingTextContent.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/networkingSteps/reorderNetworks.d.ts +2 -2
- package/build/@types/common/components/clusterWizard/networkingSteps/reorderNetworks.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/validationsInfoUtils.d.ts +5 -5
- 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/fetching/EventListFetch.d.ts.map +1 -1
- package/build/@types/common/components/hosts/AITable.d.ts +1 -1
- package/build/@types/common/components/hosts/AITable.d.ts.map +1 -1
- package/build/@types/common/components/hosts/DiskRole.d.ts +1 -1
- package/build/@types/common/components/hosts/DiskRole.d.ts.map +1 -1
- package/build/@types/common/components/hosts/EditHostForm.d.ts.map +1 -1
- package/build/@types/common/components/hosts/EditHostModal.d.ts.map +1 -1
- package/build/@types/common/components/hosts/FormatDiskCheckbox.d.ts +2 -2
- package/build/@types/common/components/hosts/FormatDiskCheckbox.d.ts.map +1 -1
- package/build/@types/common/components/hosts/HostProgress.d.ts.map +1 -1
- package/build/@types/common/components/hosts/HostRowDetail.d.ts.map +1 -1
- package/build/@types/common/components/hosts/HostValidationGroups.d.ts.map +1 -1
- package/build/@types/common/components/hosts/HostsTable.d.ts.map +1 -1
- package/build/@types/common/components/hosts/MassChangeHostnameModal.d.ts.map +1 -1
- package/build/@types/common/components/hosts/MassDeleteHostModal.d.ts.map +1 -1
- package/build/@types/common/components/hosts/hardwareInfo.d.ts.map +1 -1
- package/build/@types/common/components/hosts/status.d.ts +1 -1
- package/build/@types/common/components/hosts/status.d.ts.map +1 -1
- package/build/@types/common/components/hosts/tableColumns.d.ts +3 -3
- package/build/@types/common/components/hosts/tableColumns.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.map +1 -1
- package/build/@types/common/components/hosts/utils.d.ts +14 -14
- package/build/@types/common/components/hosts/utils.d.ts.map +1 -1
- package/build/@types/common/components/newFeatureSupportLevels/utils.d.ts.map +1 -1
- package/build/@types/common/components/operators/operatorSpecs.d.ts.map +1 -1
- package/build/@types/common/components/storage/DisksTable.d.ts +1 -1
- package/build/@types/common/components/storage/DisksTable.d.ts.map +1 -1
- package/build/@types/common/components/storage/StorageDetail.d.ts.map +1 -1
- package/build/@types/common/components/storage/StorageTable.d.ts.map +1 -1
- package/build/@types/common/components/storage/StorageUtils.d.ts.map +1 -1
- package/build/@types/common/components/ui/Alerts.d.ts.map +1 -1
- package/build/@types/common/components/ui/BorderedIcon/BorderedIcon.d.ts +2 -2
- package/build/@types/common/components/ui/BorderedIcon/BorderedIcon.d.ts.map +1 -1
- package/build/@types/common/components/ui/ClusterEventsToolbar.d.ts +1 -1
- package/build/@types/common/components/ui/ClusterEventsToolbar.d.ts.map +1 -1
- package/build/@types/common/components/ui/EventsList.d.ts.map +1 -1
- package/build/@types/common/components/ui/OpenShiftVersionDropdown.d.ts.map +1 -1
- package/build/@types/common/components/ui/OpenShiftVersionModal.d.ts.map +1 -1
- package/build/@types/common/components/ui/PrismCode.d.ts +8 -8
- package/build/@types/common/components/ui/PrismCode.d.ts.map +1 -1
- package/build/@types/common/components/ui/RenderIf.d.ts.map +1 -1
- package/build/@types/common/components/ui/SectionTitle.d.ts.map +1 -1
- package/build/@types/common/components/ui/SimpleDropdown.d.ts.map +1 -1
- package/build/@types/common/components/ui/ViewClusterEventsButton.d.ts.map +1 -1
- package/build/@types/common/components/ui/WizardNavItem.d.ts.map +1 -1
- package/build/@types/common/components/ui/eventsModal.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/AlertFormikError.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/CodeField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/LabelField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/PencilEditField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/RadioField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/RadioFieldWithTooltip.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/SelectFieldWithSearch.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/TextAreaField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/utils.d.ts +2 -6
- package/build/@types/common/components/ui/formik/utils.d.ts.map +1 -1
- package/build/@types/common/components/ui/table/utils.d.ts.map +1 -1
- package/build/@types/common/components/ui/uiState/ErrorState.d.ts.map +1 -1
- package/build/@types/common/components/ui/utils.d.ts.map +1 -1
- package/build/@types/common/config/constants.d.ts +8 -221
- package/build/@types/common/config/constants.d.ts.map +1 -1
- package/build/@types/common/config/docs_links.d.ts.map +1 -1
- 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/useFieldErrorMsg.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/reducers/alertsSlice.d.ts.map +1 -1
- package/build/@types/common/reducers/dialogsSlice.d.ts.map +1 -1
- package/build/@types/common/selectors/clusterSelectors.d.ts +17 -17
- package/build/@types/common/selectors/clusterSelectors.d.ts.map +1 -1
- package/build/@types/common/types/cpuArchitecture.d.ts.map +1 -1
- package/build/@types/common/types/featureSupportLevel.d.ts.map +1 -1
- package/build/@types/common/types/networkType.d.ts.map +1 -1
- package/build/@types/common/utils.d.ts +1 -1
- package/build/@types/common/utils.d.ts.map +1 -1
- package/build/@types/common/validationSchemas/addressValidation.d.ts +1 -1
- package/build/@types/common/validationSchemas/addressValidation.d.ts.map +1 -1
- package/build/@types/common/validationSchemas/clusterDetailsValidation.d.ts.map +1 -1
- package/build/@types/common/validationSchemas/constants.d.ts.map +1 -1
- package/build/@types/common/validationSchemas/hostnameValidation.d.ts.map +1 -1
- 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/common/validationSchemas/sshValidation.d.ts.map +1 -1
- package/build/@types/common/validationSchemas/utils.d.ts.map +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/Day2StaticIpHostConfigurations.d.ts.map +1 -1
- package/build/@types/ocm/components/AddHosts/day2Wizard/Day2WizardContextProvider.d.ts.map +1 -1
- package/build/@types/ocm/components/AddHosts/day2Wizard/Day2WizardFooter.d.ts.map +1 -1
- package/build/@types/ocm/components/HostsClusterDetailTab/HostsClusterDetailTab.d.ts.map +1 -1
- package/build/@types/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.d.ts.map +1 -1
- package/build/@types/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContentErrors.d.ts.map +1 -1
- package/build/@types/ocm/components/HostsClusterDetailTab/utils.d.ts.map +1 -1
- package/build/@types/ocm/components/Routes.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/ClusterDefaultConfigurationContext.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/CpuArchitectureDropdown.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/DiscoveryImageForm.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/DiscoveryImageTypeDropdown.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/HostInventory.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/HostsNetworkConfigurationControlGroup.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/InformationAndAlerts.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmBaseDomainField.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmClusterProgressItems.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmOpenShiftVersion.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmOperatorProgressItem.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmSNODisclaimer.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.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/CollapsedManifest.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/manifestsConfiguration/components/CustomManifestsForm.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/ExpandedManifest.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/customManifestsValidationSchema.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/utils.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/NetworkConfigurationTable.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationTableBase.d.ts +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationTableBase.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkTypeDropdown.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.d.ts +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/OperatorCheckbox.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/utils.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.d.ts +1 -7
- package/build/@types/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.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.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/BondsConfirmationModal.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/formViewHostsValidationSchema.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/FormViewNetworkWide/formViewNetworkWideValidationSchema.d.ts +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/formViewNetworkWideValidationSchema.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/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/StaticIpViewRadioGroup.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/YamlView/yamlViewValidationSchema.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/clusterConfiguration/staticIp/data/dummyData.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/data/formDataFromInfraEnvField.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/data/formDataToInfraEnvField.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/data/fromInfraEnv.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/data/machineNetwork.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/data/nmstateTypes.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/data/nmstateYaml.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/data/protocolVersion.d.ts +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/data/protocolVersion.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/AssistedInstallerDetailCard.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/ClusterDetailStatusMessages.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/ClusterDetailStatusVarieties.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/ClusterPollingErrorModal.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/ClusterProperties.d.ts +2 -2
- package/build/@types/ocm/components/clusterDetail/ClusterProperties.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/ClusterSummaryExpandable.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/HostInventoryExpandable.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/OpenShiftVersionDetail.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/ProgressBarAlerts.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/getProgressBarAlerts.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/utils.d.ts +1 -1
- package/build/@types/ocm/components/clusterDetail/utils.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterDetails.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterDetailsForm.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterWizard.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterWizardContextProvider.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterWizardFooter.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/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.map +1 -1
- package/build/@types/ocm/components/clusterWizard/OperatorsSelect.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/OperatorsStep.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/Storage.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/disconnected/BasicStep.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/disconnected/InstallDisconnectedSwitch.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/wizardTransition.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/ClusterPage.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/ClusterStatus.d.ts +1 -1
- package/build/@types/ocm/components/clusters/ClusterStatus.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/Clusters.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/ClustersTable.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/NewClusterPage.d.ts +1 -2
- package/build/@types/ocm/components/clusters/NewClusterPage.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/clusterPolling.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/utils.d.ts.map +1 -1
- package/build/@types/ocm/components/featureSupportLevels/FeatureSupportLevelProvider.d.ts.map +1 -1
- package/build/@types/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.d.ts.map +1 -1
- package/build/@types/ocm/components/featureSupportLevels/featureStateUtils.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/ClusterHostsTable.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/DeleteHostModal.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/HardwareStatus.d.ts +4 -4
- package/build/@types/ocm/components/hosts/HardwareStatus.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/HostRequirementsContent.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/HostsDiscoveryTable.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/HostsDiscoveryTroubleshootingInfoLinkWithModal.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/HostsStorageTable.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/HostsTableEmptyState.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/StorageAlerts.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/use-hosts-table.d.ts +3 -3
- package/build/@types/ocm/components/hosts/use-hosts-table.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/utils.d.ts +1 -1
- package/build/@types/ocm/components/hosts/utils.d.ts.map +1 -1
- package/build/@types/ocm/components/ui/Buttons/BackButton.d.ts.map +1 -1
- package/build/@types/ocm/components/ui/InfoLinkWithModal.d.ts.map +1 -1
- package/build/@types/ocm/components/ui/OcmFormFields.d.ts +3 -3
- package/build/@types/ocm/components/utils.d.ts.map +1 -1
- package/build/@types/ocm/config/constants.d.ts.map +1 -1
- package/build/@types/ocm/config/routeBasePath.d.ts.map +1 -1
- package/build/@types/ocm/hooks/use-feature.d.ts.map +1 -1
- package/build/@types/ocm/hooks/useClusterCustomManifests.d.ts +1 -1
- package/build/@types/ocm/hooks/useClusterCustomManifests.d.ts.map +1 -1
- package/build/@types/ocm/hooks/useClusterPreflightRequirements.d.ts +1 -1
- package/build/@types/ocm/hooks/useClusterPreflightRequirements.d.ts.map +1 -1
- package/build/@types/ocm/hooks/useInfraEnvHosts.d.ts +1 -1
- package/build/@types/ocm/hooks/useInfraEnvHosts.d.ts.map +1 -1
- package/build/@types/ocm/hooks/useInfraEnvImageUrl.d.ts +1 -1
- package/build/@types/ocm/hooks/useInfraEnvImageUrl.d.ts.map +1 -1
- package/build/@types/ocm/hooks/useInfraEnvIpxeImageUrl.d.ts +1 -1
- package/build/@types/ocm/hooks/useInfraEnvIpxeImageUrl.d.ts.map +1 -1
- package/build/@types/ocm/hooks/useLateBinding.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/useSetClusterPermissions.d.ts.map +1 -1
- package/build/@types/ocm/hooks/useUISettings.d.ts +1 -1
- package/build/@types/ocm/hooks/useUISettings.d.ts.map +1 -1
- package/build/@types/ocm/sentry.d.ts.map +1 -1
- package/build/@types/ocm/services/ClusterDetailsService.d.ts +2 -2
- package/build/@types/ocm/services/ClusterDetailsService.d.ts.map +1 -1
- package/build/@types/ocm/services/ClustersService.d.ts +10 -10
- package/build/@types/ocm/services/ClustersService.d.ts.map +1 -1
- package/build/@types/ocm/services/CpuArchitectureService.d.ts +1 -1
- package/build/@types/ocm/services/CpuArchitectureService.d.ts.map +1 -1
- package/build/@types/ocm/services/Day2ClusterService.d.ts +3 -3
- package/build/@types/ocm/services/Day2ClusterService.d.ts.map +1 -1
- package/build/@types/ocm/services/DiscoveryImageFormService.d.ts +1 -1
- package/build/@types/ocm/services/DiskEncryptionService.d.ts +2 -2
- package/build/@types/ocm/services/HostsService.d.ts +6 -6
- package/build/@types/ocm/services/HostsService.d.ts.map +1 -1
- package/build/@types/ocm/services/InfraEnvsService.d.ts +8 -8
- package/build/@types/ocm/services/InfraEnvsService.d.ts.map +1 -1
- package/build/@types/ocm/services/OperatorsService.d.ts.map +1 -1
- package/build/@types/ocm/services/UISettingsService.d.ts +2 -2
- package/build/@types/ocm/services/types.d.ts +1 -1
- package/build/@types/ocm/services/types.d.ts.map +1 -1
- package/build/@types/ocm/store/hooks.d.ts +3 -3
- package/build/@types/ocm/store/slices/clusters/selectors.d.ts +6 -6
- package/build/@types/ocm/store/slices/clusters/selectors.d.ts.map +1 -1
- package/build/@types/ocm/store/slices/clusters/slice.d.ts +2 -2
- package/build/@types/ocm/store/slices/clusters/slice.d.ts.map +1 -1
- package/build/@types/ocm/store/slices/current-cluster/selectors.d.ts +2 -2
- package/build/@types/ocm/store/slices/current-cluster/selectors.d.ts.map +1 -1
- package/build/@types/ocm/store/slices/current-cluster/slice.d.ts +65 -65
- 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 +3 -3
- package/build/@types/ocm/store/slices/current-user/slice.d.ts.map +1 -1
- package/build/@types/ocm/store/slices/feature-flags/selectors.d.ts +2 -2
- package/build/@types/ocm/store/slices/feature-flags/selectors.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/selectors.d.ts +2 -2
- package/build/@types/ocm/store/slices/infra-envs/selectors.d.ts.map +1 -1
- package/build/@types/ocm/store/slices/infra-envs/thunks.d.ts +6 -6
- package/build/@types/ocm/store/store-day1.d.ts +4 -4
- package/build/cjs/cim/components/Agent/AgentsSelectionTable.js +1 -2
- package/build/cjs/cim/components/Agent/AgentsSelectionTable.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentKubeconfigDownload.js +5 -5
- package/build/cjs/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.js +2 -2
- package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.js +1 -1
- package/build/cjs/cim/components/Hypershift/DetailsPage/HypershiftKubeconfigDownload.js +3 -3
- package/build/cjs/cim/components/Hypershift/DetailsPage/NodePoolsTable.js +3 -3
- package/build/cjs/cim/components/Hypershift/DetailsPage/NodePoolsTable.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/DetailsPage/index.js +3 -5
- package/build/cjs/cim/components/Hypershift/DetailsPage/index.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/DetailsStep/index.js +2 -4
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/DetailsStep/index.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/index.js +2 -4
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/index.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/modals/AddNodePoolModal.js +3 -3
- package/build/cjs/cim/components/YamlPreview/index.js +2 -4
- package/build/cjs/cim/components/YamlPreview/index.js.map +1 -1
- package/build/cjs/cim/components/featureSupportLevels/index.js +2 -4
- package/build/cjs/cim/components/featureSupportLevels/index.js.map +1 -1
- package/build/cjs/cim/components/helpers/units.js.map +1 -1
- package/build/cjs/cim/components/modals/CimConfiguration/persist.js +11 -11
- package/build/cjs/cim/components/modals/EditAgentModal.js +1 -1
- package/build/cjs/cim/utils.js +2 -2
- package/build/cjs/cim/utils.js.map +1 -1
- package/build/cjs/common/api/assisted-service/index.js +10 -12
- package/build/cjs/common/api/assisted-service/index.js.map +1 -1
- package/build/cjs/common/api/axiosExtensions.js +1 -2
- package/build/cjs/common/api/axiosExtensions.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DiscoveryInstructions.js +1 -1
- package/build/cjs/common/components/clusterConfiguration/DiscoveryInstructions.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/utils.js +3 -3
- package/build/cjs/common/components/clusterConfiguration/utils.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/OperatorsProgressItem.js +4 -4
- package/build/cjs/common/components/clusterDetail/OperatorsProgressItem.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/index.js +6 -8
- package/build/cjs/common/components/clusterDetail/index.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/networkingSteps/index.js +2 -4
- package/build/cjs/common/components/clusterWizard/networkingSteps/index.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/clusters/index.js +2 -4
- package/build/cjs/common/components/clusters/index.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/ui/Toolbar/index.js +5 -7
- package/build/cjs/common/components/ui/Toolbar/index.js.map +1 -1
- package/build/cjs/common/components/ui/formik/TextAreaField.js +5 -1
- package/build/cjs/common/components/ui/formik/TextAreaField.js.map +1 -1
- package/build/cjs/common/components/ui/uiState/index.js +4 -6
- package/build/cjs/common/components/ui/uiState/index.js.map +1 -1
- package/build/cjs/common/config/constants.js +1 -0
- package/build/cjs/common/config/constants.js.map +1 -1
- package/build/cjs/common/hooks/index.js +3 -5
- package/build/cjs/common/hooks/index.js.map +1 -1
- package/build/cjs/common/hooks/use-translation-wrapper.js +1 -2
- package/build/cjs/common/hooks/use-translation-wrapper.js.map +1 -1
- package/build/cjs/common/services/DateAndTime.js +2 -3
- package/build/cjs/common/services/DateAndTime.js.map +1 -1
- package/build/cjs/common/types/typescriptExtensions.js +2 -3
- package/build/cjs/common/types/typescriptExtensions.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/pullSecretValidation.js +8 -7
- package/build/cjs/common/validationSchemas/pullSecretValidation.js.map +1 -1
- package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmOperatorProgressItem.js +4 -4
- package/build/cjs/ocm/components/clusterConfiguration/OcmOperatorProgressItem.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.js +4 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.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/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/StaticIpPage.js +8 -11
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js +5 -5
- package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js +2 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/NewClusterWizard.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/disconnected/BasicStep.js +6 -7
- package/build/cjs/ocm/components/clusterWizard/disconnected/BasicStep.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/index.js +5 -7
- package/build/cjs/ocm/components/clusterWizard/index.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClusterPage.js +3 -6
- package/build/cjs/ocm/components/clusters/ClusterPage.js.map +1 -1
- package/build/cjs/ocm/components/clusters/Clusters.js +0 -2
- package/build/cjs/ocm/components/clusters/Clusters.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClustersTable.js +7 -2
- package/build/cjs/ocm/components/clusters/ClustersTable.js.map +1 -1
- package/build/cjs/ocm/components/clusters/NewClusterPage.js +2 -7
- package/build/cjs/ocm/components/clusters/NewClusterPage.js.map +1 -1
- package/build/cjs/ocm/components/hosts/ClusterHostsTable.js +1 -2
- package/build/cjs/ocm/components/hosts/ClusterHostsTable.js.map +1 -1
- package/build/cjs/ocm/components/hosts/HostsStorageTable.js +1 -2
- package/build/cjs/ocm/components/hosts/HostsStorageTable.js.map +1 -1
- package/build/cjs/ocm/components/ui/OcmFormFields.js +2 -2
- package/build/cjs/ocm/components/ui/OcmFormFields.js.map +1 -1
- package/build/cjs/ocm/hooks/index.js +9 -11
- package/build/cjs/ocm/hooks/index.js.map +1 -1
- package/build/cjs/ocm/hooks/use-feature-detection.js +1 -2
- package/build/cjs/ocm/hooks/use-feature-detection.js.map +1 -1
- package/build/cjs/ocm/hooks/useInfraEnv.js +1 -1
- package/build/cjs/ocm/hooks/useInfraEnv.js.map +1 -1
- package/build/cjs/ocm/hooks/useInfraEnvId.js +1 -1
- package/build/cjs/ocm/hooks/useInfraEnvId.js.map +1 -1
- package/build/cjs/ocm/hooks/useInfraEnvImageUrl.js +1 -1
- package/build/cjs/ocm/hooks/useInfraEnvImageUrl.js.map +1 -1
- package/build/cjs/ocm/hooks/useInfraEnvIpxeImageUrl.js +1 -1
- package/build/cjs/ocm/hooks/useInfraEnvIpxeImageUrl.js.map +1 -1
- package/build/cjs/ocm/hooks/useManagedDomains.js +1 -1
- package/build/cjs/ocm/hooks/useManagedDomains.js.map +1 -1
- package/build/cjs/ocm/hooks/usePullSecret.js +32 -8
- package/build/cjs/ocm/hooks/usePullSecret.js.map +1 -1
- package/build/cjs/ocm/hooks/useSetClusterPermissions.js +1 -1
- package/build/cjs/ocm/hooks/useSetClusterPermissions.js.map +1 -1
- package/build/cjs/ocm/hooks/useSupportLevelsAPI.js +1 -1
- package/build/cjs/ocm/hooks/useSupportLevelsAPI.js.map +1 -1
- package/build/cjs/ocm/hooks/useUsedClusterNames.js +1 -1
- package/build/cjs/ocm/hooks/useUsedClusterNames.js.map +1 -1
- package/build/cjs/ocm/services/ClusterDetailsService.js +17 -2
- package/build/cjs/ocm/services/ClusterDetailsService.js.map +1 -1
- package/build/cjs/ocm/services/ClustersService.js.map +1 -1
- package/build/cjs/ocm/store/slices/current-user/slice.js +2 -2
- package/lib/cim/components/Hypershift/DetailsPage/NodePoolsTable.tsx +3 -3
- package/lib/cim/components/helpers/units.ts +1 -1
- package/lib/common/components/clusterConfiguration/DiscoveryInstructions.tsx +0 -1
- package/lib/common/components/clusterConfiguration/ProxyFields.tsx +5 -0
- package/lib/common/components/clusters/PullSecret.tsx +40 -28
- package/lib/common/components/hosts/AdditionalNTPSourcesDialog.tsx +1 -1
- package/lib/common/components/ui/formik/TextAreaField.tsx +4 -1
- package/lib/common/config/constants.ts +1 -0
- package/lib/common/validationSchemas/ntpValidation.tsx +13 -7
- package/lib/common/validationSchemas/pullSecretValidation.tsx +8 -9
- package/lib/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.tsx +6 -3
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.tsx +4 -1
- 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 +18 -14
- package/lib/ocm/components/clusterConfiguration/staticIp/components/propTypes.ts +1 -1
- package/lib/ocm/components/clusterWizard/ClusterDetails.tsx +1 -1
- package/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx +9 -4
- package/lib/ocm/components/clusterWizard/ClusterWizardContextProvider.tsx +2 -5
- package/lib/ocm/components/clusterWizard/NewClusterWizard.tsx +1 -0
- package/lib/ocm/components/clusterWizard/disconnected/BasicStep.tsx +11 -12
- package/lib/ocm/components/clusters/ClusterPage.tsx +4 -7
- package/lib/ocm/components/clusters/Clusters.tsx +0 -2
- package/lib/ocm/components/clusters/ClustersTable.tsx +10 -10
- package/lib/ocm/components/clusters/NewClusterPage.tsx +1 -9
- package/lib/ocm/hooks/usePullSecret.ts +33 -8
- package/lib/ocm/services/ClusterDetailsService.ts +23 -1
- package/lib/ocm/services/ClustersService.ts +1 -1
- package/lib/ocm/services/types.ts +1 -1
- package/package.json +10 -10
- package/build/@types/ocm/components/clusters/ClusterBreadcrumbs.d.ts +0 -6
- package/build/@types/ocm/components/clusters/ClusterBreadcrumbs.d.ts.map +0 -1
- package/build/cjs/ocm/components/clusters/ClusterBreadcrumbs.js +0 -14
- package/build/cjs/ocm/components/clusters/ClusterBreadcrumbs.js.map +0 -1
- package/lib/ocm/components/clusters/ClusterBreadcrumbs.tsx +0 -36
|
@@ -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>
|
|
@@ -49,15 +49,17 @@ export const StaticIpPage: React.FC<StaticIpPageProps> = ({
|
|
|
49
49
|
return getStaticIpInfo(infraEnv);
|
|
50
50
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
51
51
|
}, []);
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
52
|
+
|
|
53
|
+
const onFormStateChange = React.useCallback(
|
|
54
|
+
(formState: StaticIpFormState) => {
|
|
55
|
+
const hasFilledData =
|
|
56
|
+
clusterWizardContext.currentStepId === 'static-ip-host-configurations' ||
|
|
57
|
+
!formState.isEmpty;
|
|
58
|
+
setConfirmOnChangeView(hasFilledData);
|
|
59
|
+
onFormStateChangeParent(formState);
|
|
60
|
+
},
|
|
61
|
+
[clusterWizardContext.currentStepId, onFormStateChangeParent],
|
|
62
|
+
);
|
|
61
63
|
|
|
62
64
|
const viewProps: StaticIpViewProps = {
|
|
63
65
|
onFormStateChange,
|
|
@@ -66,7 +68,7 @@ export const StaticIpPage: React.FC<StaticIpPageProps> = ({
|
|
|
66
68
|
showEmptyValues: viewChanged,
|
|
67
69
|
};
|
|
68
70
|
|
|
69
|
-
const
|
|
71
|
+
const content = (() => {
|
|
70
72
|
switch (clusterWizardContext.currentStepId) {
|
|
71
73
|
case 'static-ip-yaml-view':
|
|
72
74
|
return <YamlView {...viewProps} />;
|
|
@@ -75,14 +77,16 @@ export const StaticIpPage: React.FC<StaticIpPageProps> = ({
|
|
|
75
77
|
case 'static-ip-host-configurations':
|
|
76
78
|
return <FormViewHosts {...viewProps} />;
|
|
77
79
|
default:
|
|
78
|
-
throw
|
|
80
|
+
throw new Error(
|
|
81
|
+
`Unexpected wizard step id ${clusterWizardContext.currentStepId} when entering static ip page`,
|
|
82
|
+
);
|
|
79
83
|
}
|
|
80
|
-
};
|
|
84
|
+
})();
|
|
81
85
|
|
|
82
|
-
|
|
83
|
-
if (!content) {
|
|
86
|
+
if (!initialStaticIpInfo) {
|
|
84
87
|
return null;
|
|
85
88
|
}
|
|
89
|
+
|
|
86
90
|
return (
|
|
87
91
|
<Grid hasGutter>
|
|
88
92
|
<GridItem>
|
|
@@ -13,6 +13,7 @@ export type StaticIpFormState = {
|
|
|
13
13
|
touched: FormikTouched<object>;
|
|
14
14
|
errors: FormikErrors<object>;
|
|
15
15
|
isEmpty: boolean;
|
|
16
|
+
values?: Record<string, unknown>;
|
|
16
17
|
};
|
|
17
18
|
|
|
18
19
|
export type StaticIpProps = {
|
|
@@ -29,7 +30,6 @@ export type StaticIpViewProps = StaticIpPageProps & {
|
|
|
29
30
|
};
|
|
30
31
|
|
|
31
32
|
export type StaticIpFormProps<StaticIpViewValues extends object> = StaticIpViewProps & {
|
|
32
|
-
showEmptyValues: boolean;
|
|
33
33
|
getInitialValues(infraEnv: InfraEnv): StaticIpViewValues;
|
|
34
34
|
getUpdateParams(currentInfraEnv: InfraEnv, values: StaticIpViewValues): HostStaticNetworkConfig[];
|
|
35
35
|
validationSchema: Yup.ObjectSchema<Yup.AnyObject> | Yup.Lazy<Yup.AnyObject>;
|
|
@@ -39,7 +39,6 @@ const ClusterDetails = ({ cluster, infraEnv }: ClusterDetailsProps) => {
|
|
|
39
39
|
const navigate = useNavigate();
|
|
40
40
|
const dispatch = useDispatch();
|
|
41
41
|
const { usedClusterNames } = useUsedClusterNames(cluster?.id || '');
|
|
42
|
-
const pullSecret = usePullSecret();
|
|
43
42
|
const {
|
|
44
43
|
error: errorOCPVersions,
|
|
45
44
|
loading: loadingOCPVersions,
|
|
@@ -47,6 +46,7 @@ const ClusterDetails = ({ cluster, infraEnv }: ClusterDetailsProps) => {
|
|
|
47
46
|
} = useOpenShiftVersionsContext();
|
|
48
47
|
const location = useLocation();
|
|
49
48
|
const isSingleClusterFeatureEnabled = useFeature('ASSISTED_INSTALLER_SINGLE_CLUSTER_FEATURE');
|
|
49
|
+
const pullSecret = usePullSecret(isSingleClusterFeatureEnabled);
|
|
50
50
|
|
|
51
51
|
const handleClusterUpdate = React.useCallback(
|
|
52
52
|
async (clusterId: Cluster['id'], params: ClusterDetailsUpdateParams) => {
|
|
@@ -81,14 +81,19 @@ const ClusterDetailsForm = (props: ClusterDetailsFormProps) => {
|
|
|
81
81
|
) {
|
|
82
82
|
resetPlatform = 'baremetal';
|
|
83
83
|
}
|
|
84
|
-
const params = ClusterDetailsService.getClusterUpdateParams(
|
|
84
|
+
const params = ClusterDetailsService.getClusterUpdateParams(
|
|
85
|
+
values,
|
|
86
|
+
resetPlatform,
|
|
87
|
+
cluster,
|
|
88
|
+
infraEnv,
|
|
89
|
+
);
|
|
85
90
|
await handleClusterUpdate(cluster.id, params);
|
|
86
91
|
} else {
|
|
87
|
-
const params = ClusterDetailsService.getClusterCreateParams(values);
|
|
92
|
+
const params = ClusterDetailsService.getClusterCreateParams(values, infraEnv);
|
|
88
93
|
await handleClusterCreate(params);
|
|
89
94
|
}
|
|
90
95
|
},
|
|
91
|
-
[cluster, handleClusterCreate, handleClusterUpdate],
|
|
96
|
+
[cluster, infraEnv, handleClusterCreate, handleClusterUpdate],
|
|
92
97
|
);
|
|
93
98
|
|
|
94
99
|
const handleOnNext = React.useCallback(
|
|
@@ -166,11 +171,11 @@ const ClusterDetailsForm = (props: ClusterDetailsFormProps) => {
|
|
|
166
171
|
{!isSingleClusterFeatureEnabled && (
|
|
167
172
|
<GridItem>
|
|
168
173
|
<Flex alignItems={{ default: 'alignItemsCenter' }} gap={{ default: 'gapSm' }}>
|
|
169
|
-
<TechnologyPreview />
|
|
170
174
|
<InstallDisconnectedSwitch isDisabled={!!cluster} />
|
|
171
175
|
<span>
|
|
172
176
|
{t("ai:I'm installing on a disconnected/air-gapped/secured environment")}
|
|
173
177
|
</span>
|
|
178
|
+
<TechnologyPreview />
|
|
174
179
|
</Flex>
|
|
175
180
|
</GridItem>
|
|
176
181
|
)}
|
|
@@ -13,16 +13,13 @@ import { HostsNetworkConfigurationType } from '../../services';
|
|
|
13
13
|
import { defaultWizardSteps, staticIpFormViewSubSteps } from './constants';
|
|
14
14
|
import { StaticIpView } from '../clusterConfiguration/staticIp/data/dataTypes';
|
|
15
15
|
import { getStaticIpInfo } from '../clusterConfiguration/staticIp/data/fromInfraEnv';
|
|
16
|
-
import {
|
|
17
|
-
AssistedInstallerOCMPermissionTypesListType,
|
|
18
|
-
useAlerts,
|
|
19
|
-
isThirdPartyCNI,
|
|
20
|
-
} from '../../../common';
|
|
16
|
+
import { AssistedInstallerOCMPermissionTypesListType, useAlerts } from '../../../common';
|
|
21
17
|
import useSetClusterPermissions from '../../hooks/useSetClusterPermissions';
|
|
22
18
|
import { Cluster, InfraEnv } from '@openshift-assisted/types/assisted-installer-service';
|
|
23
19
|
import { useUISettings } from '../../hooks';
|
|
24
20
|
import { AlertVariant } from '@patternfly/react-core';
|
|
25
21
|
import { useFeature } from '../../hooks/use-feature';
|
|
22
|
+
import { isThirdPartyCNI } from '../../../common/types/networkType';
|
|
26
23
|
import { isOciPlatformType } from '../utils';
|
|
27
24
|
|
|
28
25
|
const addStepToClusterWizard = (
|
|
@@ -19,6 +19,7 @@ const getCurrentStep = (currentStepId: ClusterWizardStepsType) => {
|
|
|
19
19
|
|
|
20
20
|
const NewClusterWizard: React.FC = () => {
|
|
21
21
|
const { currentStepId } = useClusterWizardContext();
|
|
22
|
+
|
|
22
23
|
return (
|
|
23
24
|
<div className={classNames('pf-v6-c-wizard', 'cluster-wizard')}>
|
|
24
25
|
{getCurrentStep(currentStepId)}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import {
|
|
3
3
|
ClusterWizardStep,
|
|
4
|
-
|
|
4
|
+
TechnologyPreview,
|
|
5
5
|
ExternalLink,
|
|
6
6
|
OCP_RELEASES_PAGE,
|
|
7
7
|
StaticTextField,
|
|
8
8
|
useTranslation,
|
|
9
9
|
} from '../../../../common';
|
|
10
|
-
import {
|
|
10
|
+
import { Flex, Grid, GridItem, Form, Content } from '@patternfly/react-core';
|
|
11
11
|
import OcmOpenShiftVersion from '../../clusterConfiguration/OcmOpenShiftVersion';
|
|
12
12
|
import { useClusterWizardContext } from '../ClusterWizardContext';
|
|
13
13
|
import ClusterWizardFooter from '../ClusterWizardFooter';
|
|
@@ -34,21 +34,20 @@ const BasicStep = () => {
|
|
|
34
34
|
<WithErrorBoundary title="Failed to load Basic step">
|
|
35
35
|
<Grid hasGutter>
|
|
36
36
|
<GridItem>
|
|
37
|
-
<
|
|
38
|
-
<SplitItem>
|
|
39
|
-
<Content component="h2">Basic information</Content>
|
|
40
|
-
</SplitItem>
|
|
41
|
-
<SplitItem>
|
|
42
|
-
<DeveloperPreview />
|
|
43
|
-
</SplitItem>
|
|
44
|
-
</Split>
|
|
37
|
+
<Content component="h2">Basic information</Content>
|
|
45
38
|
</GridItem>
|
|
46
39
|
<GridItem>
|
|
47
|
-
<
|
|
40
|
+
<Flex alignItems={{ default: 'alignItemsCenter' }} gap={{ default: 'gapSm' }}>
|
|
41
|
+
<TechnologyPreview />
|
|
42
|
+
<InstallDisconnectedSwitch />
|
|
43
|
+
<span>
|
|
44
|
+
{t("ai:I'm installing on a disconnected/air-gapped/secured environment")}
|
|
45
|
+
</span>
|
|
46
|
+
</Flex>
|
|
48
47
|
</GridItem>
|
|
49
48
|
<GridItem>
|
|
50
49
|
<Form id="wizard-cluster-basic-info__form">
|
|
51
|
-
<OcmOpenShiftVersion openshiftVersion="4.
|
|
50
|
+
<OcmOpenShiftVersion openshiftVersion="4.20" withPreviewText withMultiText>
|
|
52
51
|
<ExternalLink href={`${window.location.origin}/${OCP_RELEASES_PAGE}`}>
|
|
53
52
|
<span data-ouia-id="openshift-releases-link">
|
|
54
53
|
{t('ai:Learn more about OpenShift releases')}
|
|
@@ -14,7 +14,6 @@ import CancelInstallationModal from '../clusterDetail/CancelInstallationModal';
|
|
|
14
14
|
import ResetClusterModal from '../clusterDetail/ResetClusterModal';
|
|
15
15
|
import { AddHosts } from '../AddHosts';
|
|
16
16
|
import { ClusterDefaultConfigurationProvider } from '../clusterConfiguration/ClusterDefaultConfigurationContext';
|
|
17
|
-
import ClusterBreadcrumbs from './ClusterBreadcrumbs';
|
|
18
17
|
import ClusterWizard from '../clusterWizard/ClusterWizard';
|
|
19
18
|
import { ModalDialogsContextProvider } from '../hosts/ModalDialogsContext';
|
|
20
19
|
import { useClusterPolling, useFetchCluster } from './clusterPolling';
|
|
@@ -37,11 +36,11 @@ import { OpenShiftVersionsContextProvider } from '../clusterWizard/OpenShiftVers
|
|
|
37
36
|
|
|
38
37
|
const ClusterPageGeneric = ({
|
|
39
38
|
clusterId,
|
|
40
|
-
|
|
39
|
+
showHeader = false,
|
|
41
40
|
resetModal,
|
|
42
41
|
}: {
|
|
43
42
|
clusterId: string;
|
|
44
|
-
|
|
43
|
+
showHeader?: boolean;
|
|
45
44
|
resetModal?: React.ReactNode;
|
|
46
45
|
}) => {
|
|
47
46
|
const fetchCluster = useFetchCluster(clusterId);
|
|
@@ -89,7 +88,6 @@ const ClusterPageGeneric = ({
|
|
|
89
88
|
) {
|
|
90
89
|
return (
|
|
91
90
|
<>
|
|
92
|
-
{showBreadcrumbs && <ClusterBreadcrumbs clusterName={cluster.name} />}
|
|
93
91
|
<PageSection hasBodyWrapper={false}>
|
|
94
92
|
<Content component="h1">{cluster.name}</Content>
|
|
95
93
|
</PageSection>
|
|
@@ -101,8 +99,7 @@ const ClusterPageGeneric = ({
|
|
|
101
99
|
} else {
|
|
102
100
|
return (
|
|
103
101
|
<>
|
|
104
|
-
{
|
|
105
|
-
{showBreadcrumbs && (
|
|
102
|
+
{showHeader && (
|
|
106
103
|
<PageSection hasBodyWrapper={false}>
|
|
107
104
|
<AssistedInstallerHeader />
|
|
108
105
|
</PageSection>
|
|
@@ -214,7 +211,7 @@ export const ClusterPage = () => {
|
|
|
214
211
|
const { clusterId } = useParams<{ clusterId: string }>();
|
|
215
212
|
return (
|
|
216
213
|
<AlertsContextProvider>
|
|
217
|
-
<ClusterPageGeneric clusterId={clusterId || ''}
|
|
214
|
+
<ClusterPageGeneric clusterId={clusterId || ''} showHeader />
|
|
218
215
|
</AlertsContextProvider>
|
|
219
216
|
);
|
|
220
217
|
};
|
|
@@ -15,7 +15,6 @@ import {
|
|
|
15
15
|
import ClustersTable from './ClustersTable';
|
|
16
16
|
import { fetchClustersAsync, deleteCluster } from '../../store/slices/clusters/slice';
|
|
17
17
|
import { handleApiError, getApiErrorMessage } from '../../../common/api';
|
|
18
|
-
import ClusterBreadcrumbs from './ClusterBreadcrumbs';
|
|
19
18
|
import { ClustersService } from '../../services';
|
|
20
19
|
import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
|
|
21
20
|
import ClusterPollingErrorModal from '../clusterDetail/ClusterPollingErrorModal';
|
|
@@ -106,7 +105,6 @@ const Clusters = () => {
|
|
|
106
105
|
} else {
|
|
107
106
|
return (
|
|
108
107
|
<>
|
|
109
|
-
<ClusterBreadcrumbs />
|
|
110
108
|
<PageSection hasBodyWrapper={false}>
|
|
111
109
|
<Content component="h1">Assisted Clusters</Content>
|
|
112
110
|
</PageSection>
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import {
|
|
3
3
|
Table,
|
|
4
|
+
TableText,
|
|
4
5
|
Thead,
|
|
5
6
|
Tr,
|
|
6
7
|
Th,
|
|
@@ -167,7 +168,7 @@ const ClustersTable = ({ rows, deleteCluster }: ClustersTableProps) => {
|
|
|
167
168
|
width={col.cellWidth as BaseCellProps['width']}
|
|
168
169
|
sort={getSortParams(i)}
|
|
169
170
|
>
|
|
170
|
-
{col.title}
|
|
171
|
+
<TableText>{col.title}</TableText>
|
|
171
172
|
</Th>
|
|
172
173
|
))}
|
|
173
174
|
<Th key="col-action" />
|
|
@@ -176,15 +177,14 @@ const ClustersTable = ({ rows, deleteCluster }: ClustersTableProps) => {
|
|
|
176
177
|
<Tbody>
|
|
177
178
|
{sortedRows.map((row, i) => (
|
|
178
179
|
<Tr {...getRowProps(row.props as ClusterRowDataProps)} key={`row-${i}`}>
|
|
179
|
-
{row.cells?.map((cell, j) =>
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
key={`cell-${i}-${j}`}
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
))}
|
|
180
|
+
{row.cells?.map((cell, j) => {
|
|
181
|
+
const humanized = cell as HumanizedSortable;
|
|
182
|
+
return (
|
|
183
|
+
<Td dataLabel={columns[j].title} key={`cell-${i}-${j}`} {...humanized.props}>
|
|
184
|
+
<TableText wrapModifier="breakWord">{humanized?.title}</TableText>
|
|
185
|
+
</Td>
|
|
186
|
+
);
|
|
187
|
+
})}
|
|
188
188
|
<Td isActionCell>
|
|
189
189
|
<ActionsColumn
|
|
190
190
|
items={[
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { PageSection } from '@patternfly/react-core';
|
|
3
3
|
import { AlertsContextProvider } from '../../../common';
|
|
4
|
-
import ClusterBreadcrumbs from './ClusterBreadcrumbs';
|
|
5
4
|
import { ClusterDefaultConfigurationProvider } from '../clusterConfiguration/ClusterDefaultConfigurationContext';
|
|
6
5
|
import NewClusterWizard from '../clusterWizard/NewClusterWizard';
|
|
7
6
|
import ClusterWizardContextProvider from '../clusterWizard/ClusterWizardContextProvider';
|
|
@@ -13,7 +12,7 @@ import { AssistedInstallerHeader } from './AssistedInstallerHeader';
|
|
|
13
12
|
import { ModalDialogsContextProvider } from '../hosts/ModalDialogsContext';
|
|
14
13
|
import { OpenShiftVersionsContextProvider } from '../clusterWizard/OpenShiftVersionsContext';
|
|
15
14
|
|
|
16
|
-
const
|
|
15
|
+
export const NewClusterPage = ({ children }: React.PropsWithChildren<unknown>) => {
|
|
17
16
|
return (
|
|
18
17
|
<AlertsContextProvider>
|
|
19
18
|
<SentryErrorMonitorContextProvider>
|
|
@@ -41,10 +40,3 @@ const NewClusterPageGeneric = ({ children }: React.PropsWithChildren<unknown>) =
|
|
|
41
40
|
</AlertsContextProvider>
|
|
42
41
|
);
|
|
43
42
|
};
|
|
44
|
-
|
|
45
|
-
export const NewSingleClusterPage = () => <NewClusterPageGeneric />;
|
|
46
|
-
export const NewClusterPage = () => (
|
|
47
|
-
<NewClusterPageGeneric>
|
|
48
|
-
<ClusterBreadcrumbs clusterName="New cluster" />
|
|
49
|
-
</NewClusterPageGeneric>
|
|
50
|
-
);
|
|
@@ -1,27 +1,52 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { getApiErrorMessage, handleApiError } from '../../common/api';
|
|
2
|
+
import { getApiErrorMessage, handleApiError, isInOcm } from '../../common/api';
|
|
3
3
|
import { useAlerts } from '../../common';
|
|
4
4
|
import { AccessTokenAPI } from '../../common/api/accounts-management-service/access-token-api';
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
/**
|
|
7
|
+
* Standalone / disconnected UI: bridge serves GET /pull-secret from a mounted manifest
|
|
8
|
+
* (see assisted-disconnected-ui proxy).
|
|
9
|
+
*/
|
|
10
|
+
async function fetchPullSecretFromBridge(): Promise<string | undefined> {
|
|
11
|
+
const res = await fetch('/api/pull-secret', { credentials: 'same-origin' });
|
|
12
|
+
if (!res.ok) {
|
|
13
|
+
throw new Error(`Unexpected status code ${res.status}`);
|
|
14
|
+
}
|
|
15
|
+
const text = (await res.text()).trim();
|
|
16
|
+
return text || undefined;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export default function usePullSecret(isSingleClusterFeatureEnabled?: boolean) {
|
|
7
20
|
const [pullSecret, setPullSecret] = React.useState<string>();
|
|
8
21
|
const { addAlert } = useAlerts();
|
|
9
22
|
|
|
10
23
|
const getPullSecret = React.useCallback(async () => {
|
|
11
24
|
try {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
25
|
+
if (isInOcm) {
|
|
26
|
+
const accessTokenCfg = await AccessTokenAPI.fetchPullSecret();
|
|
27
|
+
if (accessTokenCfg) {
|
|
28
|
+
setPullSecret(JSON.stringify(accessTokenCfg)); // unmarshalled response as a string
|
|
29
|
+
} else {
|
|
30
|
+
setPullSecret('');
|
|
31
|
+
}
|
|
32
|
+
return;
|
|
17
33
|
}
|
|
34
|
+
|
|
35
|
+
if (isSingleClusterFeatureEnabled) {
|
|
36
|
+
const fromBridge = await fetchPullSecretFromBridge();
|
|
37
|
+
setPullSecret(fromBridge ?? '');
|
|
38
|
+
return;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
// Non-OCM multinode flow: user enters pull secret manually.
|
|
42
|
+
setPullSecret('');
|
|
18
43
|
} catch (e) {
|
|
19
44
|
handleApiError(e, (e) => {
|
|
20
45
|
setPullSecret('');
|
|
21
46
|
addAlert({ title: 'Failed to retrieve pull secret', message: getApiErrorMessage(e) });
|
|
22
47
|
});
|
|
23
48
|
}
|
|
24
|
-
}, [addAlert]);
|
|
49
|
+
}, [addAlert, isSingleClusterFeatureEnabled]);
|
|
25
50
|
|
|
26
51
|
React.useEffect(() => {
|
|
27
52
|
if (!pullSecret) {
|
|
@@ -33,8 +33,18 @@ const getExistingClusterCpuArchitecture = (infraEnv: InfraEnv) => {
|
|
|
33
33
|
return infraEnv.cpuArchitecture || getDefaultCpuArchitecture();
|
|
34
34
|
};
|
|
35
35
|
|
|
36
|
+
const ntpSourceForCluster = (cluster?: Cluster, infraEnv?: InfraEnv): string | undefined => {
|
|
37
|
+
const fromCluster = cluster?.additionalNtpSource?.trim();
|
|
38
|
+
const fromInfra = infraEnv?.additionalNtpSources?.trim();
|
|
39
|
+
const merged = fromCluster || fromInfra;
|
|
40
|
+
return merged || undefined;
|
|
41
|
+
};
|
|
42
|
+
|
|
36
43
|
const ClusterDetailsService = {
|
|
37
|
-
getClusterCreateParams(
|
|
44
|
+
getClusterCreateParams(
|
|
45
|
+
values: OcmClusterDetailsValues,
|
|
46
|
+
infraEnv?: InfraEnv,
|
|
47
|
+
): ClusterCreateParamsWithStaticNetworking {
|
|
38
48
|
const params: ClusterCreateParamsWithStaticNetworking = {
|
|
39
49
|
name: values.name,
|
|
40
50
|
controlPlaneCount: toNumber(values.controlPlaneCount),
|
|
@@ -72,12 +82,19 @@ const ClusterDetailsService = {
|
|
|
72
82
|
delete params.platform;
|
|
73
83
|
}
|
|
74
84
|
|
|
85
|
+
const ntp = ntpSourceForCluster(undefined, infraEnv);
|
|
86
|
+
if (ntp) {
|
|
87
|
+
params.additionalNtpSource = ntp;
|
|
88
|
+
}
|
|
89
|
+
|
|
75
90
|
return params;
|
|
76
91
|
},
|
|
77
92
|
|
|
78
93
|
getClusterUpdateParams(
|
|
79
94
|
values: OcmClusterDetailsValues,
|
|
80
95
|
platform: PlatformType,
|
|
96
|
+
cluster?: Cluster,
|
|
97
|
+
infraEnv?: InfraEnv,
|
|
81
98
|
): ClusterDetailsUpdateParams {
|
|
82
99
|
const params: ClusterDetailsUpdateParams = {
|
|
83
100
|
name: values.name,
|
|
@@ -98,6 +115,11 @@ const ClusterDetailsService = {
|
|
|
98
115
|
: { type: platform };
|
|
99
116
|
}
|
|
100
117
|
|
|
118
|
+
const ntp = ntpSourceForCluster(cluster, infraEnv);
|
|
119
|
+
if (ntp) {
|
|
120
|
+
params.additionalNtpSource = ntp;
|
|
121
|
+
}
|
|
122
|
+
|
|
101
123
|
return params;
|
|
102
124
|
},
|
|
103
125
|
|
|
@@ -40,7 +40,7 @@ const ClustersService = {
|
|
|
40
40
|
pullSecret: params.pullSecret,
|
|
41
41
|
clusterId: cluster.id,
|
|
42
42
|
openshiftVersion: params.openshiftVersion,
|
|
43
|
-
cpuArchitecture: params.cpuArchitecture
|
|
43
|
+
cpuArchitecture: params.cpuArchitecture,
|
|
44
44
|
staticNetworkConfig: params.staticNetworkConfig,
|
|
45
45
|
};
|
|
46
46
|
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
|
|
8
8
|
export type ClusterDetailsUpdateParams = Pick<
|
|
9
9
|
V2ClusterUpdateParams,
|
|
10
|
-
'name' | 'baseDnsDomain' | 'pullSecret' | 'platform'
|
|
10
|
+
'name' | 'baseDnsDomain' | 'pullSecret' | 'platform' | 'additionalNtpSource'
|
|
11
11
|
>;
|
|
12
12
|
|
|
13
13
|
export type ClusterCreateParamsWithStaticNetworking = ClusterCreateParams & {
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"dependencies": {
|
|
3
|
-
"@openshift-assisted/locales": "2.
|
|
4
|
-
"@openshift-assisted/types": "2.
|
|
5
|
-
"@openshift-console/dynamic-plugin-sdk": "
|
|
3
|
+
"@openshift-assisted/locales": "2.52.0",
|
|
4
|
+
"@openshift-assisted/types": "2.52.0",
|
|
5
|
+
"@openshift-console/dynamic-plugin-sdk": "^4.19.1",
|
|
6
6
|
"@patternfly/patternfly": "6.4.0",
|
|
7
|
-
"@patternfly/react-code-editor": "6.4.
|
|
8
|
-
"@patternfly/react-core": "6.4.
|
|
7
|
+
"@patternfly/react-code-editor": "6.4.1",
|
|
8
|
+
"@patternfly/react-core": "6.4.1",
|
|
9
9
|
"@patternfly/react-icons": "6.4.0",
|
|
10
10
|
"@patternfly/react-styles": "6.4.0",
|
|
11
|
-
"@patternfly/react-table": "6.4.
|
|
11
|
+
"@patternfly/react-table": "6.4.1",
|
|
12
12
|
"@patternfly/react-tokens": "6.4.0",
|
|
13
13
|
"@react-hook/resize-observer": "^2.0.2",
|
|
14
14
|
"axios-case-converter": "^0.11.1",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@types/humanize-plus": "^1.8.0",
|
|
42
42
|
"@types/js-yaml": "^4.0.1",
|
|
43
43
|
"@types/lodash-es": "^4.17.6",
|
|
44
|
-
"@types/node": "^
|
|
44
|
+
"@types/node": "^24.0.0",
|
|
45
45
|
"@types/react": "18.2.37",
|
|
46
46
|
"@types/react-autosuggest": "^10.1.5",
|
|
47
47
|
"@types/react-dom": "18.2.15",
|
|
@@ -93,11 +93,11 @@
|
|
|
93
93
|
"@sentry/browser": "^5.9 || ^6",
|
|
94
94
|
"axios": "^1.13.5",
|
|
95
95
|
"i18next": "^20.4 || ^21",
|
|
96
|
-
"monaco-editor": "^0.44.0",
|
|
96
|
+
"monaco-editor": "^0.44.0 || ^0.55.0",
|
|
97
97
|
"react": "^18",
|
|
98
98
|
"react-dom": "^18",
|
|
99
99
|
"react-i18next": ">11.7.3",
|
|
100
|
-
"react-monaco-editor": "^0.55.0",
|
|
100
|
+
"react-monaco-editor": "^0.55.0 || ^0.59.0",
|
|
101
101
|
"react-redux": "^8.0.5",
|
|
102
102
|
"react-router-dom-v5-compat": "^6.30.3",
|
|
103
103
|
"redux": "^4",
|
|
@@ -136,5 +136,5 @@
|
|
|
136
136
|
]
|
|
137
137
|
}
|
|
138
138
|
},
|
|
139
|
-
"version": "2.
|
|
139
|
+
"version": "2.52.0"
|
|
140
140
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ClusterBreadcrumbs.d.ts","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusters/ClusterBreadcrumbs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,QAAA,MAAM,kBAAkB,oBAAqB;IAAE,WAAW,CAAC,EAAE,MAAM,CAAA;CAAE,sBA4BpE,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|