@openshift-assisted/ui-lib 2.9.14-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/AgentStatus.d.ts.map +1 -1
- package/build/@types/cim/components/Agent/AgentTable.d.ts.map +1 -1
- package/build/@types/cim/components/Agent/AgentsSelectionTable.d.ts.map +1 -1
- package/build/@types/cim/components/Agent/BMCForm.d.ts.map +1 -1
- package/build/@types/cim/components/Agent/tableUtils.d.ts +11 -6
- package/build/@types/cim/components/Agent/tableUtils.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentDetailsTable.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostDiscoveryTable.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsNetworkTable.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/InfraEnv/InfraEnvAgentTable.d.ts.map +1 -1
- package/build/@types/cim/components/InfraEnv/InfraEnvHostsTabAgentsWarning.d.ts.map +1 -1
- package/build/@types/cim/components/InfraEnv/InfraTableToolbar.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/agentStatus.d.ts +3 -2
- package/build/@types/cim/components/helpers/agentStatus.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/agents.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/clusterDeployment.d.ts +2 -2
- package/build/@types/cim/components/helpers/status.d.ts +5 -2
- package/build/@types/cim/components/helpers/status.d.ts.map +1 -1
- 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/cim/components/modals/MassApproveAgentModal.d.ts.map +1 -1
- package/build/@types/cim/components/modals/MassDeleteAgentModal.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/HostStatus.d.ts.map +1 -1
- package/build/@types/common/components/hosts/status.d.ts +2 -1
- package/build/@types/common/components/hosts/status.d.ts.map +1 -1
- package/build/@types/common/components/hosts/tableUtils.d.ts +1 -1
- package/build/@types/common/components/hosts/tableUtils.d.ts.map +1 -1
- package/build/@types/common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge.d.ts.map +1 -1
- package/build/@types/common/components/storage/StorageDetail.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/HostInventoryExpandable.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/HardwareStatus.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/HostsDiscoveryTable.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/NetworkingStatus.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/AgentStatus.js +4 -3
- package/build/cjs/cim/components/Agent/AgentStatus.js.map +1 -1
- package/build/cjs/cim/components/Agent/AgentTable.js +6 -3
- package/build/cjs/cim/components/Agent/AgentTable.js.map +1 -1
- package/build/cjs/cim/components/Agent/AgentsSelectionTable.js +4 -0
- package/build/cjs/cim/components/Agent/AgentsSelectionTable.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/Agent/tableUtils.js +35 -37
- package/build/cjs/cim/components/Agent/tableUtils.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 +6 -3
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetailsTable.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostDiscoveryTable.js +19 -2
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostDiscoveryTable.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsNetworkTable.js +20 -5
- 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 +14 -8
- 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/InfraEnvAgentTable.js +20 -7
- package/build/cjs/cim/components/InfraEnv/InfraEnvAgentTable.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 +8 -5
- package/build/cjs/cim/components/InfraEnv/InfraEnvHostsTabAgentsWarning.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/InfraTableToolbar.js +19 -12
- package/build/cjs/cim/components/InfraEnv/InfraTableToolbar.js.map +1 -1
- package/build/cjs/cim/components/helpers/agentStatus.js +22 -19
- package/build/cjs/cim/components/helpers/agentStatus.js.map +1 -1
- package/build/cjs/cim/components/helpers/agents.js +2 -2
- package/build/cjs/cim/components/helpers/agents.js.map +1 -1
- package/build/cjs/cim/components/helpers/status.js +40 -22
- package/build/cjs/cim/components/helpers/status.js.map +1 -1
- package/build/cjs/cim/components/helpers/toAssisted.js +10 -4
- 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/MassApproveAgentModal.js +8 -5
- package/build/cjs/cim/components/modals/MassApproveAgentModal.js.map +1 -1
- package/build/cjs/cim/components/modals/MassDeleteAgentModal.js +41 -34
- 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/ManagedNetworkingControlGroup.js +1 -1
- package/build/cjs/common/components/clusterWizard/networkingSteps/ManagedNetworkingControlGroup.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 +16 -16
- package/build/cjs/common/components/hosts/HostRowDetail.js.map +1 -1
- package/build/cjs/common/components/hosts/HostStatus.js +4 -3
- 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 +96 -83
- package/build/cjs/common/components/hosts/status.js.map +1 -1
- package/build/cjs/common/components/hosts/tableUtils.js +3 -3
- package/build/cjs/common/components/hosts/tableUtils.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 +11 -11
- package/build/cjs/common/components/storage/DisksTable.js.map +1 -1
- package/build/cjs/common/components/storage/StorageDetail.js +3 -1
- package/build/cjs/common/components/storage/StorageDetail.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/NetworkConfigurationTableBase.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationTableBase.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/HostInventoryExpandable.js +3 -1
- package/build/cjs/ocm/components/clusterDetail/HostInventoryExpandable.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/HardwareStatus.js +3 -1
- package/build/cjs/ocm/components/hosts/HardwareStatus.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/NetworkingStatus.js +3 -1
- package/build/cjs/ocm/components/hosts/NetworkingStatus.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/AgentStatus.tsx +4 -3
- package/lib/cim/components/Agent/AgentTable.tsx +5 -2
- package/lib/cim/components/Agent/AgentsSelectionTable.tsx +4 -0
- package/lib/cim/components/Agent/BMCForm.tsx +2 -1
- package/lib/cim/components/Agent/MinimalHWRequirements.tsx +1 -1
- package/lib/cim/components/Agent/tableUtils.tsx +70 -36
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentCreateProgress.tsx +1 -1
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentDetailsTable.tsx +5 -2
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentHostDiscoveryTable.tsx +21 -2
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentHostsNetworkTable.tsx +19 -4
- 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 +9 -7
- package/lib/cim/components/InfraEnv/EnvironmentDetails.tsx +3 -1
- package/lib/cim/components/InfraEnv/InfraEnvAgentTable.tsx +20 -7
- package/lib/cim/components/InfraEnv/InfraEnvFormPage.tsx +1 -1
- package/lib/cim/components/InfraEnv/InfraEnvHostsTabAgentsWarning.tsx +7 -4
- package/lib/cim/components/InfraEnv/InfraTableToolbar.tsx +22 -12
- package/lib/cim/components/helpers/agentStatus.tsx +20 -18
- package/lib/cim/components/helpers/agents.ts +3 -4
- package/lib/cim/components/helpers/status.ts +44 -24
- package/lib/cim/components/helpers/toAssisted.ts +11 -5
- 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/MassApproveAgentModal.tsx +13 -5
- package/lib/cim/components/modals/MassDeleteAgentModal.tsx +64 -57
- 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/ManagedNetworkingControlGroup.tsx +3 -3
- 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 +25 -26
- package/lib/common/components/hosts/HostStatus.tsx +4 -2
- 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 +241 -230
- package/lib/common/components/hosts/tableUtils.tsx +3 -3
- package/lib/common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge.tsx +2 -1
- package/lib/common/components/storage/DisksTable.tsx +9 -9
- package/lib/common/components/storage/StorageDetail.tsx +4 -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/NetworkConfigurationTableBase.tsx +1 -1
- 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/HostInventoryExpandable.tsx +3 -1
- 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/HardwareStatus.tsx +3 -1
- package/lib/ocm/components/hosts/HostsDiscoveryTable.tsx +0 -1
- package/lib/ocm/components/hosts/HostsTableEmptyState.tsx +1 -1
- package/lib/ocm/components/hosts/NetworkingStatus.tsx +3 -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
|
@@ -29,6 +29,7 @@ import {
|
|
|
29
29
|
HostsTableDetailContextProvider,
|
|
30
30
|
useHostsTableDetailContext,
|
|
31
31
|
} from '../../../common/components/hosts/HostsTableDetailContext';
|
|
32
|
+
import { agentStatus } from '../helpers/agentStatus';
|
|
32
33
|
|
|
33
34
|
export function ExpandComponent({ obj: host }: ExpandComponentProps<Host>) {
|
|
34
35
|
const { onDiskRole, canEditDisks } = useHostsTableDetailContext();
|
|
@@ -55,6 +56,7 @@ const AgentsSelectionTable: React.FC<AgentsSelectionTableProps> = ({
|
|
|
55
56
|
onSetInstallationDiskId,
|
|
56
57
|
}) => {
|
|
57
58
|
const { t } = useTranslation();
|
|
59
|
+
const agentStatuses = agentStatus(t);
|
|
58
60
|
const [{ value: selectedIDs }] =
|
|
59
61
|
useField<ClusterDeploymentHostsSelectionValues['selectedHostIds']>('selectedHostIds');
|
|
60
62
|
|
|
@@ -111,6 +113,7 @@ const AgentsSelectionTable: React.FC<AgentsSelectionTableProps> = ({
|
|
|
111
113
|
...(addAll ? [infraEnvColumn(matchingAgents, t)] : []),
|
|
112
114
|
agentStatusColumn({
|
|
113
115
|
agents: matchingAgents,
|
|
116
|
+
agentStatuses,
|
|
114
117
|
wizardStepId: 'hosts-selection',
|
|
115
118
|
t,
|
|
116
119
|
}),
|
|
@@ -123,6 +126,7 @@ const AgentsSelectionTable: React.FC<AgentsSelectionTableProps> = ({
|
|
|
123
126
|
actions.onEditRole,
|
|
124
127
|
addAll,
|
|
125
128
|
hosts,
|
|
129
|
+
agentStatuses,
|
|
126
130
|
actions.onEditHost,
|
|
127
131
|
actions.canEditHostname,
|
|
128
132
|
t,
|
|
@@ -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, {
|
|
@@ -16,17 +16,24 @@ import { AgentTableActions, ClusterDeploymentWizardStepsType } from '../ClusterD
|
|
|
16
16
|
import { hostActionResolver } from '../../../common/components/hosts/tableUtils';
|
|
17
17
|
import { getAgentClusterInstallOfAgent, getAIHosts, getInfraEnvNameOfAgent } from '../helpers';
|
|
18
18
|
import { isInstallationInProgress } from '../ClusterDeployment/helpers';
|
|
19
|
-
import { AGENT_BMH_NAME_LABEL_KEY } from '../common';
|
|
19
|
+
import { AGENT_BMH_NAME_LABEL_KEY, INFRAENV_GENERATED_AI_FLOW } from '../common';
|
|
20
20
|
import { BareMetalHostK8sResource } from '../../types/k8s/bare-metal-host';
|
|
21
21
|
import BMHStatus from './BMHStatus';
|
|
22
|
-
import {
|
|
22
|
+
import {
|
|
23
|
+
getAgentStatus,
|
|
24
|
+
getAgentStatusKey,
|
|
25
|
+
getBMHStatus,
|
|
26
|
+
getBMHStatusKey,
|
|
27
|
+
getWizardStepAgentStatus,
|
|
28
|
+
} from '../helpers/status';
|
|
23
29
|
import { filterByHostname } from '../../../common/components/hosts/utils';
|
|
24
|
-
import { agentStatus
|
|
30
|
+
import { agentStatus } from '../helpers/agentStatus';
|
|
25
31
|
import noop from 'lodash-es/noop.js';
|
|
26
32
|
import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
|
|
27
33
|
import { TFunction } from 'i18next';
|
|
28
34
|
import { AgentMachineK8sResource } from '../Hypershift/types';
|
|
29
35
|
import { Host } from '@openshift-assisted/types/assisted-installer-service';
|
|
36
|
+
import { HostStatus } from '../../../common/components/hosts/types';
|
|
30
37
|
|
|
31
38
|
export const agentHostnameColumn = (
|
|
32
39
|
t: TFunction,
|
|
@@ -117,7 +124,9 @@ export const discoveryTypeColumn = (
|
|
|
117
124
|
|
|
118
125
|
type AgentStatusColumnProps = {
|
|
119
126
|
agents: AgentK8sResource[];
|
|
127
|
+
agentStatuses: HostStatus<string>;
|
|
120
128
|
bareMetalHosts?: BareMetalHostK8sResource[];
|
|
129
|
+
bmhStatuses?: HostStatus<string>;
|
|
121
130
|
onEditHostname?: AgentTableActions['onEditHost'];
|
|
122
131
|
onApprove?: AgentTableActions['onApprove'];
|
|
123
132
|
wizardStepId?: ClusterDeploymentWizardStepsType;
|
|
@@ -127,7 +136,9 @@ type AgentStatusColumnProps = {
|
|
|
127
136
|
|
|
128
137
|
export const agentStatusColumn = ({
|
|
129
138
|
agents,
|
|
139
|
+
agentStatuses,
|
|
130
140
|
bareMetalHosts,
|
|
141
|
+
bmhStatuses,
|
|
131
142
|
onEditHostname,
|
|
132
143
|
onApprove,
|
|
133
144
|
wizardStepId,
|
|
@@ -158,8 +169,8 @@ export const agentStatusColumn = ({
|
|
|
158
169
|
isDay2={isDay2}
|
|
159
170
|
/>
|
|
160
171
|
);
|
|
161
|
-
} else if (bmh) {
|
|
162
|
-
bmhStatus = getBMHStatus(bmh);
|
|
172
|
+
} else if (bmh && bmhStatuses) {
|
|
173
|
+
bmhStatus = getBMHStatus(bmh, bmhStatuses);
|
|
163
174
|
title = <BMHStatus bmhStatus={bmhStatus} />;
|
|
164
175
|
}
|
|
165
176
|
|
|
@@ -169,7 +180,7 @@ export const agentStatusColumn = ({
|
|
|
169
180
|
sortableValue: agent
|
|
170
181
|
? wizardStepId
|
|
171
182
|
? getWizardStepAgentStatus(agent, wizardStepId, t).status.title
|
|
172
|
-
: getAgentStatus(agent).status.title
|
|
183
|
+
: getAgentStatus(agent, agentStatuses).status.title
|
|
173
184
|
: bmhStatus?.state.title || '',
|
|
174
185
|
};
|
|
175
186
|
},
|
|
@@ -254,11 +265,7 @@ export const infraEnvColumn = (agents: AgentK8sResource[], t: TFunction): TableR
|
|
|
254
265
|
};
|
|
255
266
|
|
|
256
267
|
export const canEditBMH = (bmh: BareMetalHostK8sResource, t: TFunction): ActionCheck => {
|
|
257
|
-
const canEdit = [
|
|
258
|
-
bmhStatus.deprovisioning.key,
|
|
259
|
-
bmhStatus.pending.key,
|
|
260
|
-
bmhStatus.registering.key,
|
|
261
|
-
].includes(getBMHStatus(bmh).state.key);
|
|
268
|
+
const canEdit = ['deprovisioning', 'pending', 'registering'].includes(getBMHStatusKey(bmh) || '');
|
|
262
269
|
|
|
263
270
|
return [
|
|
264
271
|
canEdit,
|
|
@@ -270,8 +277,12 @@ export const canEditBMH = (bmh: BareMetalHostK8sResource, t: TFunction): ActionC
|
|
|
270
277
|
];
|
|
271
278
|
};
|
|
272
279
|
|
|
273
|
-
export const canEditAgent = (
|
|
274
|
-
|
|
280
|
+
export const canEditAgent = (
|
|
281
|
+
agent: AgentK8sResource,
|
|
282
|
+
agentStatuses: HostStatus<string>,
|
|
283
|
+
t: TFunction,
|
|
284
|
+
): ActionCheck => {
|
|
285
|
+
const enabled = getAgentStatus(agent, agentStatuses).status.category !== 'Installation related';
|
|
275
286
|
return [
|
|
276
287
|
enabled,
|
|
277
288
|
enabled
|
|
@@ -283,13 +294,14 @@ export const canEditAgent = (agent: AgentK8sResource, t: TFunction): ActionCheck
|
|
|
283
294
|
export const canChangeHostname =
|
|
284
295
|
(
|
|
285
296
|
agents: AgentK8sResource[],
|
|
297
|
+
agentStatuses: HostStatus<string>,
|
|
286
298
|
bareMetalHosts: BareMetalHostK8sResource[],
|
|
287
299
|
t: TFunction,
|
|
288
300
|
): ((h: Host) => ActionCheck) =>
|
|
289
301
|
(h: Host) => {
|
|
290
302
|
const agent = agents.find((a) => a.metadata?.uid === h.id);
|
|
291
303
|
if (agent) {
|
|
292
|
-
return canEditAgent(agent, t);
|
|
304
|
+
return canEditAgent(agent, agentStatuses, t);
|
|
293
305
|
}
|
|
294
306
|
const bmh = bareMetalHosts.find((bmh) => bmh.metadata?.uid === h.id);
|
|
295
307
|
if (bmh) {
|
|
@@ -302,13 +314,12 @@ export const canUnbindAgent = (
|
|
|
302
314
|
agentClusterInstalls: AgentClusterInstallK8sResource[] | undefined,
|
|
303
315
|
agent: AgentK8sResource,
|
|
304
316
|
t: TFunction,
|
|
305
|
-
infraEnv?: InfraEnvK8sResource,
|
|
306
317
|
): ActionCheck => {
|
|
307
318
|
if (!agent?.spec.clusterDeploymentName?.name) {
|
|
308
319
|
return [false, t('ai:The agent is not bound to a cluster.')];
|
|
309
320
|
}
|
|
310
321
|
|
|
311
|
-
const
|
|
322
|
+
const statusKey = getAgentStatusKey(agent);
|
|
312
323
|
if (
|
|
313
324
|
[
|
|
314
325
|
'preparing-for-installation',
|
|
@@ -316,13 +327,13 @@ export const canUnbindAgent = (
|
|
|
316
327
|
'installing-in-progress',
|
|
317
328
|
'installing-pending-user-action',
|
|
318
329
|
'resetting-pending-user-action',
|
|
319
|
-
].includes(
|
|
330
|
+
].includes(statusKey)
|
|
320
331
|
) {
|
|
321
332
|
return [false, t('ai:It is not possible to remove a host which is being installed.')];
|
|
322
333
|
}
|
|
323
334
|
|
|
324
335
|
if (
|
|
325
|
-
['installed', 'error', 'cancelled'].includes(
|
|
336
|
+
['installed', 'error', 'cancelled'].includes(statusKey) &&
|
|
326
337
|
(agent.status?.role === 'master' || agent.status?.role === 'bootstrap')
|
|
327
338
|
) {
|
|
328
339
|
return [
|
|
@@ -346,7 +357,8 @@ export const canUnbindAgent = (
|
|
|
346
357
|
|
|
347
358
|
if (
|
|
348
359
|
!agent.metadata?.labels?.hasOwnProperty(AGENT_BMH_NAME_LABEL_KEY) &&
|
|
349
|
-
|
|
360
|
+
agent.metadata?.labels?.hasOwnProperty(INFRAENV_GENERATED_AI_FLOW) &&
|
|
361
|
+
!!agent.spec.clusterDeploymentName
|
|
350
362
|
) {
|
|
351
363
|
return [false, t('ai:It is not possible to remove this node from the cluster.')];
|
|
352
364
|
}
|
|
@@ -354,8 +366,12 @@ export const canUnbindAgent = (
|
|
|
354
366
|
return [true, undefined];
|
|
355
367
|
};
|
|
356
368
|
|
|
357
|
-
const canDeleteAgent = (
|
|
358
|
-
|
|
369
|
+
const canDeleteAgent = (
|
|
370
|
+
agent: AgentK8sResource,
|
|
371
|
+
agentStatuses: HostStatus<string>,
|
|
372
|
+
t: TFunction,
|
|
373
|
+
): ActionCheck => {
|
|
374
|
+
const enabled = getAgentStatus(agent, agentStatuses).status.category !== 'Installation related';
|
|
359
375
|
|
|
360
376
|
return [
|
|
361
377
|
enabled,
|
|
@@ -386,6 +402,7 @@ export const useAgentsTable = (
|
|
|
386
402
|
onSetInstallationDiskId,
|
|
387
403
|
} = tableActions || {};
|
|
388
404
|
const { t } = useTranslation();
|
|
405
|
+
const agentStatuses = agentStatus(t);
|
|
389
406
|
const [hosts, actions] = React.useMemo(
|
|
390
407
|
(): [Host[], HostsTableActions] => [
|
|
391
408
|
getAIHosts(agents, bmhs, infraEnv),
|
|
@@ -408,7 +425,7 @@ export const useAgentsTable = (
|
|
|
408
425
|
if (!agent) {
|
|
409
426
|
return false;
|
|
410
427
|
}
|
|
411
|
-
return canEditAgent(agent, t);
|
|
428
|
+
return canEditAgent(agent, agentStatuses, t);
|
|
412
429
|
},
|
|
413
430
|
onDeleteHost: onDeleteHost
|
|
414
431
|
? (host: Host) => {
|
|
@@ -422,7 +439,7 @@ export const useAgentsTable = (
|
|
|
422
439
|
const bmh = bmhs?.find((a) => a.metadata?.uid === host.id);
|
|
423
440
|
|
|
424
441
|
if (agent) {
|
|
425
|
-
return canDeleteAgent(agent, t);
|
|
442
|
+
return canDeleteAgent(agent, agentStatuses, t);
|
|
426
443
|
} else if (bmh) {
|
|
427
444
|
return [true, undefined];
|
|
428
445
|
}
|
|
@@ -476,7 +493,7 @@ export const useAgentsTable = (
|
|
|
476
493
|
const agent = agents.find((a) => a.metadata?.uid === host.id);
|
|
477
494
|
|
|
478
495
|
if (agent) {
|
|
479
|
-
return canUnbindAgent(agentClusterInstalls, agent, t
|
|
496
|
+
return canUnbindAgent(agentClusterInstalls, agent, t);
|
|
480
497
|
}
|
|
481
498
|
const bmh = bmhs?.find((bmh) => bmh.metadata?.uid === host.id);
|
|
482
499
|
if (bmh) {
|
|
@@ -488,6 +505,7 @@ export const useAgentsTable = (
|
|
|
488
505
|
],
|
|
489
506
|
[
|
|
490
507
|
agents,
|
|
508
|
+
t,
|
|
491
509
|
bmhs,
|
|
492
510
|
infraEnv,
|
|
493
511
|
onEditHost,
|
|
@@ -497,7 +515,7 @@ export const useAgentsTable = (
|
|
|
497
515
|
onSelect,
|
|
498
516
|
onEditBMH,
|
|
499
517
|
onUnbindHost,
|
|
500
|
-
|
|
518
|
+
agentStatuses,
|
|
501
519
|
agentClusterInstalls,
|
|
502
520
|
],
|
|
503
521
|
);
|
|
@@ -508,14 +526,15 @@ export const useAgentsTable = (
|
|
|
508
526
|
const filterByStatus = (
|
|
509
527
|
hosts: Host[],
|
|
510
528
|
agents: AgentK8sResource[],
|
|
529
|
+
agentStatuses: HostStatus<string>,
|
|
511
530
|
bareMetalHosts: BareMetalHostK8sResource[],
|
|
512
531
|
statusFilter: string[],
|
|
513
532
|
) => {
|
|
514
533
|
if (!statusFilter?.length) {
|
|
515
534
|
return hosts;
|
|
516
535
|
}
|
|
517
|
-
const statusKeys = Object.keys(
|
|
518
|
-
statusFilter.includes(
|
|
536
|
+
const statusKeys = Object.keys(agentStatuses).filter((k) =>
|
|
537
|
+
statusFilter.includes(agentStatuses[k].title),
|
|
519
538
|
);
|
|
520
539
|
return hosts.filter((h) => {
|
|
521
540
|
const agent = agents.find((a) => a.metadata?.uid === h.id);
|
|
@@ -524,10 +543,9 @@ const filterByStatus = (
|
|
|
524
543
|
if (!bmh) {
|
|
525
544
|
return false;
|
|
526
545
|
}
|
|
527
|
-
|
|
528
|
-
return statusKeys.includes(bmhStatus.state.key);
|
|
546
|
+
return statusKeys.includes(getBMHStatusKey(bmh) || '');
|
|
529
547
|
}
|
|
530
|
-
const { status } = getAgentStatus(agent);
|
|
548
|
+
const { status } = getAgentStatus(agent, agentStatuses);
|
|
531
549
|
return statusKeys.includes(status.key);
|
|
532
550
|
});
|
|
533
551
|
};
|
|
@@ -535,44 +553,60 @@ const filterByStatus = (
|
|
|
535
553
|
export const filterHosts = (
|
|
536
554
|
hosts: Host[],
|
|
537
555
|
agents: AgentK8sResource[],
|
|
556
|
+
agentStatuses: HostStatus<string>,
|
|
538
557
|
bareMetalHosts: BareMetalHostK8sResource[],
|
|
539
558
|
hostnameFilter: string | undefined,
|
|
540
559
|
statusFilter: string[],
|
|
541
560
|
) => {
|
|
542
561
|
const byHostname = filterByHostname(hosts, hostnameFilter);
|
|
543
|
-
const byStatus = filterByStatus(byHostname, agents, bareMetalHosts, statusFilter);
|
|
562
|
+
const byStatus = filterByStatus(byHostname, agents, agentStatuses, bareMetalHosts, statusFilter);
|
|
544
563
|
|
|
545
564
|
return byStatus;
|
|
546
565
|
};
|
|
547
566
|
|
|
548
567
|
type UseAgentsFilterArgs = {
|
|
549
568
|
agents: AgentK8sResource[];
|
|
569
|
+
agentStatuses: HostStatus<string>;
|
|
550
570
|
bmhs: BareMetalHostK8sResource[];
|
|
571
|
+
bmhStatuses: HostStatus<string>;
|
|
551
572
|
hosts: Host[];
|
|
552
573
|
};
|
|
553
574
|
|
|
554
575
|
export type StatusCount = Record<string, number>;
|
|
555
576
|
|
|
556
|
-
export const useAgentsFilter = ({
|
|
577
|
+
export const useAgentsFilter = ({
|
|
578
|
+
agents,
|
|
579
|
+
agentStatuses,
|
|
580
|
+
bmhs,
|
|
581
|
+
bmhStatuses,
|
|
582
|
+
hosts,
|
|
583
|
+
}: UseAgentsFilterArgs) => {
|
|
557
584
|
const [hostnameFilter, setHostnameFilter] = React.useState<string>();
|
|
558
585
|
const [statusFilter, setStatusFilter] = React.useState<string[]>([]);
|
|
559
586
|
const statusCount = Object.keys(agentStatus).reduce((acc, curr) => {
|
|
560
|
-
acc[
|
|
587
|
+
acc[agentStatuses[curr].title] = 0;
|
|
561
588
|
return acc;
|
|
562
589
|
}, {} as StatusCount);
|
|
563
590
|
hosts.forEach((host) => {
|
|
564
591
|
const agent = agents.find((a) => a.metadata?.uid === host.id);
|
|
565
592
|
const bmh = bmhs.find((bmh) => bmh.metadata?.uid === host.id);
|
|
566
593
|
if (agent) {
|
|
567
|
-
const { status } = getAgentStatus(agent);
|
|
594
|
+
const { status } = getAgentStatus(agent, agentStatuses);
|
|
568
595
|
statusCount[status.title]++;
|
|
569
596
|
} else if (bmh) {
|
|
570
|
-
const { state } = getBMHStatus(bmh);
|
|
597
|
+
const { state } = getBMHStatus(bmh, bmhStatuses);
|
|
571
598
|
statusCount[state.title]++;
|
|
572
599
|
}
|
|
573
600
|
});
|
|
574
601
|
|
|
575
|
-
const filteredHosts = filterHosts(
|
|
602
|
+
const filteredHosts = filterHosts(
|
|
603
|
+
hosts,
|
|
604
|
+
agents,
|
|
605
|
+
agentStatuses,
|
|
606
|
+
bmhs,
|
|
607
|
+
hostnameFilter,
|
|
608
|
+
statusFilter,
|
|
609
|
+
);
|
|
576
610
|
|
|
577
611
|
return {
|
|
578
612
|
statusCount,
|
|
@@ -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,
|
|
@@ -13,6 +13,7 @@ import {
|
|
|
13
13
|
import HostsTable, { DefaultExpandComponent } from '../../../common/components/hosts/HostsTable';
|
|
14
14
|
import { usePagination } from '../../../common/components/hosts/usePagination';
|
|
15
15
|
import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
|
|
16
|
+
import { agentStatus } from '../helpers/agentStatus';
|
|
16
17
|
|
|
17
18
|
export const getAgentId = (agent: AgentK8sResource) => agent.metadata?.uid as string;
|
|
18
19
|
|
|
@@ -39,12 +40,14 @@ const ClusterDeploymentDetailsTable: React.FC<ClusterDeploymentDetailsTableProps
|
|
|
39
40
|
const agentClusterInstalls = React.useMemo(() => [agentClusterInstall], [agentClusterInstall]);
|
|
40
41
|
const [hosts, , actionResolver] = useAgentsTable({ agents, agentClusterInstalls });
|
|
41
42
|
const { t } = useTranslation();
|
|
43
|
+
const agentStatuses = agentStatus(t);
|
|
42
44
|
const content = React.useMemo(
|
|
43
45
|
() => [
|
|
44
46
|
hostnameColumn(t),
|
|
45
47
|
roleColumn(t),
|
|
46
48
|
agentStatusColumn({
|
|
47
49
|
agents,
|
|
50
|
+
agentStatuses,
|
|
48
51
|
t,
|
|
49
52
|
}),
|
|
50
53
|
infraEnvColumn(agents, t),
|
|
@@ -52,7 +55,7 @@ const ClusterDeploymentDetailsTable: React.FC<ClusterDeploymentDetailsTableProps
|
|
|
52
55
|
memoryColumn(t),
|
|
53
56
|
disksColumn(t),
|
|
54
57
|
],
|
|
55
|
-
[agents, t],
|
|
58
|
+
[agentStatuses, agents, t],
|
|
56
59
|
);
|
|
57
60
|
|
|
58
61
|
const paginationProps = usePagination(agents.length);
|
|
@@ -34,6 +34,7 @@ import { usePagination } from '../../../common/components/hosts/usePagination';
|
|
|
34
34
|
import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
|
|
35
35
|
import { ExpandComponent } from '../Agent/AgentsSelectionTable';
|
|
36
36
|
import { HostsTableDetailContextProvider } from '../../../common/components/hosts/HostsTableDetailContext';
|
|
37
|
+
import { agentStatus, bmhStatus } from '../helpers/agentStatus';
|
|
37
38
|
|
|
38
39
|
const ClusterDeploymentHostDiscoveryTable: React.FC<ClusterDeploymentHostDiscoveryTableProps> = ({
|
|
39
40
|
agents,
|
|
@@ -53,7 +54,11 @@ const ClusterDeploymentHostDiscoveryTable: React.FC<ClusterDeploymentHostDiscove
|
|
|
53
54
|
const [isMassChangeHostOpen, setMassChangeHostOpen] = React.useState(false);
|
|
54
55
|
const [isMassApproveOpen, setMassApproveOpen] = React.useState(false);
|
|
55
56
|
const [selectedHostIDs, setSelectedHostIDs] = React.useState<string[]>([]);
|
|
57
|
+
|
|
56
58
|
const { t } = useTranslation();
|
|
59
|
+
const agentStatuses = agentStatus(t);
|
|
60
|
+
const bmhStatuses = bmhStatus(t);
|
|
61
|
+
|
|
57
62
|
const onSelect = (host: Host, isSelected: boolean) => {
|
|
58
63
|
if (isSelected) {
|
|
59
64
|
setSelectedHostIDs([...selectedHostIDs, host.id]);
|
|
@@ -79,7 +84,9 @@ const ClusterDeploymentHostDiscoveryTable: React.FC<ClusterDeploymentHostDiscove
|
|
|
79
84
|
...(addAll ? [discoveryTypeColumn(agents, bareMetalHosts, t)] : []),
|
|
80
85
|
agentStatusColumn({
|
|
81
86
|
agents,
|
|
87
|
+
agentStatuses,
|
|
82
88
|
bareMetalHosts,
|
|
89
|
+
bmhStatuses,
|
|
83
90
|
onEditHostname: onEditHost,
|
|
84
91
|
onApprove,
|
|
85
92
|
wizardStepId: 'hosts-discovery',
|
|
@@ -90,7 +97,19 @@ const ClusterDeploymentHostDiscoveryTable: React.FC<ClusterDeploymentHostDiscove
|
|
|
90
97
|
? [discoveredAtColumn(t), cpuCoresColumn(t), memoryColumn(t), disksColumn(t)]
|
|
91
98
|
: []),
|
|
92
99
|
],
|
|
93
|
-
[
|
|
100
|
+
[
|
|
101
|
+
t,
|
|
102
|
+
hostActions.onEditHost,
|
|
103
|
+
hostActions.canEditRole,
|
|
104
|
+
hostActions.onEditRole,
|
|
105
|
+
addAll,
|
|
106
|
+
agents,
|
|
107
|
+
bareMetalHosts,
|
|
108
|
+
agentStatuses,
|
|
109
|
+
bmhStatuses,
|
|
110
|
+
onEditHost,
|
|
111
|
+
onApprove,
|
|
112
|
+
],
|
|
94
113
|
);
|
|
95
114
|
|
|
96
115
|
const selectedAgents = agents.filter((a) => selectedHostIDs.includes(a.metadata?.uid || ''));
|
|
@@ -168,7 +187,7 @@ const ClusterDeploymentHostDiscoveryTable: React.FC<ClusterDeploymentHostDiscove
|
|
|
168
187
|
selectedHostIDs={selectedHostIDs}
|
|
169
188
|
onChangeHostname={onAgentChangeHostname}
|
|
170
189
|
onClose={() => setMassChangeHostOpen(false)}
|
|
171
|
-
canChangeHostname={canChangeHostname(agents, bareMetalHosts, t)}
|
|
190
|
+
canChangeHostname={canChangeHostname(agents, agentStatuses, bareMetalHosts, t)}
|
|
172
191
|
/>
|
|
173
192
|
)}
|
|
174
193
|
{isMassApproveOpen && (
|
|
@@ -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 {
|
|
@@ -20,6 +20,7 @@ import {
|
|
|
20
20
|
import { usePagination } from '../../../common/components/hosts/usePagination';
|
|
21
21
|
import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
|
|
22
22
|
import { Host } from '@openshift-assisted/types/assisted-installer-service';
|
|
23
|
+
import { agentStatus } from '../helpers/agentStatus';
|
|
23
24
|
|
|
24
25
|
type ExpandComponentContextType = {
|
|
25
26
|
onSetInstallationDiskId?: ClusterDeploymentHostsNetworkTableProps['onSetInstallationDiskId'];
|
|
@@ -79,6 +80,7 @@ const ClusterDeploymentHostsNetworkTable: React.FC<ClusterDeploymentHostsNetwork
|
|
|
79
80
|
onSetInstallationDiskId,
|
|
80
81
|
}) => {
|
|
81
82
|
const { t } = useTranslation();
|
|
83
|
+
const agentStatuses = agentStatus(t);
|
|
82
84
|
const cluster = React.useMemo(
|
|
83
85
|
() => getAICluster({ clusterDeployment, agentClusterInstall, agents }),
|
|
84
86
|
[clusterDeployment, agentClusterInstall, agents],
|
|
@@ -100,24 +102,37 @@ const ClusterDeploymentHostsNetworkTable: React.FC<ClusterDeploymentHostsNetwork
|
|
|
100
102
|
hostnameColumn(t, hostActions.onEditHost, hosts),
|
|
101
103
|
agentStatusColumn({
|
|
102
104
|
agents,
|
|
105
|
+
agentStatuses,
|
|
103
106
|
onEditHostname: onEditHost,
|
|
104
107
|
wizardStepId: 'networking',
|
|
105
108
|
t,
|
|
106
109
|
}),
|
|
107
|
-
activeNICColumn(cluster),
|
|
110
|
+
activeNICColumn(cluster, t),
|
|
108
111
|
]
|
|
109
112
|
: [
|
|
110
113
|
hostnameColumn(t, hostActions.onEditHost, hosts),
|
|
111
114
|
roleColumn(t, hostActions.canEditRole, hostActions.onEditRole),
|
|
112
115
|
agentStatusColumn({
|
|
113
116
|
agents,
|
|
117
|
+
agentStatuses,
|
|
114
118
|
onEditHostname: onEditHost,
|
|
115
119
|
wizardStepId: 'networking',
|
|
116
120
|
t,
|
|
117
121
|
}),
|
|
118
|
-
activeNICColumn(cluster),
|
|
122
|
+
activeNICColumn(cluster, t),
|
|
119
123
|
],
|
|
120
|
-
[
|
|
124
|
+
[
|
|
125
|
+
isSNOCluster,
|
|
126
|
+
t,
|
|
127
|
+
hostActions.onEditHost,
|
|
128
|
+
hostActions.canEditRole,
|
|
129
|
+
hostActions.onEditRole,
|
|
130
|
+
hosts,
|
|
131
|
+
agents,
|
|
132
|
+
agentStatuses,
|
|
133
|
+
onEditHost,
|
|
134
|
+
cluster,
|
|
135
|
+
],
|
|
121
136
|
);
|
|
122
137
|
|
|
123
138
|
const paginationProps = usePagination(hosts.length);
|
|
@@ -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;
|