@openshift-assisted/ui-lib 2.9.15-cim → 2.10.0-cim
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/@types/cim/components/Agent/BMCForm.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/use-networking-formik.d.ts +2 -2
- package/build/@types/cim/components/Hypershift/DetailsPage/ClusterInstallationProgress.d.ts +2 -6
- 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/NodePoolsProgress.d.ts +2 -6
- package/build/@types/cim/components/Hypershift/DetailsPage/NodePoolsProgress.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/DetailsPage/NodePoolsTable.d.ts +2 -6
- package/build/@types/cim/components/Hypershift/DetailsPage/NodePoolsTable.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsForm.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsStep.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/HostedClusterWizard/HostsStep/NodePoolForm.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/HostedClusterWizard/HostsStep/types.d.ts +2 -8
- package/build/@types/cim/components/Hypershift/HostedClusterWizard/HostsStep/types.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/forms/NodePoolAgentsForm.d.ts +3 -1
- package/build/@types/cim/components/Hypershift/forms/NodePoolAgentsForm.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 +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 +0 -8
- package/build/@types/cim/components/Hypershift/modals/NodePoolForm.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/types.d.ts +19 -1
- package/build/@types/cim/components/Hypershift/types.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/utils/status.d.ts.map +1 -1
- package/build/@types/cim/components/InfraEnv/EnvironmentDetails.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/agentStatus.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/clusterDeployment.d.ts +2 -2
- package/build/@types/cim/components/helpers/toAssisted.d.ts.map +1 -1
- package/build/@types/cim/components/modals/AddBmcHostYamlForm.d.ts.map +1 -1
- package/build/@types/cim/components/modals/CimConfiguration/CimConfigurationForm.d.ts.map +1 -1
- package/build/@types/common/api/assisted-service/NewFeatureSupportLevelsAPI.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/OpenShiftVersionSelect.d.ts.map +1 -1
- package/build/@types/common/components/clusterDetail/FinalizingProgress.d.ts.map +1 -1
- package/build/@types/common/components/clusterDetail/KubeconfigDownload.d.ts.map +1 -1
- package/build/@types/common/components/clusterDetail/OperatorsProgressItem.d.ts.map +1 -1
- package/build/@types/common/components/clusterDetail/ProgressBarTexts.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/ReviewValidations.d.ts.map +1 -1
- package/build/@types/common/components/featureSupportLevels/FeatureSupportLevelBadge.d.ts.map +1 -1
- package/build/@types/common/components/hosts/HostRowDetail.d.ts +1 -2
- package/build/@types/common/components/hosts/HostRowDetail.d.ts.map +1 -1
- package/build/@types/common/components/hosts/status.d.ts.map +1 -1
- package/build/@types/common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge.d.ts.map +1 -1
- package/build/@types/common/components/ui/BorderedIcon/BorderedIcon.d.ts +3 -2
- package/build/@types/common/components/ui/BorderedIcon/BorderedIcon.d.ts.map +1 -1
- package/build/@types/common/components/ui/ClusterEventsToolbar.d.ts.map +1 -1
- package/build/@types/common/components/ui/DeveloperPreview.d.ts +5 -0
- package/build/@types/common/components/ui/DeveloperPreview.d.ts.map +1 -0
- package/build/@types/common/components/ui/EventsList.d.ts.map +1 -1
- package/build/@types/common/components/ui/PreviewBadge.d.ts +8 -7
- package/build/@types/common/components/ui/PreviewBadge.d.ts.map +1 -1
- package/build/@types/common/components/ui/PrismCode.d.ts.map +1 -1
- package/build/@types/common/components/ui/TechnologyPreview.d.ts +5 -0
- package/build/@types/common/components/ui/TechnologyPreview.d.ts.map +1 -0
- package/build/@types/common/components/ui/formik/RichInputField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/validationSchemas.d.ts.map +1 -1
- package/build/@types/common/components/ui/index.d.ts +2 -0
- package/build/@types/common/components/ui/index.d.ts.map +1 -1
- package/build/@types/common/config/constants.d.ts +1 -1
- package/build/@types/common/types/clusters.d.ts +4 -2
- package/build/@types/common/types/clusters.d.ts.map +1 -1
- package/build/@types/common/utils.d.ts +1 -0
- package/build/@types/common/utils.d.ts.map +1 -1
- package/build/@types/ocm/components/AddHosts/day2Wizard/Day2ClusterDetails.d.ts.map +1 -1
- package/build/@types/ocm/components/HostsClusterDetailTab/HostsClusterDetailTab.d.ts.map +1 -1
- package/build/@types/ocm/components/Routes.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/HostInventory.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.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/manifestsConfiguration/components/FolderDropdown.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/operators/LvmCheckbox.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/OdfCheckbox.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.d.ts +3 -2
- package/build/@types/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/AssistedInstallerDetailCard.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/ClusterDetail.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/ClusterWizardContextProvider.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/OperatorsStep.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/AssistedInstallerHeader.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/ClusterStatus.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/ClustersListToolbar.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 +2 -0
- package/build/@types/ocm/components/featureSupportLevels/featureStateUtils.d.ts.map +1 -1
- package/build/@types/ocm/components/fetching/fetchEvents.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/HostsDiscoveryTable.d.ts.map +1 -1
- package/build/@types/ocm/components/ui/OcmFormFields.d.ts +1 -1
- package/build/@types/ocm/components/utils.d.ts +5 -0
- package/build/@types/ocm/components/utils.d.ts.map +1 -0
- package/build/@types/ocm/hooks/use-feature.d.ts +3 -0
- package/build/@types/ocm/hooks/use-feature.d.ts.map +1 -0
- package/build/@types/ocm/index.d.ts +1 -2
- package/build/@types/ocm/index.d.ts.map +1 -1
- package/build/@types/ocm/services/ClusterDetailsService.d.ts.map +1 -1
- package/build/@types/ocm/services/ClustersService.d.ts.map +1 -1
- package/build/@types/ocm/services/Day2ClusterService.d.ts.map +1 -1
- package/build/@types/ocm/store/slices/current-cluster/slice.d.ts +1 -2
- package/build/@types/ocm/store/slices/current-cluster/slice.d.ts.map +1 -1
- package/build/@types/ocm/store/slices/feature-flags/selectors.d.ts +3 -2
- package/build/@types/ocm/store/slices/feature-flags/selectors.d.ts.map +1 -1
- package/build/cjs/cim/components/Agent/AgentTable.js +2 -2
- package/build/cjs/cim/components/Agent/AgentTable.js.map +1 -1
- package/build/cjs/cim/components/Agent/BMCForm.js +4 -3
- package/build/cjs/cim/components/Agent/BMCForm.js.map +1 -1
- package/build/cjs/cim/components/Agent/MinimalHWRequirements.js +2 -2
- package/build/cjs/cim/components/Agent/MinimalHWRequirements.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentCreateProgress.js +2 -2
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentCreateProgress.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetailsTable.js +2 -2
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetailsTable.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsNetworkTable.js +2 -2
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsNetworkTable.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/networkConfigurationValidation.js +2 -2
- package/build/cjs/cim/components/ClusterDeployment/networkConfigurationValidation.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/DetailsPage/ClusterInstallationProgress.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/DetailsPage/ConditionsTable.js +10 -6
- package/build/cjs/cim/components/Hypershift/DetailsPage/ConditionsTable.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/DetailsPage/HostedClusterProgress.js +5 -3
- package/build/cjs/cim/components/Hypershift/DetailsPage/HostedClusterProgress.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/DetailsPage/NodePoolsProgress.js +3 -3
- package/build/cjs/cim/components/Hypershift/DetailsPage/NodePoolsProgress.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/DetailsPage/NodePoolsTable.js +2 -2
- package/build/cjs/cim/components/Hypershift/DetailsPage/NodePoolsTable.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsForm.js +9 -4
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsForm.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsStep.js +13 -3
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsStep.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/NodePoolForm.js +32 -10
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/NodePoolForm.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/forms/NodePoolAgentsForm.js +16 -5
- package/build/cjs/cim/components/Hypershift/forms/NodePoolAgentsForm.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/modals/AddNodePoolModal.js +5 -0
- package/build/cjs/cim/components/Hypershift/modals/AddNodePoolModal.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/modals/ManageHostsModal.js +50 -10
- package/build/cjs/cim/components/Hypershift/modals/ManageHostsModal.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/modals/NodePoolForm.js +1 -1
- package/build/cjs/cim/components/Hypershift/modals/NodePoolForm.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/utils/status.js +11 -7
- package/build/cjs/cim/components/Hypershift/utils/status.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/EnvironmentDetails.js +6 -4
- package/build/cjs/cim/components/InfraEnv/EnvironmentDetails.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/InfraEnvFormPage.js +2 -2
- package/build/cjs/cim/components/InfraEnv/InfraEnvFormPage.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/InfraEnvHostsTabAgentsWarning.js +3 -3
- package/build/cjs/cim/components/InfraEnv/InfraEnvHostsTabAgentsWarning.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/InfraTableToolbar.js +2 -2
- package/build/cjs/cim/components/InfraEnv/InfraTableToolbar.js.map +1 -1
- package/build/cjs/cim/components/helpers/agentStatus.js +5 -4
- package/build/cjs/cim/components/helpers/agentStatus.js.map +1 -1
- package/build/cjs/cim/components/helpers/toAssisted.js +8 -2
- package/build/cjs/cim/components/helpers/toAssisted.js.map +1 -1
- package/build/cjs/cim/components/modals/AddBmcHostYamlForm.js +4 -3
- package/build/cjs/cim/components/modals/AddBmcHostYamlForm.js.map +1 -1
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigDisconnectedAlert.js +2 -2
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigDisconnectedAlert.js.map +1 -1
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigProgressAlert.js +2 -2
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigProgressAlert.js.map +1 -1
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationForm.js +9 -8
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationForm.js.map +1 -1
- package/build/cjs/cim/components/modals/CimConfiguration/CimStorageMissingAlert.js +2 -2
- package/build/cjs/cim/components/modals/CimConfiguration/CimStorageMissingAlert.js.map +1 -1
- package/build/cjs/cim/components/modals/MassDeleteAgentModal.js +2 -2
- package/build/cjs/cim/components/modals/MassDeleteAgentModal.js.map +1 -1
- package/build/cjs/common/api/assisted-service/NewFeatureSupportLevelsAPI.js +1 -5
- package/build/cjs/common/api/assisted-service/NewFeatureSupportLevelsAPI.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DiscoveryImageConfigForm.js +2 -2
- package/build/cjs/common/components/clusterConfiguration/DiscoveryImageConfigForm.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.js +2 -2
- package/build/cjs/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionMode.js +3 -3
- package/build/cjs/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionMode.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/OpenShiftVersionSelect.js +8 -5
- package/build/cjs/common/components/clusterConfiguration/OpenShiftVersionSelect.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/ClusterCredentials.js +2 -2
- package/build/cjs/common/components/clusterDetail/ClusterCredentials.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/ConsoleModal.js +2 -2
- package/build/cjs/common/components/clusterDetail/ConsoleModal.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/FinalizingProgress.js +9 -6
- package/build/cjs/common/components/clusterDetail/FinalizingProgress.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/KubeconfigDownload.js +5 -4
- package/build/cjs/common/components/clusterDetail/KubeconfigDownload.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/OperatorsProgressItem.js +10 -6
- package/build/cjs/common/components/clusterDetail/OperatorsProgressItem.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/ProgressBarTexts.js +6 -4
- package/build/cjs/common/components/clusterDetail/ProgressBarTexts.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/ReviewValidations.js +9 -5
- package/build/cjs/common/components/clusterWizard/ReviewValidations.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.js +4 -4
- package/build/cjs/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.js.map +1 -1
- package/build/cjs/common/components/featureSupportLevels/FeatureSupportLevelBadge.js +3 -2
- package/build/cjs/common/components/featureSupportLevels/FeatureSupportLevelBadge.js.map +1 -1
- package/build/cjs/common/components/hosts/DiskRole.js +2 -2
- package/build/cjs/common/components/hosts/DiskRole.js.map +1 -1
- package/build/cjs/common/components/hosts/HostPropertyValidationPopover.js +8 -5
- package/build/cjs/common/components/hosts/HostPropertyValidationPopover.js.map +1 -1
- package/build/cjs/common/components/hosts/HostRowDetail.js +2 -2
- package/build/cjs/common/components/hosts/HostRowDetail.js.map +1 -1
- package/build/cjs/common/components/hosts/HostStatus.js +2 -2
- package/build/cjs/common/components/hosts/HostStatus.js.map +1 -1
- package/build/cjs/common/components/hosts/HostValidationGroups.js +8 -5
- package/build/cjs/common/components/hosts/HostValidationGroups.js.map +1 -1
- package/build/cjs/common/components/hosts/Hostname.js +4 -4
- package/build/cjs/common/components/hosts/Hostname.js.map +1 -1
- package/build/cjs/common/components/hosts/HostsTable.js +2 -2
- package/build/cjs/common/components/hosts/HostsTable.js.map +1 -1
- package/build/cjs/common/components/hosts/MassChangeHostnameModal.js +2 -2
- package/build/cjs/common/components/hosts/MassChangeHostnameModal.js.map +1 -1
- package/build/cjs/common/components/hosts/OcpConsoleNodesSectionLink.js +2 -2
- package/build/cjs/common/components/hosts/OcpConsoleNodesSectionLink.js.map +1 -1
- package/build/cjs/common/components/hosts/TableToolbar.js +3 -3
- package/build/cjs/common/components/hosts/TableToolbar.js.map +1 -1
- package/build/cjs/common/components/hosts/VMRebootConfigurationInfo.js +2 -2
- package/build/cjs/common/components/hosts/VMRebootConfigurationInfo.js.map +1 -1
- package/build/cjs/common/components/hosts/status.js +42 -30
- package/build/cjs/common/components/hosts/status.js.map +1 -1
- package/build/cjs/common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge.js +3 -2
- package/build/cjs/common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge.js.map +1 -1
- package/build/cjs/common/components/storage/DisksTable.js +3 -3
- package/build/cjs/common/components/storage/DisksTable.js.map +1 -1
- package/build/cjs/common/components/storage/StorageUtils.js +2 -2
- package/build/cjs/common/components/storage/StorageUtils.js.map +1 -1
- package/build/cjs/common/components/ui/BorderedIcon/BorderedIcon.js +10 -10
- package/build/cjs/common/components/ui/BorderedIcon/BorderedIcon.js.map +1 -1
- package/build/cjs/common/components/ui/ClusterEventsToolbar.js +4 -3
- package/build/cjs/common/components/ui/ClusterEventsToolbar.js.map +1 -1
- package/build/cjs/common/components/ui/DeveloperPreview.js +14 -0
- package/build/cjs/common/components/ui/DeveloperPreview.js.map +1 -0
- package/build/cjs/common/components/ui/EventsList.js +8 -5
- package/build/cjs/common/components/ui/EventsList.js.map +1 -1
- package/build/cjs/common/components/ui/ExternalLink.js +2 -2
- package/build/cjs/common/components/ui/ExternalLink.js.map +1 -1
- package/build/cjs/common/components/ui/NoPermissionsError.js +3 -3
- package/build/cjs/common/components/ui/NoPermissionsError.js.map +1 -1
- package/build/cjs/common/components/ui/OpenShiftVersionDropdown.js +2 -2
- package/build/cjs/common/components/ui/OpenShiftVersionDropdown.js.map +1 -1
- package/build/cjs/common/components/ui/PopoverIcon.js +2 -2
- package/build/cjs/common/components/ui/PopoverIcon.js.map +1 -1
- package/build/cjs/common/components/ui/PreviewBadge.js +6 -17
- package/build/cjs/common/components/ui/PreviewBadge.js.map +1 -1
- package/build/cjs/common/components/ui/PrismCode.js +6 -4
- package/build/cjs/common/components/ui/PrismCode.js.map +1 -1
- package/build/cjs/common/components/ui/SimpleDropdown.js +2 -2
- package/build/cjs/common/components/ui/SimpleDropdown.js.map +1 -1
- package/build/cjs/common/components/ui/TechnologyPreview.js +15 -0
- package/build/cjs/common/components/ui/TechnologyPreview.js.map +1 -0
- package/build/cjs/common/components/ui/ViewClusterEventsButton.js +2 -2
- package/build/cjs/common/components/ui/ViewClusterEventsButton.js.map +1 -1
- package/build/cjs/common/components/ui/WizardNavItem.js +3 -3
- package/build/cjs/common/components/ui/WizardNavItem.js.map +1 -1
- package/build/cjs/common/components/ui/eventsModal.js +3 -3
- package/build/cjs/common/components/ui/eventsModal.js.map +1 -1
- package/build/cjs/common/components/ui/formik/AddButton.js +2 -2
- package/build/cjs/common/components/ui/formik/AddButton.js.map +1 -1
- package/build/cjs/common/components/ui/formik/AdditionalNTPSourcesField.js +1 -1
- package/build/cjs/common/components/ui/formik/AdditionalNTPSourcesField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/PencilEditField.js +2 -2
- package/build/cjs/common/components/ui/formik/PencilEditField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/PullSecretField.js +3 -3
- package/build/cjs/common/components/ui/formik/PullSecretField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/RemovableField.js +2 -2
- package/build/cjs/common/components/ui/formik/RemovableField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/RichInputField.js +8 -4
- package/build/cjs/common/components/ui/formik/RichInputField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/validationSchemas.js +11 -4
- package/build/cjs/common/components/ui/formik/validationSchemas.js.map +1 -1
- package/build/cjs/common/components/ui/index.js +2 -0
- package/build/cjs/common/components/ui/index.js.map +1 -1
- package/build/cjs/common/components/ui/uiState/EmptyState.js +2 -2
- package/build/cjs/common/components/ui/uiState/EmptyState.js.map +1 -1
- package/build/cjs/common/components/ui/uiState/ErrorState.js +3 -3
- package/build/cjs/common/components/ui/uiState/ErrorState.js.map +1 -1
- package/build/cjs/common/config/constants.js +1 -1
- package/build/cjs/common/types/clusters.js +5 -1
- package/build/cjs/common/types/clusters.js.map +1 -1
- package/build/cjs/common/utils.js +19 -1
- package/build/cjs/common/utils.js.map +1 -1
- package/build/cjs/ocm/components/AddHosts/AddHosts.js +1 -1
- package/build/cjs/ocm/components/AddHosts/AddHosts.js.map +1 -1
- package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2ClusterDetails.js +4 -3
- package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2ClusterDetails.js.map +1 -1
- package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTab.js +3 -4
- package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTab.js.map +1 -1
- package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.js +1 -1
- package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.js.map +1 -1
- package/build/cjs/ocm/components/Routes.js +7 -9
- package/build/cjs/ocm/components/Routes.js.map +1 -1
- package/build/cjs/ocm/components/SentryErrorMonitorContextProvider.js +1 -1
- package/build/cjs/ocm/components/SentryErrorMonitorContextProvider.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/CpuArchitectureDropdown.js +10 -8
- package/build/cjs/ocm/components/clusterConfiguration/CpuArchitectureDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageForm.js +4 -3
- package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageTypeDropdown.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageTypeDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/HostInventory.js +2 -1
- package/build/cjs/ocm/components/clusterConfiguration/HostInventory.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmBaseDomainField.js +4 -4
- package/build/cjs/ocm/components/clusterConfiguration/OcmBaseDomainField.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js +6 -5
- package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.js +9 -6
- package/build/cjs/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmOperatorProgressItem.js +10 -6
- package/build/cjs/ocm/components/clusterConfiguration/OcmOperatorProgressItem.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CollapsedManifest.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CollapsedManifest.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifest.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifest.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsArray.js +3 -3
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsArray.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.js +3 -3
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.js +9 -5
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js +1 -7
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/CnvCheckbox.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/operators/CnvCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/LvmCheckbox.js +3 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/LvmCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/MceCheckbox.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/operators/MceCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/OdfCheckbox.js +15 -5
- package/build/cjs/ocm/components/clusterConfiguration/operators/OdfCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.js +23 -12
- package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationNote.js +3 -3
- package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationNote.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/constants.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/constants.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.js +4 -2
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.js +13 -7
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewStep.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewStep.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/CollapsedHost.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/CollapsedHost.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpHostsArray.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpHostsArray.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/YamlView/MacIpMapping.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/YamlView/MacIpMapping.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlViewFields.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlViewFields.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/AssistedInstallerDetailCard.js +11 -10
- package/build/cjs/ocm/components/clusterDetail/AssistedInstallerDetailCard.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.js +6 -5
- package/build/cjs/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/CancelInstallationModal.js +1 -1
- package/build/cjs/ocm/components/clusterDetail/CancelInstallationModal.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ClusterDetail.js +3 -2
- package/build/cjs/ocm/components/clusterDetail/ClusterDetail.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ClusterDetailStatusMessages.js +3 -3
- package/build/cjs/ocm/components/clusterDetail/ClusterDetailStatusMessages.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ClusterDetailsButtonGroup.js +2 -2
- package/build/cjs/ocm/components/clusterDetail/ClusterDetailsButtonGroup.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ClusterInstallationError.js +2 -2
- package/build/cjs/ocm/components/clusterDetail/ClusterInstallationError.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/OpenShiftVersionDetail.js +2 -2
- package/build/cjs/ocm/components/clusterDetail/OpenShiftVersionDetail.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ProgressBarAlerts.js +5 -5
- package/build/cjs/ocm/components/clusterDetail/ProgressBarAlerts.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ResetClusterModal.js +4 -4
- package/build/cjs/ocm/components/clusterDetail/ResetClusterModal.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/utils.js +5 -5
- package/build/cjs/ocm/components/clusterDetail/utils.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 +1 -1
- 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/HostDiscovery.js +1 -1
- package/build/cjs/ocm/components/clusterWizard/HostDiscovery.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/Operators.js +1 -1
- package/build/cjs/ocm/components/clusterWizard/Operators.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/OperatorsStep.js +7 -1
- package/build/cjs/ocm/components/clusterWizard/OperatorsStep.js.map +1 -1
- package/build/cjs/ocm/components/clusters/AssistedInstallerHeader.js +2 -2
- package/build/cjs/ocm/components/clusters/AssistedInstallerHeader.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClusterBreadcrumbs.js +1 -1
- package/build/cjs/ocm/components/clusters/ClusterBreadcrumbs.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClusterStatus.js +15 -8
- package/build/cjs/ocm/components/clusters/ClusterStatus.js.map +1 -1
- package/build/cjs/ocm/components/clusters/Clusters.js +3 -3
- package/build/cjs/ocm/components/clusters/Clusters.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClustersListToolbar.js +4 -3
- package/build/cjs/ocm/components/clusters/ClustersListToolbar.js.map +1 -1
- package/build/cjs/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.js +6 -5
- package/build/cjs/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.js.map +1 -1
- package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js +17 -1
- package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js.map +1 -1
- package/build/cjs/ocm/components/fetching/fetchEvents.js +1 -1
- package/build/cjs/ocm/components/fetching/fetchEvents.js.map +1 -1
- package/build/cjs/ocm/components/hosts/HostsDiscoveryTable.js +1 -1
- package/build/cjs/ocm/components/hosts/HostsDiscoveryTable.js.map +1 -1
- package/build/cjs/ocm/components/hosts/HostsTableEmptyState.js +2 -2
- package/build/cjs/ocm/components/hosts/HostsTableEmptyState.js.map +1 -1
- package/build/cjs/ocm/components/hosts/use-hosts-table.js +1 -1
- package/build/cjs/ocm/components/hosts/use-hosts-table.js.map +1 -1
- package/build/cjs/ocm/components/hosts/utils.js +1 -1
- package/build/cjs/ocm/components/hosts/utils.js.map +1 -1
- package/build/cjs/ocm/components/ui/InfoLinkWithModal.js +2 -2
- package/build/cjs/ocm/components/ui/InfoLinkWithModal.js.map +1 -1
- package/build/cjs/ocm/components/utils.js +18 -0
- package/build/cjs/ocm/components/utils.js.map +1 -0
- package/build/cjs/ocm/hooks/use-feature.js +10 -0
- package/build/cjs/ocm/hooks/use-feature.js.map +1 -0
- package/build/cjs/ocm/hooks/useClusterCustomManifests.js +1 -1
- package/build/cjs/ocm/hooks/useClusterCustomManifests.js.map +1 -1
- package/build/cjs/ocm/hooks/useClusterPreflightRequirements.js +1 -1
- package/build/cjs/ocm/hooks/useClusterPreflightRequirements.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/useOpenshiftVersions.js +1 -1
- package/build/cjs/ocm/hooks/useOpenshiftVersions.js.map +1 -1
- package/build/cjs/ocm/hooks/usePullSecret.js +1 -1
- package/build/cjs/ocm/hooks/usePullSecret.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/index.js +1 -2
- package/build/cjs/ocm/index.js.map +1 -1
- package/build/cjs/ocm/services/ClusterDetailsService.js +19 -7
- package/build/cjs/ocm/services/ClusterDetailsService.js.map +1 -1
- package/build/cjs/ocm/services/ClustersService.js +2 -2
- package/build/cjs/ocm/services/ClustersService.js.map +1 -1
- package/build/cjs/ocm/services/Day2ClusterService.js +11 -1
- package/build/cjs/ocm/services/Day2ClusterService.js.map +1 -1
- package/build/cjs/ocm/store/slices/feature-flags/selectors.js +2 -1
- package/build/cjs/ocm/store/slices/feature-flags/selectors.js.map +1 -1
- package/lib/cim/components/Agent/AgentTable.tsx +1 -1
- package/lib/cim/components/Agent/BMCForm.tsx +2 -1
- package/lib/cim/components/Agent/MinimalHWRequirements.tsx +1 -1
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentCreateProgress.tsx +1 -1
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentDetailsTable.tsx +1 -1
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentHostsNetworkTable.tsx +1 -1
- package/lib/cim/components/ClusterDeployment/networkConfigurationValidation.ts +2 -2
- package/lib/cim/components/Hypershift/DetailsPage/ClusterInstallationProgress.tsx +7 -6
- package/lib/cim/components/Hypershift/DetailsPage/ConditionsTable.tsx +6 -10
- package/lib/cim/components/Hypershift/DetailsPage/HostedClusterProgress.tsx +4 -5
- package/lib/cim/components/Hypershift/DetailsPage/NodePoolsProgress.tsx +9 -8
- package/lib/cim/components/Hypershift/DetailsPage/NodePoolsTable.tsx +8 -7
- package/lib/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsForm.tsx +8 -3
- package/lib/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsStep.tsx +13 -3
- package/lib/cim/components/Hypershift/HostedClusterWizard/HostsStep/NodePoolForm.tsx +36 -8
- package/lib/cim/components/Hypershift/HostedClusterWizard/HostsStep/types.ts +2 -8
- package/lib/cim/components/Hypershift/forms/NodePoolAgentsForm.tsx +58 -19
- package/lib/cim/components/Hypershift/modals/AddNodePoolModal.tsx +7 -2
- package/lib/cim/components/Hypershift/modals/ManageHostsModal.tsx +64 -12
- package/lib/cim/components/Hypershift/modals/NodePoolForm.tsx +8 -10
- package/lib/cim/components/Hypershift/types.ts +21 -1
- package/lib/cim/components/Hypershift/utils/status.tsx +6 -6
- package/lib/cim/components/InfraEnv/EnvironmentDetails.tsx +3 -1
- package/lib/cim/components/InfraEnv/InfraEnvFormPage.tsx +1 -1
- package/lib/cim/components/InfraEnv/InfraEnvHostsTabAgentsWarning.tsx +2 -2
- package/lib/cim/components/InfraEnv/InfraTableToolbar.tsx +1 -1
- package/lib/cim/components/helpers/agentStatus.tsx +3 -2
- package/lib/cim/components/helpers/toAssisted.ts +8 -2
- package/lib/cim/components/modals/AddBmcHostYamlForm.tsx +2 -1
- package/lib/cim/components/modals/CimConfiguration/CimConfigDisconnectedAlert.tsx +1 -1
- package/lib/cim/components/modals/CimConfiguration/CimConfigProgressAlert.tsx +1 -1
- package/lib/cim/components/modals/CimConfiguration/CimConfigurationForm.tsx +2 -1
- package/lib/cim/components/modals/CimConfiguration/CimStorageMissingAlert.tsx +1 -1
- package/lib/cim/components/modals/MassDeleteAgentModal.tsx +1 -1
- package/lib/common/api/assisted-service/NewFeatureSupportLevelsAPI.ts +1 -0
- package/lib/common/components/clusterConfiguration/DiscoveryImageConfigForm.tsx +1 -1
- package/lib/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.tsx +1 -1
- package/lib/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionMode.tsx +1 -1
- package/lib/common/components/clusterConfiguration/OpenShiftVersionSelect.tsx +5 -9
- package/lib/common/components/clusterDetail/ClusterCredentials.tsx +1 -1
- package/lib/common/components/clusterDetail/ConsoleModal.tsx +1 -1
- package/lib/common/components/clusterDetail/FinalizingProgress.tsx +4 -6
- package/lib/common/components/clusterDetail/KubeconfigDownload.tsx +16 -6
- package/lib/common/components/clusterDetail/OperatorsProgressItem.tsx +6 -10
- package/lib/common/components/clusterDetail/ProgressBarTexts.tsx +3 -1
- package/lib/common/components/clusterWizard/ReviewValidations.tsx +6 -10
- package/lib/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.tsx +6 -6
- package/lib/common/components/featureSupportLevels/FeatureSupportLevelBadge.tsx +2 -1
- package/lib/common/components/hosts/DiskRole.tsx +1 -1
- package/lib/common/components/hosts/HostPropertyValidationPopover.tsx +5 -5
- package/lib/common/components/hosts/HostRowDetail.tsx +6 -10
- package/lib/common/components/hosts/HostStatus.tsx +1 -1
- package/lib/common/components/hosts/HostValidationGroups.tsx +5 -5
- package/lib/common/components/hosts/Hostname.tsx +2 -2
- package/lib/common/components/hosts/HostsTable.tsx +1 -1
- package/lib/common/components/hosts/MassChangeHostnameModal.tsx +1 -1
- package/lib/common/components/hosts/OcpConsoleNodesSectionLink.tsx +1 -1
- package/lib/common/components/hosts/TableToolbar.tsx +2 -2
- package/lib/common/components/hosts/VMRebootConfigurationInfo.tsx +1 -1
- package/lib/common/components/hosts/status.tsx +14 -18
- package/lib/common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge.tsx +2 -1
- package/lib/common/components/storage/DisksTable.tsx +1 -1
- package/lib/common/components/storage/StorageUtils.tsx +1 -1
- package/lib/common/components/ui/BorderedIcon/BorderedIcon.tsx +2 -1
- package/lib/common/components/ui/ClusterEventsToolbar.tsx +2 -1
- package/lib/common/components/ui/DeveloperPreview.tsx +19 -0
- package/lib/common/components/ui/EventsList.tsx +4 -6
- package/lib/common/components/ui/ExternalLink.tsx +1 -1
- package/lib/common/components/ui/NoPermissionsError.tsx +2 -2
- package/lib/common/components/ui/OpenShiftVersionDropdown.tsx +1 -1
- package/lib/common/components/ui/PopoverIcon.tsx +1 -1
- package/lib/common/components/ui/PreviewBadge.tsx +8 -42
- package/lib/common/components/ui/PrismCode.tsx +3 -5
- package/lib/common/components/ui/SimpleDropdown.tsx +1 -1
- package/lib/common/components/ui/TechnologyPreview.tsx +25 -0
- package/lib/common/components/ui/ViewClusterEventsButton.tsx +1 -1
- package/lib/common/components/ui/WizardNavItem.tsx +2 -2
- package/lib/common/components/ui/eventsModal.tsx +2 -2
- package/lib/common/components/ui/formik/AddButton.tsx +1 -1
- package/lib/common/components/ui/formik/AdditionalNTPSourcesField.tsx +1 -1
- package/lib/common/components/ui/formik/PencilEditField.tsx +1 -1
- package/lib/common/components/ui/formik/PullSecretField.tsx +1 -1
- package/lib/common/components/ui/formik/RemovableField.tsx +1 -1
- package/lib/common/components/ui/formik/RichInputField.tsx +5 -7
- package/lib/common/components/ui/formik/validationSchemas.ts +12 -6
- package/lib/common/components/ui/index.ts +2 -0
- package/lib/common/components/ui/uiState/EmptyState.tsx +1 -1
- package/lib/common/components/ui/uiState/ErrorState.tsx +2 -2
- package/lib/common/config/constants.ts +1 -1
- package/lib/common/types/clusters.ts +8 -4
- package/lib/common/utils.ts +18 -0
- package/lib/ocm/components/AddHosts/AddHosts.tsx +1 -1
- package/lib/ocm/components/AddHosts/day2Wizard/Day2ClusterDetails.tsx +3 -4
- package/lib/ocm/components/HostsClusterDetailTab/HostsClusterDetailTab.tsx +5 -7
- package/lib/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.tsx +1 -1
- package/lib/ocm/components/Routes.tsx +8 -11
- package/lib/ocm/components/SentryErrorMonitorContextProvider.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/CpuArchitectureDropdown.tsx +13 -9
- package/lib/ocm/components/clusterConfiguration/DiscoveryImageForm.tsx +3 -2
- package/lib/ocm/components/clusterConfiguration/DiscoveryImageTypeDropdown.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/HostInventory.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/OcmBaseDomainField.tsx +5 -5
- package/lib/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.tsx +4 -4
- package/lib/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.tsx +6 -10
- package/lib/ocm/components/clusterConfiguration/OcmOperatorProgressItem.tsx +6 -10
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/CollapsedManifest.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifest.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsArray.tsx +2 -2
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.tsx +7 -2
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.tsx +10 -3
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.tsx +1 -9
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/operators/CnvCheckbox.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/operators/LvmCheckbox.tsx +7 -1
- package/lib/ocm/components/clusterConfiguration/operators/MceCheckbox.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/operators/OdfCheckbox.tsx +22 -4
- package/lib/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.tsx +38 -18
- package/lib/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationNote.tsx +2 -2
- package/lib/ocm/components/clusterConfiguration/platformIntegration/constants.tsx +2 -2
- package/lib/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.tsx +4 -2
- package/lib/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.tsx +8 -12
- package/lib/ocm/components/clusterConfiguration/review/ReviewStep.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/staticIp/components/CollapsedHost.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/staticIp/components/StaticIpHostsArray.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/staticIp/components/YamlView/MacIpMapping.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlViewFields.tsx +1 -1
- package/lib/ocm/components/clusterDetail/AssistedInstallerDetailCard.tsx +25 -26
- package/lib/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.tsx +16 -21
- package/lib/ocm/components/clusterDetail/CancelInstallationModal.tsx +1 -1
- package/lib/ocm/components/clusterDetail/ClusterDetail.tsx +3 -9
- package/lib/ocm/components/clusterDetail/ClusterDetailStatusMessages.tsx +2 -2
- package/lib/ocm/components/clusterDetail/ClusterDetailsButtonGroup.tsx +2 -2
- package/lib/ocm/components/clusterDetail/ClusterInstallationError.tsx +2 -2
- package/lib/ocm/components/clusterDetail/OpenShiftVersionDetail.tsx +1 -1
- package/lib/ocm/components/clusterDetail/ProgressBarAlerts.tsx +5 -5
- package/lib/ocm/components/clusterDetail/ResetClusterModal.tsx +3 -3
- package/lib/ocm/components/clusterDetail/utils.tsx +6 -5
- package/lib/ocm/components/clusterWizard/ClusterDetails.tsx +1 -1
- package/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx +1 -1
- package/lib/ocm/components/clusterWizard/ClusterWizardContextProvider.tsx +2 -5
- package/lib/ocm/components/clusterWizard/HostDiscovery.tsx +1 -1
- package/lib/ocm/components/clusterWizard/Operators.tsx +1 -1
- package/lib/ocm/components/clusterWizard/OperatorsStep.tsx +17 -2
- package/lib/ocm/components/clusters/AssistedInstallerHeader.tsx +8 -6
- package/lib/ocm/components/clusters/ClusterBreadcrumbs.tsx +1 -1
- package/lib/ocm/components/clusters/ClusterStatus.tsx +9 -13
- package/lib/ocm/components/clusters/Clusters.tsx +2 -2
- package/lib/ocm/components/clusters/ClustersListToolbar.tsx +2 -1
- package/lib/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.tsx +3 -2
- package/lib/ocm/components/featureSupportLevels/featureStateUtils.ts +16 -0
- package/lib/ocm/components/fetching/fetchEvents.ts +15 -3
- package/lib/ocm/components/hosts/HostsDiscoveryTable.tsx +0 -1
- package/lib/ocm/components/hosts/HostsTableEmptyState.tsx +1 -1
- package/lib/ocm/components/hosts/use-hosts-table.tsx +1 -1
- package/lib/ocm/components/hosts/utils.ts +1 -1
- package/lib/ocm/components/ui/InfoLinkWithModal.tsx +1 -1
- package/lib/ocm/components/utils.ts +19 -0
- package/lib/ocm/hooks/_use-feature-detection.test.tsx +7 -15
- package/lib/ocm/hooks/use-feature.ts +7 -0
- package/lib/ocm/hooks/useClusterCustomManifests.ts +1 -1
- package/lib/ocm/hooks/useClusterPreflightRequirements.ts +1 -1
- package/lib/ocm/hooks/useManagedDomains.ts +1 -1
- package/lib/ocm/hooks/useOpenshiftVersions.tsx +1 -1
- package/lib/ocm/hooks/usePullSecret.ts +1 -1
- package/lib/ocm/hooks/useSupportLevelsAPI.ts +1 -1
- package/lib/ocm/hooks/useUsedClusterNames.ts +1 -1
- package/lib/ocm/index.ts +1 -2
- package/lib/ocm/services/ClusterDetailsService.ts +20 -4
- package/lib/ocm/services/ClustersService.ts +10 -4
- package/lib/ocm/services/Day2ClusterService.ts +20 -2
- package/lib/ocm/store/slices/feature-flags/selectors.ts +6 -6
- package/package.json +14 -6
- package/build/@types/ocm/api/index.d.ts +0 -2
- package/build/@types/ocm/api/index.d.ts.map +0 -1
- package/build/cjs/ocm/api/index.js +0 -5
- package/build/cjs/ocm/api/index.js.map +0 -1
- package/lib/ocm/api/index.ts +0 -1
|
@@ -12,7 +12,7 @@ const ClustersService = {
|
|
|
12
12
|
return hosts.find((host) => host.id === hostId);
|
|
13
13
|
},
|
|
14
14
|
create(params) {
|
|
15
|
-
var _a;
|
|
15
|
+
var _a, _b;
|
|
16
16
|
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
17
17
|
const { data: cluster } = yield ClustersAPI_1.default.register((0, omit_js_1.default)(params, 'staticNetworkConfig'));
|
|
18
18
|
const infraEnvCreateParams = {
|
|
@@ -23,7 +23,7 @@ const ClustersService = {
|
|
|
23
23
|
cpuArchitecture: params.cpuArchitecture,
|
|
24
24
|
staticNetworkConfig: params.staticNetworkConfig,
|
|
25
25
|
};
|
|
26
|
-
if (((_a = params.platform) === null || _a === void 0 ? void 0 : _a.type) === 'oci') {
|
|
26
|
+
if (((_a = params.platform) === null || _a === void 0 ? void 0 : _a.type) === 'external' && ((_b = params.platform.external) === null || _b === void 0 ? void 0 : _b.platformName) === 'oci') {
|
|
27
27
|
infraEnvCreateParams.imageType = 'minimal-iso';
|
|
28
28
|
}
|
|
29
29
|
yield InfraEnvsService_1.default.create(infraEnvCreateParams);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClustersService.js","sourceRoot":"","sources":["../../../../lib/ocm/services/ClustersService.ts"],"names":[],"mappings":";;;AAYA,wEAAqC;AACrC,wGAAwE;AACxE,0EAA0C;AAC1C,kFAAkD;AAClD,6DAA0D;AAC1D,8DAAuD;AAEvD,MAAM,eAAe,GAAG;IACtB,QAAQ,CAAC,QAA0B,EAAE,EAAE,MAAkB;QACvD,OAAO,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,KAAK,MAAM,CAAC,CAAC;IAClD,CAAC;IAEK,MAAM,CAAC,MAA+C;;;YAC1D,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,MAAM,qBAAW,CAAC,QAAQ,CAAC,IAAA,iBAAI,EAAC,MAAM,EAAE,qBAAqB,CAAC,CAAC,CAAC;YAC1F,MAAM,oBAAoB,GAAyB;gBACjD,IAAI,EAAE,GAAG,MAAM,CAAC,IAAI,YAAY;gBAChC,UAAU,EAAE,MAAM,CAAC,UAAU;gBAC7B,SAAS,EAAE,OAAO,CAAC,EAAE;gB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udProviderId) => {
|
|
38
|
-
|
|
38
|
+
let platformType = cloudProviderId;
|
|
39
|
+
if (!common_1.SupportedPlatformIntegrations.includes(platformType) &&
|
|
40
|
+
!common_1.NonPlatformIntegrations.includes(platformType)) {
|
|
41
|
+
platformType = 'baremetal';
|
|
42
|
+
}
|
|
39
43
|
const platform = {
|
|
40
44
|
type: platformType || 'baremetal',
|
|
41
45
|
};
|
|
46
|
+
if (platformType === 'external') {
|
|
47
|
+
platform.external = {
|
|
48
|
+
platformName: 'oci',
|
|
49
|
+
cloudControllerManager: 'External',
|
|
50
|
+
};
|
|
51
|
+
}
|
|
42
52
|
return platform;
|
|
43
53
|
};
|
|
44
54
|
exports.mapCloudProviderToPlatformType = mapCloudProviderToPlatformType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Day2ClusterService.js","sourceRoot":"","sources":["../../../../lib/ocm/services/Day2ClusterService.ts"],"names":[],"mappings":";;;;AAAA,wBAAqC;AACrC,iCAAqC;AACrC,
|
|
1
|
+
{"version":3,"file":"Day2ClusterService.js","sourceRoot":"","sources":["../../../../lib/ocm/services/Day2ClusterService.ts"],"names":[],"mappings":";;;;AAAA,wBAAqC;AACrC,iCAAqC;AACrC,yCAMsB;AAEtB,qEAAuE;AAOhE,MAAM,gBAAgB,GAAG,CAAC,UAA0B,EAAE,EAAE;;IAC7D,IAAI,aAAa,GAAG,EAAE,CAAC;IACvB,IAAI,OAAO,GAAG,EAAE,CAAC;IACjB,IAAI;QACF,oDAAoD;QACpD,IAAI,MAAA,UAAU,CAAC,GAAG,0CAAE,GAAG,EAAE;YACvB,OAAO,GAAG,KAAK,CAAC;YAChB,MAAM,SAAS,GAAG,IAAI,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;YAC9C,aAAa,GAAG,SAAS,CAAC,QAAQ,CAAC,CAAC,wBAAwB;SAC7D;aAAM,IAAI,MAAA,UAAU,CAAC,OAAO,0CAAE,GAAG,EAAE;YAClC,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ACrB,UAAkB,EAClB,gBAAwB,EACxB,eAAyC;;YAEzC,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,GAAG,MAAM,kBAAW,CAAC,gBAAgB,CAAC;gBAC/D,kBAAkB;gBAClB,IAAI,EAAE,YAAY,WAAW,EAAE;gBAC/B,aAAa;gBACb,gBAAgB;aACjB,CAAC,CAAC;YAEH,yDAAyD;YACzD,MAAM,mBAAgB,CAAC,MAAM,CAAC;gBAC5B,IAAI,EAAE,mBAAgB,CAAC,gBAAgB,CAAC,eAAe,EAAE,WAAW,CAAC,IAAI,CAAC;gBAC1E,UAAU;gBACV,SAAS,EAAE,WAAW,CAAC,EAAE;gBACzB,gBAAgB;gBAChB,eAAe;aAChB,CAAC,CAAC;YAEH,OAAO,WAAW,CAAC;QACrB,CAAC;KAAA;IAED;;;;OAIG;IACH,+BAA+B,EAAE,CAC/B,WAAgC,EAChC,UAAsC,EACjB,EAAE;;QACvB,IAAI,cAAc,GAAG,WAAW,CAAC;QAEjC,IAAI,UAAU,IAAI,WAAW,EAAE;YAC7B,cAAc,mCACT,WAAW,KACd,gBAAgB,EAAE,UAAU,CAAC,iBAAiB;gBAC9C,uFAAuF;gBACvF,yGAAyG;gBACzG,eAAe,EAAE,IAAA,oDAA2B,EAAC,UAAU,CAAC,gBAAgB,CAAC,EACzE,QAAQ,EAAE,IAAA,sCAA8B,EAAC,MAAA,UAAU,CAAC,cAAc,0CAAE,EAAE,CAAC,GACxE,CAAC;SACH;QACD,OAAO,cAAc,CAAC;IACxB,CAAC;CACF,CAAC;AAEF,kBAAe,kBAAkB,CAAC"}
|
|
@@ -4,5 +4,6 @@ exports.isFeatureEnabled = exports.selectFeatureFlagsSlice = void 0;
|
|
|
4
4
|
const toolkit_1 = require("@reduxjs/toolkit");
|
|
5
5
|
const selectFeatureFlagsSlice = (state) => state.featureFlags;
|
|
6
6
|
exports.selectFeatureFlagsSlice = selectFeatureFlagsSlice;
|
|
7
|
-
|
|
7
|
+
const isFeatureEnabled = (featureId) => (0, toolkit_1.createSelector)(exports.selectFeatureFlagsSlice, (featureFlags) => { var _a; return (_a = featureFlags.data[featureId]) !== null && _a !== void 0 ? _a : false; });
|
|
8
|
+
exports.isFeatureEnabled = isFeatureEnabled;
|
|
8
9
|
//# sourceMappingURL=selectors.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selectors.js","sourceRoot":"","sources":["../../../../../../lib/ocm/store/slices/feature-flags/selectors.ts"],"names":[],"mappings":";;;AAEA,8CAAkD;AAE3C,MAAM,uBAAuB,GAAG,CAAC,KAAoB,EAAE,EAAE,CAAC,KAAK,CAAC,YAAY,CAAC;AAAvE,QAAA,uBAAuB,2BAAgD;
|
|
1
|
+
{"version":3,"file":"selectors.js","sourceRoot":"","sources":["../../../../../../lib/ocm/store/slices/feature-flags/selectors.ts"],"names":[],"mappings":";;;AAEA,8CAAkD;AAE3C,MAAM,uBAAuB,GAAG,CAAC,KAAoB,EAAE,EAAE,CAAC,KAAK,CAAC,YAAY,CAAC;AAAvE,QAAA,uBAAuB,2BAAgD;AAE7E,MAAM,gBAAgB,GAAG,CAAC,SAAgC,EAAE,EAAE,CACnE,IAAA,wBAAc,EACZ,+BAAuB,EACvB,CAAC,YAAwD,EAAE,EAAE,WAC3D,OAAA,MAAA,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC,mCAAI,KAAK,CAAA,EAAA,CACxC,CAAC;AALS,QAAA,gBAAgB,oBAKzB"}
|
|
@@ -2,7 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
import { AgentClusterInstallK8sResource, AgentK8sResource } from '../../types';
|
|
3
3
|
import { AgentTableActions } from '../ClusterDeployment/types';
|
|
4
4
|
import DefaultEmptyState from '../../../common/components/ui/uiState/EmptyState';
|
|
5
|
-
import { ConnectedIcon } from '@patternfly/react-icons';
|
|
5
|
+
import { ConnectedIcon } from '@patternfly/react-icons/dist/js/icons/connected-icon';
|
|
6
6
|
import { infraEnvColumn, agentStatusColumn, useAgentsTable } from './tableUtils';
|
|
7
7
|
import {
|
|
8
8
|
cpuArchitectureColumn,
|
|
@@ -40,7 +40,8 @@ import {
|
|
|
40
40
|
bmcAddressValidationSchema,
|
|
41
41
|
} from '../../../common';
|
|
42
42
|
import { Language } from '@patternfly/react-code-editor';
|
|
43
|
-
import { MinusCircleIcon
|
|
43
|
+
import { MinusCircleIcon } from '@patternfly/react-icons/dist/js/icons/minus-circle-icon';
|
|
44
|
+
import { PlusCircleIcon } from '@patternfly/react-icons/dist/js/icons/plus-circle-icon';
|
|
44
45
|
import {
|
|
45
46
|
InfraEnvK8sResource,
|
|
46
47
|
SecretK8sResource,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { Button, ButtonVariant, Modal, ModalVariant } from '@patternfly/react-core';
|
|
3
|
-
import { InfoCircleIcon } from '@patternfly/react-icons';
|
|
3
|
+
import { InfoCircleIcon } from '@patternfly/react-icons/dist/js/icons/info-circle-icon';
|
|
4
4
|
|
|
5
5
|
import { ConfigMapK8sResource } from '../../types';
|
|
6
6
|
import HostRequirements, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { CheckCircleIcon } from '@patternfly/react-icons';
|
|
2
|
+
import { CheckCircleIcon } from '@patternfly/react-icons/dist/js/icons/check-circle-icon';
|
|
3
3
|
import { global_palette_green_500 as okColor } from '@patternfly/react-tokens/dist/js/global_palette_green_500';
|
|
4
4
|
import {
|
|
5
5
|
Bullseye,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { AgentClusterInstallK8sResource, AgentK8sResource } from '../../types';
|
|
3
3
|
import DefaultEmptyState from '../../../common/components/ui/uiState/EmptyState';
|
|
4
|
-
import { ConnectedIcon } from '@patternfly/react-icons';
|
|
4
|
+
import { ConnectedIcon } from '@patternfly/react-icons/dist/js/icons/connected-icon';
|
|
5
5
|
import { infraEnvColumn, agentStatusColumn, useAgentsTable } from '../Agent/tableUtils';
|
|
6
6
|
import {
|
|
7
7
|
cpuCoresColumn,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { ConnectedIcon } from '@patternfly/react-icons';
|
|
2
|
+
import { ConnectedIcon } from '@patternfly/react-icons/dist/js/icons/connected-icon';
|
|
3
3
|
import { EmptyState } from '../../../common';
|
|
4
4
|
import { AgentTableActions } from './types';
|
|
5
5
|
import {
|
|
@@ -58,8 +58,8 @@ export const getNetworkInitialValues = (
|
|
|
58
58
|
selectClusterNetworkHostPrefix(cluster) || defaultNetworkSettings.clusterNetworkHostPrefix,
|
|
59
59
|
serviceNetworkCidr:
|
|
60
60
|
selectServiceNetworkCIDR(cluster) || defaultNetworkSettings.serviceNetworkCidr,
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
apiVips: cluster.apiVips,
|
|
62
|
+
ingressVips: cluster.ingressVips,
|
|
63
63
|
sshPublicKey: cluster.sshPublicKey || '',
|
|
64
64
|
hostSubnet: getInitHostSubnet(cluster, managedNetworkingType) || NO_SUBNET_SET,
|
|
65
65
|
vipDhcpAllocation: cluster.vipDhcpAllocation,
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ProgressStepper, Stack, StackItem } from '@patternfly/react-core';
|
|
3
3
|
import { AgentK8sResource, ConfigMapK8sResource, SecretK8sResource } from '../../../types';
|
|
4
|
-
import {
|
|
4
|
+
import {
|
|
5
|
+
AgentMachineK8sResource,
|
|
6
|
+
HostedClusterK8sResource,
|
|
7
|
+
NodePoolK8sResource,
|
|
8
|
+
NodePoolPatches,
|
|
9
|
+
} from '../types';
|
|
5
10
|
import HypershiftKubeconfigDownload from './HypershiftKubeconfigDownload';
|
|
6
11
|
import HostedClusterProgress from './HostedClusterProgress';
|
|
7
12
|
import NodePoolsProgress from './NodePoolsProgress';
|
|
@@ -17,11 +22,7 @@ type ClusterInstallationProgressProps = {
|
|
|
17
22
|
onRemoveNodePool: (nodePool: NodePoolK8sResource) => Promise<unknown>;
|
|
18
23
|
onUpdateNodePool: (
|
|
19
24
|
nodePool: NodePoolK8sResource,
|
|
20
|
-
nodePoolPatches:
|
|
21
|
-
op: string;
|
|
22
|
-
value: unknown;
|
|
23
|
-
path: string;
|
|
24
|
-
}[],
|
|
25
|
+
nodePoolPatches: NodePoolPatches,
|
|
25
26
|
) => Promise<unknown>;
|
|
26
27
|
onAddNodePool: (nodePool: NodePoolK8sResource) => Promise<unknown>;
|
|
27
28
|
launchToOCP: (urlSuffix: string, newTab: boolean) => void;
|
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
import { Flex, FlexItem } from '@patternfly/react-core';
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
UnknownIcon,
|
|
7
|
-
} from '@patternfly/react-icons';
|
|
2
|
+
import { CheckCircleIcon } from '@patternfly/react-icons/dist/js/icons/check-circle-icon';
|
|
3
|
+
import { ExclamationCircleIcon } from '@patternfly/react-icons/dist/js/icons/exclamation-circle-icon';
|
|
4
|
+
import { InProgressIcon } from '@patternfly/react-icons/dist/js/icons/in-progress-icon';
|
|
5
|
+
import { UnknownIcon } from '@patternfly/react-icons/dist/js/icons/unknown-icon';
|
|
8
6
|
import { TableComposable, Tbody, Td, Th, Thead, Tr } from '@patternfly/react-table';
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
global_danger_color_100 as dangerColor,
|
|
12
|
-
} from '@patternfly/react-tokens';
|
|
7
|
+
import { global_palette_green_500 as okColor } from '@patternfly/react-tokens/dist/js/global_palette_green_500';
|
|
8
|
+
import { global_danger_color_100 as dangerColor } from '@patternfly/react-tokens/dist/js/global_danger_color_100';
|
|
13
9
|
import * as React from 'react';
|
|
14
10
|
import { useTranslation } from '../../../../common/hooks/use-translation-wrapper';
|
|
15
11
|
|
|
@@ -6,11 +6,10 @@ import {
|
|
|
6
6
|
Stack,
|
|
7
7
|
StackItem,
|
|
8
8
|
} from '@patternfly/react-core';
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from '@patternfly/react-
|
|
13
|
-
import { CheckCircleIcon, ExclamationCircleIcon } from '@patternfly/react-icons';
|
|
9
|
+
import { global_palette_green_500 as okColor } from '@patternfly/react-tokens/dist/js/global_palette_green_500';
|
|
10
|
+
import { global_danger_color_100 as dangerColor } from '@patternfly/react-tokens/dist/js/global_danger_color_100';
|
|
11
|
+
import { CheckCircleIcon } from '@patternfly/react-icons/dist/js/icons/check-circle-icon';
|
|
12
|
+
import { ExclamationCircleIcon } from '@patternfly/react-icons/dist/js/icons/exclamation-circle-icon';
|
|
14
13
|
import { HostedClusterK8sResource } from '../types';
|
|
15
14
|
import { useTranslation } from '../../../../common/hooks/use-translation-wrapper';
|
|
16
15
|
import { ExternalLink } from '../../../../common';
|
|
@@ -7,10 +7,15 @@ import {
|
|
|
7
7
|
StackItem,
|
|
8
8
|
} from '@patternfly/react-core';
|
|
9
9
|
import { TFunction } from 'i18next';
|
|
10
|
-
import { global_palette_green_500 as okColor } from '@patternfly/react-tokens';
|
|
11
|
-
import { CheckCircleIcon } from '@patternfly/react-icons';
|
|
10
|
+
import { global_palette_green_500 as okColor } from '@patternfly/react-tokens/dist/js/global_palette_green_500';
|
|
11
|
+
import { CheckCircleIcon } from '@patternfly/react-icons/dist/js/icons/check-circle-icon';
|
|
12
12
|
|
|
13
|
-
import {
|
|
13
|
+
import {
|
|
14
|
+
AgentMachineK8sResource,
|
|
15
|
+
HostedClusterK8sResource,
|
|
16
|
+
NodePoolK8sResource,
|
|
17
|
+
NodePoolPatches,
|
|
18
|
+
} from '../types';
|
|
14
19
|
import { AgentK8sResource, ConfigMapK8sResource } from '../../../types';
|
|
15
20
|
import { getNodepoolAgents, getNodePoolStatus, NodePoolStatus } from '../utils';
|
|
16
21
|
import { useTranslation } from '../../../../common/hooks/use-translation-wrapper';
|
|
@@ -67,11 +72,7 @@ type NodePoolsProgressProps = {
|
|
|
67
72
|
onRemoveNodePool: (nodePool: NodePoolK8sResource) => Promise<unknown>;
|
|
68
73
|
onUpdateNodePool: (
|
|
69
74
|
nodePool: NodePoolK8sResource,
|
|
70
|
-
nodePoolPatches:
|
|
71
|
-
op: string;
|
|
72
|
-
value: unknown;
|
|
73
|
-
path: string;
|
|
74
|
-
}[],
|
|
75
|
+
nodePoolPatches: NodePoolPatches,
|
|
75
76
|
) => Promise<unknown>;
|
|
76
77
|
onAddNodePool: (nodePool: NodePoolK8sResource) => Promise<unknown>;
|
|
77
78
|
supportedVersionsCM?: ConfigMapK8sResource;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { Link } from 'react-router-dom';
|
|
3
3
|
import { Button, Label, Popover, Stack, StackItem } from '@patternfly/react-core';
|
|
4
|
-
import { PlusCircleIcon } from '@patternfly/react-icons';
|
|
4
|
+
import { PlusCircleIcon } from '@patternfly/react-icons/dist/js/icons/plus-circle-icon';
|
|
5
5
|
import {
|
|
6
6
|
breakWord,
|
|
7
7
|
expandable,
|
|
@@ -22,7 +22,12 @@ import AgentStatus from '../../Agent/AgentStatus';
|
|
|
22
22
|
import { INFRAENV_AGENTINSTALL_LABEL_KEY } from '../../common';
|
|
23
23
|
import ManageHostsModal from '../modals/ManageHostsModal';
|
|
24
24
|
import AddNodePoolModal from '../modals/AddNodePoolModal';
|
|
25
|
-
import {
|
|
25
|
+
import {
|
|
26
|
+
AgentMachineK8sResource,
|
|
27
|
+
HostedClusterK8sResource,
|
|
28
|
+
NodePoolK8sResource,
|
|
29
|
+
NodePoolPatches,
|
|
30
|
+
} from '../types';
|
|
26
31
|
import RemoveNodePoolModal from '../modals/RemoveNodePoolModal';
|
|
27
32
|
import NodePoolStatus from './NodePoolStatus';
|
|
28
33
|
import { useTranslation } from '../../../../common/hooks/use-translation-wrapper';
|
|
@@ -37,11 +42,7 @@ type NodePoolsTableProps = {
|
|
|
37
42
|
onRemoveNodePool: (nodePool: NodePoolK8sResource) => Promise<unknown>;
|
|
38
43
|
onUpdateNodePool: (
|
|
39
44
|
nodePool: NodePoolK8sResource,
|
|
40
|
-
nodePoolPatches:
|
|
41
|
-
op: string;
|
|
42
|
-
value: unknown;
|
|
43
|
-
path: string;
|
|
44
|
-
}[],
|
|
45
|
+
nodePoolPatches: NodePoolPatches,
|
|
45
46
|
) => Promise<unknown>;
|
|
46
47
|
hostedCluster: HostedClusterK8sResource;
|
|
47
48
|
onAddNodePool: (nodePool: NodePoolK8sResource) => Promise<unknown>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { FieldArray, useFormikContext } from 'formik';
|
|
3
|
-
import { PlusCircleIcon } from '@patternfly/react-icons';
|
|
3
|
+
import { PlusCircleIcon } from '@patternfly/react-icons/dist/js/icons/plus-circle-icon';
|
|
4
4
|
import { Alert, Button, Form, FormGroup, Grid, GridItem } from '@patternfly/react-core';
|
|
5
5
|
|
|
6
6
|
import { useTranslation } from '../../../../../common/hooks/use-translation-wrapper';
|
|
@@ -35,7 +35,7 @@ const HostsForm: React.FC<HostsFormProps> = ({
|
|
|
35
35
|
];
|
|
36
36
|
|
|
37
37
|
const totalHosts = values.nodePools.reduce((acc, nodePool) => {
|
|
38
|
-
acc += nodePool.count;
|
|
38
|
+
acc += nodePool.useAutoscaling ? nodePool.autoscaling.maxReplicas : nodePool.count;
|
|
39
39
|
return acc;
|
|
40
40
|
}, 0);
|
|
41
41
|
|
|
@@ -122,11 +122,16 @@ const HostsForm: React.FC<HostsFormProps> = ({
|
|
|
122
122
|
onClick={() => {
|
|
123
123
|
const uniquePoolName = `nodepool-${clusterName}-${getRandomString(5)}`;
|
|
124
124
|
push({
|
|
125
|
-
|
|
125
|
+
nodePoolName: uniquePoolName,
|
|
126
126
|
count: 1,
|
|
127
127
|
agentLabels: [],
|
|
128
128
|
releaseImage: initReleaseImage,
|
|
129
129
|
clusterName,
|
|
130
|
+
useAutoscaling: false,
|
|
131
|
+
autoscaling: {
|
|
132
|
+
minReplicas: 1,
|
|
133
|
+
maxReplicas: 1,
|
|
134
|
+
},
|
|
130
135
|
} as NodePoolFormValue);
|
|
131
136
|
}}
|
|
132
137
|
>
|
|
@@ -18,14 +18,15 @@ const validationSchema = (clusterName: string, nodePools: NodePoolK8sResource[],
|
|
|
18
18
|
nodePools: Yup.array().of(
|
|
19
19
|
Yup.object<NodePoolFormValue>()
|
|
20
20
|
.shape({
|
|
21
|
-
|
|
21
|
+
nodePoolName: Yup.string()
|
|
22
22
|
.required(t('ai:Required field'))
|
|
23
23
|
.test(t('ai:Must be unique'), t('ai:Must be unique'), (value) => {
|
|
24
24
|
if (!value) {
|
|
25
25
|
return true;
|
|
26
26
|
}
|
|
27
27
|
return (
|
|
28
|
-
values.nodePools.filter(({
|
|
28
|
+
values.nodePools.filter(({ nodePoolName }) => nodePoolName === value).length ===
|
|
29
|
+
1 &&
|
|
29
30
|
!nodePools.some(
|
|
30
31
|
({ metadata }) =>
|
|
31
32
|
metadata?.name === value && metadata?.namespace === clusterName,
|
|
@@ -35,6 +36,10 @@ const validationSchema = (clusterName: string, nodePools: NodePoolK8sResource[],
|
|
|
35
36
|
clusterName: Yup.string().required(t('ai:Required field')),
|
|
36
37
|
count: Yup.number(),
|
|
37
38
|
releaseImage: Yup.string().required(t('ai:Required field')),
|
|
39
|
+
autoscaling: Yup.object().shape({
|
|
40
|
+
minReplicas: Yup.number().min(1, t('ai:Must be at least 1')),
|
|
41
|
+
maxReplicas: Yup.number().min(1, t('ai:Must be at least 1')),
|
|
42
|
+
}),
|
|
38
43
|
})
|
|
39
44
|
.required(t('ai:Required field')),
|
|
40
45
|
),
|
|
@@ -78,11 +83,16 @@ const HostsStep: React.FC<HostsStepProps> = ({
|
|
|
78
83
|
agentNamespace: initInfraEnv || infraEnvsWithAgents[0]?.metadata?.namespace || '',
|
|
79
84
|
nodePools: initNodePools || [
|
|
80
85
|
{
|
|
81
|
-
|
|
86
|
+
nodePoolName: `nodepool-${clusterName}-1`,
|
|
82
87
|
count: 1,
|
|
83
88
|
agentLabels: [],
|
|
84
89
|
releaseImage: initReleaseImage,
|
|
85
90
|
clusterName,
|
|
91
|
+
useAutoscaling: false,
|
|
92
|
+
autoscaling: {
|
|
93
|
+
minReplicas: 1,
|
|
94
|
+
maxReplicas: 1,
|
|
95
|
+
},
|
|
86
96
|
},
|
|
87
97
|
],
|
|
88
98
|
}}
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
StackItem,
|
|
14
14
|
} from '@patternfly/react-core';
|
|
15
15
|
import * as React from 'react';
|
|
16
|
-
import { TrashIcon } from '@patternfly/react-icons';
|
|
16
|
+
import { TrashIcon } from '@patternfly/react-icons/dist/js/icons/trash-icon';
|
|
17
17
|
import isMatch from 'lodash-es/isMatch.js';
|
|
18
18
|
import { PencilEditField } from '../../../../../common';
|
|
19
19
|
import { AgentK8sResource, InfraEnvK8sResource } from '../../../../types';
|
|
@@ -37,7 +37,13 @@ type NodePoolFormProps = {
|
|
|
37
37
|
const NodePoolForm: React.FC<NodePoolFormProps> = ({ infraEnvs, agents, index, onRemove }) => {
|
|
38
38
|
const { t } = useTranslation();
|
|
39
39
|
const { values } = useFormikContext<HostsFormValues>();
|
|
40
|
-
const { setValue } = useFormikHelpers(`nodePools[${index}].count`);
|
|
40
|
+
const { setValue: setCountValue } = useFormikHelpers(`nodePools[${index}].count`);
|
|
41
|
+
const { setValue: setMinAutoscalingValue } = useFormikHelpers(
|
|
42
|
+
`nodePools[${index}].autoscaling.minReplicas`,
|
|
43
|
+
);
|
|
44
|
+
const { setValue: setMaxAutoscalingValue } = useFormikHelpers(
|
|
45
|
+
`nodePools[${index}].autoscaling.maxReplicas`,
|
|
46
|
+
);
|
|
41
47
|
const [isExpanded, setExpanded] = React.useState(true);
|
|
42
48
|
const infraEnvAgents = React.useMemo(() => {
|
|
43
49
|
const infraEnv = infraEnvs.find((ie) => ie.metadata?.namespace === values.agentNamespace);
|
|
@@ -63,7 +69,9 @@ const NodePoolForm: React.FC<NodePoolFormProps> = ({ infraEnvs, agents, index, o
|
|
|
63
69
|
let previousNodePoolsCount = 0;
|
|
64
70
|
|
|
65
71
|
for (let i = 0; i < index; i++) {
|
|
66
|
-
previousNodePoolsCount += values.nodePools[i].
|
|
72
|
+
previousNodePoolsCount += values.nodePools[i].useAutoscaling
|
|
73
|
+
? values.nodePools[i].autoscaling.maxReplicas
|
|
74
|
+
: values.nodePools[i].count;
|
|
67
75
|
}
|
|
68
76
|
|
|
69
77
|
const maxAgents = Math.max(
|
|
@@ -71,12 +79,30 @@ const NodePoolForm: React.FC<NodePoolFormProps> = ({ infraEnvs, agents, index, o
|
|
|
71
79
|
Math.min(matchingAgents.length, availableAgents.length - previousNodePoolsCount),
|
|
72
80
|
);
|
|
73
81
|
|
|
74
|
-
const currentCount = values.nodePools[index].
|
|
82
|
+
const currentCount = values.nodePools[index].useAutoscaling
|
|
83
|
+
? values.nodePools[index].autoscaling.maxReplicas
|
|
84
|
+
: values.nodePools[index].count;
|
|
85
|
+
|
|
75
86
|
React.useEffect(() => {
|
|
76
87
|
if (currentCount > maxAgents) {
|
|
77
|
-
|
|
88
|
+
if (values.nodePools[index].useAutoscaling) {
|
|
89
|
+
if (maxAgents === 0) {
|
|
90
|
+
void setMinAutoscalingValue(maxAgents);
|
|
91
|
+
}
|
|
92
|
+
void setMaxAutoscalingValue(maxAgents);
|
|
93
|
+
} else {
|
|
94
|
+
void setCountValue(maxAgents);
|
|
95
|
+
}
|
|
78
96
|
}
|
|
79
|
-
}, [
|
|
97
|
+
}, [
|
|
98
|
+
maxAgents,
|
|
99
|
+
currentCount,
|
|
100
|
+
values.nodePools,
|
|
101
|
+
index,
|
|
102
|
+
setCountValue,
|
|
103
|
+
setMinAutoscalingValue,
|
|
104
|
+
setMaxAutoscalingValue,
|
|
105
|
+
]);
|
|
80
106
|
|
|
81
107
|
return (
|
|
82
108
|
<Stack hasGutter>
|
|
@@ -99,7 +125,7 @@ const NodePoolForm: React.FC<NodePoolFormProps> = ({ infraEnvs, agents, index, o
|
|
|
99
125
|
</SplitItem>
|
|
100
126
|
<SplitItem>
|
|
101
127
|
<PencilEditField
|
|
102
|
-
name={`nodePools.${index}.
|
|
128
|
+
name={`nodePools.${index}.nodePoolName`}
|
|
103
129
|
isRequired
|
|
104
130
|
showErrorMessage={false}
|
|
105
131
|
/>
|
|
@@ -109,7 +135,7 @@ const NodePoolForm: React.FC<NodePoolFormProps> = ({ infraEnvs, agents, index, o
|
|
|
109
135
|
{!isExpanded && (
|
|
110
136
|
<>
|
|
111
137
|
<FlexItem>
|
|
112
|
-
<Divider
|
|
138
|
+
<Divider />
|
|
113
139
|
</FlexItem>
|
|
114
140
|
<FlexItem>
|
|
115
141
|
<Label variant="outline">
|
|
@@ -135,6 +161,8 @@ const NodePoolForm: React.FC<NodePoolFormProps> = ({ infraEnvs, agents, index, o
|
|
|
135
161
|
agents={infraEnvAgents}
|
|
136
162
|
countName={`nodePools.${index}.count`}
|
|
137
163
|
labelName={`nodePools.${index}.agentLabels`}
|
|
164
|
+
autoscalingName={`nodePools.${index}.autoscaling`}
|
|
165
|
+
useAutoscalingName={`nodePools.${index}.useAutoscaling`}
|
|
138
166
|
maxAgents={maxAgents}
|
|
139
167
|
/>
|
|
140
168
|
</StackItem>
|
|
@@ -1,17 +1,11 @@
|
|
|
1
1
|
import { FormikProps } from 'formik';
|
|
2
2
|
import { AgentK8sResource, InfraEnvK8sResource } from '../../../../types';
|
|
3
|
-
import { NodePoolK8sResource } from '../../types';
|
|
3
|
+
import { NodePoolFormValues, NodePoolK8sResource } from '../../types';
|
|
4
4
|
|
|
5
5
|
export type NodePoolFormValue = {
|
|
6
|
-
name: string;
|
|
7
6
|
clusterName: string;
|
|
8
|
-
count: number;
|
|
9
|
-
agentLabels: {
|
|
10
|
-
key: string;
|
|
11
|
-
value: string;
|
|
12
|
-
}[];
|
|
13
7
|
releaseImage: string;
|
|
14
|
-
};
|
|
8
|
+
} & NodePoolFormValues;
|
|
15
9
|
|
|
16
10
|
export type HostsFormValues = {
|
|
17
11
|
controllerAvailabilityPolicy: string;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { Grid, GridItem } from '@patternfly/react-core';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { NumberInputField, PopoverIcon } from '../../../../common';
|
|
3
|
+
import { CheckboxField, NumberInputField, PopoverIcon } from '../../../../common';
|
|
4
4
|
import { useTranslation } from '../../../../common/hooks/use-translation-wrapper';
|
|
5
5
|
import { AgentK8sResource } from '../../../types';
|
|
6
6
|
import { LabelSelectorGroup } from '../../ClusterDeployment/LabelsSelector';
|
|
7
|
+
import { useField } from 'formik';
|
|
7
8
|
|
|
8
9
|
type NodePoolAgentsFormProps = {
|
|
9
10
|
agents: AgentK8sResource[];
|
|
@@ -11,16 +12,36 @@ type NodePoolAgentsFormProps = {
|
|
|
11
12
|
countName: string;
|
|
12
13
|
maxAgents: number;
|
|
13
14
|
isEdit?: boolean;
|
|
15
|
+
autoscalingName: string;
|
|
16
|
+
useAutoscalingName: string;
|
|
14
17
|
};
|
|
15
18
|
|
|
16
19
|
const NodePoolAgentsForm = ({
|
|
17
20
|
agents,
|
|
18
21
|
labelName,
|
|
19
22
|
countName,
|
|
23
|
+
autoscalingName,
|
|
20
24
|
maxAgents,
|
|
25
|
+
useAutoscalingName,
|
|
21
26
|
isEdit = false,
|
|
22
27
|
}: NodePoolAgentsFormProps) => {
|
|
23
28
|
const { t } = useTranslation();
|
|
29
|
+
|
|
30
|
+
const [{ value: minValue }] = useField<number>(`${autoscalingName}.minReplicas`);
|
|
31
|
+
const [{ value: maxValue }] = useField<number>(`${autoscalingName}.maxReplicas`);
|
|
32
|
+
const [{ value: useAutoscalingValue }] = useField<boolean>(useAutoscalingName);
|
|
33
|
+
|
|
34
|
+
const helperText = (
|
|
35
|
+
<>
|
|
36
|
+
{t('ai:Maximum availability {{maxAgents}}', { maxAgents })}{' '}
|
|
37
|
+
<PopoverIcon
|
|
38
|
+
bodyContent={t(
|
|
39
|
+
'ai:Maximum availability is based on the number of hosts available in a given namespace. The number changes dynamically depending on the filtering labels added above.',
|
|
40
|
+
)}
|
|
41
|
+
/>
|
|
42
|
+
</>
|
|
43
|
+
);
|
|
44
|
+
|
|
24
45
|
return (
|
|
25
46
|
<Grid hasGutter>
|
|
26
47
|
{!isEdit && (
|
|
@@ -29,25 +50,43 @@ const NodePoolAgentsForm = ({
|
|
|
29
50
|
</GridItem>
|
|
30
51
|
)}
|
|
31
52
|
<GridItem>
|
|
32
|
-
<
|
|
33
|
-
label={t('ai:Number of hosts')}
|
|
34
|
-
idPostfix="count"
|
|
35
|
-
name={countName}
|
|
36
|
-
isRequired
|
|
37
|
-
minValue={0}
|
|
38
|
-
maxValue={maxAgents}
|
|
39
|
-
helperText={
|
|
40
|
-
<>
|
|
41
|
-
{t('ai:Maximum availability {{maxAgents}}', { maxAgents })}{' '}
|
|
42
|
-
<PopoverIcon
|
|
43
|
-
bodyContent={t(
|
|
44
|
-
'ai:Maximum availability is based on the number of hosts available in a given namespace. The number changes dynamically depending on the filtering labels added above.',
|
|
45
|
-
)}
|
|
46
|
-
/>
|
|
47
|
-
</>
|
|
48
|
-
}
|
|
49
|
-
/>
|
|
53
|
+
<CheckboxField name={useAutoscalingName} label={t('ai:Use autoscaling')} />
|
|
50
54
|
</GridItem>
|
|
55
|
+
{useAutoscalingValue ? (
|
|
56
|
+
<>
|
|
57
|
+
<GridItem>
|
|
58
|
+
<NumberInputField
|
|
59
|
+
name={`${autoscalingName}.minReplicas`}
|
|
60
|
+
label={t('ai:Minimum number of hosts')}
|
|
61
|
+
isRequired
|
|
62
|
+
minValue={1}
|
|
63
|
+
maxValue={maxValue || maxAgents}
|
|
64
|
+
/>
|
|
65
|
+
</GridItem>
|
|
66
|
+
<GridItem>
|
|
67
|
+
<NumberInputField
|
|
68
|
+
name={`${autoscalingName}.maxReplicas`}
|
|
69
|
+
label={t('ai:Maximum number of hosts')}
|
|
70
|
+
isRequired
|
|
71
|
+
minValue={minValue || 1}
|
|
72
|
+
maxValue={maxAgents}
|
|
73
|
+
helperText={helperText}
|
|
74
|
+
/>
|
|
75
|
+
</GridItem>
|
|
76
|
+
</>
|
|
77
|
+
) : (
|
|
78
|
+
<GridItem>
|
|
79
|
+
<NumberInputField
|
|
80
|
+
label={t('ai:Number of hosts')}
|
|
81
|
+
idPostfix="count"
|
|
82
|
+
name={countName}
|
|
83
|
+
isRequired
|
|
84
|
+
minValue={0}
|
|
85
|
+
maxValue={maxAgents}
|
|
86
|
+
helperText={helperText}
|
|
87
|
+
/>
|
|
88
|
+
</GridItem>
|
|
89
|
+
)}
|
|
51
90
|
</Grid>
|
|
52
91
|
);
|
|
53
92
|
};
|
|
@@ -15,9 +15,9 @@ import { Formik } from 'formik';
|
|
|
15
15
|
import { useTranslation } from '../../../../common/hooks/use-translation-wrapper';
|
|
16
16
|
import { getErrorMessage } from '../../../../common/utils';
|
|
17
17
|
import { AgentK8sResource, ConfigMapK8sResource } from '../../../types';
|
|
18
|
-
import { HostedClusterK8sResource, NodePoolK8sResource } from '../types';
|
|
18
|
+
import { HostedClusterK8sResource, NodePoolFormValues, NodePoolK8sResource } from '../types';
|
|
19
19
|
import { formikLabelsToLabels } from '../utils';
|
|
20
|
-
import NodePoolForm
|
|
20
|
+
import NodePoolForm from './NodePoolForm';
|
|
21
21
|
|
|
22
22
|
type AddNodePoolModalProps = {
|
|
23
23
|
agentsNamespace: string;
|
|
@@ -91,6 +91,11 @@ const AddNodePoolModal = ({
|
|
|
91
91
|
)}`,
|
|
92
92
|
agentLabels: [],
|
|
93
93
|
count: 1,
|
|
94
|
+
useAutoscaling: false,
|
|
95
|
+
autoscaling: {
|
|
96
|
+
minReplicas: 1,
|
|
97
|
+
maxReplicas: 1,
|
|
98
|
+
},
|
|
94
99
|
}}
|
|
95
100
|
onSubmit={handleSubmit}
|
|
96
101
|
>
|