@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
|
@@ -4,15 +4,15 @@ import React from 'react';
|
|
|
4
4
|
import Measure from 'react-measure';
|
|
5
5
|
import { Alert, AlertVariant, Grid, GridItem } from '@patternfly/react-core';
|
|
6
6
|
|
|
7
|
-
import { AgentK8sResource } from '
|
|
8
|
-
import { AGENT_LOCATION_LABEL_KEY, AGENT_NOLOCATION_VALUE } from '
|
|
9
|
-
import LocationsSelector from '
|
|
10
|
-
import { ClusterDeploymentHostsSelectionValues, ScaleUpFormValues } from '
|
|
11
|
-
import LabelsSelector, { infraEnvLabelKeys } from '
|
|
12
|
-
import AgentsSelectionTable from '
|
|
13
|
-
import { AgentTableActions } from '
|
|
14
|
-
import { useTranslation } from '
|
|
15
|
-
import { CpuArchitecture } from '
|
|
7
|
+
import { AgentK8sResource } from '../../../types';
|
|
8
|
+
import { AGENT_LOCATION_LABEL_KEY, AGENT_NOLOCATION_VALUE } from '../../common';
|
|
9
|
+
import LocationsSelector from '../LocationsSelector';
|
|
10
|
+
import { ClusterDeploymentHostsSelectionValues, ScaleUpFormValues } from '../types';
|
|
11
|
+
import LabelsSelector, { infraEnvLabelKeys } from '../LabelsSelector';
|
|
12
|
+
import AgentsSelectionTable from '../../Agent/AgentsSelectionTable';
|
|
13
|
+
import { AgentTableActions } from '../types';
|
|
14
|
+
import { useTranslation } from '../../../../common/hooks/use-translation-wrapper';
|
|
15
|
+
import { CpuArchitecture } from '../../../../common';
|
|
16
16
|
|
|
17
17
|
type ClusterDeploymentHostsSelectionAdvancedProps = {
|
|
18
18
|
availableAgents: AgentK8sResource[];
|
|
@@ -25,7 +25,7 @@ type ClusterDeploymentHostsSelectionAdvancedProps = {
|
|
|
25
25
|
|
|
26
26
|
type FormValues = ClusterDeploymentHostsSelectionValues | ScaleUpFormValues;
|
|
27
27
|
|
|
28
|
-
const ClusterDeploymentHostsSelectionAdvanced = <T extends FormValues>({
|
|
28
|
+
export const ClusterDeploymentHostsSelectionAdvanced = <T extends FormValues>({
|
|
29
29
|
availableAgents,
|
|
30
30
|
onEditRole,
|
|
31
31
|
onSetInstallationDiskId,
|
|
@@ -103,5 +103,3 @@ const ClusterDeploymentHostsSelectionAdvanced = <T extends FormValues>({
|
|
|
103
103
|
</>
|
|
104
104
|
);
|
|
105
105
|
};
|
|
106
|
-
|
|
107
|
-
export default ClusterDeploymentHostsSelectionAdvanced;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Grid, GridItem } from '@patternfly/react-core';
|
|
3
|
-
import { CheckboxField, NumberInputField } from '
|
|
4
|
-
import { HOSTS_MAX_COUNT, HOSTS_MIN_COUNT } from '
|
|
3
|
+
import { CheckboxField, NumberInputField } from '../../../../common';
|
|
4
|
+
import { HOSTS_MAX_COUNT, HOSTS_MIN_COUNT } from '../constants';
|
|
5
5
|
import { useFormikContext } from 'formik';
|
|
6
|
-
import { ClusterDeploymentHostsSelectionValues } from '
|
|
7
|
-
import LocationsSelector from '
|
|
8
|
-
import { AgentK8sResource } from '
|
|
9
|
-
import AgentsSelectionHostCountAlerts from '
|
|
10
|
-
import AgentsSelectionHostCountLabelIcon from '
|
|
11
|
-
import { useAgentsAutoSelection } from '
|
|
12
|
-
import { useTranslation } from '
|
|
6
|
+
import { ClusterDeploymentHostsSelectionValues } from '../types';
|
|
7
|
+
import LocationsSelector from '../LocationsSelector';
|
|
8
|
+
import { AgentK8sResource } from '../../../types';
|
|
9
|
+
import AgentsSelectionHostCountAlerts from '../../Agent/AgentsSelectionHostCountAlerts';
|
|
10
|
+
import AgentsSelectionHostCountLabelIcon from '../../Agent/AgentsSelectionHostCountLabelIcon';
|
|
11
|
+
import { useAgentsAutoSelection } from '../../Agent/AgentsSelectionUtils';
|
|
12
|
+
import { useTranslation } from '../../../../common/hooks/use-translation-wrapper';
|
|
13
13
|
|
|
14
14
|
type ClusterDeploymentHostsSelectionBasicProps = {
|
|
15
15
|
availableAgents: AgentK8sResource[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * from './types';
|
|
2
2
|
export * from './helpers';
|
|
3
|
-
export * from './
|
|
3
|
+
export * from './components';
|
|
4
4
|
export * from './LogsDownloadButton';
|
|
5
5
|
export * from './wizardTransition';
|
|
6
6
|
export * from './networkConfigurationValidation';
|
|
@@ -13,6 +13,6 @@ export { default as ClusterDeploymentCredentials } from './ClusterDeploymentCred
|
|
|
13
13
|
export { default as ClusterDeploymentKubeconfigDownload } from './ClusterDeploymentKubeconfigDownload';
|
|
14
14
|
export { default as ClusterInstallationError } from './ClusterInstallationError';
|
|
15
15
|
export { default as NetworkConfiguration } from './NetworkConfiguration';
|
|
16
|
-
export { default as ACMClusterDeploymentDetailsStep } from './ACMClusterDeploymentDetailsStep';
|
|
17
16
|
|
|
18
17
|
export { getTotalCompute } from './ShortCapacitySummary';
|
|
18
|
+
export { ACMClusterDeploymentDetailsStep } from './clusterDetails';
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ConnectedIcon } from '@patternfly/react-icons/dist/js/icons/connected-icon';
|
|
3
|
-
import { EmptyState } from '
|
|
4
|
-
import { AgentTableActions } from '
|
|
3
|
+
import { EmptyState } from '../../../../common';
|
|
4
|
+
import { AgentTableActions } from '../types';
|
|
5
5
|
import {
|
|
6
6
|
AgentClusterInstallK8sResource,
|
|
7
7
|
AgentK8sResource,
|
|
8
8
|
ClusterDeploymentK8sResource,
|
|
9
|
-
} from '
|
|
10
|
-
import { getAICluster, getIsSNOCluster } from '
|
|
11
|
-
import { AdditionalNTPSourcesDialogToggle } from '
|
|
12
|
-
import { agentStatusColumn, useAgentsTable } from '
|
|
13
|
-
import HostsTable from '
|
|
14
|
-
import { HostDetail } from '
|
|
9
|
+
} from '../../../types';
|
|
10
|
+
import { getAICluster, getIsSNOCluster } from '../../helpers';
|
|
11
|
+
import { AdditionalNTPSourcesDialogToggle } from '../components/AdditionalNTPSourcesDialogToggle';
|
|
12
|
+
import { agentStatusColumn, useAgentsTable } from '../../Agent/tableUtils';
|
|
13
|
+
import HostsTable from '../../../../common/components/hosts/HostsTable';
|
|
14
|
+
import { HostDetail } from '../../../../common/components/hosts/HostRowDetail';
|
|
15
15
|
import {
|
|
16
16
|
activeNICColumn,
|
|
17
17
|
hostnameColumn,
|
|
18
18
|
roleColumn,
|
|
19
|
-
} from '
|
|
20
|
-
import { usePagination } from '
|
|
21
|
-
import { useTranslation } from '
|
|
19
|
+
} from '../../../../common/components/hosts/tableUtils';
|
|
20
|
+
import { usePagination } from '../../../../common/components/hosts/usePagination';
|
|
21
|
+
import { useTranslation } from '../../../../common/hooks/use-translation-wrapper';
|
|
22
22
|
import { Host } from '@openshift-assisted/types/assisted-installer-service';
|
|
23
|
-
import { agentStatus } from '
|
|
23
|
+
import { agentStatus } from '../../helpers/agentStatus';
|
|
24
24
|
|
|
25
25
|
type ExpandComponentContextType = {
|
|
26
26
|
onSetInstallationDiskId?: ClusterDeploymentHostsNetworkTableProps['onSetInstallationDiskId'];
|
|
@@ -20,25 +20,21 @@ import {
|
|
|
20
20
|
SecurityFields,
|
|
21
21
|
ProxyFields,
|
|
22
22
|
ProxyInputFields,
|
|
23
|
-
} from '
|
|
24
|
-
import NetworkConfiguration from '
|
|
23
|
+
} from '../../../../common';
|
|
24
|
+
import NetworkConfiguration from '../NetworkConfiguration';
|
|
25
25
|
import ClusterDeploymentHostsNetworkTable from './ClusterDeploymentHostsNetworkTable';
|
|
26
|
-
import { getAICluster, getIsSNOCluster } from '
|
|
26
|
+
import { getAICluster, getIsSNOCluster } from '../../helpers';
|
|
27
27
|
import {
|
|
28
28
|
AgentClusterInstallK8sResource,
|
|
29
29
|
AgentK8sResource,
|
|
30
30
|
ClusterDeploymentK8sResource,
|
|
31
31
|
InfraEnvK8sResource,
|
|
32
|
-
} from '
|
|
33
|
-
import { AgentTableActions, ClusterDeploymentNetworkingValues } from '
|
|
32
|
+
} from '../../../types';
|
|
33
|
+
import { AgentTableActions, ClusterDeploymentNetworkingValues } from '../types';
|
|
34
34
|
import { useFormikContext } from 'formik';
|
|
35
|
-
import { getGridSpans } from '
|
|
36
|
-
import { useTranslation } from '
|
|
35
|
+
import { getGridSpans } from '../helpers';
|
|
36
|
+
import { useTranslation } from '../../../../common/hooks/use-translation-wrapper';
|
|
37
37
|
import { Trans } from 'react-i18next';
|
|
38
|
-
import { ClusterDefaultConfig } from '@openshift-assisted/types/assisted-installer-service';
|
|
39
|
-
|
|
40
|
-
// TODO(mlibra): So far a constant. Should be queried from somewhere.
|
|
41
|
-
export const defaultNetworkSettings: ClusterDefaultConfig = CLUSTER_DEFAULT_NETWORK_SETTINGS_IPV4;
|
|
42
38
|
|
|
43
39
|
type ClusterDeploymentNetworkingFormProps = {
|
|
44
40
|
clusterDeployment: ClusterDeploymentK8sResource;
|
|
@@ -140,7 +136,7 @@ const ClusterDeploymentNetworkingForm: React.FC<ClusterDeploymentNetworkingFormP
|
|
|
140
136
|
cluster={cluster}
|
|
141
137
|
hostSubnets={hostSubnets}
|
|
142
138
|
isVipDhcpAllocationDisabled
|
|
143
|
-
defaultNetworkSettings={
|
|
139
|
+
defaultNetworkSettings={CLUSTER_DEFAULT_NETWORK_SETTINGS_IPV4}
|
|
144
140
|
hideManagedNetworking={getIsSNOCluster(agentClusterInstall) || isNutanix}
|
|
145
141
|
/>
|
|
146
142
|
</GridItem>
|
|
@@ -17,21 +17,21 @@ import {
|
|
|
17
17
|
getFormikErrorFields,
|
|
18
18
|
clusterFieldLabels,
|
|
19
19
|
Alerts,
|
|
20
|
-
} from '
|
|
20
|
+
} from '../../../../common';
|
|
21
21
|
|
|
22
22
|
import {
|
|
23
23
|
ClusterDeploymentDetailsNetworkingProps,
|
|
24
24
|
AgentTableActions,
|
|
25
25
|
ClusterDeploymentNetworkingValues,
|
|
26
|
-
} from '
|
|
26
|
+
} from '../types';
|
|
27
27
|
import ClusterDeploymentNetworkingForm from './ClusterDeploymentNetworkingForm';
|
|
28
|
-
import { isAgentOfCluster } from '
|
|
29
|
-
import { useInfraEnvProxies, useNetworkingFormik } from '
|
|
30
|
-
import { canNextFromNetworkingStep } from '
|
|
31
|
-
import { AgentK8sResource } from '
|
|
32
|
-
import { useTranslation } from '
|
|
33
|
-
import { ValidationSection } from '
|
|
34
|
-
import { ClusterDeploymentWizardContext } from '
|
|
28
|
+
import { isAgentOfCluster } from '../helpers';
|
|
29
|
+
import { useInfraEnvProxies, useNetworkingFormik } from '../use-networking-formik';
|
|
30
|
+
import { canNextFromNetworkingStep } from '../wizardTransition';
|
|
31
|
+
import { AgentK8sResource } from '../../../types';
|
|
32
|
+
import { useTranslation } from '../../../../common/hooks/use-translation-wrapper';
|
|
33
|
+
import { ValidationSection } from '../components/ValidationSection';
|
|
34
|
+
import { ClusterDeploymentWizardContext } from '../ClusterDeploymentWizardContext';
|
|
35
35
|
|
|
36
36
|
type NetworkingFormProps = {
|
|
37
37
|
clusterDeployment: ClusterDeploymentDetailsNetworkingProps['clusterDeployment'];
|
|
@@ -200,7 +200,7 @@ export const NetworkingForm = ({
|
|
|
200
200
|
{syncError && (
|
|
201
201
|
<GridItem>
|
|
202
202
|
<ValidationSection currentStepId={'networking'} hosts={[]}>
|
|
203
|
-
<Alert variant={AlertVariant.danger} title={t('ai:An error
|
|
203
|
+
<Alert variant={AlertVariant.danger} title={t('ai:An error occurred')} isInline>
|
|
204
204
|
{syncError}
|
|
205
205
|
</Alert>
|
|
206
206
|
</ValidationSection>
|
|
@@ -212,7 +212,7 @@ export const NetworkingForm = ({
|
|
|
212
212
|
);
|
|
213
213
|
};
|
|
214
214
|
|
|
215
|
-
const ClusterDeploymentNetworkingStep = ({
|
|
215
|
+
export const ClusterDeploymentNetworkingStep = ({
|
|
216
216
|
clusterDeployment,
|
|
217
217
|
agentClusterInstall,
|
|
218
218
|
agents,
|
|
@@ -261,5 +261,3 @@ const ClusterDeploymentNetworkingStep = ({
|
|
|
261
261
|
</Formik>
|
|
262
262
|
);
|
|
263
263
|
};
|
|
264
|
-
|
|
265
|
-
export default ClusterDeploymentNetworkingStep;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ClusterDeploymentNetworkingStep';
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
WizardFooter,
|
|
9
9
|
} from '@patternfly/react-core';
|
|
10
10
|
import * as React from 'react';
|
|
11
|
-
import { canNextFromReviewStep } from '
|
|
11
|
+
import { canNextFromReviewStep } from '../wizardTransition';
|
|
12
12
|
import {
|
|
13
13
|
AgentClusterInstallK8sResource,
|
|
14
14
|
AgentK8sResource,
|
|
15
15
|
ClusterDeploymentK8sResource,
|
|
16
16
|
ClusterImageSetK8sResource,
|
|
17
17
|
InfraEnvK8sResource,
|
|
18
|
-
} from '
|
|
18
|
+
} from '../../../types';
|
|
19
19
|
import {
|
|
20
20
|
ClusterWizardStepHeader,
|
|
21
21
|
DetailList,
|
|
@@ -24,18 +24,25 @@ import {
|
|
|
24
24
|
ClusterValidations,
|
|
25
25
|
HostsValidations,
|
|
26
26
|
useAlerts,
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
import {
|
|
30
|
-
|
|
27
|
+
getPlatforms,
|
|
28
|
+
} from '../../../../common';
|
|
29
|
+
import {
|
|
30
|
+
getSelectedVersion,
|
|
31
|
+
getAICluster,
|
|
32
|
+
getClusterDeploymentCpuArchitecture,
|
|
33
|
+
} from '../../helpers';
|
|
34
|
+
import { isAgentOfCluster } from '../helpers';
|
|
35
|
+
import { wizardStepNames } from '../constants';
|
|
31
36
|
import {
|
|
32
37
|
wizardStepsValidationsMap,
|
|
33
38
|
ClusterWizardStepsType,
|
|
34
39
|
allClusterWizardSoftValidationIds,
|
|
35
|
-
} from '
|
|
36
|
-
import { useTranslation } from '
|
|
37
|
-
import { ClusterDeploymentWizardContext } from '
|
|
38
|
-
import {
|
|
40
|
+
} from '../wizardTransition';
|
|
41
|
+
import { useTranslation } from '../../../../common/hooks/use-translation-wrapper';
|
|
42
|
+
import { ClusterDeploymentWizardContext } from '../ClusterDeploymentWizardContext';
|
|
43
|
+
import { ReviewConfigMapsTable } from './ReviewConfigMapsTable';
|
|
44
|
+
import { ValidationSection } from '../components/ValidationSection';
|
|
45
|
+
import { PlatformType } from '@openshift-assisted/types/assisted-installer-service';
|
|
39
46
|
|
|
40
47
|
type ClusterDeploymentReviewStepProps = {
|
|
41
48
|
clusterDeployment: ClusterDeploymentK8sResource;
|
|
@@ -47,7 +54,7 @@ type ClusterDeploymentReviewStepProps = {
|
|
|
47
54
|
infraEnv?: InfraEnvK8sResource;
|
|
48
55
|
};
|
|
49
56
|
|
|
50
|
-
const ClusterDeploymentReviewStep = ({
|
|
57
|
+
export const ClusterDeploymentReviewStep = ({
|
|
51
58
|
agentClusterInstall,
|
|
52
59
|
agents,
|
|
53
60
|
onFinish,
|
|
@@ -77,7 +84,7 @@ const ClusterDeploymentReviewStep = ({
|
|
|
77
84
|
await onFinish();
|
|
78
85
|
} catch (err) {
|
|
79
86
|
const error = err as Error;
|
|
80
|
-
addAlert({ title: error.message || t('ai:An error
|
|
87
|
+
addAlert({ title: error.message || t('ai:An error occurred while starting installation.') });
|
|
81
88
|
} finally {
|
|
82
89
|
setSubmitting(false);
|
|
83
90
|
}
|
|
@@ -97,6 +104,10 @@ const ClusterDeploymentReviewStep = ({
|
|
|
97
104
|
useWizardFooter(footer);
|
|
98
105
|
|
|
99
106
|
const openShiftVersion = getSelectedVersion(clusterImages, agentClusterInstall);
|
|
107
|
+
const platform =
|
|
108
|
+
getPlatforms(t)[
|
|
109
|
+
(agentClusterInstall?.spec?.platformType?.toLowerCase() || 'baremetal') as PlatformType
|
|
110
|
+
];
|
|
100
111
|
|
|
101
112
|
const cluster = React.useMemo(
|
|
102
113
|
() => getAICluster({ clusterDeployment, agentClusterInstall, agents: clusterAgents }),
|
|
@@ -127,6 +138,11 @@ const ClusterDeploymentReviewStep = ({
|
|
|
127
138
|
value={cpuArchitecture}
|
|
128
139
|
testId="cpu-architecture"
|
|
129
140
|
/>
|
|
141
|
+
<DetailItem
|
|
142
|
+
title={t('ai:External partner platform')}
|
|
143
|
+
value={platform}
|
|
144
|
+
testId="platform-type"
|
|
145
|
+
/>
|
|
130
146
|
<DetailItem
|
|
131
147
|
title={t('ai:API IP')}
|
|
132
148
|
value={agentClusterInstall?.status?.apiVIP || agentClusterInstall?.spec?.apiVIP}
|
|
@@ -143,6 +159,13 @@ const ClusterDeploymentReviewStep = ({
|
|
|
143
159
|
value={<ReviewHostsInventory hosts={cluster.hosts} />}
|
|
144
160
|
/>
|
|
145
161
|
|
|
162
|
+
{!!agentClusterInstall.spec?.manifestsConfigMapRefs?.length ? (
|
|
163
|
+
<DetailItem
|
|
164
|
+
title={t('ai:Custom manifests')}
|
|
165
|
+
value={<ReviewConfigMapsTable agentClusterInstall={agentClusterInstall} />}
|
|
166
|
+
/>
|
|
167
|
+
) : undefined}
|
|
168
|
+
|
|
146
169
|
<DetailItem
|
|
147
170
|
title={t('ai:Cluster validations')}
|
|
148
171
|
value={
|
|
@@ -173,7 +196,7 @@ const ClusterDeploymentReviewStep = ({
|
|
|
173
196
|
{syncError && (
|
|
174
197
|
<GridItem>
|
|
175
198
|
<ValidationSection currentStepId={'review'} hosts={[]}>
|
|
176
|
-
<Alert variant={AlertVariant.danger} title={t('ai:An error
|
|
199
|
+
<Alert variant={AlertVariant.danger} title={t('ai:An error occurred')} isInline>
|
|
177
200
|
{syncError}
|
|
178
201
|
</Alert>
|
|
179
202
|
</ValidationSection>
|
|
@@ -182,5 +205,3 @@ const ClusterDeploymentReviewStep = ({
|
|
|
182
205
|
</Grid>
|
|
183
206
|
);
|
|
184
207
|
};
|
|
185
|
-
|
|
186
|
-
export default ClusterDeploymentReviewStep;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { useConfigMaps } from '../../../hooks';
|
|
3
|
+
import { Table, TableVariant, Tbody, Td, Tr } from '@patternfly/react-table';
|
|
4
|
+
import { genericTableRowKey, LoadingState } from '../../../../common';
|
|
5
|
+
import { AgentClusterInstallK8sResource } from '../../../types';
|
|
6
|
+
|
|
7
|
+
export const ReviewConfigMapsTable = ({
|
|
8
|
+
agentClusterInstall,
|
|
9
|
+
}: {
|
|
10
|
+
agentClusterInstall: AgentClusterInstallK8sResource;
|
|
11
|
+
}) => {
|
|
12
|
+
const [configMaps, loaded] = useConfigMaps({
|
|
13
|
+
namespace: agentClusterInstall.metadata?.namespace,
|
|
14
|
+
isList: true,
|
|
15
|
+
});
|
|
16
|
+
|
|
17
|
+
const customManifests = React.useMemo(() => {
|
|
18
|
+
const maps = configMaps.filter((configMap) =>
|
|
19
|
+
agentClusterInstall.spec?.manifestsConfigMapRefs
|
|
20
|
+
?.flatMap((ref) => ref.name)
|
|
21
|
+
.includes(configMap.metadata?.name || ''),
|
|
22
|
+
);
|
|
23
|
+
|
|
24
|
+
return maps
|
|
25
|
+
.map((map, index) => [
|
|
26
|
+
{
|
|
27
|
+
rowId: `config-map-${index}`,
|
|
28
|
+
cells: [{ title: map.metadata?.name as string, isExpanded: true, level: 1, posInset: 1 }],
|
|
29
|
+
},
|
|
30
|
+
...Object.keys(map.data || {}).map((key) => ({
|
|
31
|
+
rowId: `config-map-${index}-${key}`,
|
|
32
|
+
cells: [
|
|
33
|
+
{
|
|
34
|
+
title: (
|
|
35
|
+
<>
|
|
36
|
+
<span style={{ width: '1rem', display: 'inline-block' }} />
|
|
37
|
+
{key}
|
|
38
|
+
</>
|
|
39
|
+
),
|
|
40
|
+
posInset: 2,
|
|
41
|
+
level: 2,
|
|
42
|
+
},
|
|
43
|
+
],
|
|
44
|
+
})),
|
|
45
|
+
])
|
|
46
|
+
.flat();
|
|
47
|
+
}, [agentClusterInstall.spec?.manifestsConfigMapRefs, configMaps]);
|
|
48
|
+
|
|
49
|
+
return loaded ? (
|
|
50
|
+
<Table
|
|
51
|
+
variant={TableVariant.compact}
|
|
52
|
+
borders={false}
|
|
53
|
+
data-testid="review-custom-manifests-table"
|
|
54
|
+
>
|
|
55
|
+
<Tbody>
|
|
56
|
+
{customManifests.map((row, i) => (
|
|
57
|
+
<Tr key={genericTableRowKey(row.rowId)}>
|
|
58
|
+
{row.cells.map(({ title, ...props }, j) => (
|
|
59
|
+
<Td key={`cell-${i}-${j}`} {...props}>
|
|
60
|
+
{title}
|
|
61
|
+
</Td>
|
|
62
|
+
))}
|
|
63
|
+
</Tr>
|
|
64
|
+
))}
|
|
65
|
+
</Tbody>
|
|
66
|
+
</Table>
|
|
67
|
+
) : (
|
|
68
|
+
<LoadingState />
|
|
69
|
+
);
|
|
70
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ClusterDeploymentReviewStep';
|
|
@@ -11,7 +11,6 @@ import {
|
|
|
11
11
|
InfraEnvK8sResource,
|
|
12
12
|
} from '../../types';
|
|
13
13
|
import { getAICluster } from '../helpers';
|
|
14
|
-
import { defaultNetworkSettings } from './ClusterDeploymentNetworkingForm';
|
|
15
14
|
import { useDeepCompareMemoize } from '../../../common/hooks';
|
|
16
15
|
import {
|
|
17
16
|
HostSubnets,
|
|
@@ -22,6 +21,7 @@ import {
|
|
|
22
21
|
hostSubnetValidationSchema,
|
|
23
22
|
httpProxyValidationSchema,
|
|
24
23
|
noProxyValidationSchema,
|
|
24
|
+
CLUSTER_DEFAULT_NETWORK_SETTINGS_IPV4,
|
|
25
25
|
} from '../../../common';
|
|
26
26
|
import { ClusterDeploymentNetworkingValues } from './types';
|
|
27
27
|
import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
|
|
@@ -79,7 +79,7 @@ export const useNetworkingFormik = ({
|
|
|
79
79
|
agents,
|
|
80
80
|
});
|
|
81
81
|
return {
|
|
82
|
-
...getNetworkInitialValues(cluster,
|
|
82
|
+
...getNetworkInitialValues(cluster, CLUSTER_DEFAULT_NETWORK_SETTINGS_IPV4),
|
|
83
83
|
enableProxy: false,
|
|
84
84
|
editProxy: false,
|
|
85
85
|
};
|
|
@@ -15,6 +15,7 @@ export type ClusterWizardStepsType =
|
|
|
15
15
|
| 'hosts-selection'
|
|
16
16
|
| 'hosts-discovery'
|
|
17
17
|
| 'networking'
|
|
18
|
+
| 'custom-manifests'
|
|
18
19
|
| 'review';
|
|
19
20
|
|
|
20
21
|
const clusterDetailsStepValidationsMap: WizardStepValidationMap = {
|
|
@@ -98,6 +99,7 @@ export const wizardStepsValidationsMap: WizardStepsValidationMap<ClusterWizardSt
|
|
|
98
99
|
'hosts-discovery': hostDiscoveryStepValidationsMap,
|
|
99
100
|
'hosts-selection': hostDiscoveryStepValidationsMap,
|
|
100
101
|
networking: networkingStepValidationsMap,
|
|
102
|
+
'custom-manifests': networkingStepValidationsMap,
|
|
101
103
|
review: reviewStepValidationsMap,
|
|
102
104
|
};
|
|
103
105
|
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
PullSecret,
|
|
9
9
|
} from '../../../../../common';
|
|
10
10
|
import { useTranslation } from '../../../../../common/hooks/use-translation-wrapper';
|
|
11
|
-
import { BaseDnsHelperText } from '../../../ClusterDeployment/ClusterDetailsFormFields';
|
|
11
|
+
import { BaseDnsHelperText } from '../../../ClusterDeployment/clusterDetails/ClusterDetailsFormFields';
|
|
12
12
|
import { useTemptiflySync } from '../../hooks/useTemptiflySync';
|
|
13
13
|
import { DetailsFormProps, DetailsFormValues } from './types';
|
|
14
14
|
|
|
@@ -37,20 +37,15 @@ const DetailsForm: React.FC<DetailsFormProps> = ({
|
|
|
37
37
|
[ocpVersions],
|
|
38
38
|
);
|
|
39
39
|
|
|
40
|
-
const
|
|
40
|
+
const additionalSelectOption = React.useMemo(() => {
|
|
41
41
|
if (
|
|
42
42
|
values.customOpenshiftSelect &&
|
|
43
|
-
!selectOptions.some((option) => option.value === values.customOpenshiftSelect
|
|
43
|
+
!selectOptions.some((option) => option.value === values.customOpenshiftSelect)
|
|
44
44
|
) {
|
|
45
|
-
return
|
|
46
|
-
{
|
|
47
|
-
value: values.customOpenshiftSelect.value,
|
|
48
|
-
label: values.customOpenshiftSelect.label,
|
|
49
|
-
},
|
|
50
|
-
];
|
|
45
|
+
return allVersions.find((version) => version.value === values.customOpenshiftSelect);
|
|
51
46
|
}
|
|
52
|
-
return
|
|
53
|
-
}, [selectOptions, values.customOpenshiftSelect]);
|
|
47
|
+
return undefined;
|
|
48
|
+
}, [allVersions, selectOptions, values.customOpenshiftSelect]);
|
|
54
49
|
|
|
55
50
|
return (
|
|
56
51
|
<Form>
|
|
@@ -75,7 +70,7 @@ const DetailsForm: React.FC<DetailsFormProps> = ({
|
|
|
75
70
|
versions={ocpVersions}
|
|
76
71
|
showReleasesLink={false}
|
|
77
72
|
showOpenshiftVersionModal={() => setOpenshiftVersionModalOpen(true)}
|
|
78
|
-
|
|
73
|
+
customItem={additionalSelectOption}
|
|
79
74
|
/>
|
|
80
75
|
{openshiftVersionModalOpen && (
|
|
81
76
|
<OpenShiftVersionModal
|
|
@@ -22,7 +22,6 @@ import { HostsFormValues } from './types';
|
|
|
22
22
|
import { useFormikContext } from 'formik';
|
|
23
23
|
import { getAgentsForSelection } from '../../../helpers';
|
|
24
24
|
import { useTranslation } from '../../../../../common/hooks/use-translation-wrapper';
|
|
25
|
-
import { useFormikHelpers } from '../../../../../common/hooks/useFormikHelpers';
|
|
26
25
|
|
|
27
26
|
import './NodePoolForm.css';
|
|
28
27
|
import NodePoolAgentsForm from '../../forms/NodePoolAgentsForm';
|
|
@@ -37,14 +36,8 @@ type NodePoolFormProps = {
|
|
|
37
36
|
const NodePoolForm: React.FC<NodePoolFormProps> = ({ infraEnvs, agents, index, onRemove }) => {
|
|
38
37
|
const { t } = useTranslation();
|
|
39
38
|
const { values } = useFormikContext<HostsFormValues>();
|
|
40
|
-
const { setValue: setCountValue } = useFormikHelpers(`nodePools[${index}].count`);
|
|
41
|
-
const { setValue: setMinAutoscalingValue } = useFormikHelpers(
|
|
42
|
-
`nodePools[${index}].autoscaling.minReplicas`,
|
|
43
|
-
);
|
|
44
|
-
const { setValue: setMaxAutoscalingValue } = useFormikHelpers(
|
|
45
|
-
`nodePools[${index}].autoscaling.maxReplicas`,
|
|
46
|
-
);
|
|
47
39
|
const [isExpanded, setExpanded] = React.useState(true);
|
|
40
|
+
|
|
48
41
|
const infraEnvAgents = React.useMemo(() => {
|
|
49
42
|
const infraEnv = infraEnvs.find((ie) => ie.metadata?.namespace === values.agentNamespace);
|
|
50
43
|
return agents.filter((agent) => isAgentOfInfraEnv(infraEnv, agent));
|
|
@@ -79,31 +72,6 @@ const NodePoolForm: React.FC<NodePoolFormProps> = ({ infraEnvs, agents, index, o
|
|
|
79
72
|
Math.min(matchingAgents.length, availableAgents.length - previousNodePoolsCount),
|
|
80
73
|
);
|
|
81
74
|
|
|
82
|
-
const currentCount = values.nodePools[index].useAutoscaling
|
|
83
|
-
? values.nodePools[index].autoscaling.maxReplicas
|
|
84
|
-
: values.nodePools[index].count;
|
|
85
|
-
|
|
86
|
-
React.useEffect(() => {
|
|
87
|
-
if (currentCount > maxAgents) {
|
|
88
|
-
if (values.nodePools[index].useAutoscaling) {
|
|
89
|
-
if (maxAgents === 0) {
|
|
90
|
-
void setMinAutoscalingValue(maxAgents);
|
|
91
|
-
}
|
|
92
|
-
void setMaxAutoscalingValue(maxAgents);
|
|
93
|
-
} else {
|
|
94
|
-
void setCountValue(maxAgents);
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
}, [
|
|
98
|
-
maxAgents,
|
|
99
|
-
currentCount,
|
|
100
|
-
values.nodePools,
|
|
101
|
-
index,
|
|
102
|
-
setCountValue,
|
|
103
|
-
setMinAutoscalingValue,
|
|
104
|
-
setMaxAutoscalingValue,
|
|
105
|
-
]);
|
|
106
|
-
|
|
107
75
|
return (
|
|
108
76
|
<Stack hasGutter>
|
|
109
77
|
<StackItem>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Grid, GridItem } from '@patternfly/react-core';
|
|
1
|
+
import { Alert, AlertVariant, Grid, GridItem, Text } from '@patternfly/react-core';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { CheckboxField, NumberInputField, PopoverIcon } from '../../../../common';
|
|
4
4
|
import { useTranslation } from '../../../../common/hooks/use-translation-wrapper';
|
|
@@ -27,6 +27,7 @@ const NodePoolAgentsForm = ({
|
|
|
27
27
|
}: NodePoolAgentsFormProps) => {
|
|
28
28
|
const { t } = useTranslation();
|
|
29
29
|
|
|
30
|
+
const [{ value: count }] = useField<number>(countName);
|
|
30
31
|
const [{ value: minValue }] = useField<number>(`${autoscalingName}.minReplicas`);
|
|
31
32
|
const [{ value: maxValue }] = useField<number>(`${autoscalingName}.maxReplicas`);
|
|
32
33
|
const [{ value: useAutoscalingValue }] = useField<boolean>(useAutoscalingName);
|
|
@@ -60,7 +61,7 @@ const NodePoolAgentsForm = ({
|
|
|
60
61
|
label={t('ai:Minimum number of hosts')}
|
|
61
62
|
isRequired
|
|
62
63
|
minValue={1}
|
|
63
|
-
maxValue={maxValue
|
|
64
|
+
maxValue={maxValue}
|
|
64
65
|
/>
|
|
65
66
|
</GridItem>
|
|
66
67
|
<GridItem>
|
|
@@ -69,22 +70,33 @@ const NodePoolAgentsForm = ({
|
|
|
69
70
|
label={t('ai:Maximum number of hosts')}
|
|
70
71
|
isRequired
|
|
71
72
|
minValue={minValue || 1}
|
|
72
|
-
maxValue={maxAgents}
|
|
73
73
|
helperText={helperText}
|
|
74
74
|
/>
|
|
75
75
|
</GridItem>
|
|
76
76
|
</>
|
|
77
77
|
) : (
|
|
78
|
+
<>
|
|
79
|
+
<GridItem>
|
|
80
|
+
<NumberInputField
|
|
81
|
+
label={t('ai:Number of hosts')}
|
|
82
|
+
idPostfix="count"
|
|
83
|
+
name={countName}
|
|
84
|
+
isRequired
|
|
85
|
+
minValue={0}
|
|
86
|
+
helperText={helperText}
|
|
87
|
+
/>
|
|
88
|
+
</GridItem>
|
|
89
|
+
</>
|
|
90
|
+
)}
|
|
91
|
+
{(useAutoscalingValue ? maxValue : count) > maxAgents && (
|
|
78
92
|
<GridItem>
|
|
79
|
-
<
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
helperText={helperText}
|
|
87
|
-
/>
|
|
93
|
+
<Alert
|
|
94
|
+
isInline
|
|
95
|
+
variant={AlertVariant.warning}
|
|
96
|
+
title={t('ai:Host count exceeds the current number of available hosts.')}
|
|
97
|
+
>
|
|
98
|
+
<Text>{t('ai:Scale down the nodepool or make more hosts available.')}</Text>
|
|
99
|
+
</Alert>
|
|
88
100
|
</GridItem>
|
|
89
101
|
)}
|
|
90
102
|
</Grid>
|