@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
|
@@ -37,9 +37,7 @@ export type NetworkConfigurationValues = Pick<
|
|
|
37
37
|
| 'clusterNetworkHostPrefix'
|
|
38
38
|
| 'serviceNetworkCidr'
|
|
39
39
|
| 'apiVips'
|
|
40
|
-
| 'apiVip'
|
|
41
40
|
| 'ingressVips'
|
|
42
|
-
| 'ingressVip'
|
|
43
41
|
| 'sshPublicKey'
|
|
44
42
|
| 'vipDhcpAllocation'
|
|
45
43
|
| 'networkType'
|
|
@@ -50,6 +48,8 @@ export type NetworkConfigurationValues = Pick<
|
|
|
50
48
|
hostSubnet?: string;
|
|
51
49
|
managedNetworkingType: 'userManaged' | 'clusterManaged';
|
|
52
50
|
stackType?: 'singleStack' | 'dualStack';
|
|
51
|
+
apiVip?: string;
|
|
52
|
+
ingressVip?: string;
|
|
53
53
|
};
|
|
54
54
|
export type HostDiscoveryValues = V2ClusterUpdateParams & {
|
|
55
55
|
usePlatformIntegration: boolean;
|
|
@@ -65,9 +65,13 @@ export type OperatorsValues = V2ClusterUpdateParams & {
|
|
|
65
65
|
useMultiClusterEngine: boolean;
|
|
66
66
|
};
|
|
67
67
|
|
|
68
|
-
export type SupportedPlatformType = Extract<PlatformType, 'vsphere' | 'nutanix' | '
|
|
68
|
+
export type SupportedPlatformType = Extract<PlatformType, 'vsphere' | 'nutanix' | 'external'>;
|
|
69
69
|
|
|
70
|
-
export const SupportedPlatformIntegrations: SupportedPlatformType[] = [
|
|
70
|
+
export const SupportedPlatformIntegrations: SupportedPlatformType[] = [
|
|
71
|
+
'vsphere',
|
|
72
|
+
'nutanix',
|
|
73
|
+
'external',
|
|
74
|
+
];
|
|
71
75
|
export const NonPlatformIntegrations: PlatformType[] = ['baremetal', 'none'];
|
|
72
76
|
|
|
73
77
|
export type DiscoveryImageType = ImageType | 'discovery-image-ipxe';
|
package/lib/common/utils.ts
CHANGED
|
@@ -87,3 +87,21 @@ export const stringToJSON = <T>(jsonString: string | undefined): T | undefined =
|
|
|
87
87
|
|
|
88
88
|
return jsObject;
|
|
89
89
|
};
|
|
90
|
+
|
|
91
|
+
export const downloadFile = (fileUrl?: string, dataBlob?: Blob, fileName?: string) => {
|
|
92
|
+
const link = document.createElement('a');
|
|
93
|
+
if (fileUrl && fileUrl !== '') {
|
|
94
|
+
link.setAttribute('href', fileUrl);
|
|
95
|
+
}
|
|
96
|
+
if (dataBlob) {
|
|
97
|
+
const file = new Blob([dataBlob], { type: 'octet/stream' });
|
|
98
|
+
link.setAttribute('href', URL.createObjectURL(file));
|
|
99
|
+
}
|
|
100
|
+
if (fileName) {
|
|
101
|
+
link.setAttribute('download', fileName);
|
|
102
|
+
}
|
|
103
|
+
link.style.visibility = 'hidden';
|
|
104
|
+
document.body.appendChild(link);
|
|
105
|
+
link.click();
|
|
106
|
+
document.body.removeChild(link);
|
|
107
|
+
};
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
Toolbar,
|
|
13
13
|
ToolbarContent,
|
|
14
14
|
} from '@patternfly/react-core';
|
|
15
|
-
import { getApiErrorMessage, handleApiError } from '
|
|
15
|
+
import { getApiErrorMessage, handleApiError } from '../../../common/api';
|
|
16
16
|
import { DiscoveryImageModal } from '../clusterConfiguration/DiscoveryImageModal';
|
|
17
17
|
import { ModalDialogsContextProvider } from '../hosts/ModalDialogsContext';
|
|
18
18
|
import {
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from '../../../../common';
|
|
16
16
|
import { HostsNetworkConfigurationType, InfraEnvsService } from '../../../services';
|
|
17
17
|
import { useModalDialogsContext } from '../../hosts/ModalDialogsContext';
|
|
18
|
-
import { handleApiError } from '
|
|
18
|
+
import { handleApiError } from '../../../../common/api';
|
|
19
19
|
import { Day2ClusterDetailValues } from '../types';
|
|
20
20
|
import { useDay2WizardContext } from './Day2WizardContext';
|
|
21
21
|
import Day2WizardNav from './Day2WizardNav';
|
|
@@ -29,6 +29,7 @@ import {
|
|
|
29
29
|
InfraEnv,
|
|
30
30
|
InfraEnvCreateParams,
|
|
31
31
|
} from '@openshift-assisted/types/assisted-installer-service';
|
|
32
|
+
import { isOciPlatformType } from '../../utils';
|
|
32
33
|
|
|
33
34
|
const getDay2ClusterDetailInitialValues = async (
|
|
34
35
|
clusterId: Cluster['id'],
|
|
@@ -241,9 +242,7 @@ const Day2ClusterDetails = () => {
|
|
|
241
242
|
</GridItem>
|
|
242
243
|
)}
|
|
243
244
|
<GridItem>
|
|
244
|
-
<Day2HostStaticIpConfigurations
|
|
245
|
-
isDisabled={day2Cluster.platform?.type === 'oci'}
|
|
246
|
-
/>
|
|
245
|
+
<Day2HostStaticIpConfigurations isDisabled={isOciPlatformType(day2Cluster)} />
|
|
247
246
|
</GridItem>
|
|
248
247
|
</Grid>
|
|
249
248
|
</Form>
|
|
@@ -1,23 +1,21 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Provider } from 'react-redux';
|
|
3
3
|
import { AssistedUILibVersion } from '../ui';
|
|
4
|
-
import { AlertsContextProvider
|
|
4
|
+
import { AlertsContextProvider } from '../../../common';
|
|
5
5
|
import { HostsClusterDetailTabContent } from './HostsClusterDetailTabContent';
|
|
6
6
|
import { HostsClusterDetailTabProps } from './types';
|
|
7
7
|
import { storeDay1 } from '../../store';
|
|
8
8
|
import { useFeatureDetection } from '../../hooks/use-feature-detection';
|
|
9
9
|
|
|
10
10
|
const HostsClusterDetailTab = (props: HostsClusterDetailTabProps) => {
|
|
11
|
-
useFeatureDetection();
|
|
11
|
+
useFeatureDetection(props.allEnabledFeatures);
|
|
12
12
|
|
|
13
13
|
return (
|
|
14
14
|
<Provider store={storeDay1}>
|
|
15
15
|
<AssistedUILibVersion />
|
|
16
|
-
<
|
|
17
|
-
<
|
|
18
|
-
|
|
19
|
-
</AlertsContextProvider>
|
|
20
|
-
</FeatureGateContextProvider>
|
|
16
|
+
<AlertsContextProvider>
|
|
17
|
+
<HostsClusterDetailTabContent {...props} />
|
|
18
|
+
</AlertsContextProvider>
|
|
21
19
|
</Provider>
|
|
22
20
|
);
|
|
23
21
|
};
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import { usePullSecret } from '../../hooks';
|
|
11
11
|
import { Button, EmptyStateVariant } from '@patternfly/react-core';
|
|
12
12
|
import Day2ClusterService, { getApiVipDnsName } from '../../services/Day2ClusterService';
|
|
13
|
-
import { handleApiError } from '
|
|
13
|
+
import { handleApiError } from '../../../common/api';
|
|
14
14
|
import { isApiError } from '../../../common/api/utils';
|
|
15
15
|
import { AddHosts } from '../AddHosts';
|
|
16
16
|
import { HostsClusterDetailTabProps } from './types';
|
|
@@ -2,7 +2,6 @@ import React from 'react';
|
|
|
2
2
|
import { Provider } from 'react-redux';
|
|
3
3
|
import { Switch, Route, Redirect } from 'react-router-dom';
|
|
4
4
|
import { Clusters, ClusterPage, NewClusterPage } from './clusters';
|
|
5
|
-
import { FeatureGateContextProvider } from '../../common';
|
|
6
5
|
import type { FeatureListType } from '../../common/features/featureGate';
|
|
7
6
|
import { routeBasePath } from '../config';
|
|
8
7
|
import { AssistedUILibVersion } from './ui';
|
|
@@ -17,16 +16,14 @@ export const Routes: React.FC<{ allEnabledFeatures: FeatureListType }> = ({
|
|
|
17
16
|
|
|
18
17
|
return (
|
|
19
18
|
<Provider store={storeDay1}>
|
|
20
|
-
<
|
|
21
|
-
|
|
22
|
-
<
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
</Switch>
|
|
29
|
-
</FeatureGateContextProvider>
|
|
19
|
+
<AssistedUILibVersion />
|
|
20
|
+
<Switch>
|
|
21
|
+
<Route path={`${routeBasePath}/clusters/~new`} component={NewClusterPage} />
|
|
22
|
+
<Route path={`${routeBasePath}/clusters/:clusterId`} component={ClusterPage} />
|
|
23
|
+
<Route path={`${routeBasePath}/clusters`} component={Clusters} />
|
|
24
|
+
{children}
|
|
25
|
+
<Redirect to={`${routeBasePath}/clusters`} />
|
|
26
|
+
</Switch>
|
|
30
27
|
</Provider>
|
|
31
28
|
);
|
|
32
29
|
};
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
ErrorSeverity,
|
|
5
5
|
ExceptionReporter,
|
|
6
6
|
} from '../../common/components/ErrorHandling/ErrorMonitorContext';
|
|
7
|
-
import { handleApiError } from '
|
|
7
|
+
import { handleApiError } from '../../common/api';
|
|
8
8
|
import { isApiError } from '../../common/api/utils';
|
|
9
9
|
import { captureException } from '../sentry';
|
|
10
10
|
import * as Sentry from '@sentry/browser';
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
SplitItem,
|
|
9
9
|
Tooltip,
|
|
10
10
|
} from '@patternfly/react-core';
|
|
11
|
-
import { CaretDownIcon } from '@patternfly/react-icons';
|
|
11
|
+
import { CaretDownIcon } from '@patternfly/react-icons/dist/js/icons/caret-down-icon';
|
|
12
12
|
import { useField } from 'formik';
|
|
13
13
|
import {
|
|
14
14
|
CpuArchitecture,
|
|
@@ -60,12 +60,17 @@ export const architectureData: Record<SupportedCpuArchitecture, CpuArchitectureI
|
|
|
60
60
|
const INPUT_NAME = 'cpuArchitecture';
|
|
61
61
|
const fieldId = getFieldId(INPUT_NAME, 'input');
|
|
62
62
|
|
|
63
|
-
const
|
|
63
|
+
const isCurrentDefaultCpuArchitecture = (
|
|
64
64
|
cpuArchitectures: SupportedCpuArchitecture[],
|
|
65
65
|
cpuArchitecture: SupportedCpuArchitecture,
|
|
66
|
+
day1CpuArchitecture?: SupportedCpuArchitecture,
|
|
66
67
|
): boolean => {
|
|
67
68
|
const cpuArchFound = cpuArchitectures.find((cpuArch) => cpuArch === cpuArchitecture);
|
|
68
|
-
return
|
|
69
|
+
return (
|
|
70
|
+
cpuArchFound === undefined &&
|
|
71
|
+
cpuArchitecture !== getDefaultCpuArchitecture() &&
|
|
72
|
+
day1CpuArchitecture !== CpuArchitecture.ARM
|
|
73
|
+
);
|
|
69
74
|
};
|
|
70
75
|
|
|
71
76
|
type CpuArchitectureDropdownProps = {
|
|
@@ -163,14 +168,13 @@ const CpuArchitectureDropdown = ({
|
|
|
163
168
|
);
|
|
164
169
|
|
|
165
170
|
React.useEffect(() => {
|
|
166
|
-
const
|
|
171
|
+
const isCurrentDefaultCpuArchitectureSelected = isCurrentDefaultCpuArchitecture(
|
|
167
172
|
cpuArchitectures,
|
|
168
173
|
selectedCpuArchitecture,
|
|
174
|
+
day1CpuArchitecture,
|
|
169
175
|
);
|
|
170
|
-
if (
|
|
171
|
-
|
|
172
|
-
selectedCpuArchitecture !== getDefaultCpuArchitecture()
|
|
173
|
-
) {
|
|
176
|
+
if (isCurrentDefaultCpuArchitectureSelected) {
|
|
177
|
+
setValue(getDefaultCpuArchitecture());
|
|
174
178
|
setCurrentCpuArch(architectureData[getDefaultCpuArchitecture()].label);
|
|
175
179
|
setOpen(false);
|
|
176
180
|
}
|
|
@@ -178,7 +182,7 @@ const CpuArchitectureDropdown = ({
|
|
|
178
182
|
prevVersionRef.current = openshiftVersion;
|
|
179
183
|
}
|
|
180
184
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
181
|
-
}, [openshiftVersion, selectedCpuArchitecture]);
|
|
185
|
+
}, [cpuArchitectures, openshiftVersion, selectedCpuArchitecture]);
|
|
182
186
|
|
|
183
187
|
const toggle = React.useMemo(
|
|
184
188
|
() => (
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { useDispatch } from 'react-redux';
|
|
3
3
|
import Axios, { CancelTokenSource } from 'axios';
|
|
4
4
|
import { FormikHelpers } from 'formik';
|
|
5
|
-
import { getApiErrorMessage, handleApiError, isUnknownServerError } from '
|
|
5
|
+
import { getApiErrorMessage, handleApiError, isUnknownServerError } from '../../../common/api';
|
|
6
6
|
import { CpuArchitecture, ErrorState, LoadingState } from '../../../common';
|
|
7
7
|
import {
|
|
8
8
|
forceReload,
|
|
@@ -18,6 +18,7 @@ import {
|
|
|
18
18
|
import { mapClusterCpuArchToInfraEnvCpuArch } from '../../services/CpuArchitectureService';
|
|
19
19
|
import { usePullSecret } from '../../hooks';
|
|
20
20
|
import { Cluster } from '@openshift-assisted/types/assisted-installer-service';
|
|
21
|
+
import { isOciPlatformType } from '../utils';
|
|
21
22
|
|
|
22
23
|
type DiscoveryImageFormProps = {
|
|
23
24
|
cluster: Cluster;
|
|
@@ -114,7 +115,7 @@ const DiscoveryImageForm = ({
|
|
|
114
115
|
? mapClusterCpuArchToInfraEnvCpuArch(infraEnv.cpuArchitecture)
|
|
115
116
|
: mapClusterCpuArchToInfraEnvCpuArch(cpuArchitecture)
|
|
116
117
|
}
|
|
117
|
-
isOracleCloudInfrastructure={cluster
|
|
118
|
+
isOracleCloudInfrastructure={isOciPlatformType(cluster)}
|
|
118
119
|
/>
|
|
119
120
|
);
|
|
120
121
|
};
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
FormGroup,
|
|
7
7
|
DropdownSeparator,
|
|
8
8
|
} from '@patternfly/react-core';
|
|
9
|
-
import { CaretDownIcon } from '@patternfly/react-icons';
|
|
9
|
+
import { CaretDownIcon } from '@patternfly/react-icons/dist/js/icons/caret-down-icon';
|
|
10
10
|
import { useField } from 'formik';
|
|
11
11
|
import {
|
|
12
12
|
CpuArchitecture,
|
|
@@ -13,7 +13,6 @@ import { useFormikContext } from 'formik';
|
|
|
13
13
|
import {
|
|
14
14
|
HostDiscoveryValues,
|
|
15
15
|
PopoverIcon,
|
|
16
|
-
useFeature,
|
|
17
16
|
ClusterWizardStepHeader,
|
|
18
17
|
selectMastersMustRunWorkloads,
|
|
19
18
|
selectSchedulableMasters,
|
|
@@ -24,6 +23,7 @@ import InformationAndAlerts from './InformationAndAlerts';
|
|
|
24
23
|
import { OcmSwitchField } from '../ui/OcmFormFields';
|
|
25
24
|
import { selectCurrentClusterPermissionsState } from '../../store/slices/current-cluster/selectors';
|
|
26
25
|
import { Cluster } from '@openshift-assisted/types/assisted-installer-service';
|
|
26
|
+
import { useFeature } from '../../hooks/use-feature';
|
|
27
27
|
|
|
28
28
|
const schedulableMastersTooltip =
|
|
29
29
|
'Workloads must be run on control plane nodes when less than 5 hosts are discovered';
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { Dropdown, DropdownItem, DropdownToggle, FormGroup, Tooltip } from '@patternfly/react-core';
|
|
3
3
|
import { useField, useFormikContext } from 'formik';
|
|
4
4
|
import { ClusterDetailsValues, HelperText, getFieldId } from '../../../common';
|
|
5
|
-
import { CaretDownIcon } from '@patternfly/react-icons';
|
|
5
|
+
import { CaretDownIcon } from '@patternfly/react-icons/dist/js/icons/caret-down-icon';
|
|
6
6
|
import { OcmCheckboxField, OcmInputField } from '../ui/OcmFormFields';
|
|
7
7
|
import { ManagedDomain } from '@openshift-assisted/types/assisted-installer-service';
|
|
8
8
|
import { clusterExistsReason } from '../featureSupportLevels/featureStateUtils';
|
|
@@ -22,11 +22,11 @@ export const BaseDnsHelperText = ({
|
|
|
22
22
|
baseDnsDomain?: string;
|
|
23
23
|
}) => (
|
|
24
24
|
<HelperText fieldId={fieldId}>
|
|
25
|
-
Enter the name of your
|
|
26
|
-
|
|
27
|
-
The full cluster address will be: <br />
|
|
25
|
+
Enter the name of your domain [domainname] or [domainname.com]. This cannot be changed after
|
|
26
|
+
cluster installed. All DNS records must include the cluster name and be subdomains of the base
|
|
27
|
+
you enter. The full cluster address will be: <br />
|
|
28
28
|
<strong>
|
|
29
|
-
{name || '[Cluster Name]'}.{baseDnsDomain || '[
|
|
29
|
+
{name || '[Cluster Name]'}.{baseDnsDomain || '[domainname.com]'}
|
|
30
30
|
</strong>
|
|
31
31
|
</HelperText>
|
|
32
32
|
);
|
|
@@ -12,7 +12,6 @@ import {
|
|
|
12
12
|
uniqueOcmClusterNameValidationMessages,
|
|
13
13
|
CLUSTER_NAME_MAX_LENGTH,
|
|
14
14
|
StaticTextField,
|
|
15
|
-
useFeature,
|
|
16
15
|
getSupportedCpuArchitectures,
|
|
17
16
|
SupportedCpuArchitecture,
|
|
18
17
|
} from '../../../common';
|
|
@@ -36,6 +35,7 @@ import { useNewFeatureSupportLevel } from '../../../common/components/newFeature
|
|
|
36
35
|
import { ExternalPlatformLabels } from './platformIntegration/constants';
|
|
37
36
|
import { ManagedDomain, PlatformType } from '@openshift-assisted/types/assisted-installer-service';
|
|
38
37
|
import { useClusterWizardContext } from '../clusterWizard/ClusterWizardContext';
|
|
38
|
+
import { useFeature } from '../../hooks/use-feature';
|
|
39
39
|
|
|
40
40
|
export type OcmClusterDetailsFormFieldsProps = {
|
|
41
41
|
forceOpenshiftVersion?: string;
|
|
@@ -92,7 +92,7 @@ export const OcmClusterDetailsFormFields = ({
|
|
|
92
92
|
|
|
93
93
|
const handleExternalPartnerIntegrationsChange = React.useCallback(
|
|
94
94
|
(selectedPlatform: PlatformType) => {
|
|
95
|
-
const isOracleSelected = selectedPlatform === '
|
|
95
|
+
const isOracleSelected = selectedPlatform === 'external';
|
|
96
96
|
if (isOracleSelected) {
|
|
97
97
|
setFieldValue('addCustomManifest', isOracleSelected, false);
|
|
98
98
|
clusterWizardContext.setCustomManifestsStep(isOracleSelected);
|
|
@@ -178,14 +178,14 @@ export const OcmClusterDetailsFormFields = ({
|
|
|
178
178
|
/>
|
|
179
179
|
)}
|
|
180
180
|
|
|
181
|
-
<CustomManifestCheckbox clusterId={clusterId || ''} isDisabled={platform === '
|
|
181
|
+
<CustomManifestCheckbox clusterId={clusterId || ''} isDisabled={platform === 'external'} />
|
|
182
182
|
|
|
183
183
|
{
|
|
184
184
|
// Reason: In the single-cluster flow, the Host discovery phase is replaced by a single one-fits-all ISO download
|
|
185
185
|
!isSingleClusterFeatureEnabled && (
|
|
186
186
|
<HostsNetworkConfigurationControlGroup
|
|
187
187
|
clusterExists={clusterExists}
|
|
188
|
-
isDisabled={platform === '
|
|
188
|
+
isDisabled={platform === 'external'}
|
|
189
189
|
/>
|
|
190
190
|
)
|
|
191
191
|
}
|
|
@@ -158,7 +158,7 @@ export const OcmDiscoveryImageConfigForm = ({
|
|
|
158
158
|
/>
|
|
159
159
|
<UploadSSH
|
|
160
160
|
labelText={t(
|
|
161
|
-
'ai:Provide SSH
|
|
161
|
+
'ai:Provide an SSH key to be able to connect to the hosts for debugging purposes during the discovery process',
|
|
162
162
|
)}
|
|
163
163
|
/>
|
|
164
164
|
<ProxyFields />
|
|
@@ -1,18 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
} from '@patternfly/react-
|
|
7
|
-
import {
|
|
8
|
-
global_warning_color_100 as warningColor,
|
|
9
|
-
global_danger_color_100 as dangerColor,
|
|
10
|
-
} from '@patternfly/react-tokens';
|
|
2
|
+
import { ExclamationCircleIcon } from '@patternfly/react-icons/dist/js/icons/exclamation-circle-icon';
|
|
3
|
+
import { ExclamationTriangleIcon } from '@patternfly/react-icons/dist/js/icons/exclamation-triangle-icon';
|
|
4
|
+
import { ExternalLinkAltIcon } from '@patternfly/react-icons/dist/js/icons/external-link-alt-icon';
|
|
5
|
+
import { global_warning_color_100 as warningColor } from '@patternfly/react-tokens/dist/js/global_warning_color_100';
|
|
6
|
+
import { global_danger_color_100 as dangerColor } from '@patternfly/react-tokens/dist/js/global_danger_color_100';
|
|
11
7
|
import { TFunction } from 'i18next';
|
|
12
8
|
import { OpenShiftVersionDropdown } from '../../../common/components/ui/OpenShiftVersionDropdown';
|
|
13
9
|
import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
|
|
14
10
|
import { OPENSHIFT_LIFE_CYCLE_DATES_LINK, OpenshiftVersionOptionType } from '../../../common';
|
|
15
|
-
import { isInOcm } from '
|
|
11
|
+
import { isInOcm } from '../../../common/api';
|
|
16
12
|
|
|
17
13
|
const OpenShiftLifeCycleDatesLink = () => {
|
|
18
14
|
const { t } = useTranslation();
|
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Button, ButtonVariant, List, ListItem, Popover } from '@patternfly/react-core';
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from '@patternfly/react-
|
|
9
|
-
import {
|
|
10
|
-
global_danger_color_100 as dangerColor,
|
|
11
|
-
global_success_color_100 as okColor,
|
|
12
|
-
} from '@patternfly/react-tokens';
|
|
3
|
+
import { CheckCircleIcon } from '@patternfly/react-icons/dist/js/icons/check-circle-icon';
|
|
4
|
+
import { ExclamationCircleIcon } from '@patternfly/react-icons/dist/js/icons/exclamation-circle-icon';
|
|
5
|
+
import { InProgressIcon } from '@patternfly/react-icons/dist/js/icons/in-progress-icon';
|
|
6
|
+
import { PendingIcon } from '@patternfly/react-icons/dist/js/icons/pending-icon';
|
|
7
|
+
import { global_danger_color_100 as dangerColor } from '@patternfly/react-tokens/dist/js/global_danger_color_100';
|
|
8
|
+
import { global_success_color_100 as okColor } from '@patternfly/react-tokens/dist/js/global_success_color_100';
|
|
13
9
|
import { pluralize } from 'humanize-plus';
|
|
14
10
|
import { TFunction } from 'i18next';
|
|
15
11
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Flex, FlexItem, Label, StackItem } from '@patternfly/react-core';
|
|
2
|
-
import { InfoCircleIcon } from '@patternfly/react-icons';
|
|
2
|
+
import { InfoCircleIcon } from '@patternfly/react-icons/dist/js/icons/info-circle-icon';
|
|
3
3
|
import { useField } from 'formik';
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import { CustomManifestValues } from '../data/dataTypes';
|
package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifest.tsx
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Grid, Flex, FlexItem, ExpandableSectionToggle, Button } from '@patternfly/react-core';
|
|
3
|
-
import { MinusCircleIcon } from '@patternfly/react-icons';
|
|
3
|
+
import { MinusCircleIcon } from '@patternfly/react-icons/dist/js/icons/minus-circle-icon';
|
|
4
4
|
import { getFormikArrayItemFieldName } from '../../../../../common';
|
|
5
5
|
import { getManifestName } from './utils';
|
|
6
6
|
import CollapsedManifest from './CollapsedManifest';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { useSelector } from 'react-redux';
|
|
3
3
|
import { Button, ButtonVariant, Divider, Flex, FlexItem } 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 { FieldArrayRenderProps, useField } from 'formik';
|
|
6
6
|
import cloneDeep from 'lodash-es/cloneDeep.js';
|
|
7
7
|
import { LoadingState, useAlerts } from '../../../../../common';
|
|
8
8
|
import ConfirmationModal from '../../../../../common/components/ui/ConfirmationModal';
|
|
9
9
|
import { ClustersAPI } from '../../../../services/apis';
|
|
10
|
-
import { getApiErrorMessage, handleApiError } from '
|
|
10
|
+
import { getApiErrorMessage, handleApiError } from '../../../../../common/api';
|
|
11
11
|
import { CustomManifest } from './CustomManifest';
|
|
12
12
|
import { getEmptyManifest, getManifestName } from './utils';
|
|
13
13
|
import { CustomManifestValues } from '../data/dataTypes';
|
package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.tsx
CHANGED
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
HelperText,
|
|
7
7
|
FormGroup,
|
|
8
8
|
} from '@patternfly/react-core';
|
|
9
|
-
import { CaretDownIcon } from '@patternfly/react-icons';
|
|
9
|
+
import { CaretDownIcon } from '@patternfly/react-icons/dist/js/icons/caret-down-icon';
|
|
10
10
|
import { useField } from 'formik';
|
|
11
11
|
import { getFieldId } from '../../../../../common/components/ui/formik';
|
|
12
12
|
import { PopoverIcon } from '../../../../../common';
|
|
@@ -16,7 +16,12 @@ const FolderLabel = () => {
|
|
|
16
16
|
<>
|
|
17
17
|
Folder{' '}
|
|
18
18
|
<PopoverIcon
|
|
19
|
-
bodyContent={
|
|
19
|
+
bodyContent={
|
|
20
|
+
<>
|
|
21
|
+
To overwrite an existing manifest, save the new manifest in the same folder with the
|
|
22
|
+
same name.
|
|
23
|
+
</>
|
|
24
|
+
}
|
|
20
25
|
/>
|
|
21
26
|
</>
|
|
22
27
|
);
|
package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.tsx
CHANGED
|
@@ -37,6 +37,7 @@ import {
|
|
|
37
37
|
PlatformType,
|
|
38
38
|
} from '@openshift-assisted/types/assisted-installer-service';
|
|
39
39
|
import useSupportLevelsAPI from '../../../hooks/useSupportLevelsAPI';
|
|
40
|
+
import { isOciPlatformType } from '../../utils';
|
|
40
41
|
|
|
41
42
|
export type NetworkConfigurationProps = VirtualIPControlGroupProps & {
|
|
42
43
|
hostSubnets: HostSubnets;
|
|
@@ -227,14 +228,18 @@ const NetworkConfiguration = ({
|
|
|
227
228
|
() =>
|
|
228
229
|
getManagedNetworkingState(
|
|
229
230
|
isDualStack,
|
|
230
|
-
cluster
|
|
231
|
+
isOciPlatformType(cluster),
|
|
231
232
|
featureSupportLevelContext,
|
|
232
233
|
cluster.platform?.type,
|
|
233
234
|
featureSupportLevelData,
|
|
234
235
|
),
|
|
235
|
-
[isDualStack, cluster
|
|
236
|
+
[isDualStack, cluster, featureSupportLevelContext, featureSupportLevelData],
|
|
236
237
|
);
|
|
237
238
|
|
|
239
|
+
const isSDNSupported = React.useMemo(() => {
|
|
240
|
+
return featureSupportLevelContext.isFeatureSupported('SDN_NETWORK_TYPE');
|
|
241
|
+
}, [featureSupportLevelContext]);
|
|
242
|
+
|
|
238
243
|
return (
|
|
239
244
|
<Grid hasGutter>
|
|
240
245
|
<ManagedNetworkingControlGroup
|
|
@@ -257,7 +262,9 @@ const NetworkConfiguration = ({
|
|
|
257
262
|
hostSubnets={hostSubnets}
|
|
258
263
|
/>
|
|
259
264
|
)}
|
|
260
|
-
|
|
265
|
+
{isSDNSupported && (
|
|
266
|
+
<NetworkTypeControlGroup isDisabled={isViewerMode} isSDNSelectable={isSDNSelectable} />
|
|
267
|
+
)}
|
|
261
268
|
|
|
262
269
|
{!(isUserManagedNetworking && !isSNOCluster) && (
|
|
263
270
|
<AvailableSubnetsControl
|
package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.tsx
CHANGED
|
@@ -14,8 +14,6 @@ import {
|
|
|
14
14
|
LoadingState,
|
|
15
15
|
NetworkConfigurationValues,
|
|
16
16
|
SecurityFields,
|
|
17
|
-
selectApiVip,
|
|
18
|
-
selectIngressVip,
|
|
19
17
|
useAlerts,
|
|
20
18
|
useFormikAutoSave,
|
|
21
19
|
} from '../../../../common';
|
|
@@ -38,7 +36,7 @@ import {
|
|
|
38
36
|
setServerUpdateError,
|
|
39
37
|
updateClusterBase,
|
|
40
38
|
} from '../../../store/slices/current-cluster/slice';
|
|
41
|
-
import { isUnknownServerError, getApiErrorMessage, handleApiError } from '
|
|
39
|
+
import { isUnknownServerError, getApiErrorMessage, handleApiError } from '../../../../common/api';
|
|
42
40
|
import { usePullSecret } from '../../../hooks';
|
|
43
41
|
import {
|
|
44
42
|
Cluster,
|
|
@@ -201,9 +199,7 @@ const NetworkConfigurationPage = ({ cluster }: { cluster: Cluster }) => {
|
|
|
201
199
|
|
|
202
200
|
const params: V2ClusterUpdateParams = {
|
|
203
201
|
apiVips: values.apiVips,
|
|
204
|
-
apiVip: selectApiVip(values),
|
|
205
202
|
ingressVips: values.ingressVips,
|
|
206
|
-
ingressVip: selectIngressVip(values),
|
|
207
203
|
sshPublicKey: values.sshPublicKey,
|
|
208
204
|
vipDhcpAllocation: values.vipDhcpAllocation,
|
|
209
205
|
networkType: values.networkType,
|
|
@@ -215,9 +211,7 @@ const NetworkConfigurationPage = ({ cluster }: { cluster: Cluster }) => {
|
|
|
215
211
|
|
|
216
212
|
if (params.userManagedNetworking) {
|
|
217
213
|
params.apiVips = [];
|
|
218
|
-
params.apiVip = '';
|
|
219
214
|
params.ingressVips = [];
|
|
220
|
-
params.ingressVip = '';
|
|
221
215
|
if (isMultiNodeCluster) {
|
|
222
216
|
delete params.machineNetworks;
|
|
223
217
|
}
|
|
@@ -225,9 +219,7 @@ const NetworkConfigurationPage = ({ cluster }: { cluster: Cluster }) => {
|
|
|
225
219
|
// cluster-managed can't be chosen in SNO, so this must be a multi-node cluster
|
|
226
220
|
if (values.vipDhcpAllocation) {
|
|
227
221
|
delete params.apiVips;
|
|
228
|
-
delete params.apiVip;
|
|
229
222
|
delete params.ingressVips;
|
|
230
|
-
delete params.ingressVip;
|
|
231
223
|
} else if (values.stackType === IPV4_STACK) {
|
|
232
224
|
// The API will rebuild the default machineNetwork
|
|
233
225
|
params.machineNetworks = [];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { DropdownItem, DropdownToggle, Dropdown } from '@patternfly/react-core';
|
|
3
|
-
import { CaretDownIcon } from '@patternfly/react-icons';
|
|
3
|
+
import { CaretDownIcon } from '@patternfly/react-icons/dist/js/icons/caret-down-icon';
|
|
4
4
|
import { useField } from 'formik';
|
|
5
5
|
import { getFieldId, HostSubnet, NO_SUBNET_SET } from '../../../../common';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { useState } from 'react';
|
|
2
2
|
import { FormGroup, Tooltip } from '@patternfly/react-core';
|
|
3
|
-
import { ExternalLinkAltIcon } from '@patternfly/react-icons';
|
|
3
|
+
import { ExternalLinkAltIcon } from '@patternfly/react-icons/dist/js/icons/external-link-alt-icon';
|
|
4
4
|
import { useFormikContext } from 'formik';
|
|
5
5
|
import {
|
|
6
6
|
ClusterOperatorProps,
|
|
@@ -16,7 +16,10 @@ import {
|
|
|
16
16
|
import LvmHostRequirements from './LvmHostRequirements';
|
|
17
17
|
import { OcmCheckboxField } from '../../ui/OcmFormFields';
|
|
18
18
|
import { useTranslation } from '../../../../common/hooks/use-translation-wrapper';
|
|
19
|
-
import {
|
|
19
|
+
import {
|
|
20
|
+
getLvmIncompatibleWithCnvReason,
|
|
21
|
+
getLvmsIncompatibleWithOdfReason,
|
|
22
|
+
} from '../../featureSupportLevels/featureStateUtils';
|
|
20
23
|
import { useNewFeatureSupportLevel } from '../../../../common/components/newFeatureSupportLevels';
|
|
21
24
|
import NewFeatureSupportLevelBadge from '../../../../common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge';
|
|
22
25
|
import { SupportLevel } from '@openshift-assisted/types/assisted-installer-service';
|
|
@@ -79,6 +82,9 @@ const LvmCheckbox = ({ clusterId }: ClusterOperatorProps) => {
|
|
|
79
82
|
let reason = featureSupportLevel.getFeatureDisabledReason('LVM');
|
|
80
83
|
if (!reason) {
|
|
81
84
|
reason = getLvmIncompatibleWithCnvReason(values, operatorInfo.lvmSupport);
|
|
85
|
+
if (!reason) {
|
|
86
|
+
reason = getLvmsIncompatibleWithOdfReason(values);
|
|
87
|
+
}
|
|
82
88
|
}
|
|
83
89
|
setDisabledReason(reason);
|
|
84
90
|
}, [values, featureSupportLevel, operatorInfo.lvmSupport]);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FormGroup, Tooltip } from '@patternfly/react-core';
|
|
3
|
-
import { ExternalLinkAltIcon } from '@patternfly/react-icons';
|
|
3
|
+
import { ExternalLinkAltIcon } from '@patternfly/react-icons/dist/js/icons/external-link-alt-icon';
|
|
4
4
|
import { getFieldId, PopoverIcon, MCE_LINK } from '../../../../common';
|
|
5
5
|
import { OcmCheckboxField } from '../../ui/OcmFormFields';
|
|
6
6
|
import { useNewFeatureSupportLevel } from '../../../../common/components/newFeatureSupportLevels';
|