@openshift-assisted/ui-lib 2.51.2 → 2.52.1
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/InstallDisconnectedSwitch.d.ts.map +1 -1
- 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/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 +0 -1
- 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 +19 -18
- 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/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 +8 -3
- 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/index.js +5 -7
- package/build/cjs/ocm/components/clusterWizard/index.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClusterBreadcrumbs.js +7 -5
- package/build/cjs/ocm/components/clusters/ClusterBreadcrumbs.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 +3 -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 +44 -30
- 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/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 +10 -4
- 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/clusters/ClusterBreadcrumbs.tsx +15 -26
- 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 +2 -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
|
@@ -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,9 @@ 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 fetchedPullSecret = usePullSecret(isSingleClusterFeatureEnabled);
|
|
50
|
+
/** With a cluster resource, never pre-fill the form with a pull secret (API does not return it); new-cluster flow uses the hook default. */
|
|
51
|
+
const pullSecretForForm = cluster ? '' : fetchedPullSecret ?? '';
|
|
50
52
|
|
|
51
53
|
const handleClusterUpdate = React.useCallback(
|
|
52
54
|
async (clusterId: Cluster['id'], params: ClusterDetailsUpdateParams) => {
|
|
@@ -59,7 +61,6 @@ const ClusterDetails = ({ cluster, infraEnv }: ClusterDetailsProps) => {
|
|
|
59
61
|
params,
|
|
60
62
|
);
|
|
61
63
|
dispatch(updateCluster(updatedCluster));
|
|
62
|
-
|
|
63
64
|
canNextClusterDetails({ cluster: updatedCluster }) && clusterWizardContext.moveNext();
|
|
64
65
|
} catch (e) {
|
|
65
66
|
handleApiError(e, () =>
|
|
@@ -140,7 +141,12 @@ const ClusterDetails = ({ cluster, infraEnv }: ClusterDetailsProps) => {
|
|
|
140
141
|
);
|
|
141
142
|
|
|
142
143
|
const navigation = <ClusterWizardNavigation cluster={cluster} />;
|
|
143
|
-
if (
|
|
144
|
+
if (
|
|
145
|
+
(!cluster && fetchedPullSecret === undefined) ||
|
|
146
|
+
!managedDomains ||
|
|
147
|
+
loadingOCPVersions ||
|
|
148
|
+
!usedClusterNames
|
|
149
|
+
) {
|
|
144
150
|
return (
|
|
145
151
|
<ClusterWizardStep navigation={navigation}>
|
|
146
152
|
<LoadingState />
|
|
@@ -162,7 +168,7 @@ const ClusterDetails = ({ cluster, infraEnv }: ClusterDetailsProps) => {
|
|
|
162
168
|
return (
|
|
163
169
|
<ClusterDetailsForm
|
|
164
170
|
cluster={cluster}
|
|
165
|
-
pullSecret={
|
|
171
|
+
pullSecret={pullSecretForForm}
|
|
166
172
|
managedDomains={managedDomains}
|
|
167
173
|
ocpVersions={versions}
|
|
168
174
|
usedClusterNames={usedClusterNames}
|
|
@@ -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)}
|
|
@@ -3,34 +3,23 @@ import { Breadcrumb, BreadcrumbItem, PageSection } from '@patternfly/react-core'
|
|
|
3
3
|
import { Link } from 'react-router-dom-v5-compat';
|
|
4
4
|
import { isInOcm } from '../../../common/api';
|
|
5
5
|
|
|
6
|
-
const ClusterBreadcrumbs = ({ clusterName }: { clusterName?: string }) =>
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
<
|
|
10
|
-
|
|
11
|
-
<BreadcrumbItem
|
|
12
|
-
data-testid="cluster-list-breadcrumb"
|
|
13
|
-
render={() => <Link to={'/cluster-list'}>Cluster List</Link>}
|
|
14
|
-
/>
|
|
15
|
-
)}
|
|
16
|
-
|
|
17
|
-
{clusterName ? (
|
|
6
|
+
const ClusterBreadcrumbs = ({ clusterName }: { clusterName?: string }) => {
|
|
7
|
+
return (
|
|
8
|
+
!isInOcm && (
|
|
9
|
+
<PageSection hasBodyWrapper={false}>
|
|
10
|
+
<Breadcrumb data-testid="cluster-breadcrumbs">
|
|
18
11
|
<BreadcrumbItem data-testid="assisted-clusters-breadcrumb">
|
|
19
12
|
<Link to={`..`}>Assisted Clusters</Link>
|
|
20
13
|
</BreadcrumbItem>
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
</Breadcrumb>
|
|
32
|
-
)}
|
|
33
|
-
</PageSection>
|
|
34
|
-
);
|
|
14
|
+
{clusterName && (
|
|
15
|
+
<BreadcrumbItem data-testid="cluster-breadcrumb" isActive>
|
|
16
|
+
{clusterName}
|
|
17
|
+
</BreadcrumbItem>
|
|
18
|
+
)}
|
|
19
|
+
</Breadcrumb>
|
|
20
|
+
</PageSection>
|
|
21
|
+
)
|
|
22
|
+
);
|
|
23
|
+
};
|
|
35
24
|
|
|
36
25
|
export default ClusterBreadcrumbs;
|
|
@@ -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={[
|
|
@@ -13,7 +13,7 @@ import { AssistedInstallerHeader } from './AssistedInstallerHeader';
|
|
|
13
13
|
import { ModalDialogsContextProvider } from '../hosts/ModalDialogsContext';
|
|
14
14
|
import { OpenShiftVersionsContextProvider } from '../clusterWizard/OpenShiftVersionsContext';
|
|
15
15
|
|
|
16
|
-
const
|
|
16
|
+
export const NewClusterPage = () => {
|
|
17
17
|
return (
|
|
18
18
|
<AlertsContextProvider>
|
|
19
19
|
<SentryErrorMonitorContextProvider>
|
|
@@ -24,7 +24,7 @@ const NewClusterPageGeneric = ({ children }: React.PropsWithChildren<unknown>) =
|
|
|
24
24
|
>
|
|
25
25
|
<OpenShiftVersionsContextProvider>
|
|
26
26
|
<NewFeatureSupportLevelProvider loadingUi={<ClusterLoading />}>
|
|
27
|
-
|
|
27
|
+
<ClusterBreadcrumbs clusterName="New cluster" />
|
|
28
28
|
<PageSection hasBodyWrapper={false} isFilled>
|
|
29
29
|
<AssistedInstallerHeader />
|
|
30
30
|
</PageSection>
|
|
@@ -41,10 +41,3 @@ const NewClusterPageGeneric = ({ children }: React.PropsWithChildren<unknown>) =
|
|
|
41
41
|
</AlertsContextProvider>
|
|
42
42
|
);
|
|
43
43
|
};
|
|
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.1",
|
|
4
|
+
"@openshift-assisted/types": "2.52.1",
|
|
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.1"
|
|
140
140
|
}
|