@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,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = useInfraEnvImageUrl;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
const react_1 = tslib_1.__importDefault(require("react"));
|
|
5
6
|
const apis_1 = require("../services/apis");
|
|
@@ -24,5 +25,4 @@ function useInfraEnvImageUrl() {
|
|
|
24
25
|
}), []);
|
|
25
26
|
return { getIsoImageUrl };
|
|
26
27
|
}
|
|
27
|
-
exports.default = useInfraEnvImageUrl;
|
|
28
28
|
//# sourceMappingURL=useInfraEnvImageUrl.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useInfraEnvImageUrl.js","sourceRoot":"","sources":["../../../../lib/ocm/hooks/useInfraEnvImageUrl.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useInfraEnvImageUrl.js","sourceRoot":"","sources":["../../../../lib/ocm/hooks/useInfraEnvImageUrl.ts"],"names":[],"mappings":";;AAYA,sCAwBC;;AApCD,0DAA0B;AAE1B,2CAAgD;AAChD,8CAAqD;AACrD,0CAA+C;AAQ/C,SAAwB,mBAAmB;IACzC,MAAM,cAAc,GAAG,eAAK,CAAC,WAAW,CACtC,CAAO,SAAwB,EAAE,eAAgC,EAAmB,EAAE;QACpF,IAAI,CAAC;YACH,MAAM,UAAU,GAAG,MAAM,2BAAgB,CAAC,aAAa,CAAC,SAAS,EAAE,eAAe,CAAC,CAAC;YACpF,IAAI,CAAC,UAAU,IAAI,UAAU,YAAY,KAAK,EAAE,CAAC;gBAC/C,OAAO,EAAE,GAAG,EAAE,EAAE,EAAE,KAAK,EAAE,uCAAuC,SAAS,EAAE,EAAE,CAAC;YAChF,CAAC;YAED,MAAM,EACJ,IAAI,EAAE,EAAE,GAAG,EAAE,GACd,GAAG,MAAM,mBAAY,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;YAC/C,OAAO;gBACL,GAAG;gBACH,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,mEAAmE;aACtF,CAAC;QACJ,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,OAAO,EAAE,GAAG,EAAE,EAAE,EAAE,KAAK,EAAE,IAAA,uBAAe,EAAC,CAAC,CAAC,EAAE,CAAC;QAChD,CAAC;IACH,CAAC,CAAA,EACD,EAAE,CACH,CAAC;IAEF,OAAO,EAAE,cAAc,EAAE,CAAC;AAC5B,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = useInfraEnvIpxeImageUrl;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
const react_1 = tslib_1.__importDefault(require("react"));
|
|
5
6
|
const apis_1 = require("../services/apis");
|
|
@@ -26,5 +27,4 @@ function useInfraEnvIpxeImageUrl() {
|
|
|
26
27
|
}), []);
|
|
27
28
|
return { getIpxeImageUrl };
|
|
28
29
|
}
|
|
29
|
-
exports.default = useInfraEnvIpxeImageUrl;
|
|
30
30
|
//# sourceMappingURL=useInfraEnvIpxeImageUrl.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useInfraEnvIpxeImageUrl.js","sourceRoot":"","sources":["../../../../lib/ocm/hooks/useInfraEnvIpxeImageUrl.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useInfraEnvIpxeImageUrl.js","sourceRoot":"","sources":["../../../../lib/ocm/hooks/useInfraEnvIpxeImageUrl.ts"],"names":[],"mappings":";;AAYA,0CA0BC;;AAtCD,0DAA0B;AAE1B,2CAAgD;AAChD,8CAAqD;AACrD,0CAA+C;AAQ/C,SAAwB,uBAAuB;IAC7C,MAAM,eAAe,GAAG,eAAK,CAAC,WAAW,CACvC,CAAO,SAAwB,EAAE,eAAgC,EAAmB,EAAE;QACpF,IAAI,CAAC;YACH,MAAM,UAAU,GAAG,MAAM,2BAAgB,CAAC,aAAa,CAAC,SAAS,EAAE,eAAe,CAAC,CAAC;YACpF,IAAI,CAAC,UAAU,IAAI,UAAU,YAAY,KAAK,EAAE,CAAC;gBAC/C,OAAO,EAAE,GAAG,EAAE,EAAE,EAAE,KAAK,EAAE,uCAAuC,SAAS,EAAE,EAAE,CAAC;YAChF,CAAC;YAED,MAAM,EACJ,IAAI,EAAE,EAAE,GAAG,EAAE,GACd,GAAG,MAAM,mBAAY,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC;YACnD,OAAO;gBACL,GAAG;gBACH,KAAK,EAAE,GAAG;oBACR,CAAC,CAAC,EAAE;oBACJ,CAAC,CAAC,wEAAwE;aAC7E,CAAC;QACJ,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,OAAO,EAAE,GAAG,EAAE,EAAE,EAAE,KAAK,EAAE,IAAA,uBAAe,EAAC,CAAC,CAAC,EAAE,CAAC;QAChD,CAAC;IACH,CAAC,CAAA,EACD,EAAE,CACH,CAAC;IAEF,OAAO,EAAE,eAAe,EAAE,CAAC;AAC7B,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = useManagedDomains;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
const react_1 = tslib_1.__importDefault(require("react"));
|
|
5
6
|
const common_1 = require("../../common");
|
|
@@ -25,5 +26,4 @@ function useManagedDomains() {
|
|
|
25
26
|
}, []); // eslint-disable-line react-hooks/exhaustive-deps
|
|
26
27
|
return managedDomains;
|
|
27
28
|
}
|
|
28
|
-
exports.default = useManagedDomains;
|
|
29
29
|
//# sourceMappingURL=useManagedDomains.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useManagedDomains.js","sourceRoot":"","sources":["../../../../lib/ocm/hooks/useManagedDomains.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useManagedDomains.js","sourceRoot":"","sources":["../../../../lib/ocm/hooks/useManagedDomains.ts"],"names":[],"mappings":";;AAMA,oCAuBC;;AA7BD,0DAA0B;AAC1B,yCAAyC;AACzC,0CAAsE;AACtE,2CAAqD;AAGrD,SAAwB,iBAAiB;IACvC,MAAM,CAAC,cAAc,EAAE,iBAAiB,CAAC,GAAG,eAAK,CAAC,QAAQ,EAAmB,CAAC;IAC9E,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAA,kBAAS,GAAE,CAAC;IAEjC,MAAM,mBAAmB,GAAG,eAAK,CAAC,WAAW,CAAC,GAAS,EAAE;QACvD,IAAI,CAAC;YACH,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,MAAM,wBAAiB,CAAC,IAAI,EAAE,CAAC;YACzD,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC7B,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,iBAAiB,CAAC,EAAE,CAAC,CAAC;YACtB,IAAA,oBAAc,EAAC,CAAC,EAAE,GAAG,EAAE,CACrB,QAAQ,CAAC,EAAE,KAAK,EAAE,oCAAoC,EAAE,OAAO,EAAE,IAAA,wBAAkB,EAAC,CAAC,CAAC,EAAE,CAAC,CAC1F,CAAC;QACJ,CAAC;IACH,CAAC,CAAA,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC;IAEf,eAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACnB,IAAI,CAAC,cAAc,EAAE,CAAC;YACpB,KAAK,mBAAmB,EAAE,CAAC;QAC7B,CAAC;IACH,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,kDAAkD;IAE1D,OAAO,cAAc,CAAC;AACxB,CAAC"}
|
|
@@ -1,22 +1,47 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = usePullSecret;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
const react_1 = tslib_1.__importDefault(require("react"));
|
|
5
6
|
const api_1 = require("../../common/api");
|
|
6
7
|
const common_1 = require("../../common");
|
|
7
8
|
const access_token_api_1 = require("../../common/api/accounts-management-service/access-token-api");
|
|
8
|
-
|
|
9
|
+
/**
|
|
10
|
+
* Standalone / disconnected UI: bridge serves GET /pull-secret from a mounted manifest
|
|
11
|
+
* (see assisted-disconnected-ui proxy).
|
|
12
|
+
*/
|
|
13
|
+
function fetchPullSecretFromBridge() {
|
|
14
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
15
|
+
const res = yield fetch('/api/pull-secret', { credentials: 'same-origin' });
|
|
16
|
+
if (!res.ok) {
|
|
17
|
+
throw new Error(`Unexpected status code ${res.status}`);
|
|
18
|
+
}
|
|
19
|
+
const text = (yield res.text()).trim();
|
|
20
|
+
return text || undefined;
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
function usePullSecret(isSingleClusterFeatureEnabled) {
|
|
9
24
|
const [pullSecret, setPullSecret] = react_1.default.useState();
|
|
10
25
|
const { addAlert } = (0, common_1.useAlerts)();
|
|
11
26
|
const getPullSecret = react_1.default.useCallback(() => tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
12
27
|
try {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
28
|
+
if (api_1.isInOcm) {
|
|
29
|
+
const accessTokenCfg = yield access_token_api_1.AccessTokenAPI.fetchPullSecret();
|
|
30
|
+
if (accessTokenCfg) {
|
|
31
|
+
setPullSecret(JSON.stringify(accessTokenCfg)); // unmarshalled response as a string
|
|
32
|
+
}
|
|
33
|
+
else {
|
|
34
|
+
setPullSecret('');
|
|
35
|
+
}
|
|
36
|
+
return;
|
|
16
37
|
}
|
|
17
|
-
|
|
18
|
-
|
|
38
|
+
if (isSingleClusterFeatureEnabled) {
|
|
39
|
+
const fromBridge = yield fetchPullSecretFromBridge();
|
|
40
|
+
setPullSecret(fromBridge !== null && fromBridge !== void 0 ? fromBridge : '');
|
|
41
|
+
return;
|
|
19
42
|
}
|
|
43
|
+
// Non-OCM multinode flow: user enters pull secret manually.
|
|
44
|
+
setPullSecret('');
|
|
20
45
|
}
|
|
21
46
|
catch (e) {
|
|
22
47
|
(0, api_1.handleApiError)(e, (e) => {
|
|
@@ -24,7 +49,7 @@ function usePullSecret() {
|
|
|
24
49
|
addAlert({ title: 'Failed to retrieve pull secret', message: (0, api_1.getApiErrorMessage)(e) });
|
|
25
50
|
});
|
|
26
51
|
}
|
|
27
|
-
}), [addAlert]);
|
|
52
|
+
}), [addAlert, isSingleClusterFeatureEnabled]);
|
|
28
53
|
react_1.default.useEffect(() => {
|
|
29
54
|
if (!pullSecret) {
|
|
30
55
|
void getPullSecret();
|
|
@@ -32,5 +57,4 @@ function usePullSecret() {
|
|
|
32
57
|
}, []); // eslint-disable-line react-hooks/exhaustive-deps
|
|
33
58
|
return pullSecret;
|
|
34
59
|
}
|
|
35
|
-
exports.default = usePullSecret;
|
|
36
60
|
//# sourceMappingURL=usePullSecret.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usePullSecret.js","sourceRoot":"","sources":["../../../../lib/ocm/hooks/usePullSecret.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"usePullSecret.js","sourceRoot":"","sources":["../../../../lib/ocm/hooks/usePullSecret.ts"],"names":[],"mappings":";;AAkBA,gCAuCC;;AAzDD,0DAA0B;AAC1B,0CAA+E;AAC/E,yCAAyC;AACzC,oGAA+F;AAE/F;;;GAGG;AACH,SAAe,yBAAyB;;QACtC,MAAM,GAAG,GAAG,MAAM,KAAK,CAAC,kBAAkB,EAAE,EAAE,WAAW,EAAE,aAAa,EAAE,CAAC,CAAC;QAC5E,IAAI,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC;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A,wBAAkB,EAAC,CAAC,CAAC,EAAE,CAAC,CAAC;YACxF,CAAC,CAAC,CAAC;QACL,CAAC;IACH,CAAC,CAAA,EAAE,CAAC,QAAQ,EAAE,6BAA6B,CAAC,CAAC,CAAC;IAE9C,eAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACnB,IAAI,CAAC,UAAU,EAAE,CAAC;YAChB,KAAK,aAAa,EAAE,CAAC;QACvB,CAAC;IACH,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,kDAAkD;IAE1D,OAAO,UAAU,CAAC;AACpB,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = useSetClusterPermissions;
|
|
3
4
|
const react_redux_1 = require("react-redux");
|
|
4
5
|
const config_1 = require("../config");
|
|
5
6
|
const slice_1 = require("../store/slices/current-cluster/slice");
|
|
@@ -17,5 +18,4 @@ function useSetClusterPermissions() {
|
|
|
17
18
|
dispatch((0, slice_1.updateClusterPermissions)(newPermissions));
|
|
18
19
|
};
|
|
19
20
|
}
|
|
20
|
-
exports.default = useSetClusterPermissions;
|
|
21
21
|
//# sourceMappingURL=useSetClusterPermissions.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSetClusterPermissions.js","sourceRoot":"","sources":["../../../../lib/ocm/hooks/useSetClusterPermissions.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"useSetClusterPermissions.js","sourceRoot":"","sources":["../../../../lib/ocm/hooks/useSetClusterPermissions.ts"],"names":[],"mappings":";;AAMA,2CAiBC;AAvBD,6CAA0C;AAE1C,sCAA+F;AAC/F,iEAAiF;AAGjF,SAAwB,wBAAwB;IAC9C,MAAM,QAAQ,GAAG,IAAA,yBAAW,GAAE,CAAC;IAE/B,OAAO,CAAC,OAAiB,EAAE,cAA4D,EAAE,EAAE;QACzF,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,qFAAqF;YACrF,OAAO;QACT,CAAC;QACD,IAAI,cAAc,GAAG,IAAA,2BAAkB,EAAC,OAA0B,CAAC,CAAC;QACpE,IAAI,cAAc,EAAE,CAAC;YACnB,cAAc,mCACT,cAAc,GACd,IAAA,sCAA6B,EAAC,cAAc,IAAI,EAAE,CAAC,CACvD,CAAC;QACJ,CAAC;QACD,QAAQ,CAAC,IAAA,gCAAwB,EAAC,cAAc,CAAC,CAAC,CAAC;IACrD,CAAC,CAAC;AACJ,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = useSupportLevelsAPI;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
const react_1 = tslib_1.__importDefault(require("react"));
|
|
5
6
|
const common_1 = require("../../common");
|
|
@@ -92,5 +93,4 @@ function useSupportLevelsAPI(resourceKind, openshiftVersion, cpuArchitecture, pl
|
|
|
92
93
|
return features;
|
|
93
94
|
}
|
|
94
95
|
}
|
|
95
|
-
exports.default = useSupportLevelsAPI;
|
|
96
96
|
//# sourceMappingURL=useSupportLevelsAPI.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSupportLevelsAPI.js","sourceRoot":"","sources":["../../../../lib/ocm/hooks/useSupportLevelsAPI.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useSupportLevelsAPI.js","sourceRoot":"","sources":["../../../../lib/ocm/hooks/useSupportLevelsAPI.ts"],"names":[],"mappings":";;AAmBA,sCAiIC;;AApJD,0DAA0B;AAC1B,yCAAoF;AAKpF,0CAAsE;AACtE,sIAAsG;AAYtG,SAAwB,mBAAmB,CACzC,YAAe,EACf,gBAAyB,EACzB,eAAiC,EACjC,YAA2B,EAC3B,yBAAsD;IAEtD,MAAM,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,GAC3C,eAAK,CAAC,QAAQ,CAAqC,IAA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,+BAA+B,CAAC,gBAAgB,CAAC,CAAC;YACzD,CAAC;iBAAM,IAAI,YAAY,KAAK,mBAAmB,IAAI,yBAAyB,EAAE,CAAC;gBAC7E,KAAK,wCAAwC,CAC3C,yBAAyB,EACzB,gBAAgB,EAChB,YAAY,CACb,CAAC;YACJ,CAAC;iBAAM,CAAC;gBACN,KAAK,0BAA0B,CAAC,gBAAgB,EAAE,eAAe,EAAE,YAAY,CAAC,CAAC;YACnF,CAAC;QACH,CAAC;IACH,CAAC,EAAE;QACD,gBAAgB;QAChB,eAAe;QACf,+BAA+B;QAC/B,0BAA0B;QAC1B,YAAY;QACZ,YAAY;QACZ,yBAAyB;QACzB,wCAAwC;KACzC,CAAC,CAAC;IAEH,IAAI,YAAY,KAAK,eAAe,EAAE,CAAC;QACrC,OAAO,gBAAiD,CAAC;IAC3D,CAAC;SAAM,IAAI,YAAY,KAAK,mBAAmB,EAAE,CAAC;QAChD,OAAO,gBAAiD,CAAC;IAC3D,CAAC;SAAM,CAAC;QACN,OAAO,QAAyC,CAAC;IACnD,CAAC;AACH,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = useUsedClusterNames;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
const react_1 = tslib_1.__importDefault(require("react"));
|
|
5
6
|
const api_1 = require("../../common/api");
|
|
@@ -30,5 +31,4 @@ function useUsedClusterNames(clusterId) {
|
|
|
30
31
|
}, []);
|
|
31
32
|
return { usedClusterNames };
|
|
32
33
|
}
|
|
33
|
-
exports.default = useUsedClusterNames;
|
|
34
34
|
//# sourceMappingURL=useUsedClusterNames.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useUsedClusterNames.js","sourceRoot":"","sources":["../../../../lib/ocm/hooks/useUsedClusterNames.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useUsedClusterNames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CAAC,CAAC;IAEP,OAAO,EAAE,gBAAgB,EAAE,CAAC;AAC9B,CAAC"}
|
|
@@ -16,8 +16,15 @@ const getNewClusterCpuArchitecture = (urlSearchParams) => {
|
|
|
16
16
|
const getExistingClusterCpuArchitecture = (infraEnv) => {
|
|
17
17
|
return infraEnv.cpuArchitecture || (0, CpuArchitectureService_1.getDefaultCpuArchitecture)();
|
|
18
18
|
};
|
|
19
|
+
const ntpSourceForCluster = (cluster, infraEnv) => {
|
|
20
|
+
var _a, _b;
|
|
21
|
+
const fromCluster = (_a = cluster === null || cluster === void 0 ? void 0 : cluster.additionalNtpSource) === null || _a === void 0 ? void 0 : _a.trim();
|
|
22
|
+
const fromInfra = (_b = infraEnv === null || infraEnv === void 0 ? void 0 : infraEnv.additionalNtpSources) === null || _b === void 0 ? void 0 : _b.trim();
|
|
23
|
+
const merged = fromCluster || fromInfra;
|
|
24
|
+
return merged || undefined;
|
|
25
|
+
};
|
|
19
26
|
const ClusterDetailsService = {
|
|
20
|
-
getClusterCreateParams(values) {
|
|
27
|
+
getClusterCreateParams(values, infraEnv) {
|
|
21
28
|
var _a;
|
|
22
29
|
const params = {
|
|
23
30
|
name: values.name,
|
|
@@ -48,9 +55,13 @@ const ClusterDetailsService = {
|
|
|
48
55
|
if (((_a = params.platform) === null || _a === void 0 ? void 0 : _a.type) === 'none') {
|
|
49
56
|
delete params.platform;
|
|
50
57
|
}
|
|
58
|
+
const ntp = ntpSourceForCluster(undefined, infraEnv);
|
|
59
|
+
if (ntp) {
|
|
60
|
+
params.additionalNtpSource = ntp;
|
|
61
|
+
}
|
|
51
62
|
return params;
|
|
52
63
|
},
|
|
53
|
-
getClusterUpdateParams(values, platform) {
|
|
64
|
+
getClusterUpdateParams(values, platform, cluster, infraEnv) {
|
|
54
65
|
const params = {
|
|
55
66
|
name: values.name,
|
|
56
67
|
baseDnsDomain: values.baseDnsDomain,
|
|
@@ -67,6 +78,10 @@ const ClusterDetailsService = {
|
|
|
67
78
|
}
|
|
68
79
|
: { type: platform };
|
|
69
80
|
}
|
|
81
|
+
const ntp = ntpSourceForCluster(cluster, infraEnv);
|
|
82
|
+
if (ntp) {
|
|
83
|
+
params.additionalNtpSource = ntp;
|
|
84
|
+
}
|
|
70
85
|
return params;
|
|
71
86
|
},
|
|
72
87
|
getClusterDetailsInitialValues(_a) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClusterDetailsService.js","sourceRoot":"","sources":["../../../../lib/ocm/services/ClusterDetailsService.ts"],"names":[],"mappings":";;;AAAA,yCAMsB;AACtB,4FAA4D;AAC5D,mCAKiB;AACjB,0FAAmG;AACnG,0CAA2C;AAC3C,qEAAqE;AAOrE,0EAA0C;AAE1C,MAAM,4BAA4B,GAAG,CAAC,eAAuB,EAAE,EAAE;IAC/D,MAAM,MAAM,GAAG,IAAI,eAAe,CAAC,eAAe,CAAC,CAAC;IACpD,MAAM,iBAAiB,GAAG,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC,KAAK,MAAM,CAAC;IAC1D,OAAO,iBAAiB,CAAC,CAAC,CAAC,wBAAe,CAAC,GAAG,CAAC,CAAC,CAAC,IAAA,kDAAyB,GAAE,CAAC;AAC/E,CAAC,CAAC;AAEF,MAAM,iCAAiC,GAAG,CAAC,QAAkB,EAAE,EAAE;IAC/D,OAAO,QAAQ,CAAC,eAAe,IAAI,IAAA,kDAAyB,GAAE,CAAC;AACjE,CAAC,CAAC;AAEF,MAAM,qBAAqB,GAAG;IAC5B,sBAAsB,
|
|
1
|
+
{"version":3,"file":"ClusterDetailsService.js","sourceRoot":"","sources":["../../../../lib/ocm/services/ClusterDetailsService.ts"],"names":[],"mappings":";;;AAAA,yCAMsB;AACtB,4FAA4D;AAC5D,mCAKiB;AACjB,0FAAmG;AACnG,0CAA2C;AAC3C,qEAAqE;AAOrE,0EAA0C;AAE1C,MAAM,4BAA4B,GAAG,CAAC,eAAuB,EAAE,EAAE;IAC/D,MAAM,MAAM,GAAG,IAAI,eAAe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AC1D,CAAC;IACJ,CAAC;IAED,sBAAsB,CAAC,SAAiC,EAAE,SAAwB;QAChF,MAAM,QAAQ,GAAG,SAAS,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE;YAC1C,OAAO,qBAAW,CAAC,oBAAoB,CAAC,SAAS,EAAE,IAAI,CAAC,yBAAyB,CAAC,QAAQ,CAAC,CAAC,CAAC;QAC/F,CAAC,CAAC,CAAC;QACH,OAAO,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IAC/B,CAAC;IAED,sBAAsB,CAAC,eAAsC,EAAE,SAAwB;QACrF,MAAM,QAAQ,GAAG,eAAe,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE;YAChD,OAAO,qBAAW,CAAC,oBAAoB,CACrC,SAAS,EACT,QAAQ,CAAC,MAAM,IAAI,EAAE,EACrB,QAAQ,CAAC,QAAQ,IAAI,EAAE,CACxB,CAAC;QACJ,CAAC,CAAC,CAAC;QACH,OAAO,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IAC/B,CAAC;IAED,oBAAoB,CAClB,gBAAsC,EACtC,eAAqC,EACrC,SAAwB;QAExB,OAAO,qBAAW,CAAC,oBAAoB,CACrC,SAAS,EACT,IAAI,CAAC,uBAAuB,CAAC,gBAAgB,EAAE,eAAe,CAAC,CAChE,CAAC;IACJ,CAAC;CACF,CAAC;AACF,kBAAe,eAAe,CAAC"}
|
|
@@ -30,10 +30,10 @@ const currentUserAsyncActions = {
|
|
|
30
30
|
}
|
|
31
31
|
})),
|
|
32
32
|
getCapabilitiesAsync: (0, toolkit_1.createAsyncThunk)('currentUser/getCapabilitiesAsync', (_, thunkApi) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
|
|
33
|
-
var
|
|
33
|
+
var _a;
|
|
34
34
|
yield thunkApi.dispatch(currentUserAsyncActions.getAccountAsync());
|
|
35
35
|
const { currentUser } = thunkApi.getState();
|
|
36
|
-
const orgId = (
|
|
36
|
+
const orgId = (_a = currentUser.data) === null || _a === void 0 ? void 0 : _a.organization_id;
|
|
37
37
|
if (orgId) {
|
|
38
38
|
yield thunkApi.dispatch(currentUserAsyncActions.getUserOrganizationWithCapabilitiesAsync(orgId));
|
|
39
39
|
}
|
|
@@ -149,9 +149,9 @@ const NodePoolsTable = ({
|
|
|
149
149
|
<Popover
|
|
150
150
|
aria-label="node pool hosts"
|
|
151
151
|
hasAutoWidth
|
|
152
|
-
bodyContent={t('ai:{{
|
|
153
|
-
|
|
154
|
-
|
|
152
|
+
bodyContent={t('ai:{{count}} of {{hosts}} requested hosts is available', {
|
|
153
|
+
count: nodePoolAgents.length,
|
|
154
|
+
hosts: np.spec.replicas,
|
|
155
155
|
})}
|
|
156
156
|
>
|
|
157
157
|
<Label variant="outline">
|
|
@@ -228,7 +228,7 @@ const formatPercentage = (value: number, options?: OptionsType) => {
|
|
|
228
228
|
maximumFractionDigits: 1,
|
|
229
229
|
},
|
|
230
230
|
);
|
|
231
|
-
return Intl.NumberFormat(locales, rest).format(value);
|
|
231
|
+
return Intl.NumberFormat(locales, rest as Intl.NumberFormatOptions).format(value);
|
|
232
232
|
};
|
|
233
233
|
|
|
234
234
|
type HumanizeFunctionType = (
|
|
@@ -31,7 +31,6 @@ const DiscoveryInstructions = ({
|
|
|
31
31
|
<Content component="li">
|
|
32
32
|
<Trans
|
|
33
33
|
t={t}
|
|
34
|
-
count={+isSNO}
|
|
35
34
|
components={{ bold: <span className="pf-v6-u-font-weight-bold" /> }}
|
|
36
35
|
i18nKey="ai:Keep the Discovery ISO media connected to the device throughout the installation process and set each host to boot <bold>only one time</bold> from this device. "
|
|
37
36
|
/>
|
|
@@ -16,6 +16,9 @@ export const ProxyInputFields = () => {
|
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
18
|
const { t } = useTranslation();
|
|
19
|
+
const hasHttp = !!values.httpProxy?.trim();
|
|
20
|
+
const hasHttps = !!values.httpsProxy?.trim();
|
|
21
|
+
|
|
19
22
|
return (
|
|
20
23
|
<Grid hasGutter>
|
|
21
24
|
<InputField
|
|
@@ -31,6 +34,7 @@ export const ProxyInputFields = () => {
|
|
|
31
34
|
}
|
|
32
35
|
name="httpProxy"
|
|
33
36
|
placeholder="http://<user>:<password>@<ipaddr>:<port>"
|
|
37
|
+
isRequired={values.enableProxy && !hasHttps}
|
|
34
38
|
helperText={
|
|
35
39
|
<div>
|
|
36
40
|
<Trans
|
|
@@ -54,6 +58,7 @@ export const ProxyInputFields = () => {
|
|
|
54
58
|
}
|
|
55
59
|
name="httpsProxy"
|
|
56
60
|
placeholder="http://<user>:<password>@<ipaddr>:<port>"
|
|
61
|
+
isRequired={values.enableProxy && !hasHttp}
|
|
57
62
|
helperText={
|
|
58
63
|
<div>
|
|
59
64
|
<Trans
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Checkbox } from '@patternfly/react-core';
|
|
2
|
+
import { Alert, AlertVariant, Checkbox } from '@patternfly/react-core';
|
|
3
3
|
import { useFormikContext } from 'formik';
|
|
4
4
|
import { ClusterCreateParams } from '@openshift-assisted/types/assisted-installer-service';
|
|
5
5
|
import { PullSecretField, PullSecretInfo } from '../ui';
|
|
@@ -8,42 +8,54 @@ import { useTranslation } from '../../hooks/use-translation-wrapper';
|
|
|
8
8
|
export type PullSecretProps = {
|
|
9
9
|
defaultPullSecret?: string;
|
|
10
10
|
isOcm?: boolean;
|
|
11
|
+
isPullSecretSet?: boolean;
|
|
12
|
+
isSingleClusterFeatureEnabled?: boolean;
|
|
11
13
|
};
|
|
12
14
|
|
|
13
|
-
const PullSecret: React.FC<PullSecretProps> = ({
|
|
15
|
+
const PullSecret: React.FC<PullSecretProps> = ({
|
|
16
|
+
defaultPullSecret,
|
|
17
|
+
isOcm = false,
|
|
18
|
+
isPullSecretSet = false,
|
|
19
|
+
isSingleClusterFeatureEnabled = false,
|
|
20
|
+
}) => {
|
|
14
21
|
// Fetched pull secret will never change - see LoadingState in NewCluster
|
|
15
22
|
const [isExpanded, setExpanded] = React.useState(!defaultPullSecret);
|
|
16
23
|
const { setFieldValue } = useFormikContext<ClusterCreateParams>();
|
|
17
24
|
const { t } = useTranslation();
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
};
|
|
25
|
+
const onCheckboxChange = () => {
|
|
26
|
+
if (isExpanded) {
|
|
27
|
+
// about to collapse, reset to original value
|
|
28
|
+
setFieldValue('pullSecret', defaultPullSecret);
|
|
29
|
+
}
|
|
30
|
+
setExpanded(!isExpanded);
|
|
31
|
+
};
|
|
26
32
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
<Checkbox
|
|
30
|
-
id="checkbox-pull-secret"
|
|
31
|
-
className="pf-v6-u-display-inline-flex"
|
|
32
|
-
aria-label={t('ai:edit pull secret')}
|
|
33
|
-
isChecked={isExpanded}
|
|
34
|
-
onChange={onCheckboxChange}
|
|
35
|
-
label={
|
|
36
|
-
<>
|
|
37
|
-
{t('ai:Edit pull secret')} <PullSecretInfo isOcm={isOcm} />
|
|
38
|
-
</>
|
|
39
|
-
}
|
|
40
|
-
/>
|
|
41
|
-
{isExpanded && <PullSecretField isOcm={isOcm} />}
|
|
42
|
-
</>
|
|
43
|
-
);
|
|
33
|
+
if (!(isOcm || isSingleClusterFeatureEnabled)) {
|
|
34
|
+
return <PullSecretField isOcm={isOcm} />;
|
|
44
35
|
}
|
|
45
36
|
|
|
46
|
-
return
|
|
37
|
+
return (
|
|
38
|
+
<>
|
|
39
|
+
{isPullSecretSet && (
|
|
40
|
+
<Alert variant={AlertVariant.success} isInline title={t('ai:Pull secret configured')}>
|
|
41
|
+
{t('ai:A pull secret has already been set for this cluster. You can edit it below.')}
|
|
42
|
+
</Alert>
|
|
43
|
+
)}
|
|
44
|
+
<Checkbox
|
|
45
|
+
id="checkbox-pull-secret"
|
|
46
|
+
className="pf-v6-u-display-inline-flex"
|
|
47
|
+
aria-label={t('ai:edit pull secret')}
|
|
48
|
+
isChecked={isExpanded}
|
|
49
|
+
onChange={onCheckboxChange}
|
|
50
|
+
label={
|
|
51
|
+
<>
|
|
52
|
+
{t('ai:Edit pull secret')} <PullSecretInfo isOcm={isOcm} />
|
|
53
|
+
</>
|
|
54
|
+
}
|
|
55
|
+
/>
|
|
56
|
+
{isExpanded && <PullSecretField isOcm={isOcm} />}
|
|
57
|
+
</>
|
|
58
|
+
);
|
|
47
59
|
};
|
|
48
60
|
|
|
49
61
|
export default PullSecret;
|
|
@@ -40,7 +40,7 @@ const AdditionalNTPSourcesForm = ({
|
|
|
40
40
|
|
|
41
41
|
const getValidationSchema = (t: TFunction) =>
|
|
42
42
|
Yup.object().shape({
|
|
43
|
-
additionalNtpSource: ntpSourceValidationSchema(t
|
|
43
|
+
additionalNtpSource: ntpSourceValidationSchema(t, false),
|
|
44
44
|
});
|
|
45
45
|
|
|
46
46
|
const { t } = useTranslation();
|
|
@@ -54,7 +54,10 @@ const TextAreaField: React.FC<React.PropsWithChildren<TextAreaFieldProps>> = ({
|
|
|
54
54
|
validated={isValid ? 'default' : 'error'}
|
|
55
55
|
isRequired={isRequired}
|
|
56
56
|
aria-describedby={`${fieldId}-helper`}
|
|
57
|
-
onChange={(event) =>
|
|
57
|
+
onChange={(event) => {
|
|
58
|
+
field.onChange(event);
|
|
59
|
+
restProps.onChange?.(event);
|
|
60
|
+
}}
|
|
58
61
|
disabled={isDisabled}
|
|
59
62
|
/>
|
|
60
63
|
{(errorMessage || helperText) && (
|
|
@@ -71,6 +71,7 @@ export const clusterFieldLabels = (t: TFunction): { [key in string]: string } =>
|
|
|
71
71
|
httpProxy: t('ai:HTTP proxy'),
|
|
72
72
|
httpsProxy: t('ai:HTTPS proxy'),
|
|
73
73
|
noProxy: t('ai:No proxy'),
|
|
74
|
+
additionalNtpSources: t('ai:Additional NTP sources'),
|
|
74
75
|
machineNetworks: t('ai:Machine networks'),
|
|
75
76
|
clusterNetworks: t('ai:Cluster networks'),
|
|
76
77
|
serviceNetworks: t('ai:Service networks'),
|
|
@@ -3,28 +3,34 @@ import { trimCommaSeparatedList } from '../components/ui/formik/utils';
|
|
|
3
3
|
import { isIPorDN } from './utils';
|
|
4
4
|
import { TFunction } from 'i18next';
|
|
5
5
|
|
|
6
|
-
export const ntpSourceValidationSchema = (t: TFunction) =>
|
|
7
|
-
Yup.string()
|
|
6
|
+
export const ntpSourceValidationSchema = (t: TFunction, allowEmpty = true) => {
|
|
7
|
+
let schema = Yup.string();
|
|
8
|
+
|
|
9
|
+
if (!allowEmpty) {
|
|
10
|
+
schema = schema.trim().required(t('ai:Required field'));
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
return schema
|
|
8
14
|
.test(
|
|
9
15
|
'ntp-source-validation',
|
|
10
16
|
t('ai:Provide a comma separated list of valid DNS names or IP addresses.'),
|
|
11
17
|
(value?: string) => {
|
|
12
|
-
if (!value || value === '') {
|
|
18
|
+
if (!value || value.trim() === '') {
|
|
13
19
|
return true;
|
|
14
20
|
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
.every((v) => isIPorDN(v));
|
|
21
|
+
const parts = trimCommaSeparatedList(value).split(',');
|
|
22
|
+
return parts.length > 0 && parts.every((v) => isIPorDN(v));
|
|
18
23
|
},
|
|
19
24
|
)
|
|
20
25
|
.test(
|
|
21
26
|
'ntp-source-validation-unique',
|
|
22
27
|
t('ai:DNS names and IP addresses must be unique.'),
|
|
23
28
|
(value?: string) => {
|
|
24
|
-
if (!value || value === '') {
|
|
29
|
+
if (!value || value.trim() === '') {
|
|
25
30
|
return true;
|
|
26
31
|
}
|
|
27
32
|
const arr = trimCommaSeparatedList(value).split(',');
|
|
28
33
|
return arr.length === new Set(arr).size;
|
|
29
34
|
},
|
|
30
35
|
);
|
|
36
|
+
};
|
|
@@ -6,19 +6,18 @@ export const pullSecretValidationSchema = (t: TFunction) =>
|
|
|
6
6
|
'is-well-formed-json',
|
|
7
7
|
t("ai:Invalid pull secret format. You must use your Red Hat account's pull secret."),
|
|
8
8
|
(value?: string) => {
|
|
9
|
-
|
|
10
|
-
if (!value) return isValid;
|
|
9
|
+
if (!value || !value.trim()) return true;
|
|
11
10
|
try {
|
|
12
|
-
const pullSecret = JSON.parse(value) as
|
|
13
|
-
auths: string;
|
|
14
|
-
};
|
|
11
|
+
const pullSecret = JSON.parse(value) as unknown;
|
|
15
12
|
return (
|
|
16
|
-
pullSecret
|
|
17
|
-
|
|
18
|
-
|
|
13
|
+
typeof pullSecret === 'object' &&
|
|
14
|
+
pullSecret !== null &&
|
|
15
|
+
'auths' in pullSecret &&
|
|
16
|
+
typeof (pullSecret as { auths: unknown }).auths === 'object' &&
|
|
17
|
+
(pullSecret as { auths: unknown }).auths !== null
|
|
19
18
|
);
|
|
20
19
|
} catch {
|
|
21
|
-
return
|
|
20
|
+
return false;
|
|
22
21
|
}
|
|
23
22
|
},
|
|
24
23
|
);
|
|
@@ -179,9 +179,12 @@ export const OcmClusterDetailsFormFields = ({
|
|
|
179
179
|
/>
|
|
180
180
|
)}
|
|
181
181
|
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
182
|
+
<PullSecret
|
|
183
|
+
isOcm={isOcm}
|
|
184
|
+
defaultPullSecret={defaultPullSecret}
|
|
185
|
+
isPullSecretSet={!!cluster?.pullSecretSet}
|
|
186
|
+
isSingleClusterFeatureEnabled={isSingleClusterFeatureEnabled}
|
|
187
|
+
/>
|
|
185
188
|
|
|
186
189
|
{!isSingleClusterFeatureEnabled &&
|
|
187
190
|
(clusterExists ? (
|
package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.tsx
CHANGED
|
@@ -78,7 +78,10 @@ export const CustomManifestsPage = ({
|
|
|
78
78
|
await ClustersService.removeClusterManifests(manifests, cluster.id);
|
|
79
79
|
setUseCustomManifests(false);
|
|
80
80
|
setDeleteModalOpen(false);
|
|
81
|
-
await clusterWizardContext.updateUISettings({
|
|
81
|
+
await clusterWizardContext.updateUISettings({
|
|
82
|
+
customManifestsAdded: false,
|
|
83
|
+
customManifestsUpdated: true,
|
|
84
|
+
});
|
|
82
85
|
}, [cluster.id, clusterWizardContext]);
|
|
83
86
|
|
|
84
87
|
const fieldId = getFieldId('use-custom-manifests', 'switch');
|
|
@@ -24,19 +24,17 @@ const ReviewStep = ({ cluster }: { cluster: Cluster }) => {
|
|
|
24
24
|
const [disableInstallButton, setDisableInstallButton] = React.useState<boolean>();
|
|
25
25
|
|
|
26
26
|
React.useEffect(() => {
|
|
27
|
-
|
|
27
|
+
const manifestFail =
|
|
28
28
|
cluster['last-installation-preparation']?.status === 'failed' &&
|
|
29
|
-
cluster['last-installation-preparation'].reason?.includes('manifest')
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
setDisableInstallButton(isViewerMode || isStartingInstallation || cluster.status !== 'ready');
|
|
39
|
-
}
|
|
29
|
+
cluster['last-installation-preparation'].reason?.includes('manifest');
|
|
30
|
+
const userDidntAddressManifestIssue =
|
|
31
|
+
clusterWizardContext.uiSettings?.customManifestsUpdated !== true;
|
|
32
|
+
setDisableInstallButton(
|
|
33
|
+
(manifestFail && userDidntAddressManifestIssue) ||
|
|
34
|
+
isViewerMode ||
|
|
35
|
+
isStartingInstallation ||
|
|
36
|
+
cluster.status !== 'ready',
|
|
37
|
+
);
|
|
40
38
|
}, [cluster, isStartingInstallation, isViewerMode, clusterWizardContext]);
|
|
41
39
|
|
|
42
40
|
const handleClusterInstall = async () => {
|