@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
|
@@ -0,0 +1,278 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import {
|
|
3
|
+
Select,
|
|
4
|
+
SelectOption,
|
|
5
|
+
SelectList,
|
|
6
|
+
SelectOptionProps,
|
|
7
|
+
MenuToggle,
|
|
8
|
+
MenuToggleElement,
|
|
9
|
+
TextInputGroup,
|
|
10
|
+
TextInputGroupMain,
|
|
11
|
+
TextInputGroupUtilities,
|
|
12
|
+
Button,
|
|
13
|
+
FormGroup,
|
|
14
|
+
Bullseye,
|
|
15
|
+
Spinner,
|
|
16
|
+
FormHelperText,
|
|
17
|
+
HelperText,
|
|
18
|
+
HelperTextItem,
|
|
19
|
+
Divider,
|
|
20
|
+
} from '@patternfly/react-core';
|
|
21
|
+
import TimesIcon from '@patternfly/react-icons/dist/esm/icons/times-icon';
|
|
22
|
+
import { useField } from 'formik';
|
|
23
|
+
import { isEqual } from 'lodash-es';
|
|
24
|
+
import { FieldProps } from './types';
|
|
25
|
+
|
|
26
|
+
const NO_RESULTS = 'no_results';
|
|
27
|
+
|
|
28
|
+
const createItemId = (val: string) => `select-multi-typeahead-${val.replace(' ', '-')}`;
|
|
29
|
+
|
|
30
|
+
const SelectFieldWithSearch = ({
|
|
31
|
+
name,
|
|
32
|
+
label,
|
|
33
|
+
isRequired,
|
|
34
|
+
selectOptions,
|
|
35
|
+
filterValue,
|
|
36
|
+
setFilterValue,
|
|
37
|
+
isMultiSelect = false,
|
|
38
|
+
isLoading = false,
|
|
39
|
+
placeholder,
|
|
40
|
+
helperText,
|
|
41
|
+
}: {
|
|
42
|
+
selectOptions: (SelectOptionProps & { showDivider?: boolean })[];
|
|
43
|
+
filterValue: string;
|
|
44
|
+
setFilterValue: (value: string) => void;
|
|
45
|
+
isMultiSelect?: boolean;
|
|
46
|
+
isLoading?: boolean;
|
|
47
|
+
placeholder?: string;
|
|
48
|
+
helperText?: React.ReactNode;
|
|
49
|
+
} & FieldProps) => {
|
|
50
|
+
const [isOpen, setIsOpen] = React.useState(false);
|
|
51
|
+
const [{ value }, , { setValue }] = useField<unknown | unknown[]>(name);
|
|
52
|
+
|
|
53
|
+
const [focusedItemIndex, setFocusedItemIndex] = React.useState<number | null>(null);
|
|
54
|
+
const [activeItemId, setActiveItemId] = React.useState<string | null>(null);
|
|
55
|
+
const textInputRef = React.useRef<HTMLInputElement>();
|
|
56
|
+
|
|
57
|
+
const setActiveAndFocusedItem = (itemIndex: number) => {
|
|
58
|
+
setFocusedItemIndex(itemIndex);
|
|
59
|
+
const focusedItem = selectOptions[itemIndex];
|
|
60
|
+
setActiveItemId(createItemId(focusedItem.value as string));
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
const resetActiveAndFocusedItem = () => {
|
|
64
|
+
setFocusedItemIndex(null);
|
|
65
|
+
setActiveItemId(null);
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
const closeMenu = () => {
|
|
69
|
+
setIsOpen(false);
|
|
70
|
+
resetActiveAndFocusedItem();
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
const onInputClick = () => {
|
|
74
|
+
if (!isOpen) {
|
|
75
|
+
setIsOpen(true);
|
|
76
|
+
} else if (!filterValue) {
|
|
77
|
+
closeMenu();
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
const handleMenuArrowKeys = (key: string) => {
|
|
82
|
+
let indexToFocus = 0;
|
|
83
|
+
|
|
84
|
+
if (!isOpen) {
|
|
85
|
+
setIsOpen(true);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
if (selectOptions.every((option) => option.isDisabled)) {
|
|
89
|
+
return;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
if (key === 'ArrowUp') {
|
|
93
|
+
// When no index is set or at the first index, focus to the last, otherwise decrement focus index
|
|
94
|
+
if (focusedItemIndex === null || focusedItemIndex === 0) {
|
|
95
|
+
indexToFocus = selectOptions.length - 1;
|
|
96
|
+
} else {
|
|
97
|
+
indexToFocus = focusedItemIndex - 1;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
// Skip disabled options
|
|
101
|
+
while (selectOptions[indexToFocus].isDisabled) {
|
|
102
|
+
indexToFocus--;
|
|
103
|
+
if (indexToFocus === -1) {
|
|
104
|
+
indexToFocus = selectOptions.length - 1;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
if (key === 'ArrowDown') {
|
|
110
|
+
// When no index is set or at the last index, focus to the first, otherwise increment focus index
|
|
111
|
+
if (focusedItemIndex === null || focusedItemIndex === selectOptions.length - 1) {
|
|
112
|
+
indexToFocus = 0;
|
|
113
|
+
} else {
|
|
114
|
+
indexToFocus = focusedItemIndex + 1;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
// Skip disabled options
|
|
118
|
+
while (selectOptions[indexToFocus].isDisabled) {
|
|
119
|
+
indexToFocus++;
|
|
120
|
+
if (indexToFocus === selectOptions.length) {
|
|
121
|
+
indexToFocus = 0;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
setActiveAndFocusedItem(indexToFocus);
|
|
127
|
+
};
|
|
128
|
+
|
|
129
|
+
const onInputKeyDown = (event: React.KeyboardEvent<HTMLInputElement>) => {
|
|
130
|
+
const focusedItem = focusedItemIndex !== null ? selectOptions[focusedItemIndex] : null;
|
|
131
|
+
|
|
132
|
+
switch (event.key) {
|
|
133
|
+
case 'Enter':
|
|
134
|
+
if (
|
|
135
|
+
isOpen &&
|
|
136
|
+
focusedItem &&
|
|
137
|
+
focusedItem.value !== NO_RESULTS &&
|
|
138
|
+
!focusedItem.isAriaDisabled
|
|
139
|
+
) {
|
|
140
|
+
onSelect(focusedItem.value as string);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
if (!isOpen) {
|
|
144
|
+
setIsOpen(true);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
break;
|
|
148
|
+
case 'ArrowUp':
|
|
149
|
+
case 'ArrowDown':
|
|
150
|
+
event.preventDefault();
|
|
151
|
+
handleMenuArrowKeys(event.key);
|
|
152
|
+
break;
|
|
153
|
+
}
|
|
154
|
+
};
|
|
155
|
+
|
|
156
|
+
const onToggleClick = () => {
|
|
157
|
+
setIsOpen(!isOpen);
|
|
158
|
+
textInputRef?.current?.focus();
|
|
159
|
+
};
|
|
160
|
+
|
|
161
|
+
const onTextInputChange = (_event: React.FormEvent<HTMLInputElement>, value: string) => {
|
|
162
|
+
setFilterValue(value);
|
|
163
|
+
resetActiveAndFocusedItem();
|
|
164
|
+
};
|
|
165
|
+
|
|
166
|
+
const onSelect = React.useCallback(
|
|
167
|
+
(val) => {
|
|
168
|
+
if (val && val !== NO_RESULTS) {
|
|
169
|
+
if (isMultiSelect && Array.isArray(value)) {
|
|
170
|
+
setValue(
|
|
171
|
+
value.some((v) => isEqual(v, val))
|
|
172
|
+
? value.filter((v) => !isEqual(v, val))
|
|
173
|
+
: [...(value as unknown[]), val],
|
|
174
|
+
);
|
|
175
|
+
} else {
|
|
176
|
+
setValue(val);
|
|
177
|
+
setFilterValue(selectOptions.find((option) => option.value === val)?.children as string);
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
textInputRef.current?.focus();
|
|
182
|
+
},
|
|
183
|
+
[isMultiSelect, setValue, setFilterValue, selectOptions, value],
|
|
184
|
+
);
|
|
185
|
+
|
|
186
|
+
const onClearButtonClick = () => {
|
|
187
|
+
setFilterValue('');
|
|
188
|
+
resetActiveAndFocusedItem();
|
|
189
|
+
textInputRef?.current?.focus();
|
|
190
|
+
};
|
|
191
|
+
|
|
192
|
+
const toggle = (toggleRef: React.Ref<MenuToggleElement>) => (
|
|
193
|
+
<MenuToggle
|
|
194
|
+
variant="typeahead"
|
|
195
|
+
aria-label="Multi typeahead checkbox menu toggle"
|
|
196
|
+
onClick={onToggleClick}
|
|
197
|
+
innerRef={toggleRef}
|
|
198
|
+
isExpanded={isOpen}
|
|
199
|
+
isFullWidth
|
|
200
|
+
>
|
|
201
|
+
<TextInputGroup isPlain>
|
|
202
|
+
<TextInputGroupMain
|
|
203
|
+
isExpanded={isOpen}
|
|
204
|
+
value={filterValue}
|
|
205
|
+
placeholder={placeholder}
|
|
206
|
+
onClick={onInputClick}
|
|
207
|
+
onChange={onTextInputChange}
|
|
208
|
+
onKeyDown={onInputKeyDown}
|
|
209
|
+
innerRef={textInputRef}
|
|
210
|
+
autoComplete="off"
|
|
211
|
+
role="combobox"
|
|
212
|
+
id="typeahead-select-input"
|
|
213
|
+
aria-controls="typeahead-select-listbox"
|
|
214
|
+
{...(activeItemId && { 'aria-activedescendant': activeItemId })}
|
|
215
|
+
/>
|
|
216
|
+
<TextInputGroupUtilities {...(!filterValue ? { style: { display: 'none' } } : {})}>
|
|
217
|
+
<Button variant="plain" onClick={onClearButtonClick} aria-label="Clear input value">
|
|
218
|
+
<TimesIcon aria-hidden />
|
|
219
|
+
</Button>
|
|
220
|
+
</TextInputGroupUtilities>
|
|
221
|
+
</TextInputGroup>
|
|
222
|
+
</MenuToggle>
|
|
223
|
+
);
|
|
224
|
+
|
|
225
|
+
return (
|
|
226
|
+
<FormGroup label={label} isRequired={isRequired}>
|
|
227
|
+
<Select
|
|
228
|
+
role="menu"
|
|
229
|
+
id="typeahead-select"
|
|
230
|
+
isOpen={isOpen}
|
|
231
|
+
selected={value}
|
|
232
|
+
onSelect={(_event, selection) => onSelect(selection as string)}
|
|
233
|
+
onOpenChange={(isOpen) => {
|
|
234
|
+
!isOpen && closeMenu();
|
|
235
|
+
}}
|
|
236
|
+
toggle={toggle}
|
|
237
|
+
isScrollable
|
|
238
|
+
>
|
|
239
|
+
<SelectList isAriaMultiselectable id="select-typeahead-listbox">
|
|
240
|
+
{isLoading ? (
|
|
241
|
+
<SelectOption key={'loader'}>
|
|
242
|
+
<Bullseye>
|
|
243
|
+
<Spinner size="lg" />
|
|
244
|
+
</Bullseye>
|
|
245
|
+
</SelectOption>
|
|
246
|
+
) : (
|
|
247
|
+
selectOptions.map((option, index) => (
|
|
248
|
+
<>
|
|
249
|
+
{option.showDivider && <Divider component="li" key={`divider-${index}`} />}
|
|
250
|
+
<SelectOption
|
|
251
|
+
hasCheckbox={isMultiSelect && !option.isAriaDisabled}
|
|
252
|
+
isSelected={
|
|
253
|
+
isMultiSelect && Array.isArray(value)
|
|
254
|
+
? value.some((v) => isEqual(v, option.value))
|
|
255
|
+
: value === option.value
|
|
256
|
+
}
|
|
257
|
+
key={`option-${index}`}
|
|
258
|
+
isFocused={focusedItemIndex === index}
|
|
259
|
+
ref={null}
|
|
260
|
+
{...option}
|
|
261
|
+
/>
|
|
262
|
+
</>
|
|
263
|
+
))
|
|
264
|
+
)}
|
|
265
|
+
</SelectList>
|
|
266
|
+
</Select>
|
|
267
|
+
{helperText && (
|
|
268
|
+
<FormHelperText>
|
|
269
|
+
<HelperText>
|
|
270
|
+
<HelperTextItem>{helperText}</HelperTextItem>
|
|
271
|
+
</HelperText>
|
|
272
|
+
</FormHelperText>
|
|
273
|
+
)}
|
|
274
|
+
</FormGroup>
|
|
275
|
+
);
|
|
276
|
+
};
|
|
277
|
+
|
|
278
|
+
export default SelectFieldWithSearch;
|
|
@@ -60,13 +60,20 @@ const TextAreaField: React.FC<TextAreaFieldProps> = ({
|
|
|
60
60
|
{(errorMessage || helperText) && (
|
|
61
61
|
<FormHelperText>
|
|
62
62
|
<HelperText>
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
63
|
+
{errorMessage && (
|
|
64
|
+
<HelperTextItem
|
|
65
|
+
icon={<ExclamationCircleIcon />}
|
|
66
|
+
variant={'error'}
|
|
67
|
+
id={`${fieldId}-helper-error`}
|
|
68
|
+
>
|
|
69
|
+
{errorMessage}
|
|
70
|
+
</HelperTextItem>
|
|
71
|
+
)}
|
|
72
|
+
{helperText && (
|
|
73
|
+
<HelperTextItem variant={'default'} id={`${fieldId}-helper`}>
|
|
74
|
+
{helperText}
|
|
75
|
+
</HelperTextItem>
|
|
76
|
+
)}
|
|
70
77
|
</HelperText>
|
|
71
78
|
</FormHelperText>
|
|
72
79
|
)}
|
|
@@ -9,7 +9,6 @@ export { default as SwitchField } from './SwitchField';
|
|
|
9
9
|
export { default as FormikAutoSave, useFormikAutoSave } from './FormikAutoSave';
|
|
10
10
|
export { default as PullSecretField } from './PullSecretField';
|
|
11
11
|
export { default as RadioField } from './RadioField';
|
|
12
|
-
export { default as SingleNodeCheckbox } from './SingleNodeCheckbox';
|
|
13
12
|
export { default as NumberInputField } from './NumberInputField';
|
|
14
13
|
export { default as CodeField } from './CodeField';
|
|
15
14
|
export { default as RichInputField } from './RichInputField';
|
|
@@ -18,6 +17,7 @@ export { default as RemovableField } from './RemovableField';
|
|
|
18
17
|
export { default as AddButton } from './AddButton';
|
|
19
18
|
export { default as PencilEditField } from './PencilEditField';
|
|
20
19
|
export { default as AlertFormikError } from './AlertFormikError';
|
|
20
|
+
export { default as SelectFieldWithSearch } from './SelectFieldWithSearch';
|
|
21
21
|
|
|
22
22
|
export * from './utils';
|
|
23
23
|
export * from './PullSecretField';
|
|
@@ -10,8 +10,8 @@ import {
|
|
|
10
10
|
import { ValidationGroup as ClusterValidationGroup } from '../types/clusters';
|
|
11
11
|
import buildManifest from '@openshift-assisted/ui-lib/package.json';
|
|
12
12
|
|
|
13
|
-
export const
|
|
14
|
-
export const
|
|
13
|
+
export const DEFAULT_POLLING_INTERVAL = 10 * 1000;
|
|
14
|
+
export const REDUCED_POLLING_INTERVAL = 10 * 1000 * 6;
|
|
15
15
|
|
|
16
16
|
export const hostRoles = (t: TFunction): HostRole[] => [
|
|
17
17
|
{
|
|
@@ -33,6 +33,11 @@ export const hostRoles = (t: TFunction): HostRole[] => [
|
|
|
33
33
|
'ai:Runs application workloads. Connect at least 5 hosts to enable dedicated workers.',
|
|
34
34
|
),
|
|
35
35
|
},
|
|
36
|
+
{
|
|
37
|
+
value: 'arbiter',
|
|
38
|
+
label: t('ai:Arbiter'),
|
|
39
|
+
description: t('ai:Prevents split-brain scenarios and maintains quorum.'),
|
|
40
|
+
},
|
|
36
41
|
];
|
|
37
42
|
|
|
38
43
|
export const clusterStatusLabels = (t: TFunction): { [key in Cluster['status']]: string } => ({
|
|
@@ -59,7 +64,6 @@ export const clusterFieldLabels = (t: TFunction): { [key in string]: string } =>
|
|
|
59
64
|
ingressVips: t('ai:Ingress IP'),
|
|
60
65
|
pullSecret: t('ai:Pull secret'),
|
|
61
66
|
sshPublicKey: t('ai:SSH public key'),
|
|
62
|
-
SNODisclaimer: t('ai:Single Node OpenShift disclaimer'),
|
|
63
67
|
diskEncryptionTangServers: t("ai:Tang servers' URLs or thumbprints"),
|
|
64
68
|
selectedHostIds: t('ai:Hosts selection'),
|
|
65
69
|
httpProxy: t('ai:HTTP proxy'),
|
|
@@ -140,6 +144,10 @@ export const hostValidationLabels = (t: TFunction): { [key in HostValidationId]:
|
|
|
140
144
|
'fence-agents-remediation-requirements-satisfied': t('ai:Fence Agents Remediation requirements'),
|
|
141
145
|
'node-maintenance-requirements-satisfied': t('ai:Node Maintenance requirements'),
|
|
142
146
|
'kube-descheduler-requirements-satisfied': t('ai:Kube Descheduler requirements'),
|
|
147
|
+
'cluster-observability-requirements-satisfied': t('ai:Cluster Observability requirements'),
|
|
148
|
+
'numa-resources-requirements-satisfied': t('ai:NUMA Resources requirements'),
|
|
149
|
+
'oadp-requirements-satisfied': t('ai:OADP requirements'),
|
|
150
|
+
'metallb-requirements-satisfied': t('ai:MetalLB requirements'),
|
|
143
151
|
});
|
|
144
152
|
|
|
145
153
|
export const hostValidationFailureHints = (
|
|
@@ -207,6 +215,10 @@ export const hostValidationFailureHints = (
|
|
|
207
215
|
'fence-agents-remediation-requirements-satisfied': '',
|
|
208
216
|
'node-maintenance-requirements-satisfied': '',
|
|
209
217
|
'kube-descheduler-requirements-satisfied': '',
|
|
218
|
+
'cluster-observability-requirements-satisfied': '',
|
|
219
|
+
'numa-resources-requirements-satisfied': '',
|
|
220
|
+
'oadp-requirements-satisfied': '',
|
|
221
|
+
'metallb-requirements-satisfied': '',
|
|
210
222
|
});
|
|
211
223
|
|
|
212
224
|
export const clusterValidationLabels = (
|
|
@@ -236,6 +248,10 @@ export const clusterValidationLabels = (
|
|
|
236
248
|
'cnv-requirements-satisfied': t('ai:CNV requirements'),
|
|
237
249
|
'mce-requirements-satisfied': t('ai:MCE requirements'),
|
|
238
250
|
'platform-requirements-satisfied': t('ai:Platform requirements'),
|
|
251
|
+
'cluster-observability-requirements-satisfied': t('ai:Cluster Observability requirements'),
|
|
252
|
+
'numa-resources-requirements-satisfied': t('ai:NUMA Resources requirements'),
|
|
253
|
+
'oadp-requirements-satisfied': t('ai:OADP requirements'),
|
|
254
|
+
'metallb-requirements-satisfied': t('ai:MetalLB requirements'),
|
|
239
255
|
});
|
|
240
256
|
|
|
241
257
|
export const clusterValidationGroupLabels = (
|
|
@@ -316,6 +332,10 @@ export const OPERATOR_NAME_SELF_NODE_REMEDIATION = 'self-node-remediation';
|
|
|
316
332
|
export const OPERATOR_NAME_FENCE_AGENTS_REMEDIATION = 'fence-agents-remediation';
|
|
317
333
|
export const OPERATOR_NAME_NODE_MAINTENANCE = 'node-maintenance';
|
|
318
334
|
export const OPERATOR_NAME_KUBE_DESCHEDULER = 'kube-descheduler';
|
|
335
|
+
export const OPERATOR_NAME_CLUSTER_OBSERVABILITY = 'cluster-observability';
|
|
336
|
+
export const OPERATOR_NAME_NUMA_RESOURCES = 'numaresources';
|
|
337
|
+
export const OPERATOR_NAME_OADP = 'oadp';
|
|
338
|
+
export const OPERATOR_NAME_METALLB = 'metallb';
|
|
319
339
|
|
|
320
340
|
export const singleClusterOperators = [
|
|
321
341
|
OPERATOR_NAME_CNV,
|
|
@@ -324,7 +344,6 @@ export const singleClusterOperators = [
|
|
|
324
344
|
OPERATOR_NAME_NODE_HEALTHCHECK,
|
|
325
345
|
OPERATOR_NAME_NODE_MAINTENANCE,
|
|
326
346
|
OPERATOR_NAME_FENCE_AGENTS_REMEDIATION,
|
|
327
|
-
OPERATOR_NAME_SELF_NODE_REMEDIATION,
|
|
328
347
|
OPERATOR_NAME_KUBE_DESCHEDULER,
|
|
329
348
|
];
|
|
330
349
|
|
|
@@ -1,14 +1,24 @@
|
|
|
1
|
-
|
|
1
|
+
import { isMajorMinorVersionEqualOrGreater } from '../utils';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
const LATEST_OPENSHIFT_DOCS_VERSION = '4.19';
|
|
4
|
+
const MIN_OPENSHIFT_DOCS_VERSION = '4.14';
|
|
5
|
+
|
|
6
|
+
const getDocsOpenshiftVersion = (ocpVersion?: string): string => {
|
|
4
7
|
if (!ocpVersion) {
|
|
5
|
-
return
|
|
8
|
+
return LATEST_OPENSHIFT_DOCS_VERSION;
|
|
9
|
+
}
|
|
10
|
+
if (isMajorMinorVersionEqualOrGreater(MIN_OPENSHIFT_DOCS_VERSION, ocpVersion)) {
|
|
11
|
+
return MIN_OPENSHIFT_DOCS_VERSION;
|
|
6
12
|
}
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
return DEFAULT_OPENSHIFT_DOCS_VERSION;
|
|
13
|
+
if (isMajorMinorVersionEqualOrGreater(ocpVersion, LATEST_OPENSHIFT_DOCS_VERSION)) {
|
|
14
|
+
return LATEST_OPENSHIFT_DOCS_VERSION;
|
|
10
15
|
}
|
|
11
|
-
|
|
16
|
+
|
|
17
|
+
const versionParts = ocpVersion.split('.').slice(0, 2).map(Number);
|
|
18
|
+
if (versionParts.length < 2) {
|
|
19
|
+
return LATEST_OPENSHIFT_DOCS_VERSION;
|
|
20
|
+
}
|
|
21
|
+
return `${versionParts[0]}.${versionParts[1]}`;
|
|
12
22
|
};
|
|
13
23
|
|
|
14
24
|
export const getYearForAssistedInstallerDocumentationLink = () => {
|
|
@@ -31,19 +41,19 @@ export const CLUSTER_MANAGER_SITE_LINK = 'https://console.redhat.com/openshift/i
|
|
|
31
41
|
export const PULL_SECRET_INFO_LINK = CLUSTER_MANAGER_SITE_LINK;
|
|
32
42
|
|
|
33
43
|
export const getEncryptingDiskDuringInstallationDocsLink = (ocpVersion?: string) =>
|
|
34
|
-
`https://docs.redhat.com/en/documentation/openshift_container_platform/${
|
|
44
|
+
`https://docs.redhat.com/en/documentation/openshift_container_platform/${getDocsOpenshiftVersion(
|
|
35
45
|
ocpVersion,
|
|
36
46
|
)}/html/installation_configuration/installing-customizing#installation-special-config-encrypt-disk_installing-customizing`;
|
|
37
47
|
|
|
38
48
|
//Networking page
|
|
39
|
-
export const getOpenShiftNetworkingDocsLink = (ocpVersion?: string) =>
|
|
40
|
-
|
|
49
|
+
export const getOpenShiftNetworkingDocsLink = (ocpVersion?: string) => {
|
|
50
|
+
const variant = isMajorMinorVersionEqualOrGreater(ocpVersion, '4.18')
|
|
51
|
+
? 'user-provisioned-infrastructure'
|
|
52
|
+
: 'installing-bare-metal';
|
|
53
|
+
return `https://docs.redhat.com/en/documentation/openshift_container_platform/${getDocsOpenshiftVersion(
|
|
41
54
|
ocpVersion,
|
|
42
|
-
)}/html/installing_on_bare_metal/${
|
|
43
|
-
|
|
44
|
-
? 'user-provisioned-infrastructure'
|
|
45
|
-
: 'installing-bare-metal'
|
|
46
|
-
}#installation-network-user-infra_installing-bare-metal`;
|
|
55
|
+
)}/html/installing_on_bare_metal/${variant}#installation-network-user-infra_installing-bare-metal`;
|
|
56
|
+
};
|
|
47
57
|
|
|
48
58
|
export const SSH_GENERATION_DOC_LINK = 'https://www.redhat.com/sysadmin/configure-ssh-keygen';
|
|
49
59
|
|
|
@@ -52,7 +62,7 @@ export const getOcpConsoleNodesPage = (ocpConsoleUrl: string) =>
|
|
|
52
62
|
`${ocpConsoleUrl}/k8s/cluster/nodes`;
|
|
53
63
|
|
|
54
64
|
export const getApproveNodesInClLink = (ocpVersion?: string) =>
|
|
55
|
-
`https://docs.redhat.com/en/documentation/openshift_container_platform/${
|
|
65
|
+
`https://docs.redhat.com/en/documentation/openshift_container_platform/${getDocsOpenshiftVersion(
|
|
56
66
|
ocpVersion,
|
|
57
67
|
)}/html/installing_on_any_platform/installing-platform-agnostic#installation-approve-csrs_installing-platform-agnostic`;
|
|
58
68
|
|
|
@@ -90,18 +100,20 @@ export const OSC_REQUIREMENTS_LINK =
|
|
|
90
100
|
|
|
91
101
|
export const CNV_LINK = 'https://cloud.redhat.com/learn/topics/virtualization/';
|
|
92
102
|
|
|
93
|
-
export const
|
|
94
|
-
|
|
103
|
+
export const getKmmDocsLink = (ocpVersion?: string) =>
|
|
104
|
+
`https://docs.redhat.com/en/documentation/openshift_container_platform/${getDocsOpenshiftVersion(
|
|
105
|
+
ocpVersion,
|
|
106
|
+
)}/html/specialized_hardware_and_driver_enablement/kernel-module-management-operator`;
|
|
95
107
|
|
|
96
108
|
export const ODF_LINK = 'https://www.redhat.com/en/resources/openshift-data-foundation-datasheet';
|
|
97
109
|
|
|
98
110
|
export const getMceDocsLink = (ocpVersion?: string) =>
|
|
99
|
-
`https://docs.redhat.com/en/documentation/openshift_container_platform/${
|
|
111
|
+
`https://docs.redhat.com/en/documentation/openshift_container_platform/${getDocsOpenshiftVersion(
|
|
100
112
|
ocpVersion,
|
|
101
113
|
)}/html/architecture/about-the-multicluster-engine-for-kubernetes-operator`;
|
|
102
114
|
|
|
103
115
|
export const getLvmsDocsLink = (ocpVersion?: string) =>
|
|
104
|
-
`https://docs.redhat.com/en/documentation/openshift_container_platform/${
|
|
116
|
+
`https://docs.redhat.com/en/documentation/openshift_container_platform/${getDocsOpenshiftVersion(
|
|
105
117
|
ocpVersion,
|
|
106
118
|
)}/html/storage/configuring-persistent-storage#overview-of-lvm-storage-functionality_ways-to-provision-local-storage`;
|
|
107
119
|
|
|
@@ -118,7 +130,7 @@ export const NODE_MAINTENANCE_LINK =
|
|
|
118
130
|
'https://docs.redhat.com/en/documentation/workload_availability_for_red_hat_openshift/latest/html/remediation_fencing_and_maintenance/node-maintenance-operator';
|
|
119
131
|
|
|
120
132
|
export const getKubeDeschedulerLink = (ocpVersion?: string) =>
|
|
121
|
-
`https://docs.redhat.com/en/documentation/openshift_container_platform/${
|
|
133
|
+
`https://docs.redhat.com/en/documentation/openshift_container_platform/${getDocsOpenshiftVersion(
|
|
122
134
|
ocpVersion,
|
|
123
135
|
)}/html/nodes/controlling-pod-placement-onto-nodes-scheduling#descheduler`;
|
|
124
136
|
|
|
@@ -146,42 +158,65 @@ export const OPENSHIFT_AI_LINK =
|
|
|
146
158
|
export const OSC_LINK = 'https://docs.redhat.com/en/documentation/openshift_sandboxed_containers';
|
|
147
159
|
|
|
148
160
|
export const getMtuLink = (ocpVersion?: string) =>
|
|
149
|
-
`https://docs.redhat.com/en/documentation/openshift_container_platform/${
|
|
161
|
+
`https://docs.redhat.com/en/documentation/openshift_container_platform/${getDocsOpenshiftVersion(
|
|
150
162
|
ocpVersion,
|
|
151
163
|
)}/html/networking/changing-cluster-network-mtu#nw-cluster-mtu-change-about_changing-cluster-network-mtu`;
|
|
152
164
|
|
|
153
|
-
export const AUTHORINO_OPERATOR_LINK =
|
|
165
|
+
export const AUTHORINO_OPERATOR_LINK =
|
|
166
|
+
'https://github.com/Kuadrant/authorino-operator/blob/main/README.md';
|
|
154
167
|
|
|
155
|
-
export const getLsoLink = (ocpVersion?: string) =>
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
168
|
+
export const getLsoLink = (ocpVersion?: string) => {
|
|
169
|
+
const version = getDocsOpenshiftVersion(ocpVersion);
|
|
170
|
+
return isMajorMinorVersionEqualOrGreater(ocpVersion, '4.19')
|
|
171
|
+
? `https://docs.redhat.com/en/documentation/openshift_container_platform/${version}/html/storage/configuring-persistent-storage#persistent-storage-using-local-storage`
|
|
172
|
+
: `https://docs.openshift.com/container-platform/${version}/storage/persistent_storage/persistent_storage_local/ways-to-provision-local-storage.html`;
|
|
173
|
+
};
|
|
159
174
|
|
|
160
175
|
export const getNmstateLink = (ocpVersion?: string) =>
|
|
161
|
-
`https://docs.
|
|
176
|
+
`https://docs.redhat.com/en/documentation/openshift_container_platform/${getDocsOpenshiftVersion(
|
|
162
177
|
ocpVersion,
|
|
163
|
-
)}/networking/
|
|
178
|
+
)}/html/networking/networking-operators#k8s-nmstate-about-the-k8s-nmstate-operator`;
|
|
164
179
|
|
|
165
180
|
export const getNodeFeatureDiscoveryLink = (ocpVersion?: string) =>
|
|
166
|
-
`https://docs.
|
|
181
|
+
`https://docs.redhat.com/en/documentation/openshift_container_platform/${getDocsOpenshiftVersion(
|
|
167
182
|
ocpVersion,
|
|
168
|
-
)}/
|
|
183
|
+
)}/html/specialized_hardware_and_driver_enablement/psap-node-feature-discovery-operator`;
|
|
169
184
|
|
|
170
|
-
export const getNvidiaGpuLink = (ocpVersion?: string) =>
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
185
|
+
export const getNvidiaGpuLink = (ocpVersion?: string) => {
|
|
186
|
+
const version = getDocsOpenshiftVersion(ocpVersion);
|
|
187
|
+
return isMajorMinorVersionEqualOrGreater(ocpVersion, '4.18')
|
|
188
|
+
? `https://docs.redhat.com/en/documentation/openshift_container_platform/${version}/html/virtualization/managing-vms#virt-configuring-virtual-gpus`
|
|
189
|
+
: `https://docs.openshift.com/container-platform/${version}/virt/virtual_machines/advanced_vm_management/virt-configuring-virtual-gpus.html`;
|
|
190
|
+
};
|
|
174
191
|
|
|
175
192
|
export const PIPELINES_OPERATOR_LINK =
|
|
176
|
-
'https://docs.
|
|
193
|
+
'https://docs.redhat.com/en/documentation/red_hat_openshift_pipelines/1.18/html/installing_and_configuring/installing-pipelines';
|
|
177
194
|
|
|
178
|
-
export const
|
|
179
|
-
|
|
180
|
-
ocpVersion,
|
|
181
|
-
)}/service_mesh/v1x/preparing-ossm-installation.html`;
|
|
195
|
+
export const SERVICE_MESH_OPERATOR_LINK =
|
|
196
|
+
'https://docs.redhat.com/en/documentation/red_hat_openshift_service_mesh/3.0/html/installing/ossm-installing-service-mesh';
|
|
182
197
|
|
|
183
198
|
export const SERVERLESS_OPERATOR_LINK =
|
|
184
|
-
'https://docs.
|
|
199
|
+
'https://docs.redhat.com/en/documentation/red_hat_openshift_serverless/1.36/html/installing_openshift_serverless/install-serverless-operator#serverless-install-web-console_install-serverless-operator';
|
|
185
200
|
|
|
186
201
|
export const KUBECONFIG_INFO_LINK =
|
|
187
202
|
'https://docs.redhat.com/en/documentation/openshift_container_platform/4.18/html/cli_tools/openshift-cli-oc#about-switches-between-cli-profiles_managing-cli-profiles';
|
|
203
|
+
|
|
204
|
+
export const getOadpLink = (ocpVersion?: string) =>
|
|
205
|
+
`https://docs.redhat.com/en/documentation/openshift_container_platform/${getDocsOpenshiftVersion(
|
|
206
|
+
ocpVersion,
|
|
207
|
+
)}/html/backup_and_restore/oadp-application-backup-and-restore`;
|
|
208
|
+
|
|
209
|
+
export const getMetalLbLink = (ocpVersion?: string) =>
|
|
210
|
+
`https://docs.redhat.com/en/documentation/openshift_container_platform/${getDocsOpenshiftVersion(
|
|
211
|
+
ocpVersion,
|
|
212
|
+
)}/html/networking_operators/metallb-operator`;
|
|
213
|
+
|
|
214
|
+
export const getClusterObservabilityLink = (ocpVersion?: string) =>
|
|
215
|
+
`https://docs.redhat.com/en/documentation/openshift_container_platform/${getDocsOpenshiftVersion(
|
|
216
|
+
ocpVersion,
|
|
217
|
+
)}/html/cluster_observability_operator/cluster-observability-operator-overview`;
|
|
218
|
+
|
|
219
|
+
export const getNumaResourcesLink = (ocpVersion?: string) =>
|
|
220
|
+
`https://docs.redhat.com/en/documentation/openshift_container_platform/${getDocsOpenshiftVersion(
|
|
221
|
+
ocpVersion,
|
|
222
|
+
)}/html/scalability_and_performance/cnf-numa-aware-scheduling`;
|
|
@@ -56,8 +56,7 @@ export const isCompact = (cluster: Pick<Cluster, 'hosts'>) => {
|
|
|
56
56
|
return !cluster.hosts || cluster.hosts.length <= 3;
|
|
57
57
|
};
|
|
58
58
|
|
|
59
|
-
export const isSNO = ({
|
|
60
|
-
highAvailabilityMode === 'None';
|
|
59
|
+
export const isSNO = ({ controlPlaneCount }: Partial<Cluster>) => controlPlaneCount === 1;
|
|
61
60
|
|
|
62
61
|
export const selectClusterValidationsInfo = ({
|
|
63
62
|
validationsInfo,
|
|
@@ -76,18 +76,12 @@ export const getSupportedCpuArchitectures = (
|
|
|
76
76
|
day1CpuArchitecture?: SupportedCpuArchitecture,
|
|
77
77
|
): SupportedCpuArchitecture[] => {
|
|
78
78
|
const newSupportedCpuArchs: SupportedCpuArchitecture[] = [];
|
|
79
|
-
//Power
|
|
80
|
-
if (
|
|
81
|
-
day1CpuArchitecture === CpuArchitecture.ppc64le ||
|
|
82
|
-
day1CpuArchitecture === CpuArchitecture.s390x
|
|
83
|
-
) {
|
|
79
|
+
//Power clusters can be only homogeneous clusters
|
|
80
|
+
if (day1CpuArchitecture === CpuArchitecture.ppc64le) {
|
|
84
81
|
newSupportedCpuArchs.push(day1CpuArchitecture);
|
|
85
82
|
} else {
|
|
86
83
|
cpuArchitectures.forEach((cpuArch) => {
|
|
87
|
-
if (
|
|
88
|
-
day1CpuArchitecture === undefined &&
|
|
89
|
-
(cpuArch === CpuArchitecture.ppc64le || cpuArch === CpuArchitecture.s390x)
|
|
90
|
-
) {
|
|
84
|
+
if (day1CpuArchitecture === undefined && cpuArch === CpuArchitecture.ppc64le) {
|
|
91
85
|
newSupportedCpuArchs.push(cpuArch);
|
|
92
86
|
} else if (
|
|
93
87
|
cpuArch !== CpuArchitecture.MULTI &&
|
package/lib/common/utils.ts
CHANGED
|
@@ -111,3 +111,33 @@ export const getMajorMinorVersion = (version = '') => {
|
|
|
111
111
|
const match = /[0-9].[0-9][0-9]?/g.exec(version);
|
|
112
112
|
return match?.[0] || '';
|
|
113
113
|
};
|
|
114
|
+
|
|
115
|
+
// Converts an Openshift version to a comparable integer
|
|
116
|
+
export const getComparableVersionInt = (version: string): number => {
|
|
117
|
+
const majorMinorParts = version.split('.').slice(0, 2).map(Number);
|
|
118
|
+
if (majorMinorParts.length < 2 || majorMinorParts.some(isNaN)) {
|
|
119
|
+
// If the version doesn't have the required format, returning 0 makes it be considered
|
|
120
|
+
// older than any other version
|
|
121
|
+
return 0;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
const major = majorMinorParts[0];
|
|
125
|
+
const minor = majorMinorParts[1];
|
|
126
|
+
|
|
127
|
+
// Assumes minor versions will not go past 999
|
|
128
|
+
return major * 1000 + minor;
|
|
129
|
+
};
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* Handles version comparison for major and minor parts only.
|
|
133
|
+
*
|
|
134
|
+
* @param checkVersion the version we want to know about
|
|
135
|
+
* @param toVersion the version we want to test against
|
|
136
|
+
* @returns true if "checkVersion" is equal or greater than "toVersion" (major and minor only)
|
|
137
|
+
*/
|
|
138
|
+
export const isMajorMinorVersionEqualOrGreater = (checkVersion = '', toVersion: string) => {
|
|
139
|
+
const checkVersionNum = getComparableVersionInt(checkVersion);
|
|
140
|
+
const toVersionNum = getComparableVersionInt(toVersion);
|
|
141
|
+
|
|
142
|
+
return checkVersionNum >= toVersionNum;
|
|
143
|
+
};
|