@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,191 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import {
|
|
3
|
+
Alert,
|
|
4
|
+
Bullseye,
|
|
5
|
+
Button,
|
|
6
|
+
CodeBlock,
|
|
7
|
+
CodeBlockCode,
|
|
8
|
+
DescriptionList,
|
|
9
|
+
DescriptionListDescription,
|
|
10
|
+
DescriptionListGroup,
|
|
11
|
+
DescriptionListTerm,
|
|
12
|
+
Divider,
|
|
13
|
+
ExpandableSectionToggle,
|
|
14
|
+
Flex,
|
|
15
|
+
FlexItem,
|
|
16
|
+
Grid,
|
|
17
|
+
GridItem,
|
|
18
|
+
Label,
|
|
19
|
+
Spinner,
|
|
20
|
+
Text,
|
|
21
|
+
TextVariants,
|
|
22
|
+
} from '@patternfly/react-core';
|
|
23
|
+
import { ExternalLink, useTranslation } from '../../../../common';
|
|
24
|
+
import { MinusCircleIcon } from '@patternfly/react-icons/dist/js/icons/minus-circle-icon';
|
|
25
|
+
import InfoCircleIcon from '@patternfly/react-icons/dist/js/icons/info-circle-icon';
|
|
26
|
+
import { ConfigMapK8sResource } from '../../../types';
|
|
27
|
+
import { useField } from 'formik';
|
|
28
|
+
|
|
29
|
+
const ExpandedConfigMap = ({
|
|
30
|
+
index,
|
|
31
|
+
configMap,
|
|
32
|
+
}: {
|
|
33
|
+
index: number;
|
|
34
|
+
configMap?: ConfigMapK8sResource;
|
|
35
|
+
}) => {
|
|
36
|
+
const { t } = useTranslation();
|
|
37
|
+
const [, { error: isValidError }] = useField<boolean>(`configMaps.${index}.valid`);
|
|
38
|
+
const [, { error: manifestNamesError }] = useField<string[]>(`configMaps.${index}.manifestNames`);
|
|
39
|
+
|
|
40
|
+
return isValidError ? (
|
|
41
|
+
<GridItem>
|
|
42
|
+
<Label variant="outline" icon={<InfoCircleIcon />} color="red">
|
|
43
|
+
{isValidError}
|
|
44
|
+
</Label>
|
|
45
|
+
</GridItem>
|
|
46
|
+
) : (
|
|
47
|
+
<>
|
|
48
|
+
<GridItem>
|
|
49
|
+
<DescriptionList>
|
|
50
|
+
<DescriptionListGroup>
|
|
51
|
+
<DescriptionListTerm>{t('ai:Name')}</DescriptionListTerm>
|
|
52
|
+
<DescriptionListDescription>{configMap?.metadata?.name}</DescriptionListDescription>
|
|
53
|
+
</DescriptionListGroup>
|
|
54
|
+
|
|
55
|
+
<DescriptionListGroup>
|
|
56
|
+
<DescriptionListTerm>{t('ai:Namespace')}</DescriptionListTerm>
|
|
57
|
+
<DescriptionListDescription>
|
|
58
|
+
{configMap?.metadata?.namespace}
|
|
59
|
+
</DescriptionListDescription>
|
|
60
|
+
</DescriptionListGroup>
|
|
61
|
+
|
|
62
|
+
<DescriptionListGroup>
|
|
63
|
+
<DescriptionListTerm>{t('ai:Data')}</DescriptionListTerm>
|
|
64
|
+
<DescriptionListDescription>
|
|
65
|
+
<Grid hasGutter>
|
|
66
|
+
<GridItem>
|
|
67
|
+
<ExternalLink
|
|
68
|
+
href={`/k8s/ns/${configMap?.metadata?.namespace || ''}/configmaps/${
|
|
69
|
+
configMap?.metadata?.name || ''
|
|
70
|
+
}/form`}
|
|
71
|
+
>
|
|
72
|
+
{t('ai:Edit config map data')}
|
|
73
|
+
</ExternalLink>
|
|
74
|
+
</GridItem>
|
|
75
|
+
|
|
76
|
+
{Object.entries(configMap?.data || {}).map(([key, val]) => (
|
|
77
|
+
<GridItem key={key}>
|
|
78
|
+
<Text component={TextVariants.h4}>{key}</Text>
|
|
79
|
+
<CodeBlock>
|
|
80
|
+
<CodeBlockCode>{val}</CodeBlockCode>
|
|
81
|
+
</CodeBlock>
|
|
82
|
+
</GridItem>
|
|
83
|
+
))}
|
|
84
|
+
</Grid>
|
|
85
|
+
</DescriptionListDescription>
|
|
86
|
+
</DescriptionListGroup>
|
|
87
|
+
</DescriptionList>
|
|
88
|
+
</GridItem>
|
|
89
|
+
|
|
90
|
+
{manifestNamesError && (
|
|
91
|
+
<GridItem>
|
|
92
|
+
<Alert title={manifestNamesError} variant="danger" isInline />
|
|
93
|
+
</GridItem>
|
|
94
|
+
)}
|
|
95
|
+
</>
|
|
96
|
+
);
|
|
97
|
+
};
|
|
98
|
+
|
|
99
|
+
const CollapsedConfigMap = ({
|
|
100
|
+
index,
|
|
101
|
+
configMap,
|
|
102
|
+
}: {
|
|
103
|
+
index: number;
|
|
104
|
+
configMap?: ConfigMapK8sResource;
|
|
105
|
+
}) => {
|
|
106
|
+
const [, { error: isValidError }] = useField<boolean>(`configMaps.${index}.valid`);
|
|
107
|
+
const [, { error: manifestNamesError }] = useField<string[]>(`configMaps.${index}.manifestNames`);
|
|
108
|
+
|
|
109
|
+
const { t } = useTranslation();
|
|
110
|
+
|
|
111
|
+
return (
|
|
112
|
+
<GridItem>
|
|
113
|
+
{isValidError || manifestNamesError ? (
|
|
114
|
+
<Label variant="outline" icon={<InfoCircleIcon />} color="red">
|
|
115
|
+
{isValidError || manifestNamesError}
|
|
116
|
+
</Label>
|
|
117
|
+
) : (
|
|
118
|
+
<Label variant="outline" icon={<InfoCircleIcon />}>
|
|
119
|
+
{t('ai:{{count}} entry', { count: Object.entries(configMap?.data || {}).length })}
|
|
120
|
+
</Label>
|
|
121
|
+
)}
|
|
122
|
+
</GridItem>
|
|
123
|
+
);
|
|
124
|
+
};
|
|
125
|
+
|
|
126
|
+
export const ConfigMapDetail = ({
|
|
127
|
+
index,
|
|
128
|
+
configMapName,
|
|
129
|
+
configMap,
|
|
130
|
+
onRemove,
|
|
131
|
+
isLoading,
|
|
132
|
+
}: {
|
|
133
|
+
index: number;
|
|
134
|
+
configMapName: string;
|
|
135
|
+
configMap?: ConfigMapK8sResource;
|
|
136
|
+
onRemove: () => void;
|
|
137
|
+
isLoading: boolean;
|
|
138
|
+
}) => {
|
|
139
|
+
const [isExpanded, setIsExpanded] = React.useState(false);
|
|
140
|
+
const [showRemoveButton, setShowRemoveButton] = React.useState(false);
|
|
141
|
+
|
|
142
|
+
return (
|
|
143
|
+
<GridItem>
|
|
144
|
+
<Grid
|
|
145
|
+
onMouseEnter={() => setShowRemoveButton(true)}
|
|
146
|
+
onMouseLeave={() => setShowRemoveButton(false)}
|
|
147
|
+
hasGutter
|
|
148
|
+
>
|
|
149
|
+
<GridItem>
|
|
150
|
+
<Flex>
|
|
151
|
+
<FlexItem>
|
|
152
|
+
<ExpandableSectionToggle
|
|
153
|
+
isExpanded={isExpanded}
|
|
154
|
+
onToggle={() => setIsExpanded(!isExpanded)}
|
|
155
|
+
direction="down"
|
|
156
|
+
>
|
|
157
|
+
{configMapName}
|
|
158
|
+
</ExpandableSectionToggle>
|
|
159
|
+
</FlexItem>
|
|
160
|
+
<FlexItem align={{ default: 'alignRight' }}>
|
|
161
|
+
<Button
|
|
162
|
+
aria-label="remove config map"
|
|
163
|
+
style={{ visibility: showRemoveButton ? 'visible' : 'hidden' }}
|
|
164
|
+
variant="plain"
|
|
165
|
+
onClick={onRemove}
|
|
166
|
+
>
|
|
167
|
+
<MinusCircleIcon />
|
|
168
|
+
</Button>
|
|
169
|
+
</FlexItem>
|
|
170
|
+
</Flex>
|
|
171
|
+
</GridItem>
|
|
172
|
+
|
|
173
|
+
{isLoading ? (
|
|
174
|
+
<GridItem>
|
|
175
|
+
<Bullseye>
|
|
176
|
+
<Spinner size="lg" />
|
|
177
|
+
</Bullseye>
|
|
178
|
+
</GridItem>
|
|
179
|
+
) : isExpanded ? (
|
|
180
|
+
<ExpandedConfigMap configMap={configMap} index={index} />
|
|
181
|
+
) : (
|
|
182
|
+
<CollapsedConfigMap configMap={configMap} index={index} />
|
|
183
|
+
)}
|
|
184
|
+
|
|
185
|
+
<GridItem>
|
|
186
|
+
<Divider />
|
|
187
|
+
</GridItem>
|
|
188
|
+
</Grid>
|
|
189
|
+
</GridItem>
|
|
190
|
+
);
|
|
191
|
+
};
|
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Fuse from 'fuse.js';
|
|
3
|
+
import { FieldArray, useFormikContext } from 'formik';
|
|
4
|
+
import {
|
|
5
|
+
Stack,
|
|
6
|
+
StackItem,
|
|
7
|
+
Grid,
|
|
8
|
+
WizardFooter,
|
|
9
|
+
useWizardContext,
|
|
10
|
+
useWizardFooter,
|
|
11
|
+
SelectOptionProps,
|
|
12
|
+
GridItem,
|
|
13
|
+
AlertVariant,
|
|
14
|
+
Alert,
|
|
15
|
+
} from '@patternfly/react-core';
|
|
16
|
+
import { Alerts, SelectFieldWithSearch, useAlerts, useTranslation } from '../../../../common';
|
|
17
|
+
import { ClusterDeploymentWizardContext } from '../ClusterDeploymentWizardContext';
|
|
18
|
+
import { ValidationSection } from '../components/ValidationSection';
|
|
19
|
+
import { ConfigMapDetail } from './ConfigMapDetail';
|
|
20
|
+
import { useConfigMaps } from '../../../hooks';
|
|
21
|
+
|
|
22
|
+
const NO_RESULTS = 'no_results';
|
|
23
|
+
|
|
24
|
+
export type CustomManifestFormType = {
|
|
25
|
+
configMaps: {
|
|
26
|
+
name: string;
|
|
27
|
+
valid: boolean;
|
|
28
|
+
manifestNames?: string[];
|
|
29
|
+
}[];
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
export const ConfigMapForm = ({ namespace }: { namespace: string }) => {
|
|
33
|
+
const { t } = useTranslation();
|
|
34
|
+
const { syncError } = React.useContext(ClusterDeploymentWizardContext);
|
|
35
|
+
const { alerts, addAlert, clearAlerts } = useAlerts();
|
|
36
|
+
const [isSubmitting, setSubmitting] = React.useState(false);
|
|
37
|
+
const { activeStep, goToPrevStep, goToNextStep, close } = useWizardContext();
|
|
38
|
+
|
|
39
|
+
const { values, errors, isValid, setFieldValue, submitForm } =
|
|
40
|
+
useFormikContext<CustomManifestFormType>();
|
|
41
|
+
const [filter, setFilter] = React.useState<string>('');
|
|
42
|
+
const [configMaps, setConfigMaps] = React.useState<SelectOptionProps[]>([]);
|
|
43
|
+
const [data, loaded, isError] = useConfigMaps({
|
|
44
|
+
namespace,
|
|
45
|
+
isList: true,
|
|
46
|
+
});
|
|
47
|
+
|
|
48
|
+
React.useEffect(() => {
|
|
49
|
+
if (data && loaded && !isError) {
|
|
50
|
+
setConfigMaps(
|
|
51
|
+
data.map((configMap) => ({
|
|
52
|
+
value: {
|
|
53
|
+
name: configMap.metadata?.name as string,
|
|
54
|
+
valid: true,
|
|
55
|
+
manifestNames: Object.keys(configMap.data || {}),
|
|
56
|
+
},
|
|
57
|
+
children: configMap.metadata?.name as string,
|
|
58
|
+
})),
|
|
59
|
+
);
|
|
60
|
+
}
|
|
61
|
+
}, [data, isError, loaded]);
|
|
62
|
+
|
|
63
|
+
React.useEffect(() => {
|
|
64
|
+
if (loaded && !isError) {
|
|
65
|
+
const newConfigMaps = values.configMaps.map((configMap) => {
|
|
66
|
+
const map = data.find((item) => item.metadata?.name === configMap.name);
|
|
67
|
+
if (map) {
|
|
68
|
+
return { ...configMap, valid: true, manifestNames: Object.keys(map.data || {}) };
|
|
69
|
+
}
|
|
70
|
+
return { ...configMap, valid: false, manifestNames: [] };
|
|
71
|
+
});
|
|
72
|
+
|
|
73
|
+
setFieldValue('configMaps', newConfigMaps);
|
|
74
|
+
}
|
|
75
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
76
|
+
}, [data, isError, loaded, setFieldValue]);
|
|
77
|
+
|
|
78
|
+
const placeholder = React.useMemo(() => {
|
|
79
|
+
if (values.configMaps.length > 0) {
|
|
80
|
+
return `${values.configMaps.length} config map${
|
|
81
|
+
values.configMaps.length !== 1 ? 's' : ''
|
|
82
|
+
} selected`;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
return 'No config map selected';
|
|
86
|
+
}, [values.configMaps]);
|
|
87
|
+
|
|
88
|
+
const fuse = React.useMemo(
|
|
89
|
+
() =>
|
|
90
|
+
new Fuse(Object.values(configMaps), {
|
|
91
|
+
includeScore: true,
|
|
92
|
+
ignoreLocation: true,
|
|
93
|
+
threshold: 0.3,
|
|
94
|
+
keys: ['value.name'],
|
|
95
|
+
}),
|
|
96
|
+
[configMaps],
|
|
97
|
+
);
|
|
98
|
+
|
|
99
|
+
const selectOptions = React.useMemo(() => {
|
|
100
|
+
if (filter) {
|
|
101
|
+
const newSelectOptions = fuse
|
|
102
|
+
.search(filter)
|
|
103
|
+
.sort((a, b) => (a.score || 0) - (b.score || 0))
|
|
104
|
+
.map(({ item }) => item);
|
|
105
|
+
|
|
106
|
+
if (!newSelectOptions.length) {
|
|
107
|
+
return [
|
|
108
|
+
{
|
|
109
|
+
isAriaDisabled: true,
|
|
110
|
+
children: t('ai:No results found for {{filter}}', { filter }),
|
|
111
|
+
value: NO_RESULTS,
|
|
112
|
+
hasCheckbox: false,
|
|
113
|
+
},
|
|
114
|
+
];
|
|
115
|
+
}
|
|
116
|
+
return newSelectOptions;
|
|
117
|
+
}
|
|
118
|
+
return configMaps;
|
|
119
|
+
}, [filter, configMaps, fuse, t]);
|
|
120
|
+
|
|
121
|
+
const submittingText = React.useMemo(() => {
|
|
122
|
+
if (isSubmitting) {
|
|
123
|
+
return t('ai:Saving changes...');
|
|
124
|
+
}
|
|
125
|
+
return undefined;
|
|
126
|
+
}, [isSubmitting, t]);
|
|
127
|
+
|
|
128
|
+
const onNext = React.useCallback(async () => {
|
|
129
|
+
try {
|
|
130
|
+
clearAlerts();
|
|
131
|
+
setSubmitting(true);
|
|
132
|
+
|
|
133
|
+
await submitForm();
|
|
134
|
+
await goToNextStep();
|
|
135
|
+
} catch (error) {
|
|
136
|
+
addAlert({
|
|
137
|
+
title: t('ai:Failed to save ClusterDeployment'),
|
|
138
|
+
message: error instanceof Error ? error.message : undefined,
|
|
139
|
+
});
|
|
140
|
+
} finally {
|
|
141
|
+
setSubmitting(false);
|
|
142
|
+
}
|
|
143
|
+
}, [addAlert, clearAlerts, goToNextStep, submitForm, t]);
|
|
144
|
+
|
|
145
|
+
const footer = React.useMemo(
|
|
146
|
+
() => (
|
|
147
|
+
<WizardFooter
|
|
148
|
+
activeStep={activeStep}
|
|
149
|
+
onNext={onNext}
|
|
150
|
+
nextButtonProps={{ isLoading: !!submittingText }}
|
|
151
|
+
nextButtonText={submittingText || t('ai:Next')}
|
|
152
|
+
isNextDisabled={!isValid || !loaded}
|
|
153
|
+
onBack={goToPrevStep}
|
|
154
|
+
onClose={close}
|
|
155
|
+
/>
|
|
156
|
+
),
|
|
157
|
+
[activeStep, onNext, submittingText, t, isValid, loaded, goToPrevStep, close],
|
|
158
|
+
);
|
|
159
|
+
|
|
160
|
+
useWizardFooter(footer);
|
|
161
|
+
|
|
162
|
+
const errorAlert =
|
|
163
|
+
typeof errors.configMaps === 'string' ? (
|
|
164
|
+
<GridItem>
|
|
165
|
+
<Alert variant={AlertVariant.danger} title={errors.configMaps} isInline />
|
|
166
|
+
</GridItem>
|
|
167
|
+
) : (
|
|
168
|
+
<GridItem>
|
|
169
|
+
<Alert
|
|
170
|
+
variant={AlertVariant.danger}
|
|
171
|
+
title={t('ai:Some config map items are invalid')}
|
|
172
|
+
isInline
|
|
173
|
+
/>
|
|
174
|
+
</GridItem>
|
|
175
|
+
);
|
|
176
|
+
|
|
177
|
+
return (
|
|
178
|
+
<Grid hasGutter>
|
|
179
|
+
<GridItem>
|
|
180
|
+
<Stack hasGutter>
|
|
181
|
+
<StackItem>
|
|
182
|
+
<SelectFieldWithSearch
|
|
183
|
+
name={'configMaps'}
|
|
184
|
+
label={t('ai:Config maps')}
|
|
185
|
+
isMultiSelect
|
|
186
|
+
isRequired
|
|
187
|
+
isLoading={!loaded}
|
|
188
|
+
selectOptions={selectOptions}
|
|
189
|
+
filterValue={filter}
|
|
190
|
+
setFilterValue={setFilter}
|
|
191
|
+
placeholder={placeholder}
|
|
192
|
+
helperText={t(
|
|
193
|
+
'ai:Select config maps from the list or use the type ahead to narrow down the list.',
|
|
194
|
+
)}
|
|
195
|
+
/>
|
|
196
|
+
</StackItem>
|
|
197
|
+
<StackItem>
|
|
198
|
+
<Grid hasGutter>
|
|
199
|
+
<FieldArray name="configMaps">
|
|
200
|
+
{({ remove }) =>
|
|
201
|
+
values.configMaps.map((configMap, index) => (
|
|
202
|
+
<ConfigMapDetail
|
|
203
|
+
index={index}
|
|
204
|
+
key={configMap.name}
|
|
205
|
+
configMapName={configMap.name}
|
|
206
|
+
configMap={data.find((item) => item.metadata?.name === configMap.name)}
|
|
207
|
+
onRemove={() => remove(index)}
|
|
208
|
+
isLoading={!loaded}
|
|
209
|
+
/>
|
|
210
|
+
))
|
|
211
|
+
}
|
|
212
|
+
</FieldArray>
|
|
213
|
+
</Grid>
|
|
214
|
+
</StackItem>
|
|
215
|
+
</Stack>
|
|
216
|
+
</GridItem>
|
|
217
|
+
|
|
218
|
+
{!isValid && errorAlert}
|
|
219
|
+
|
|
220
|
+
{isError && (
|
|
221
|
+
<GridItem>
|
|
222
|
+
<Alert
|
|
223
|
+
variant={AlertVariant.danger}
|
|
224
|
+
title={t('ai:An error occurred while fetching config maps')}
|
|
225
|
+
isInline
|
|
226
|
+
/>
|
|
227
|
+
</GridItem>
|
|
228
|
+
)}
|
|
229
|
+
|
|
230
|
+
{!!alerts.length && (
|
|
231
|
+
<GridItem>
|
|
232
|
+
<Alerts />
|
|
233
|
+
</GridItem>
|
|
234
|
+
)}
|
|
235
|
+
|
|
236
|
+
{syncError && (
|
|
237
|
+
<GridItem>
|
|
238
|
+
<ValidationSection currentStepId={'custom-manifests'} hosts={[]}>
|
|
239
|
+
<Alert variant={AlertVariant.danger} title={t('ai:An error occurred')} isInline>
|
|
240
|
+
{syncError}
|
|
241
|
+
</Alert>
|
|
242
|
+
</ValidationSection>
|
|
243
|
+
</GridItem>
|
|
244
|
+
)}
|
|
245
|
+
</Grid>
|
|
246
|
+
);
|
|
247
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ClusterDeploymentCustomManifestsStep';
|
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
agentStatusColumn,
|
|
7
7
|
useAgentsTable,
|
|
8
8
|
canChangeHostname,
|
|
9
|
-
} from '
|
|
9
|
+
} from '../../Agent/tableUtils';
|
|
10
10
|
import HostsTable, {
|
|
11
11
|
DefaultExpandComponent,
|
|
12
12
|
HostsTableEmptyState,
|
|
13
|
-
} from '
|
|
13
|
+
} from '../../../../common/components/hosts/HostsTable';
|
|
14
14
|
import {
|
|
15
15
|
cpuCoresColumn,
|
|
16
16
|
discoveredAtColumn,
|
|
@@ -18,22 +18,22 @@ import {
|
|
|
18
18
|
hostnameColumn,
|
|
19
19
|
memoryColumn,
|
|
20
20
|
roleColumn,
|
|
21
|
-
} from '
|
|
21
|
+
} from '../../../../common/components/hosts/tableUtils';
|
|
22
22
|
import {
|
|
23
23
|
DiscoveryTroubleshootingModal,
|
|
24
24
|
ChangeHostnameAction,
|
|
25
25
|
MassChangeHostnameModal,
|
|
26
26
|
TableToolbar,
|
|
27
|
-
} from '
|
|
28
|
-
import { ClusterDeploymentHostDiscoveryTableProps } from '../
|
|
29
|
-
import MassApproveAgentModal from '
|
|
30
|
-
import MassApproveAction from '
|
|
31
|
-
import { usePagination } from '
|
|
32
|
-
import { useTranslation } from '
|
|
33
|
-
import { ExpandComponent } from '
|
|
34
|
-
import { HostsTableDetailContextProvider } from '
|
|
35
|
-
import { agentStatus, bmhStatus } from '
|
|
36
|
-
import { onAgentChangeHostname } from '
|
|
27
|
+
} from '../../../../common';
|
|
28
|
+
import { ClusterDeploymentHostDiscoveryTableProps } from '../types';
|
|
29
|
+
import MassApproveAgentModal from '../../modals/MassApproveAgentModal';
|
|
30
|
+
import MassApproveAction from '../../modals/MassApproveAction';
|
|
31
|
+
import { usePagination } from '../../../../common/components/hosts/usePagination';
|
|
32
|
+
import { useTranslation } from '../../../../common/hooks/use-translation-wrapper';
|
|
33
|
+
import { ExpandComponent } from '../../Agent/AgentsSelectionTable';
|
|
34
|
+
import { HostsTableDetailContextProvider } from '../../../../common/components/hosts/HostsTableDetailContext';
|
|
35
|
+
import { agentStatus, bmhStatus } from '../../helpers/agentStatus';
|
|
36
|
+
import { onAgentChangeHostname } from '../../helpers';
|
|
37
37
|
|
|
38
38
|
const ClusterDeploymentHostDiscoveryTable: React.FC<ClusterDeploymentHostDiscoveryTableProps> = ({
|
|
39
39
|
agents,
|
|
@@ -14,15 +14,15 @@ import {
|
|
|
14
14
|
FormatDiskWarning,
|
|
15
15
|
HostsNotShowingLink,
|
|
16
16
|
VMRebootConfigurationInfo,
|
|
17
|
-
} from '
|
|
18
|
-
import { getIsSNOCluster, onAgentChangeHostname } from '
|
|
19
|
-
import MinimalHWRequirements from '
|
|
20
|
-
import { ClusterDeploymentHostsDiscoveryProps } from '
|
|
21
|
-
import { EditBMHModal, EditAgentModal } from '
|
|
22
|
-
import { AgentK8sResource, BareMetalHostK8sResource } from '
|
|
17
|
+
} from '../../../../common';
|
|
18
|
+
import { getIsSNOCluster, onAgentChangeHostname } from '../../helpers';
|
|
19
|
+
import MinimalHWRequirements from '../../Agent/MinimalHWRequirements';
|
|
20
|
+
import { ClusterDeploymentHostsDiscoveryProps } from '../types';
|
|
21
|
+
import { EditBMHModal, EditAgentModal } from '../../modals';
|
|
22
|
+
import { AgentK8sResource, BareMetalHostK8sResource } from '../../../types';
|
|
23
23
|
import ClusterDeploymentHostDiscoveryTable from './ClusterDeploymentHostDiscoveryTable';
|
|
24
|
-
import { useTranslation } from '
|
|
25
|
-
import AddHostDropdown from '
|
|
24
|
+
import { useTranslation } from '../../../../common/hooks/use-translation-wrapper';
|
|
25
|
+
import AddHostDropdown from '../../InfraEnv/AddHostDropdown';
|
|
26
26
|
|
|
27
27
|
const DiscoveryInstructions = () => {
|
|
28
28
|
const { t } = useTranslation();
|
|
@@ -12,17 +12,17 @@ import {
|
|
|
12
12
|
useWizardContext,
|
|
13
13
|
} from '@patternfly/react-core';
|
|
14
14
|
|
|
15
|
-
import { Alerts, ClusterWizardStepHeader } from '
|
|
16
|
-
import { ClusterDeploymentHostsDiscoveryStepProps } from '
|
|
15
|
+
import { Alerts, ClusterWizardStepHeader } from '../../../../common';
|
|
16
|
+
import { ClusterDeploymentHostsDiscoveryStepProps } from '../types';
|
|
17
17
|
import ClusterDeploymentHostsDiscovery from './ClusterDeploymentHostsDiscovery';
|
|
18
|
-
import { getAgentsHostsNames, isAgentOfInfraEnv } from '
|
|
19
|
-
import { getIsSNOCluster, getWizardStepAgentStatus } from '
|
|
20
|
-
import { canNextFromHostDiscoveryStep } from '
|
|
21
|
-
import { useTranslation } from '
|
|
22
|
-
import { ValidationSection } from '
|
|
23
|
-
import { ClusterDeploymentWizardContext } from '
|
|
18
|
+
import { getAgentsHostsNames, isAgentOfInfraEnv } from '../helpers';
|
|
19
|
+
import { getIsSNOCluster, getWizardStepAgentStatus } from '../../helpers';
|
|
20
|
+
import { canNextFromHostDiscoveryStep } from '../wizardTransition';
|
|
21
|
+
import { useTranslation } from '../../../../common/hooks/use-translation-wrapper';
|
|
22
|
+
import { ValidationSection } from '../components/ValidationSection';
|
|
23
|
+
import { ClusterDeploymentWizardContext } from '../ClusterDeploymentWizardContext';
|
|
24
24
|
|
|
25
|
-
const ClusterDeploymentHostsDiscoveryStep = ({
|
|
25
|
+
export const ClusterDeploymentHostsDiscoveryStep = ({
|
|
26
26
|
agentClusterInstall,
|
|
27
27
|
agents: allAgents,
|
|
28
28
|
infraEnv,
|
|
@@ -174,7 +174,7 @@ const ClusterDeploymentHostsDiscoveryStep = ({
|
|
|
174
174
|
{!!syncError && (
|
|
175
175
|
<GridItem>
|
|
176
176
|
<ValidationSection currentStepId={'hosts-selection'} hosts={[]}>
|
|
177
|
-
<Alert variant={AlertVariant.danger} title={t('ai:An error
|
|
177
|
+
<Alert variant={AlertVariant.danger} title={t('ai:An error occurred')} isInline>
|
|
178
178
|
{syncError}
|
|
179
179
|
</Alert>
|
|
180
180
|
</ValidationSection>
|
|
@@ -183,4 +183,3 @@ const ClusterDeploymentHostsDiscoveryStep = ({
|
|
|
183
183
|
</Grid>
|
|
184
184
|
);
|
|
185
185
|
};
|
|
186
|
-
export default ClusterDeploymentHostsDiscoveryStep;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ClusterDeploymentHostsDiscoveryStep';
|
|
@@ -10,28 +10,28 @@ import {
|
|
|
10
10
|
useWizardFooter,
|
|
11
11
|
WizardFooter,
|
|
12
12
|
} from '@patternfly/react-core';
|
|
13
|
-
import { Alerts, ClusterWizardStepHeader, useAlerts } from '
|
|
13
|
+
import { Alerts, ClusterWizardStepHeader, useAlerts } from '../../../../common';
|
|
14
14
|
import {
|
|
15
15
|
AgentClusterInstallK8sResource,
|
|
16
16
|
AgentK8sResource,
|
|
17
17
|
ClusterDeploymentK8sResource,
|
|
18
|
-
} from '
|
|
18
|
+
} from '../../../types';
|
|
19
19
|
import ClusterDeploymentHostsSelection from './ClusterDeploymentHostsSelection';
|
|
20
20
|
import {
|
|
21
21
|
ClusterDeploymentHostSelectionStepProps,
|
|
22
22
|
ClusterDeploymentHostsSelectionValues,
|
|
23
|
-
} from '
|
|
24
|
-
import { hostCountValidationSchema } from '
|
|
23
|
+
} from '../types';
|
|
24
|
+
import { hostCountValidationSchema } from '../validationSchemas';
|
|
25
25
|
import {
|
|
26
26
|
getAgentSelectorFieldsFromAnnotations,
|
|
27
27
|
getIsSNOCluster,
|
|
28
28
|
getWizardStepAgentStatus,
|
|
29
|
-
} from '
|
|
30
|
-
import { canNextFromHostSelectionStep } from '
|
|
31
|
-
import { useTranslation } from '
|
|
29
|
+
} from '../../helpers';
|
|
30
|
+
import { canNextFromHostSelectionStep } from '../wizardTransition';
|
|
31
|
+
import { useTranslation } from '../../../../common/hooks/use-translation-wrapper';
|
|
32
32
|
import { TFunction } from 'i18next';
|
|
33
|
-
import { ValidationSection } from '
|
|
34
|
-
import { ClusterDeploymentWizardContext } from '
|
|
33
|
+
import { ValidationSection } from '../components/ValidationSection';
|
|
34
|
+
import { ClusterDeploymentWizardContext } from '../ClusterDeploymentWizardContext';
|
|
35
35
|
|
|
36
36
|
const getInitialValues = ({
|
|
37
37
|
agents,
|
|
@@ -255,7 +255,7 @@ const HostSelectionForm: React.FC<HostSelectionFormProps> = ({
|
|
|
255
255
|
const errorsSection = (
|
|
256
256
|
<ValidationSection currentStepId={'cluster-details'} hosts={[]}>
|
|
257
257
|
{syncError && (
|
|
258
|
-
<Alert variant={AlertVariant.danger} title={t('ai:An error
|
|
258
|
+
<Alert variant={AlertVariant.danger} title={t('ai:An error occurred')} isInline>
|
|
259
259
|
{syncError}
|
|
260
260
|
</Alert>
|
|
261
261
|
)}
|
|
@@ -334,10 +334,9 @@ const HostSelectionForm: React.FC<HostSelectionFormProps> = ({
|
|
|
334
334
|
);
|
|
335
335
|
};
|
|
336
336
|
|
|
337
|
-
const ClusterDeploymentHostSelectionStep: React.FC<
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
}) => {
|
|
337
|
+
export const ClusterDeploymentHostSelectionStep: React.FC<
|
|
338
|
+
ClusterDeploymentHostSelectionStepProps
|
|
339
|
+
> = ({ onSaveHostsSelection, ...rest }) => {
|
|
341
340
|
const { t } = useTranslation();
|
|
342
341
|
|
|
343
342
|
const { addAlert } = useAlerts();
|
|
@@ -377,5 +376,3 @@ const ClusterDeploymentHostSelectionStep: React.FC<ClusterDeploymentHostSelectio
|
|
|
377
376
|
</Formik>
|
|
378
377
|
);
|
|
379
378
|
};
|
|
380
|
-
|
|
381
|
-
export default ClusterDeploymentHostSelectionStep;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { useFormikContext } from 'formik';
|
|
3
3
|
import { Grid, GridItem, TextContent, Form } from '@patternfly/react-core';
|
|
4
|
-
import { SwitchField } from '
|
|
4
|
+
import { SwitchField } from '../../../../common';
|
|
5
5
|
import {
|
|
6
6
|
ClusterDeploymentHostsSelectionProps,
|
|
7
7
|
ClusterDeploymentHostsSelectionValues,
|
|
8
|
-
} from '
|
|
8
|
+
} from '../types';
|
|
9
9
|
import ClusterDeploymentHostsSelectionBasic from './ClusterDeploymentHostsSelectionBasic';
|
|
10
|
-
import ClusterDeploymentHostsSelectionAdvanced from './ClusterDeploymentHostsSelectionAdvanced';
|
|
10
|
+
import { ClusterDeploymentHostsSelectionAdvanced } from './ClusterDeploymentHostsSelectionAdvanced';
|
|
11
11
|
import {
|
|
12
12
|
getAgentsForSelection,
|
|
13
13
|
getClusterDeploymentCpuArchitecture,
|
|
14
14
|
getIsSNOCluster,
|
|
15
|
-
} from '
|
|
16
|
-
import MinimalHWRequirements from '
|
|
17
|
-
import NoAgentsAlert from '
|
|
18
|
-
import { useTranslation } from '
|
|
15
|
+
} from '../../helpers';
|
|
16
|
+
import MinimalHWRequirements from '../../Agent/MinimalHWRequirements';
|
|
17
|
+
import NoAgentsAlert from '../../Agent/NoAgentsAlert';
|
|
18
|
+
import { useTranslation } from '../../../../common/hooks/use-translation-wrapper';
|
|
19
19
|
|
|
20
20
|
const ClusterDeploymentHostsSelection: React.FC<ClusterDeploymentHostsSelectionProps> = ({
|
|
21
21
|
agentClusterInstall,
|