@openshift-assisted/ui-lib 2.15.3-cim → 2.16.1-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/tableUtils.d.ts +1 -1
- package/build/@types/cim/components/Agent/tableUtils.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizard.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/{ACMClusterDeploymentDetailsStep.d.ts → clusterDetails/ACMClusterDeploymentDetailsStep.d.ts} +5 -5
- package/build/@types/cim/components/ClusterDeployment/clusterDetails/ACMClusterDeploymentDetailsStep.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentDetailsForm.d.ts → clusterDetails/ClusterDeploymentDetailsForm.d.ts} +4 -4
- package/build/@types/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsForm.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentDetailsStep.d.ts → clusterDetails/ClusterDeploymentDetailsStep.d.ts} +5 -5
- package/build/@types/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsStep.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/{ClusterDetailsFormFields.d.ts → clusterDetails/ClusterDetailsFormFields.d.ts} +1 -1
- package/build/@types/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/clusterDetails/index.d.ts +5 -0
- package/build/@types/cim/components/ClusterDeployment/clusterDetails/index.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/components/AdditionalNTPSourcesDialogToggle.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/components/index.d.ts +2 -0
- package/build/@types/cim/components/ClusterDeployment/components/index.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/constants.d.ts +1 -0
- package/build/@types/cim/components/ClusterDeployment/constants.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.d.ts +6 -0
- package/build/@types/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/customManifests/ConfigMapDetail.d.ts +10 -0
- package/build/@types/cim/components/ClusterDeployment/customManifests/ConfigMapDetail.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/customManifests/ConfigMapForm.d.ts +12 -0
- package/build/@types/cim/components/ClusterDeployment/customManifests/ConfigMapForm.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/customManifests/index.d.ts +2 -0
- package/build/@types/cim/components/ClusterDeployment/customManifests/index.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentHostDiscoveryTable.d.ts → hostDiscovery/ClusterDeploymentHostDiscoveryTable.d.ts} +1 -1
- package/build/@types/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostDiscoveryTable.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentHostsDiscovery.d.ts → hostDiscovery/ClusterDeploymentHostsDiscovery.d.ts} +1 -1
- package/build/@types/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscovery.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscoveryStep.d.ts +4 -0
- package/build/@types/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscoveryStep.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/hostDiscovery/index.d.ts +2 -0
- package/build/@types/cim/components/ClusterDeployment/hostDiscovery/index.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentHostSelectionStep.d.ts → hostSelection/ClusterDeploymentHostSelectionStep.d.ts} +4 -4
- package/build/@types/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelection.d.ts → hostSelection/ClusterDeploymentHostsSelection.d.ts} +1 -1
- package/build/@types/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelection.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelectionAdvanced.d.ts → hostSelection/ClusterDeploymentHostsSelectionAdvanced.d.ts} +6 -6
- package/build/@types/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelectionAdvanced.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelectionBasic.d.ts → hostSelection/ClusterDeploymentHostsSelectionBasic.d.ts} +1 -1
- package/build/@types/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelectionBasic.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/hostSelection/index.d.ts +3 -0
- package/build/@types/cim/components/ClusterDeployment/hostSelection/index.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/index.d.ts +2 -2
- package/build/@types/cim/components/ClusterDeployment/index.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentHostsNetworkTable.d.ts → networking/ClusterDeploymentHostsNetworkTable.d.ts} +2 -2
- package/build/@types/cim/components/ClusterDeployment/networking/ClusterDeploymentHostsNetworkTable.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentNetworkingForm.d.ts → networking/ClusterDeploymentNetworkingForm.d.ts} +2 -4
- package/build/@types/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingForm.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentNetworkingStep.d.ts → networking/ClusterDeploymentNetworkingStep.d.ts} +4 -4
- package/build/@types/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingStep.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/networking/index.d.ts +2 -0
- package/build/@types/cim/components/ClusterDeployment/networking/index.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentReviewStep.d.ts → review/ClusterDeploymentReviewStep.d.ts} +3 -3
- package/build/@types/cim/components/ClusterDeployment/review/ClusterDeploymentReviewStep.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/review/ReviewConfigMapsTable.d.ts +6 -0
- package/build/@types/cim/components/ClusterDeployment/review/ReviewConfigMapsTable.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/review/index.d.ts +2 -0
- package/build/@types/cim/components/ClusterDeployment/review/index.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/types.d.ts +1 -1
- package/build/@types/cim/components/ClusterDeployment/types.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/wizardTransition.d.ts +2 -2
- package/build/@types/cim/components/ClusterDeployment/wizardTransition.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/HostedClusterWizard/DetailsStep/types.d.ts +1 -1
- package/build/@types/cim/components/Hypershift/HostedClusterWizard/DetailsStep/types.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/forms/NodePoolAgentsForm.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/toAssisted.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/versions.d.ts.map +1 -1
- package/build/@types/cim/hooks/index.d.ts +2 -0
- package/build/@types/cim/hooks/index.d.ts.map +1 -0
- package/build/@types/cim/hooks/types.d.ts +4 -0
- package/build/@types/cim/hooks/types.d.ts.map +1 -0
- package/build/@types/cim/hooks/useConfigMaps.d.ts +4 -0
- package/build/@types/cim/hooks/useConfigMaps.d.ts.map +1 -0
- package/build/@types/cim/hooks/useK8sWatchResource.d.ts +8 -0
- package/build/@types/cim/hooks/useK8sWatchResource.d.ts.map +1 -0
- package/build/@types/cim/types/index.d.ts +1 -0
- package/build/@types/cim/types/index.d.ts.map +1 -1
- package/build/@types/cim/types/k8s/agent-cluster-install.d.ts +4 -0
- package/build/@types/cim/types/k8s/agent-cluster-install.d.ts.map +1 -1
- package/build/@types/cim/types/models.d.ts +3 -0
- package/build/@types/cim/types/models.d.ts.map +1 -0
- package/build/@types/cim/utils.d.ts +2 -0
- package/build/@types/cim/utils.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts +2 -1
- package/build/@types/common/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionControlGroup.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionValues.d.ts +1 -0
- package/build/@types/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionValues.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/ExternalPlatformsDropdown.d.ts +14 -0
- package/build/@types/common/components/clusterConfiguration/ExternalPlatformsDropdown.d.ts.map +1 -0
- package/build/@types/common/components/clusterConfiguration/OcmTNADisclaimer.d.ts +4 -0
- package/build/@types/common/components/clusterConfiguration/OcmTNADisclaimer.d.ts.map +1 -0
- package/build/@types/common/components/clusterConfiguration/index.d.ts +1 -2
- package/build/@types/common/components/clusterConfiguration/index.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/clusterDetailsValidation.d.ts +1 -4
- package/build/@types/common/components/clusterWizard/clusterDetailsValidation.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/types.d.ts +2 -4
- package/build/@types/common/components/clusterWizard/types.d.ts.map +1 -1
- package/build/@types/common/components/hosts/DiskRole.d.ts.map +1 -1
- package/build/@types/common/components/hosts/TableToolbar.d.ts.map +1 -1
- package/build/@types/common/components/hosts/types.d.ts +1 -1
- package/build/@types/common/components/hosts/types.d.ts.map +1 -1
- package/build/@types/common/components/hosts/utils.d.ts +1 -1
- package/build/@types/common/components/hosts/utils.d.ts.map +1 -1
- package/build/@types/common/components/newFeatureSupportLevels/types.d.ts +1 -1
- package/build/@types/common/components/newFeatureSupportLevels/types.d.ts.map +1 -1
- package/build/@types/common/components/operators/operatorDescriptions.d.ts +27 -0
- package/build/@types/common/components/operators/operatorDescriptions.d.ts.map +1 -0
- package/build/@types/common/components/operators/operatorSpecs.d.ts +34 -4
- package/build/@types/common/components/operators/operatorSpecs.d.ts.map +1 -1
- package/build/@types/common/components/ui/ClusterEventsToolbar.d.ts.map +1 -1
- package/build/@types/common/components/ui/OpenShiftSelectWithSearch.d.ts +1 -2
- package/build/@types/common/components/ui/OpenShiftSelectWithSearch.d.ts.map +1 -1
- package/build/@types/common/components/ui/OpenShiftVersionDropdown.d.ts +3 -3
- package/build/@types/common/components/ui/OpenShiftVersionDropdown.d.ts.map +1 -1
- package/build/@types/common/components/ui/OpenShiftVersionModal.d.ts.map +1 -1
- package/build/@types/common/components/ui/SimpleDropdown.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/SelectFieldWithSearch.d.ts +16 -0
- package/build/@types/common/components/ui/formik/SelectFieldWithSearch.d.ts.map +1 -0
- package/build/@types/common/components/ui/formik/TextAreaField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/index.d.ts +1 -1
- package/build/@types/common/components/ui/formik/index.d.ts.map +1 -1
- package/build/@types/common/config/constants.d.ts +19 -2
- package/build/@types/common/config/constants.d.ts.map +1 -1
- package/build/@types/common/config/docs_links.d.ts +9 -6
- package/build/@types/common/config/docs_links.d.ts.map +1 -1
- package/build/@types/common/selectors/clusterSelectors.d.ts +1 -1
- package/build/@types/common/selectors/clusterSelectors.d.ts.map +1 -1
- package/build/@types/common/types/cpuArchitecture.d.ts.map +1 -1
- package/build/@types/common/types/ui-settings.d.ts +1 -0
- package/build/@types/common/types/ui-settings.d.ts.map +1 -1
- package/build/@types/common/utils.d.ts +9 -0
- package/build/@types/common/utils.d.ts.map +1 -1
- package/build/@types/ocm/components/Routes.d.ts +7 -4
- package/build/@types/ocm/components/Routes.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts +2 -0
- package/build/@types/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmOpenShiftVersion.d.ts +3 -3
- package/build/@types/ocm/components/clusterConfiguration/OcmOpenShiftVersion.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmSNODisclaimer.d.ts +1 -4
- package/build/@types/ocm/components/clusterConfiguration/OcmSNODisclaimer.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.d.ts +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.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/NetworkConfigurationForm.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/OperatorCheckbox.d.ts +2 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/OperatorCheckbox.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/utils.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/formViewNetworkWideValidationSchema.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterDetails.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterDetailsForm.d.ts +0 -1
- package/build/@types/ocm/components/clusterWizard/ClusterDetailsForm.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterWizardContext.d.ts +4 -2
- package/build/@types/ocm/components/clusterWizard/ClusterWizardContext.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterWizardContextProvider.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/CredentialsDownload.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/NewClusterWizard.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/Operators.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/OperatorsBundle.d.ts +2 -1
- package/build/@types/ocm/components/clusterWizard/OperatorsBundle.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/OperatorsSelect.d.ts +2 -1
- package/build/@types/ocm/components/clusterWizard/OperatorsSelect.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/OperatorsStep.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/constants.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/disconnected/BasicStep.d.ts +4 -0
- package/build/@types/ocm/components/clusterWizard/disconnected/BasicStep.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterWizard/disconnected/InstallDisconnectedSwitch.d.ts +6 -0
- package/build/@types/ocm/components/clusterWizard/disconnected/InstallDisconnectedSwitch.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterWizard/disconnected/ReviewStep.d.ts +4 -0
- package/build/@types/ocm/components/clusterWizard/disconnected/ReviewStep.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterWizard/wizardTransition.d.ts +3 -2
- package/build/@types/ocm/components/clusterWizard/wizardTransition.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/AssistedInstallerHeader.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/ClusterPage.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/Clusters.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/NewClusterPage.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/clusterPolling.d.ts.map +1 -1
- package/build/@types/ocm/components/featureSupportLevels/featureStateUtils.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/use-hosts-table.d.ts +1 -1
- package/build/@types/ocm/components/hosts/use-hosts-table.d.ts.map +1 -1
- package/build/@types/ocm/services/DiskEncryptionService.d.ts +1 -1
- package/build/@types/ocm/services/DiskEncryptionService.d.ts.map +1 -1
- package/build/@types/ocm/store/slices/current-cluster/selectors.d.ts.map +1 -1
- package/build/@types/ocm/store/slices/current-cluster/slice.d.ts +2 -2
- package/build/cjs/cim/components/Agent/AgentStatus.js +2 -2
- package/build/cjs/cim/components/Agent/AgentStatus.js.map +1 -1
- package/build/cjs/cim/components/Agent/tableUtils.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizard.js +12 -9
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizard.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ScaleUpForm.js +2 -2
- package/build/cjs/cim/components/ClusterDeployment/ScaleUpForm.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/{ACMClusterDeploymentDetailsStep.js → clusterDetails/ACMClusterDeploymentDetailsStep.js} +6 -5
- package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ACMClusterDeploymentDetailsStep.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentDetailsForm.js → clusterDetails/ClusterDeploymentDetailsForm.js} +8 -8
- package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsForm.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentDetailsStep.js → clusterDetails/ClusterDeploymentDetailsStep.js} +9 -12
- package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsStep.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/{ClusterDetailsFormFields.js → clusterDetails/ClusterDetailsFormFields.js} +24 -25
- package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/clusterDetails/index.js +8 -0
- package/build/cjs/cim/components/ClusterDeployment/clusterDetails/index.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/{AdditionalNTPSourcesDialogToggle.js → components/AdditionalNTPSourcesDialogToggle.js} +1 -1
- package/build/cjs/cim/components/ClusterDeployment/components/AdditionalNTPSourcesDialogToggle.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/components/index.js +5 -0
- package/build/cjs/cim/components/ClusterDeployment/components/index.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/constants.js +1 -0
- package/build/cjs/cim/components/ClusterDeployment/constants.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.js +71 -0
- package/build/cjs/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/customManifests/ConfigMapDetail.js +64 -0
- package/build/cjs/cim/components/ClusterDeployment/customManifests/ConfigMapDetail.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/customManifests/ConfigMapForm.js +134 -0
- package/build/cjs/cim/components/ClusterDeployment/customManifests/ConfigMapForm.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/customManifests/index.js +5 -0
- package/build/cjs/cim/components/ClusterDeployment/customManifests/index.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentHostDiscoveryTable.js → hostDiscovery/ClusterDeploymentHostDiscoveryTable.js} +12 -12
- package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostDiscoveryTable.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentHostsDiscovery.js → hostDiscovery/ClusterDeploymentHostsDiscovery.js} +6 -6
- package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscovery.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentHostsDiscoveryStep.js → hostDiscovery/ClusterDeploymentHostsDiscoveryStep.js} +10 -9
- package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscoveryStep.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/index.js +5 -0
- package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/index.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentHostSelectionStep.js → hostSelection/ClusterDeploymentHostSelectionStep.js} +10 -10
- package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelection.js → hostSelection/ClusterDeploymentHostsSelection.js} +7 -7
- package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelection.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelectionAdvanced.js → hostSelection/ClusterDeploymentHostsSelectionAdvanced.js} +7 -6
- package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelectionAdvanced.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelectionBasic.js → hostSelection/ClusterDeploymentHostsSelectionBasic.js} +7 -7
- package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelectionBasic.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/hostSelection/index.js +6 -0
- package/build/cjs/cim/components/ClusterDeployment/hostSelection/index.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/index.js +4 -4
- package/build/cjs/cim/components/ClusterDeployment/index.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentHostsNetworkTable.js → networking/ClusterDeploymentHostsNetworkTable.js} +10 -10
- package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentHostsNetworkTable.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentNetworkingForm.js → networking/ClusterDeploymentNetworkingForm.js} +6 -9
- package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingForm.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentNetworkingStep.js → networking/ClusterDeploymentNetworkingStep.js} +10 -10
- package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingStep.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/networking/index.js +5 -0
- package/build/cjs/cim/components/ClusterDeployment/networking/index.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentReviewStep.js → review/ClusterDeploymentReviewStep.js} +21 -16
- package/build/cjs/cim/components/ClusterDeployment/review/ClusterDeploymentReviewStep.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/review/ReviewConfigMapsTable.js +51 -0
- package/build/cjs/cim/components/ClusterDeployment/review/ReviewConfigMapsTable.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/review/index.js +5 -0
- package/build/cjs/cim/components/ClusterDeployment/review/index.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/use-networking-formik.js +1 -2
- package/build/cjs/cim/components/ClusterDeployment/use-networking-formik.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/wizardTransition.js +1 -0
- package/build/cjs/cim/components/ClusterDeployment/wizardTransition.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.js +7 -12
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/NodePoolForm.js +0 -28
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/NodePoolForm.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/forms/NodePoolAgentsForm.js +8 -3
- package/build/cjs/cim/components/Hypershift/forms/NodePoolAgentsForm.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/modals/AddNodePoolModal.js +1 -1
- package/build/cjs/cim/components/Hypershift/modals/AddNodePoolModal.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/modals/ManageHostsModal.js +2 -2
- package/build/cjs/cim/components/Hypershift/modals/ManageHostsModal.js.map +1 -1
- package/build/cjs/cim/components/helpers/toAssisted.js +4 -1
- package/build/cjs/cim/components/helpers/toAssisted.js.map +1 -1
- package/build/cjs/cim/components/helpers/versions.js +5 -1
- package/build/cjs/cim/components/helpers/versions.js.map +1 -1
- package/build/cjs/cim/components/modals/EditProxyModal.js +1 -1
- package/build/cjs/cim/components/modals/EditProxyModal.js.map +1 -1
- package/build/cjs/cim/components/modals/EditSSHKeyModal.js +1 -1
- package/build/cjs/cim/components/modals/EditSSHKeyModal.js.map +1 -1
- package/build/cjs/cim/components/modals/MassApproveAgentModal.js +1 -1
- package/build/cjs/cim/components/modals/MassApproveAgentModal.js.map +1 -1
- package/build/cjs/cim/hooks/index.js +5 -0
- package/build/cjs/cim/hooks/index.js.map +1 -0
- package/build/cjs/cim/hooks/types.js +3 -0
- package/build/cjs/cim/hooks/types.js.map +1 -0
- package/build/cjs/cim/hooks/useConfigMaps.js +12 -0
- package/build/cjs/cim/hooks/useConfigMaps.js.map +1 -0
- package/build/cjs/cim/hooks/useK8sWatchResource.js +12 -0
- package/build/cjs/cim/hooks/useK8sWatchResource.js.map +1 -0
- package/build/cjs/cim/types/index.js +1 -0
- package/build/cjs/cim/types/index.js.map +1 -1
- package/build/cjs/cim/types/models.js +14 -0
- package/build/cjs/cim/types/models.js.map +1 -0
- package/build/cjs/cim/utils.js +12 -1
- package/build/cjs/cim/utils.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/ControlPlaneNodesDropdown.js +23 -6
- package/build/cjs/common/components/clusterConfiguration/ControlPlaneNodesDropdown.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionControlGroup.js +11 -6
- package/build/cjs/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionControlGroup.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/ExternalPlatformsDropdown.js +34 -0
- package/build/cjs/common/components/clusterConfiguration/ExternalPlatformsDropdown.js.map +1 -0
- package/build/cjs/common/components/clusterConfiguration/OcmTNADisclaimer.js +14 -0
- package/build/cjs/common/components/clusterConfiguration/OcmTNADisclaimer.js.map +1 -0
- package/build/cjs/common/components/clusterConfiguration/index.js +2 -5
- package/build/cjs/common/components/clusterConfiguration/index.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/OperatorsProgressItem.js +1 -1
- package/build/cjs/common/components/clusterDetail/OperatorsProgressItem.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/clusterDetailsValidation.js +6 -25
- package/build/cjs/common/components/clusterWizard/clusterDetailsValidation.js.map +1 -1
- package/build/cjs/common/components/fetching/EventListFetch.js +1 -1
- package/build/cjs/common/components/fetching/EventListFetch.js.map +1 -1
- package/build/cjs/common/components/hosts/DiskRole.js +1 -1
- package/build/cjs/common/components/hosts/DiskRole.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/tableUtils.js +1 -1
- package/build/cjs/common/components/hosts/tableUtils.js.map +1 -1
- package/build/cjs/common/components/hosts/utils.js +11 -1
- package/build/cjs/common/components/hosts/utils.js.map +1 -1
- package/build/cjs/common/components/operators/operatorDescriptions.js +30 -0
- package/build/cjs/common/components/operators/operatorDescriptions.js.map +1 -0
- package/build/cjs/common/components/operators/operatorSpecs.js +384 -189
- package/build/cjs/common/components/operators/operatorSpecs.js.map +1 -1
- package/build/cjs/common/components/ui/ClusterEventsToolbar.js +5 -5
- package/build/cjs/common/components/ui/ClusterEventsToolbar.js.map +1 -1
- package/build/cjs/common/components/ui/OpenShiftSelectWithSearch.js +20 -140
- package/build/cjs/common/components/ui/OpenShiftSelectWithSearch.js.map +1 -1
- package/build/cjs/common/components/ui/OpenShiftVersionDropdown.js +10 -15
- package/build/cjs/common/components/ui/OpenShiftVersionDropdown.js.map +1 -1
- package/build/cjs/common/components/ui/OpenShiftVersionModal.js +8 -12
- package/build/cjs/common/components/ui/OpenShiftVersionModal.js.map +1 -1
- package/build/cjs/common/components/ui/SimpleDropdown.js +1 -1
- package/build/cjs/common/components/ui/SimpleDropdown.js.map +1 -1
- package/build/cjs/common/components/ui/formik/SelectFieldWithSearch.js +153 -0
- package/build/cjs/common/components/ui/formik/SelectFieldWithSearch.js.map +1 -0
- package/build/cjs/common/components/ui/formik/TextAreaField.js +2 -1
- package/build/cjs/common/components/ui/formik/TextAreaField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/index.js +3 -3
- package/build/cjs/common/components/ui/formik/index.js.map +1 -1
- package/build/cjs/common/config/constants.js +25 -5
- package/build/cjs/common/config/constants.js.map +1 -1
- package/build/cjs/common/config/docs_links.js +57 -29
- package/build/cjs/common/config/docs_links.js.map +1 -1
- package/build/cjs/common/selectors/clusterSelectors.js +1 -1
- package/build/cjs/common/selectors/clusterSelectors.js.map +1 -1
- package/build/cjs/common/types/cpuArchitecture.js +3 -5
- package/build/cjs/common/types/cpuArchitecture.js.map +1 -1
- package/build/cjs/common/utils.js +28 -1
- package/build/cjs/common/utils.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 +10 -8
- package/build/cjs/ocm/components/Routes.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.js +27 -12
- package/build/cjs/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js +16 -0
- package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmOpenShiftVersion.js +14 -10
- package/build/cjs/ocm/components/clusterConfiguration/OcmOpenShiftVersion.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.js +10 -15
- package/build/cjs/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmOperatorProgressItem.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmOperatorProgressItem.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmSNODisclaimer.js +5 -21
- package/build/cjs/ocm/components/clusterConfiguration/OcmSNODisclaimer.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js +4 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.js +14 -20
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/OperatorCheckbox.js +4 -4
- package/build/cjs/ocm/components/clusterConfiguration/operators/OperatorCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/utils.js +2 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/utils.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.js +5 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/FormViewNetworkWideFields.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/FormViewNetworkWideFields.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/formViewNetworkWideValidationSchema.js +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/formViewNetworkWideValidationSchema.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/staticIp.css +3 -3
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/formDataToInfraEnvField.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/formDataToInfraEnvField.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ProgressBarAlerts.js +2 -2
- package/build/cjs/ocm/components/clusterDetail/ProgressBarAlerts.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js +8 -5
- package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js +11 -13
- package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardContext.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js +17 -2
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/CredentialsDownload.js +2 -1
- package/build/cjs/ocm/components/clusterWizard/CredentialsDownload.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/NewClusterWizard.js +15 -2
- package/build/cjs/ocm/components/clusterWizard/NewClusterWizard.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/Operators.js +4 -1
- package/build/cjs/ocm/components/clusterWizard/Operators.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/OperatorsBundle.js +22 -18
- package/build/cjs/ocm/components/clusterWizard/OperatorsBundle.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/OperatorsSelect.js +36 -19
- package/build/cjs/ocm/components/clusterWizard/OperatorsSelect.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/OperatorsStep.js +13 -3
- package/build/cjs/ocm/components/clusterWizard/OperatorsStep.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/constants.js +2 -0
- package/build/cjs/ocm/components/clusterWizard/constants.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/disconnected/BasicStep.js +40 -0
- package/build/cjs/ocm/components/clusterWizard/disconnected/BasicStep.js.map +1 -0
- package/build/cjs/ocm/components/clusterWizard/disconnected/InstallDisconnectedSwitch.js +15 -0
- package/build/cjs/ocm/components/clusterWizard/disconnected/InstallDisconnectedSwitch.js.map +1 -0
- package/build/cjs/ocm/components/clusterWizard/disconnected/ReviewStep.js +63 -0
- package/build/cjs/ocm/components/clusterWizard/disconnected/ReviewStep.js.map +1 -0
- package/build/cjs/ocm/components/clusterWizard/wizardTransition.js +15 -2
- package/build/cjs/ocm/components/clusterWizard/wizardTransition.js.map +1 -1
- package/build/cjs/ocm/components/clusters/AssistedInstallerHeader.js +3 -0
- package/build/cjs/ocm/components/clusters/AssistedInstallerHeader.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClusterPage.js +2 -0
- package/build/cjs/ocm/components/clusters/ClusterPage.js.map +1 -1
- package/build/cjs/ocm/components/clusters/Clusters.js +6 -0
- package/build/cjs/ocm/components/clusters/Clusters.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClustersListToolbar.js +1 -1
- package/build/cjs/ocm/components/clusters/ClustersListToolbar.js.map +1 -1
- package/build/cjs/ocm/components/clusters/NewClusterPage.js +6 -7
- package/build/cjs/ocm/components/clusters/NewClusterPage.js.map +1 -1
- package/build/cjs/ocm/components/clusters/clusterPolling.js +1 -1
- package/build/cjs/ocm/components/clusters/clusterPolling.js.map +1 -1
- package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js +5 -15
- package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js.map +1 -1
- package/build/cjs/ocm/components/hosts/use-hosts-table.js +18 -4
- package/build/cjs/ocm/components/hosts/use-hosts-table.js.map +1 -1
- package/build/cjs/ocm/services/DiskEncryptionService.js +12 -4
- package/build/cjs/ocm/services/DiskEncryptionService.js.map +1 -1
- package/build/cjs/ocm/store/slices/current-cluster/selectors.js +1 -1
- package/build/cjs/ocm/store/slices/current-cluster/selectors.js.map +1 -1
- package/lib/cim/components/Agent/AgentStatus.tsx +1 -1
- package/lib/cim/components/Agent/tableUtils.tsx +1 -1
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentWizard.tsx +15 -5
- package/lib/cim/components/ClusterDeployment/ScaleUpForm.tsx +1 -1
- package/lib/cim/components/ClusterDeployment/{ACMClusterDeploymentDetailsStep.tsx → clusterDetails/ACMClusterDeploymentDetailsStep.tsx} +6 -8
- package/lib/cim/components/ClusterDeployment/{ClusterDeploymentDetailsForm.tsx → clusterDetails/ClusterDeploymentDetailsForm.tsx} +17 -11
- package/lib/cim/components/ClusterDeployment/{ClusterDeploymentDetailsStep.tsx → clusterDetails/ClusterDeploymentDetailsStep.tsx} +10 -15
- package/lib/cim/components/ClusterDeployment/{ClusterDetailsFormFields.tsx → clusterDetails/ClusterDetailsFormFields.tsx} +36 -56
- package/lib/cim/components/ClusterDeployment/clusterDetails/index.tsx +4 -0
- package/lib/cim/components/ClusterDeployment/{AdditionalNTPSourcesDialogToggle.tsx → components/AdditionalNTPSourcesDialogToggle.tsx} +1 -1
- package/lib/cim/components/ClusterDeployment/components/index.tsx +1 -0
- package/lib/cim/components/ClusterDeployment/constants.ts +1 -0
- package/lib/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.tsx +121 -0
- package/lib/cim/components/ClusterDeployment/customManifests/ConfigMapDetail.tsx +191 -0
- package/lib/cim/components/ClusterDeployment/customManifests/ConfigMapForm.tsx +247 -0
- package/lib/cim/components/ClusterDeployment/customManifests/index.tsx +1 -0
- package/lib/cim/components/ClusterDeployment/{ClusterDeploymentHostDiscoveryTable.tsx → hostDiscovery/ClusterDeploymentHostDiscoveryTable.tsx} +13 -13
- package/lib/cim/components/ClusterDeployment/{ClusterDeploymentHostsDiscovery.tsx → hostDiscovery/ClusterDeploymentHostsDiscovery.tsx} +8 -8
- package/lib/cim/components/ClusterDeployment/{ClusterDeploymentHostsDiscoveryStep.tsx → hostDiscovery/ClusterDeploymentHostsDiscoveryStep.tsx} +10 -11
- package/lib/cim/components/ClusterDeployment/hostDiscovery/index.tsx +1 -0
- package/lib/cim/components/ClusterDeployment/{ClusterDeploymentHostSelectionStep.tsx → hostSelection/ClusterDeploymentHostSelectionStep.tsx} +13 -16
- package/lib/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelection.tsx → hostSelection/ClusterDeploymentHostsSelection.tsx} +7 -7
- package/lib/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelectionAdvanced.tsx → hostSelection/ClusterDeploymentHostsSelectionAdvanced.tsx} +10 -12
- package/lib/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelectionBasic.tsx → hostSelection/ClusterDeploymentHostsSelectionBasic.tsx} +9 -9
- package/lib/cim/components/ClusterDeployment/hostSelection/index.tsx +2 -0
- package/lib/cim/components/ClusterDeployment/index.ts +2 -2
- package/lib/cim/components/ClusterDeployment/{ClusterDeploymentHostsNetworkTable.tsx → networking/ClusterDeploymentHostsNetworkTable.tsx} +12 -12
- package/lib/cim/components/ClusterDeployment/{ClusterDeploymentNetworkingForm.tsx → networking/ClusterDeploymentNetworkingForm.tsx} +8 -12
- package/lib/cim/components/ClusterDeployment/{ClusterDeploymentNetworkingStep.tsx → networking/ClusterDeploymentNetworkingStep.tsx} +11 -13
- package/lib/cim/components/ClusterDeployment/networking/index.tsx +1 -0
- package/lib/cim/components/ClusterDeployment/{ClusterDeploymentReviewStep.tsx → review/ClusterDeploymentReviewStep.tsx} +36 -15
- package/lib/cim/components/ClusterDeployment/review/ReviewConfigMapsTable.tsx +70 -0
- package/lib/cim/components/ClusterDeployment/review/index.tsx +1 -0
- package/lib/cim/components/ClusterDeployment/types.ts +1 -0
- package/lib/cim/components/ClusterDeployment/use-networking-formik.ts +2 -2
- package/lib/cim/components/ClusterDeployment/wizardTransition.ts +2 -0
- package/lib/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.tsx +7 -12
- package/lib/cim/components/Hypershift/HostedClusterWizard/DetailsStep/types.ts +1 -1
- package/lib/cim/components/Hypershift/HostedClusterWizard/HostsStep/NodePoolForm.tsx +1 -33
- package/lib/cim/components/Hypershift/forms/NodePoolAgentsForm.tsx +24 -12
- package/lib/cim/components/Hypershift/modals/AddNodePoolModal.tsx +1 -1
- package/lib/cim/components/Hypershift/modals/ManageHostsModal.tsx +2 -2
- package/lib/cim/components/helpers/toAssisted.ts +9 -1
- package/lib/cim/components/helpers/versions.ts +7 -3
- package/lib/cim/components/modals/EditProxyModal.tsx +1 -1
- package/lib/cim/components/modals/EditSSHKeyModal.tsx +1 -1
- package/lib/cim/components/modals/MassApproveAgentModal.tsx +1 -1
- package/lib/cim/hooks/index.tsx +1 -0
- package/lib/cim/hooks/types.tsx +8 -0
- package/lib/cim/hooks/useConfigMaps.tsx +14 -0
- package/lib/cim/hooks/useK8sWatchResource.tsx +27 -0
- package/lib/cim/types/index.ts +1 -0
- package/lib/cim/types/k8s/agent-cluster-install.ts +2 -0
- package/lib/cim/types/models.tsx +12 -0
- package/lib/cim/utils.ts +12 -0
- package/lib/common/components/clusterConfiguration/ControlPlaneNodesDropdown.tsx +61 -31
- package/lib/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionControlGroup.tsx +20 -5
- package/lib/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionValues.ts +1 -0
- package/lib/common/components/clusterConfiguration/ExternalPlatformsDropdown.tsx +74 -0
- package/lib/common/components/clusterConfiguration/OcmTNADisclaimer.tsx +23 -0
- package/lib/common/components/clusterConfiguration/index.ts +1 -2
- package/lib/common/components/clusterDetail/OperatorsProgressItem.tsx +1 -1
- package/lib/common/components/clusterWizard/clusterDetailsValidation.ts +6 -34
- package/lib/common/components/clusterWizard/types.ts +2 -4
- package/lib/common/components/fetching/EventListFetch.tsx +2 -2
- package/lib/common/components/hosts/DiskRole.tsx +0 -1
- package/lib/common/components/hosts/TableToolbar.tsx +9 -10
- package/lib/common/components/hosts/tableUtils.tsx +1 -1
- package/lib/common/components/hosts/types.ts +1 -1
- package/lib/common/components/hosts/utils.ts +13 -2
- package/lib/common/components/newFeatureSupportLevels/types.ts +1 -0
- package/lib/common/components/operators/operatorDescriptions.tsx +70 -0
- package/lib/common/components/operators/operatorSpecs.tsx +505 -261
- package/lib/common/components/ui/ClusterEventsToolbar.tsx +6 -0
- package/lib/common/components/ui/OpenShiftSelectWithSearch.tsx +38 -239
- package/lib/common/components/ui/OpenShiftVersionDropdown.tsx +14 -23
- package/lib/common/components/ui/OpenShiftVersionModal.tsx +12 -16
- package/lib/common/components/ui/SimpleDropdown.tsx +0 -1
- package/lib/common/components/ui/formik/SelectFieldWithSearch.tsx +278 -0
- package/lib/common/components/ui/formik/TextAreaField.tsx +14 -7
- package/lib/common/components/ui/formik/index.tsx +1 -1
- package/lib/common/config/constants.ts +23 -4
- package/lib/common/config/docs_links.ts +76 -41
- package/lib/common/selectors/clusterSelectors.ts +1 -2
- package/lib/common/types/cpuArchitecture.ts +3 -9
- package/lib/common/types/ui-settings.ts +1 -0
- package/lib/common/utils.ts +30 -0
- package/lib/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.tsx +2 -2
- package/lib/ocm/components/Routes.tsx +22 -15
- package/lib/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.tsx +39 -24
- package/lib/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.tsx +33 -1
- package/lib/ocm/components/clusterConfiguration/OcmOpenShiftVersion.tsx +18 -11
- package/lib/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.tsx +13 -18
- package/lib/ocm/components/clusterConfiguration/OcmOperatorProgressItem.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/OcmSNODisclaimer.tsx +14 -60
- package/lib/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.tsx +1 -0
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.tsx +6 -1
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.tsx +20 -26
- package/lib/ocm/components/clusterConfiguration/operators/OperatorCheckbox.tsx +6 -3
- package/lib/ocm/components/clusterConfiguration/operators/utils.tsx +2 -1
- package/lib/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.tsx +2 -1
- package/lib/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.tsx +5 -1
- package/lib/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/FormViewNetworkWideFields.tsx +2 -2
- package/lib/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/formViewNetworkWideValidationSchema.tsx +0 -1
- package/lib/ocm/components/clusterConfiguration/staticIp/components/staticIp.css +3 -3
- package/lib/ocm/components/clusterConfiguration/staticIp/data/formDataToInfraEnvField.ts +1 -1
- package/lib/ocm/components/clusterDetail/ProgressBarAlerts.tsx +2 -2
- package/lib/ocm/components/clusterWizard/ClusterDetails.tsx +15 -6
- package/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx +18 -15
- package/lib/ocm/components/clusterWizard/ClusterWizardContext.tsx +4 -2
- package/lib/ocm/components/clusterWizard/ClusterWizardContextProvider.tsx +18 -2
- package/lib/ocm/components/clusterWizard/CredentialsDownload.tsx +2 -1
- package/lib/ocm/components/clusterWizard/NewClusterWizard.tsx +17 -1
- package/lib/ocm/components/clusterWizard/Operators.tsx +5 -1
- package/lib/ocm/components/clusterWizard/OperatorsBundle.tsx +29 -23
- package/lib/ocm/components/clusterWizard/OperatorsSelect.tsx +68 -41
- package/lib/ocm/components/clusterWizard/OperatorsStep.tsx +30 -3
- package/lib/ocm/components/clusterWizard/constants.ts +2 -0
- package/lib/ocm/components/clusterWizard/disconnected/BasicStep.tsx +81 -0
- package/lib/ocm/components/clusterWizard/disconnected/InstallDisconnectedSwitch.tsx +32 -0
- package/lib/ocm/components/clusterWizard/disconnected/ReviewStep.tsx +123 -0
- package/lib/ocm/components/clusterWizard/wizardTransition.ts +18 -2
- package/lib/ocm/components/clusters/AssistedInstallerHeader.tsx +9 -1
- package/lib/ocm/components/clusters/ClusterPage.tsx +3 -0
- package/lib/ocm/components/clusters/Clusters.tsx +10 -0
- package/lib/ocm/components/clusters/ClustersListToolbar.tsx +1 -1
- package/lib/ocm/components/clusters/NewClusterPage.tsx +9 -13
- package/lib/ocm/components/clusters/clusterPolling.ts +2 -2
- package/lib/ocm/components/featureSupportLevels/featureStateUtils.ts +7 -18
- package/lib/ocm/components/hosts/use-hosts-table.tsx +18 -5
- package/lib/ocm/services/DiskEncryptionService.ts +8 -2
- package/lib/ocm/store/slices/current-cluster/selectors.ts +1 -1
- package/package.json +4 -4
- package/build/@types/cim/components/ClusterDeployment/ACMClusterDeploymentDetailsStep.d.ts.map +0 -1
- package/build/@types/cim/components/ClusterDeployment/AdditionalNTPSourcesDialogToggle.d.ts.map +0 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentDetailsForm.d.ts.map +0 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentDetailsStep.d.ts.map +0 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostDiscoveryTable.d.ts.map +0 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostSelectionStep.d.ts.map +0 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscovery.d.ts.map +0 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscoveryStep.d.ts +0 -5
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscoveryStep.d.ts.map +0 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsNetworkTable.d.ts.map +0 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsSelection.d.ts.map +0 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsSelectionAdvanced.d.ts.map +0 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsSelectionBasic.d.ts.map +0 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentNetworkingForm.d.ts.map +0 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentNetworkingStep.d.ts.map +0 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentReviewStep.d.ts.map +0 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDetailsFormFields.d.ts.map +0 -1
- package/build/@types/common/components/clusterConfiguration/SNOControlGroup.d.ts +0 -10
- package/build/@types/common/components/clusterConfiguration/SNOControlGroup.d.ts.map +0 -1
- package/build/@types/common/components/clusterConfiguration/SNODisclaimer.d.ts +0 -10
- package/build/@types/common/components/clusterConfiguration/SNODisclaimer.d.ts.map +0 -1
- package/build/@types/common/components/ui/formik/SingleNodeCheckbox.d.ts +0 -9
- package/build/@types/common/components/ui/formik/SingleNodeCheckbox.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmSingleNodeCheckbox.d.ts +0 -11
- package/build/@types/ocm/components/clusterConfiguration/OcmSingleNodeCheckbox.d.ts.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/ACMClusterDeploymentDetailsStep.js.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/AdditionalNTPSourcesDialogToggle.js.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetailsForm.js.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetailsStep.js.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostDiscoveryTable.js.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostSelectionStep.js.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscovery.js.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscoveryStep.js.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsNetworkTable.js.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsSelection.js.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsSelectionAdvanced.js.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsSelectionBasic.js.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentNetworkingForm.js.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentNetworkingStep.js.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentReviewStep.js.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDetailsFormFields.js.map +0 -1
- package/build/cjs/common/components/clusterConfiguration/SNOControlGroup.js +0 -20
- package/build/cjs/common/components/clusterConfiguration/SNOControlGroup.js.map +0 -1
- package/build/cjs/common/components/clusterConfiguration/SNODisclaimer.js +0 -31
- package/build/cjs/common/components/clusterConfiguration/SNODisclaimer.js.map +0 -1
- package/build/cjs/common/components/ui/formik/SingleNodeCheckbox.js +0 -45
- package/build/cjs/common/components/ui/formik/SingleNodeCheckbox.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmSingleNodeCheckbox.js +0 -51
- package/build/cjs/ocm/components/clusterConfiguration/OcmSingleNodeCheckbox.js.map +0 -1
- package/lib/common/components/clusterConfiguration/SNOControlGroup.tsx +0 -41
- package/lib/common/components/clusterConfiguration/SNODisclaimer.tsx +0 -79
- package/lib/common/components/ui/formik/SingleNodeCheckbox.tsx +0 -98
- package/lib/ocm/components/clusterConfiguration/OcmSingleNodeCheckbox.tsx +0 -107
- /package/build/@types/cim/components/ClusterDeployment/{AdditionalNTPSourcesDialogToggle.d.ts → components/AdditionalNTPSourcesDialogToggle.d.ts} +0 -0
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
CpuArchitecture,
|
|
6
6
|
ErrorState,
|
|
7
7
|
LoadingState,
|
|
8
|
-
|
|
8
|
+
DEFAULT_POLLING_INTERVAL,
|
|
9
9
|
} from '../../../common';
|
|
10
10
|
import { usePullSecret } from '../../hooks';
|
|
11
11
|
import { Button, EmptyStateVariant } from '@patternfly/react-core';
|
|
@@ -134,7 +134,7 @@ export const HostsClusterDetailTabContent = ({
|
|
|
134
134
|
React.useEffect(() => {
|
|
135
135
|
const id = setInterval(() => {
|
|
136
136
|
void refreshCluster();
|
|
137
|
-
},
|
|
137
|
+
}, DEFAULT_POLLING_INTERVAL);
|
|
138
138
|
return () => clearInterval(id);
|
|
139
139
|
}, [refreshCluster]);
|
|
140
140
|
|
|
@@ -14,29 +14,36 @@ import { AssistedUILibVersion } from './ui';
|
|
|
14
14
|
import { storeDay1 } from '../store';
|
|
15
15
|
import { useFeatureDetection } from '../hooks/use-feature-detection';
|
|
16
16
|
|
|
17
|
+
type UILibRoutesProps = {
|
|
18
|
+
allEnabledFeatures: FeatureListType;
|
|
19
|
+
children?: React.ReactNode;
|
|
20
|
+
history?: HistoryRouterProps['history'];
|
|
21
|
+
basename?: string;
|
|
22
|
+
additionalComponents?: React.ReactNode;
|
|
23
|
+
};
|
|
24
|
+
|
|
17
25
|
export const UILibRoutes = ({
|
|
18
26
|
allEnabledFeatures,
|
|
19
27
|
children,
|
|
20
28
|
history,
|
|
21
29
|
basename,
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
children?: React.ReactNode;
|
|
25
|
-
history?: HistoryRouterProps['history'];
|
|
26
|
-
basename?: string;
|
|
27
|
-
}) => {
|
|
30
|
+
additionalComponents,
|
|
31
|
+
}: UILibRoutesProps) => {
|
|
28
32
|
useFeatureDetection(allEnabledFeatures);
|
|
29
33
|
|
|
30
34
|
const routes = (
|
|
31
|
-
|
|
32
|
-
<
|
|
33
|
-
<Route path="
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
35
|
+
<>
|
|
36
|
+
<Routes>
|
|
37
|
+
<Route path="assisted-installer/clusters" element={<Outlet />}>
|
|
38
|
+
<Route path="~new" element={<NewClusterPage />} />
|
|
39
|
+
<Route path=":clusterId" element={<ClusterPage />} />
|
|
40
|
+
<Route index element={<Clusters />} />
|
|
41
|
+
</Route>
|
|
42
|
+
{children}
|
|
43
|
+
<Route path="*" element={<Navigate to="assisted-installer/clusters" />} />
|
|
44
|
+
</Routes>
|
|
45
|
+
{additionalComponents}
|
|
46
|
+
</>
|
|
40
47
|
);
|
|
41
48
|
|
|
42
49
|
return (
|
|
@@ -9,17 +9,20 @@ import {
|
|
|
9
9
|
DropdownList,
|
|
10
10
|
} from '@patternfly/react-core';
|
|
11
11
|
import { useField } from 'formik';
|
|
12
|
-
import
|
|
12
|
+
import toNumber from 'lodash-es/toNumber';
|
|
13
|
+
import { getFieldId, PopoverIcon, PreviewBadgePosition, TechnologyPreview } from '../../../common';
|
|
14
|
+
|
|
13
15
|
import {
|
|
14
16
|
NewFeatureSupportLevelMap,
|
|
15
17
|
useNewFeatureSupportLevel,
|
|
16
18
|
} from '../../../common/components/newFeatureSupportLevels';
|
|
19
|
+
import { isFeatureSupportedAndAvailable } from '../featureSupportLevels/featureStateUtils';
|
|
20
|
+
import OcmTNADisclaimer from '../../../common/components/clusterConfiguration/OcmTNADisclaimer';
|
|
17
21
|
import OcmSNODisclaimer from './OcmSNODisclaimer';
|
|
18
|
-
import toNumber from 'lodash-es/toNumber';
|
|
19
22
|
|
|
20
23
|
const INPUT_NAME = 'controlPlaneCount';
|
|
21
24
|
const fieldId = getFieldId(INPUT_NAME, 'input');
|
|
22
|
-
const
|
|
25
|
+
export const DEFAULT_VALUE_CPN = 3;
|
|
23
26
|
|
|
24
27
|
export const ControlPlaneNodesLabel = () => {
|
|
25
28
|
return (
|
|
@@ -41,19 +44,24 @@ export const ControlPlaneNodesLabel = () => {
|
|
|
41
44
|
interface ControlPlaneNodesOption {
|
|
42
45
|
value: number;
|
|
43
46
|
label: string;
|
|
47
|
+
badge?: React.ReactNode;
|
|
44
48
|
}
|
|
45
49
|
|
|
46
50
|
interface ControlPlaneNodesDropdownProps {
|
|
47
51
|
featureSupportLevelData?: NewFeatureSupportLevelMap | null;
|
|
48
52
|
}
|
|
49
53
|
|
|
50
|
-
const
|
|
54
|
+
export const isCPNDropdownItemEnabled = (
|
|
51
55
|
controlPlaneNodeCount: number,
|
|
52
56
|
isNonStandardControlPlaneEnabled: boolean,
|
|
57
|
+
isTnaEnabled: boolean,
|
|
53
58
|
): boolean => {
|
|
54
59
|
if (controlPlaneNodeCount === 4 || controlPlaneNodeCount === 5) {
|
|
55
60
|
return isNonStandardControlPlaneEnabled;
|
|
56
61
|
}
|
|
62
|
+
if (controlPlaneNodeCount === 2) {
|
|
63
|
+
return isTnaEnabled;
|
|
64
|
+
}
|
|
57
65
|
return true;
|
|
58
66
|
};
|
|
59
67
|
|
|
@@ -64,29 +72,35 @@ const ControlPlaneNodesDropdown: React.FC<ControlPlaneNodesDropdownProps> = ({
|
|
|
64
72
|
const [isOpen, setOpen] = React.useState<boolean>(false);
|
|
65
73
|
const newFeatureSupportLevelContext = useNewFeatureSupportLevel();
|
|
66
74
|
|
|
67
|
-
const snoSupportLevel = newFeatureSupportLevelContext.getFeatureSupportLevel(
|
|
68
|
-
'SNO',
|
|
69
|
-
featureSupportLevelData ?? undefined,
|
|
70
|
-
);
|
|
71
75
|
const snoExpansion = newFeatureSupportLevelContext.isFeatureSupported(
|
|
72
76
|
'SINGLE_NODE_EXPANSION',
|
|
73
77
|
featureSupportLevelData ?? undefined,
|
|
74
78
|
);
|
|
75
|
-
const isDisabled = newFeatureSupportLevelContext.isFeatureDisabled(
|
|
76
|
-
'SNO',
|
|
77
|
-
featureSupportLevelData ?? undefined,
|
|
78
|
-
);
|
|
79
79
|
|
|
80
80
|
const disabledReason =
|
|
81
|
-
'This option is not available with the current configurations. Make sure that OpenShift version is 4.
|
|
81
|
+
'This option is not available with the current configurations. Make sure that OpenShift version is 4.19 or newer and no external platform integration is selected.';
|
|
82
82
|
|
|
83
83
|
const isNonStandardControlPlaneEnabled = newFeatureSupportLevelContext.isFeatureSupported(
|
|
84
84
|
'NON_STANDARD_HA_CONTROL_PLANE',
|
|
85
85
|
featureSupportLevelData ?? undefined,
|
|
86
86
|
);
|
|
87
87
|
|
|
88
|
+
const tnaSupport = newFeatureSupportLevelContext.getFeatureSupportLevel(
|
|
89
|
+
'TNA',
|
|
90
|
+
featureSupportLevelData ?? undefined,
|
|
91
|
+
);
|
|
92
|
+
const isTnaEnabled = isFeatureSupportedAndAvailable(tnaSupport || 'unsupported');
|
|
93
|
+
|
|
88
94
|
const options: ControlPlaneNodesOption[] = [
|
|
89
95
|
{ value: 1, label: '1 (Single Node OpenShift)' },
|
|
96
|
+
{
|
|
97
|
+
value: 2,
|
|
98
|
+
label: '2 (Two-Nodes Arbiter)',
|
|
99
|
+
badge:
|
|
100
|
+
tnaSupport === 'tech-preview' ? (
|
|
101
|
+
<TechnologyPreview position={PreviewBadgePosition.default} />
|
|
102
|
+
) : undefined,
|
|
103
|
+
},
|
|
90
104
|
{ value: 3, label: '3 (highly available cluster)' },
|
|
91
105
|
{ value: 4, label: '4 (highly available cluster+)' },
|
|
92
106
|
{ value: 5, label: '5 (highly available cluster++)' },
|
|
@@ -94,7 +108,7 @@ const ControlPlaneNodesDropdown: React.FC<ControlPlaneNodesDropdownProps> = ({
|
|
|
94
108
|
|
|
95
109
|
React.useEffect(() => {
|
|
96
110
|
if (!field.value) {
|
|
97
|
-
setValue(
|
|
111
|
+
setValue(DEFAULT_VALUE_CPN);
|
|
98
112
|
}
|
|
99
113
|
}, [field.value, setValue]);
|
|
100
114
|
|
|
@@ -104,12 +118,18 @@ const ControlPlaneNodesDropdown: React.FC<ControlPlaneNodesDropdownProps> = ({
|
|
|
104
118
|
setOpen(false);
|
|
105
119
|
};
|
|
106
120
|
|
|
107
|
-
const dropdownItems = options.map(({ value, label }) => {
|
|
108
|
-
const isItemEnabled =
|
|
121
|
+
const dropdownItems = options.map(({ value, label, badge }) => {
|
|
122
|
+
const isItemEnabled = isCPNDropdownItemEnabled(
|
|
123
|
+
value,
|
|
124
|
+
isNonStandardControlPlaneEnabled,
|
|
125
|
+
isTnaEnabled,
|
|
126
|
+
);
|
|
109
127
|
return (
|
|
110
128
|
<DropdownItem key={value} id={value.toString()} isAriaDisabled={!isItemEnabled}>
|
|
111
129
|
<Tooltip hidden={isItemEnabled} content={disabledReason} position="top">
|
|
112
|
-
<div>
|
|
130
|
+
<div>
|
|
131
|
+
{label} {badge}
|
|
132
|
+
</div>
|
|
113
133
|
</Tooltip>
|
|
114
134
|
</DropdownItem>
|
|
115
135
|
);
|
|
@@ -144,13 +164,8 @@ const ControlPlaneNodesDropdown: React.FC<ControlPlaneNodesDropdownProps> = ({
|
|
|
144
164
|
<DropdownList>{dropdownItems}</DropdownList>
|
|
145
165
|
</Dropdown>
|
|
146
166
|
</FormGroup>
|
|
147
|
-
{field.value === 1 &&
|
|
148
|
-
|
|
149
|
-
isDisabled={isDisabled}
|
|
150
|
-
snoSupportLevel={snoSupportLevel || 'supported'}
|
|
151
|
-
snoExpansionSupported={snoExpansion}
|
|
152
|
-
/>
|
|
153
|
-
)}
|
|
167
|
+
{field.value === 1 && <OcmSNODisclaimer snoExpansionSupported={snoExpansion} />}
|
|
168
|
+
{field.value === 2 && <OcmTNADisclaimer />}
|
|
154
169
|
</>
|
|
155
170
|
);
|
|
156
171
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* eslint-disable no-console */
|
|
1
2
|
import * as React from 'react';
|
|
2
3
|
import { Form } from '@patternfly/react-core';
|
|
3
4
|
import { useFormikContext } from 'formik';
|
|
@@ -32,7 +33,11 @@ import { ExternalPlatformLabels } from './platformIntegration/constants';
|
|
|
32
33
|
import { ManagedDomain, PlatformType } from '@openshift-assisted/types/assisted-installer-service';
|
|
33
34
|
import { useClusterWizardContext } from '../clusterWizard/ClusterWizardContext';
|
|
34
35
|
import { useFeature } from '../../hooks/use-feature';
|
|
35
|
-
import ControlPlaneNodesDropdown, {
|
|
36
|
+
import ControlPlaneNodesDropdown, {
|
|
37
|
+
ControlPlaneNodesLabel,
|
|
38
|
+
DEFAULT_VALUE_CPN,
|
|
39
|
+
isCPNDropdownItemEnabled,
|
|
40
|
+
} from './ControlPlaneNodesDropdown';
|
|
36
41
|
|
|
37
42
|
export type OcmClusterDetailsFormFieldsProps = {
|
|
38
43
|
forceOpenshiftVersion?: string;
|
|
@@ -115,6 +120,33 @@ export const OcmClusterDetailsFormFields = ({
|
|
|
115
120
|
);
|
|
116
121
|
}, [setFieldValue, featureSupportLevelContext, featureSupportLevelData]);
|
|
117
122
|
|
|
123
|
+
React.useEffect(() => {
|
|
124
|
+
const currentCount = values.controlPlaneCount;
|
|
125
|
+
const isNonStandardControlPlaneEnabled = featureSupportLevelContext.isFeatureSupported(
|
|
126
|
+
'NON_STANDARD_HA_CONTROL_PLANE',
|
|
127
|
+
featureSupportLevelData ?? undefined,
|
|
128
|
+
);
|
|
129
|
+
const isTnaEnabled = featureSupportLevelContext.isFeatureSupported(
|
|
130
|
+
'TNA',
|
|
131
|
+
featureSupportLevelData ?? undefined,
|
|
132
|
+
);
|
|
133
|
+
|
|
134
|
+
const isItemEnabled = isCPNDropdownItemEnabled(
|
|
135
|
+
currentCount,
|
|
136
|
+
isNonStandardControlPlaneEnabled,
|
|
137
|
+
isTnaEnabled,
|
|
138
|
+
);
|
|
139
|
+
|
|
140
|
+
if (!isItemEnabled) {
|
|
141
|
+
setFieldValue('controlPlaneCount', DEFAULT_VALUE_CPN, false);
|
|
142
|
+
}
|
|
143
|
+
}, [
|
|
144
|
+
values.openshiftVersion,
|
|
145
|
+
featureSupportLevelData,
|
|
146
|
+
featureSupportLevelContext,
|
|
147
|
+
values.controlPlaneCount,
|
|
148
|
+
setFieldValue,
|
|
149
|
+
]);
|
|
118
150
|
return (
|
|
119
151
|
<Form id="wizard-cluster-details__form">
|
|
120
152
|
<OcmRichInputField
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { Stack, StackItem } from '@patternfly/react-core';
|
|
2
3
|
import {
|
|
3
4
|
ClusterCpuArchitecture,
|
|
4
5
|
getOpenshiftVersionText,
|
|
@@ -7,9 +8,9 @@ import {
|
|
|
7
8
|
} from '../../../common';
|
|
8
9
|
|
|
9
10
|
type OcmOpenShiftVersionProps = {
|
|
10
|
-
versions
|
|
11
|
+
versions?: OpenshiftVersionOptionType[];
|
|
11
12
|
openshiftVersion: string;
|
|
12
|
-
clusterCpuArchitecture
|
|
13
|
+
clusterCpuArchitecture?: string;
|
|
13
14
|
withPreviewText?: boolean;
|
|
14
15
|
withMultiText?: boolean;
|
|
15
16
|
};
|
|
@@ -20,17 +21,23 @@ const OcmOpenShiftVersion = ({
|
|
|
20
21
|
versions,
|
|
21
22
|
withPreviewText,
|
|
22
23
|
withMultiText,
|
|
23
|
-
|
|
24
|
+
children,
|
|
25
|
+
}: React.PropsWithChildren<OcmOpenShiftVersionProps>) => {
|
|
24
26
|
return (
|
|
25
27
|
<StaticTextField name="openshiftVersion" label="OpenShift version" isRequired>
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
28
|
+
<Stack>
|
|
29
|
+
<StackItem>
|
|
30
|
+
OpenShift{' '}
|
|
31
|
+
{getOpenshiftVersionText({
|
|
32
|
+
openshiftVersion,
|
|
33
|
+
cpuArchitecture: clusterCpuArchitecture as ClusterCpuArchitecture,
|
|
34
|
+
versions,
|
|
35
|
+
withPreviewText,
|
|
36
|
+
withMultiText,
|
|
37
|
+
})}
|
|
38
|
+
</StackItem>
|
|
39
|
+
{children && <StackItem>{children}</StackItem>}
|
|
40
|
+
</Stack>
|
|
34
41
|
</StaticTextField>
|
|
35
42
|
);
|
|
36
43
|
};
|
|
@@ -19,6 +19,9 @@ const OcmOpenShiftVersionSelect = ({ versions }: OcmOpenShiftVersionSelectProps)
|
|
|
19
19
|
const {
|
|
20
20
|
values: { customOpenshiftSelect },
|
|
21
21
|
} = useFormikContext<ClusterDetailsValues>();
|
|
22
|
+
const { allVersions } = useOpenShiftVersionsContext();
|
|
23
|
+
const [isOpenshiftVersionModalOpen, setIsOpenshiftVersionModalOpen] = React.useState(false);
|
|
24
|
+
|
|
22
25
|
const selectOptions = React.useMemo(
|
|
23
26
|
() =>
|
|
24
27
|
versions.map((version) => ({
|
|
@@ -32,33 +35,25 @@ const OcmOpenShiftVersionSelect = ({ versions }: OcmOpenShiftVersionSelectProps)
|
|
|
32
35
|
})),
|
|
33
36
|
[versions, t],
|
|
34
37
|
);
|
|
35
|
-
const [isOpenshiftVersionModalOpen, setIsOpenshiftVersionModalOpen] = React.useState(false);
|
|
36
|
-
|
|
37
|
-
const showOpenshiftVersionModal = () => {
|
|
38
|
-
setIsOpenshiftVersionModalOpen(true);
|
|
39
|
-
};
|
|
40
38
|
|
|
41
39
|
const updatedSelectOptions = React.useMemo(() => {
|
|
42
40
|
if (
|
|
43
41
|
customOpenshiftSelect &&
|
|
44
|
-
!selectOptions.
|
|
42
|
+
!selectOptions.some((version) => version.value === customOpenshiftSelect)
|
|
45
43
|
) {
|
|
46
|
-
return
|
|
47
|
-
{
|
|
48
|
-
label: customOpenshiftSelect.label,
|
|
49
|
-
value: customOpenshiftSelect.value,
|
|
50
|
-
},
|
|
51
|
-
];
|
|
44
|
+
return allVersions.find((version) => version.value === customOpenshiftSelect);
|
|
52
45
|
}
|
|
53
|
-
return
|
|
54
|
-
}, [
|
|
55
|
-
|
|
56
|
-
const { allVersions } = useOpenShiftVersionsContext();
|
|
46
|
+
return undefined;
|
|
47
|
+
}, [allVersions, customOpenshiftSelect, selectOptions]);
|
|
57
48
|
|
|
58
|
-
const getHelperText = (value: string |
|
|
49
|
+
const getHelperText = (value: string | null, inModal?: boolean) => {
|
|
59
50
|
return getOpenshiftVersionHelperText(allVersions, value, t, inModal);
|
|
60
51
|
};
|
|
61
52
|
|
|
53
|
+
const showOpenshiftVersionModal = () => {
|
|
54
|
+
setIsOpenshiftVersionModalOpen(true);
|
|
55
|
+
};
|
|
56
|
+
|
|
62
57
|
return (
|
|
63
58
|
<>
|
|
64
59
|
<OpenShiftVersionDropdown
|
|
@@ -68,7 +63,7 @@ const OcmOpenShiftVersionSelect = ({ versions }: OcmOpenShiftVersionSelectProps)
|
|
|
68
63
|
getHelperText={getHelperText}
|
|
69
64
|
showReleasesLink={isInOcm}
|
|
70
65
|
showOpenshiftVersionModal={showOpenshiftVersionModal}
|
|
71
|
-
|
|
66
|
+
customItem={updatedSelectOptions}
|
|
72
67
|
/>
|
|
73
68
|
{isOpenshiftVersionModalOpen && (
|
|
74
69
|
<OpenShiftVersionModal
|
|
@@ -80,7 +80,7 @@ type OperatorsPopoverProps = OperatorListProps & {
|
|
|
80
80
|
|
|
81
81
|
const OperatorsPopover = ({ operators, children }: OperatorsPopoverProps) => {
|
|
82
82
|
const { t } = useTranslation();
|
|
83
|
-
const opSpecs = useOperatorSpecs();
|
|
83
|
+
const { byKey: opSpecs } = useOperatorSpecs();
|
|
84
84
|
|
|
85
85
|
return (
|
|
86
86
|
<Popover
|
|
@@ -1,77 +1,31 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Alert, AlertVariant, List, ListItem
|
|
3
|
-
import { CheckboxField } from '../../../common';
|
|
2
|
+
import { Alert, AlertVariant, List, ListItem } from '@patternfly/react-core';
|
|
4
3
|
import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
|
|
5
|
-
import { SupportLevel } from '@openshift-assisted/types/assisted-installer-service';
|
|
6
4
|
|
|
7
5
|
type OcmSNODisclaimerProps = {
|
|
8
|
-
snoSupportLevel: SupportLevel;
|
|
9
|
-
isDisabled?: boolean;
|
|
10
6
|
snoExpansionSupported?: boolean;
|
|
11
7
|
};
|
|
12
|
-
const OcmSNODisclaimer = ({
|
|
13
|
-
snoSupportLevel,
|
|
14
|
-
isDisabled = false,
|
|
15
|
-
snoExpansionSupported = false,
|
|
16
|
-
}: OcmSNODisclaimerProps) => {
|
|
8
|
+
const OcmSNODisclaimer = ({ snoExpansionSupported = false }: OcmSNODisclaimerProps) => {
|
|
17
9
|
const { t } = useTranslation();
|
|
18
|
-
if (!['dev-preview', 'supported'].includes(snoSupportLevel)) {
|
|
19
|
-
//if tech preview or unsupported there's no definition which warning to show
|
|
20
|
-
return null;
|
|
21
|
-
}
|
|
22
|
-
const isDevPreview = snoSupportLevel === 'dev-preview';
|
|
23
|
-
const generalSNOFacts = (
|
|
24
|
-
<>
|
|
25
|
-
<ListItem>
|
|
26
|
-
{t(
|
|
27
|
-
'ai:Installing SNO will result in an OpenShift deployment that is not highly available.',
|
|
28
|
-
)}
|
|
29
|
-
</ListItem>
|
|
30
|
-
{!snoExpansionSupported && (
|
|
31
|
-
<ListItem>
|
|
32
|
-
{t('ai:Currently, adding additional machines to your cluster is not supported.')}
|
|
33
|
-
</ListItem>
|
|
34
|
-
)}
|
|
35
|
-
</>
|
|
36
|
-
);
|
|
37
|
-
const unsupportedWarnings = (
|
|
38
|
-
<>
|
|
39
|
-
<ListItem>
|
|
40
|
-
{t('ai:SNO is in a proof-of-concept stage and is not supported in any way.')}
|
|
41
|
-
</ListItem>
|
|
42
|
-
<ListItem>
|
|
43
|
-
{t(
|
|
44
|
-
"ai:OpenShift in-place upgrades aren't expected to work with SNO. If an upgrade is needed, your system will need a redeployment.",
|
|
45
|
-
)}
|
|
46
|
-
</ListItem>
|
|
47
|
-
</>
|
|
48
|
-
);
|
|
49
10
|
|
|
50
11
|
return (
|
|
51
12
|
<Alert
|
|
52
|
-
variant={
|
|
13
|
+
variant={AlertVariant.info}
|
|
53
14
|
title={t('ai:Limitations for using Single Node OpenShift')}
|
|
54
15
|
isInline
|
|
55
16
|
>
|
|
56
|
-
<
|
|
57
|
-
<
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
name="SNODisclaimer"
|
|
67
|
-
label={t(
|
|
68
|
-
'ai:I understand, accept, and agree to the limitations associated with using Single Node OpenShift.',
|
|
69
|
-
)}
|
|
70
|
-
isDisabled={isDisabled}
|
|
71
|
-
/>
|
|
72
|
-
</StackItem>
|
|
17
|
+
<List>
|
|
18
|
+
<ListItem>
|
|
19
|
+
{t(
|
|
20
|
+
'ai:Installing SNO will result in an OpenShift deployment that is not highly available.',
|
|
21
|
+
)}
|
|
22
|
+
</ListItem>
|
|
23
|
+
{!snoExpansionSupported && (
|
|
24
|
+
<ListItem>
|
|
25
|
+
{t('ai:Currently, adding additional machines to your cluster is not supported.')}
|
|
26
|
+
</ListItem>
|
|
73
27
|
)}
|
|
74
|
-
</
|
|
28
|
+
</List>
|
|
75
29
|
</Alert>
|
|
76
30
|
);
|
|
77
31
|
};
|
|
@@ -22,7 +22,7 @@ const OpenShiftLifeCycleDatesLink = () => {
|
|
|
22
22
|
|
|
23
23
|
export const getOpenshiftVersionHelperText = (
|
|
24
24
|
versions: OpenshiftVersionOptionType[],
|
|
25
|
-
selectedVersionValue: string |
|
|
25
|
+
selectedVersionValue: string | null,
|
|
26
26
|
t: TFunction,
|
|
27
27
|
isModal?: boolean,
|
|
28
28
|
) => {
|
package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.tsx
CHANGED
|
@@ -89,7 +89,12 @@ const NetworkConfigurationForm: React.FC<{
|
|
|
89
89
|
try {
|
|
90
90
|
await ClustersAPI.updateInstallConfig(
|
|
91
91
|
cluster.id,
|
|
92
|
-
JSON.stringify(
|
|
92
|
+
JSON.stringify(
|
|
93
|
+
JSON.stringify({
|
|
94
|
+
featureSet: 'CustomNoUpgrade',
|
|
95
|
+
featureGates: ['NoRegistryClusterOperations=true'],
|
|
96
|
+
}),
|
|
97
|
+
),
|
|
93
98
|
);
|
|
94
99
|
} catch (e) {
|
|
95
100
|
handleApiError(e, () =>
|
|
@@ -35,32 +35,29 @@ const noSubnetAvailableOption = {
|
|
|
35
35
|
export const SubnetsDropdown = ({ name, machineSubnets, isDisabled }: SubnetsDropdownProps) => {
|
|
36
36
|
const [field, , { setValue }] = useField(name);
|
|
37
37
|
const [isOpen, setOpen] = React.useState(false);
|
|
38
|
-
const [currentDisplayValue, setCurrentDisplayValue] = React.useState<string | undefined>();
|
|
39
38
|
const fieldId = getFieldId(name, 'input');
|
|
40
39
|
|
|
41
|
-
const itemsSubnets = React.useMemo(() => {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
40
|
+
const { itemsSubnets, currentDisplayValue } = React.useMemo(() => {
|
|
41
|
+
const itemsSubnets =
|
|
42
|
+
machineSubnets.length === 0
|
|
43
|
+
? [noSubnetAvailableOption]
|
|
44
|
+
: [makeNoSubnetSelectedOption(machineSubnets.length)].concat(
|
|
45
|
+
toFormSelectOptions(machineSubnets),
|
|
46
|
+
);
|
|
48
47
|
|
|
49
|
-
|
|
48
|
+
let currentDisplayValue = itemsSubnets[0].label; // The placeholder is the fallback
|
|
50
49
|
if (field.value) {
|
|
51
|
-
// If the field already has a value then it must have been assigned from one of the entries in the `itemsSubnets`
|
|
52
50
|
const subnetItem = itemsSubnets.find((item) => item.value === field.value);
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
//
|
|
58
|
-
|
|
59
|
-
itemsSubnets.length === 2 ? itemsSubnets[1].label : itemsSubnets[0].label;
|
|
60
|
-
setCurrentDisplayValue(defaultValue);
|
|
51
|
+
if (subnetItem) {
|
|
52
|
+
currentDisplayValue = subnetItem.label;
|
|
53
|
+
}
|
|
54
|
+
} else if (machineSubnets.length === 1) {
|
|
55
|
+
// When there is only one subnet, it's selected by default. We skip the placeholder at index 0.
|
|
56
|
+
currentDisplayValue = itemsSubnets[1].label;
|
|
61
57
|
}
|
|
62
|
-
|
|
63
|
-
|
|
58
|
+
|
|
59
|
+
return { itemsSubnets, currentDisplayValue: currentDisplayValue };
|
|
60
|
+
}, [machineSubnets, field.value]);
|
|
64
61
|
|
|
65
62
|
const dropdownItems = itemsSubnets.map(({ value, label, isDisabled }) => (
|
|
66
63
|
<DropdownItem key={value} id={value} isDisabled={isDisabled} value={value}>
|
|
@@ -68,11 +65,7 @@ export const SubnetsDropdown = ({ name, machineSubnets, isDisabled }: SubnetsDro
|
|
|
68
65
|
</DropdownItem>
|
|
69
66
|
));
|
|
70
67
|
|
|
71
|
-
const onSelect = (
|
|
72
|
-
event?: React.MouseEvent<Element, MouseEvent>,
|
|
73
|
-
value?: string | number,
|
|
74
|
-
): void => {
|
|
75
|
-
setCurrentDisplayValue(value as string);
|
|
68
|
+
const onSelect = (event?: React.MouseEvent<Element, MouseEvent>): void => {
|
|
76
69
|
setValue(event?.currentTarget.id);
|
|
77
70
|
setOpen(false);
|
|
78
71
|
};
|
|
@@ -84,6 +77,7 @@ export const SubnetsDropdown = ({ name, machineSubnets, isDisabled }: SubnetsDro
|
|
|
84
77
|
isExpanded={isOpen}
|
|
85
78
|
isDisabled={isDisabled}
|
|
86
79
|
className="pf-v5-u-w-100"
|
|
80
|
+
id={fieldId}
|
|
87
81
|
>
|
|
88
82
|
{currentDisplayValue}
|
|
89
83
|
</MenuToggle>
|
|
@@ -92,7 +86,7 @@ export const SubnetsDropdown = ({ name, machineSubnets, isDisabled }: SubnetsDro
|
|
|
92
86
|
return (
|
|
93
87
|
<Dropdown
|
|
94
88
|
{...field}
|
|
95
|
-
id={fieldId}
|
|
89
|
+
id={`${fieldId}-dropdown`}
|
|
96
90
|
onOpenChange={() => setOpen(!isOpen)}
|
|
97
91
|
onSelect={onSelect}
|
|
98
92
|
toggle={toggle}
|
|
@@ -26,6 +26,7 @@ import { getFieldId, OperatorsValues, PopoverIcon } from '../../../../common';
|
|
|
26
26
|
import { useNewFeatureSupportLevel } from '../../../../common/components/newFeatureSupportLevels';
|
|
27
27
|
import { getNewOperators } from './utils';
|
|
28
28
|
import {
|
|
29
|
+
highlightMatch,
|
|
29
30
|
OperatorSpec,
|
|
30
31
|
useOperatorSpecs,
|
|
31
32
|
} from '../../../../common/components/operators/operatorSpecs';
|
|
@@ -118,15 +119,17 @@ const OperatorCheckbox = ({
|
|
|
118
119
|
Requirements,
|
|
119
120
|
openshiftVersion,
|
|
120
121
|
preflightRequirements,
|
|
122
|
+
searchTerm,
|
|
121
123
|
}: {
|
|
122
124
|
bundles: Bundle[];
|
|
123
125
|
cluster: Cluster;
|
|
124
126
|
operatorId: string;
|
|
125
127
|
openshiftVersion?: string;
|
|
126
128
|
preflightRequirements: PreflightHardwareRequirements | undefined;
|
|
129
|
+
searchTerm?: string;
|
|
127
130
|
} & OperatorSpec) => {
|
|
128
131
|
const { getFeatureSupportLevel, getFeatureDisabledReason } = useNewFeatureSupportLevel();
|
|
129
|
-
const opSpecs = useOperatorSpecs();
|
|
132
|
+
const { byKey: opSpecs } = useOperatorSpecs();
|
|
130
133
|
|
|
131
134
|
const { isViewerMode } = useSelector(selectCurrentClusterPermissionsState);
|
|
132
135
|
const { values, setFieldValue } = useFormikContext<OperatorsValues>();
|
|
@@ -166,7 +169,7 @@ const OperatorCheckbox = ({
|
|
|
166
169
|
label={
|
|
167
170
|
<>
|
|
168
171
|
<Tooltip hidden={!disabledReason} content={disabledReason}>
|
|
169
|
-
<span>{title} </span>
|
|
172
|
+
<span>{highlightMatch(title, searchTerm)} </span>
|
|
170
173
|
</Tooltip>
|
|
171
174
|
<OperatorRequirements
|
|
172
175
|
operatorId={operatorId}
|
|
@@ -196,7 +199,7 @@ const OperatorCheckbox = ({
|
|
|
196
199
|
!!Description && (
|
|
197
200
|
<HelperText>
|
|
198
201
|
<HelperTextItem variant="indeterminate">
|
|
199
|
-
<Description openshiftVersion={openshiftVersion} />
|
|
202
|
+
<Description openshiftVersion={openshiftVersion} searchTerm={searchTerm} />
|
|
200
203
|
</HelperTextItem>
|
|
201
204
|
</HelperText>
|
|
202
205
|
)
|
|
@@ -35,7 +35,8 @@ export const getNewOperators = (
|
|
|
35
35
|
const dependencies = getOperatorDependencies(operatorId, preflightRequirements);
|
|
36
36
|
|
|
37
37
|
if (add) {
|
|
38
|
-
|
|
38
|
+
const uniqueOps = new Set([...currentOperators, ...dependencies, operatorId]);
|
|
39
|
+
return Array.from(uniqueOps);
|
|
39
40
|
}
|
|
40
41
|
|
|
41
42
|
const newOperators = currentOperators.filter((op) => op !== operatorId);
|
|
@@ -6,7 +6,8 @@ import { TableSummaryExpandable } from './TableSummaryExpandable';
|
|
|
6
6
|
import { useOperatorSpecs } from '../../../../common/components/operators/operatorSpecs';
|
|
7
7
|
|
|
8
8
|
export const ReviewOperatorsTable = ({ cluster }: { cluster: Cluster }) => {
|
|
9
|
-
const opSpecs = useOperatorSpecs();
|
|
9
|
+
const { byKey: opSpecs } = useOperatorSpecs();
|
|
10
|
+
|
|
10
11
|
const rows = React.useMemo(
|
|
11
12
|
() =>
|
|
12
13
|
cluster.monitoredOperators
|