@openshift-assisted/ui-lib 2.48.5 → 2.49.0
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 +4 -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 +2 -1
- package/build/@types/cim/components/ClusterDeployment/types.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/wizardTransition.d.ts +1 -1
- 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/InfraEnv/InfraEnvAgentTable.d.ts.map +1 -1
- package/build/@types/cim/components/InfraEnv/InfraTableToolbar.d.ts +5 -0
- package/build/@types/cim/components/InfraEnv/InfraTableToolbar.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/agentClusterInstall.d.ts +1 -0
- package/build/@types/cim/components/helpers/agentClusterInstall.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/agents.d.ts +1 -1
- package/build/@types/cim/components/helpers/agents.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/components/modals/AddHostModal.d.ts.map +1 -1
- package/build/@types/cim/components/modals/CimConfiguration/CimConfigurationFormFields.d.ts +4 -0
- package/build/@types/cim/components/modals/CimConfiguration/CimConfigurationFormFields.d.ts.map +1 -0
- package/build/@types/cim/components/modals/CimConfiguration/CimConfigurationModal.d.ts +0 -1
- package/build/@types/cim/components/modals/CimConfiguration/CimConfigurationModal.d.ts.map +1 -1
- package/build/@types/cim/components/modals/CimConfiguration/persist.d.ts +4 -7
- package/build/@types/cim/components/modals/CimConfiguration/persist.d.ts.map +1 -1
- package/build/@types/cim/components/modals/CimConfiguration/types.d.ts +7 -16
- package/build/@types/cim/components/modals/CimConfiguration/types.d.ts.map +1 -1
- package/build/@types/cim/hooks/index.d.ts +3 -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/useAgentServiceConfig.d.ts +4 -0
- package/build/@types/cim/hooks/useAgentServiceConfig.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 -1
- package/build/@types/cim/types/index.d.ts.map +1 -1
- package/build/@types/cim/types/k8s/agent-cluster-install.d.ts +3 -0
- package/build/@types/cim/types/k8s/agent-cluster-install.d.ts.map +1 -1
- package/build/@types/cim/types/models.d.ts +7 -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/api/assisted-service/HostsAPI.d.ts +0 -1
- package/build/@types/common/api/assisted-service/HostsAPI.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/DownloadIso.d.ts +2 -1
- package/build/@types/common/components/clusterConfiguration/DownloadIso.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/SecurityFields.d.ts +3 -1
- package/build/@types/common/components/clusterConfiguration/SecurityFields.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/index.d.ts +1 -0
- package/build/@types/common/components/clusterConfiguration/index.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/types.d.ts +1 -2
- package/build/@types/common/components/clusterWizard/types.d.ts.map +1 -1
- package/build/@types/common/components/hosts/status.d.ts.map +1 -1
- package/build/@types/common/components/hosts/tableUtils.d.ts +2 -0
- package/build/@types/common/components/hosts/tableUtils.d.ts.map +1 -1
- package/build/@types/common/components/hosts/utils.d.ts +3 -0
- package/build/@types/common/components/hosts/utils.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/formik/InputField.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/index.d.ts +1 -0
- package/build/@types/common/components/ui/formik/index.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/types.d.ts +2 -2
- package/build/@types/common/components/ui/formik/types.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/validationSchemas.d.ts.map +1 -1
- package/build/@types/common/config/constants.d.ts.map +1 -1
- package/build/@types/common/config/docs_links.d.ts +1 -1
- package/build/@types/common/config/docs_links.d.ts.map +1 -1
- package/build/@types/common/utils.d.ts +1 -0
- package/build/@types/common/utils.d.ts.map +1 -1
- package/build/@types/ocm/components/Routes.d.ts +6 -4
- package/build/@types/ocm/components/Routes.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.d.ts +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/disconnected/BasicStep.d.ts.map +1 -1
- package/build/@types/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.d.ts +1 -1
- package/build/@types/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.d.ts.map +1 -1
- package/build/@types/ocm/services/HostsService.d.ts +0 -1
- package/build/@types/ocm/services/HostsService.d.ts.map +1 -1
- 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 +31 -12
- 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} +8 -8
- package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsStep.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/{ClusterDetailsFormFields.js → clusterDetails/ClusterDetailsFormFields.js} +20 -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} +20 -13
- 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} +15 -14
- package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelection.js → hostSelection/ClusterDeploymentHostsSelection.js} +23 -14
- 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} +7 -10
- 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 +2 -3
- 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/modals/ManageHostsModal.js +2 -2
- package/build/cjs/cim/components/Hypershift/modals/ManageHostsModal.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/InfraEnvAgentTable.js +5 -2
- package/build/cjs/cim/components/InfraEnv/InfraEnvAgentTable.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/InfraTableToolbar.js +25 -3
- package/build/cjs/cim/components/InfraEnv/InfraTableToolbar.js.map +1 -1
- package/build/cjs/cim/components/helpers/agentClusterInstall.js +7 -1
- package/build/cjs/cim/components/helpers/agentClusterInstall.js.map +1 -1
- package/build/cjs/cim/components/helpers/agents.js +4 -1
- package/build/cjs/cim/components/helpers/agents.js.map +1 -1
- package/build/cjs/cim/components/helpers/toAssisted.js +43 -25
- 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/AddHostModal.js +10 -5
- package/build/cjs/cim/components/modals/AddHostModal.js.map +1 -1
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationFormFields.js +91 -0
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationFormFields.js.map +1 -0
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationModal.js +77 -121
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationModal.js.map +1 -1
- package/build/cjs/cim/components/modals/CimConfiguration/persist.js +44 -95
- package/build/cjs/cim/components/modals/CimConfiguration/persist.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 +3 -3
- package/build/cjs/cim/components/modals/MassApproveAgentModal.js.map +1 -1
- package/build/cjs/cim/hooks/index.js +6 -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/useAgentServiceConfig.js +13 -0
- package/build/cjs/cim/hooks/useAgentServiceConfig.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 -1
- package/build/cjs/cim/types/index.js.map +1 -1
- package/build/cjs/cim/types/models.js +54 -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/api/assisted-service/HostsAPI.js +0 -3
- package/build/cjs/common/api/assisted-service/HostsAPI.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/ControlPlaneNodesDropdown.js +10 -1
- package/build/cjs/common/components/clusterConfiguration/ControlPlaneNodesDropdown.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DownloadIso.js +2 -2
- package/build/cjs/common/components/clusterConfiguration/DownloadIso.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/ExternalPlatformsDropdown.js +49 -0
- package/build/cjs/common/components/clusterConfiguration/ExternalPlatformsDropdown.js.map +1 -0
- package/build/cjs/common/components/clusterConfiguration/SecurityFields.js +7 -5
- package/build/cjs/common/components/clusterConfiguration/SecurityFields.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/index.js +1 -0
- package/build/cjs/common/components/clusterConfiguration/index.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/clusterDetailsValidation.js +7 -7
- package/build/cjs/common/components/clusterWizard/clusterDetailsValidation.js.map +1 -1
- package/build/cjs/common/components/hosts/status.js +1 -2
- package/build/cjs/common/components/hosts/status.js.map +1 -1
- package/build/cjs/common/components/hosts/tableUtils.js +41 -1
- package/build/cjs/common/components/hosts/tableUtils.js.map +1 -1
- package/build/cjs/common/components/hosts/utils.js +5 -1
- package/build/cjs/common/components/hosts/utils.js.map +1 -1
- package/build/cjs/common/components/ui/OpenShiftSelectWithSearch.js +20 -139
- 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/formik/InputField.js +4 -5
- package/build/cjs/common/components/ui/formik/InputField.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/index.js +3 -1
- package/build/cjs/common/components/ui/formik/index.js.map +1 -1
- package/build/cjs/common/components/ui/formik/validationSchemas.js +4 -8
- package/build/cjs/common/components/ui/formik/validationSchemas.js.map +1 -1
- package/build/cjs/common/config/constants.js +0 -3
- package/build/cjs/common/config/constants.js.map +1 -1
- package/build/cjs/common/config/docs_links.js +9 -3
- package/build/cjs/common/config/docs_links.js.map +1 -1
- package/build/cjs/common/utils.js +4 -3
- package/build/cjs/common/utils.js.map +1 -1
- package/build/cjs/ocm/components/Routes.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js +2 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.js +10 -15
- package/build/cjs/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/disconnected/BasicStep.js +2 -1
- package/build/cjs/ocm/components/clusterWizard/disconnected/BasicStep.js.map +1 -1
- package/build/cjs/ocm/components/clusters/AssistedInstallerHeader.js +1 -1
- package/build/cjs/ocm/components/clusters/AssistedInstallerHeader.js.map +1 -1
- package/build/cjs/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.js +14 -4
- package/build/cjs/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.js.map +1 -1
- package/build/cjs/ocm/services/HostsService.js +0 -6
- package/build/cjs/ocm/services/HostsService.js.map +1 -1
- package/lib/cim/components/Agent/AgentStatus.tsx +1 -1
- package/lib/cim/components/Agent/tableUtils.tsx +43 -13
- 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} +9 -10
- package/lib/cim/components/ClusterDeployment/{ClusterDetailsFormFields.tsx → clusterDetails/ClusterDetailsFormFields.tsx} +22 -24
- 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 +128 -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} +23 -14
- 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} +17 -16
- package/lib/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelection.tsx → hostSelection/ClusterDeploymentHostsSelection.tsx} +33 -17
- 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} +9 -13
- 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 +2 -0
- package/lib/cim/components/ClusterDeployment/use-networking-formik.ts +4 -4
- 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/modals/ManageHostsModal.tsx +2 -2
- package/lib/cim/components/InfraEnv/InfraEnvAgentTable.tsx +11 -0
- package/lib/cim/components/InfraEnv/InfraTableToolbar.tsx +77 -1
- package/lib/cim/components/helpers/agentClusterInstall.ts +4 -0
- package/lib/cim/components/helpers/agents.ts +5 -1
- package/lib/cim/components/helpers/toAssisted.ts +27 -2
- package/lib/cim/components/helpers/versions.ts +7 -3
- package/lib/cim/components/modals/AddHostModal.tsx +13 -1
- package/lib/cim/components/modals/CimConfiguration/CimConfigurationFormFields.tsx +259 -0
- package/lib/cim/components/modals/CimConfiguration/CimConfigurationModal.tsx +170 -193
- package/lib/cim/components/modals/CimConfiguration/persist.ts +62 -125
- package/lib/cim/components/modals/CimConfiguration/types.ts +7 -22
- 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 +2 -2
- package/lib/cim/hooks/index.tsx +2 -0
- package/lib/cim/hooks/types.tsx +8 -0
- package/lib/cim/hooks/useAgentServiceConfig.tsx +15 -0
- package/lib/cim/hooks/useConfigMaps.tsx +14 -0
- package/lib/cim/hooks/useK8sWatchResource.tsx +27 -0
- package/lib/cim/types/index.ts +1 -1
- package/lib/cim/types/k8s/agent-cluster-install.ts +1 -0
- package/lib/cim/types/models.tsx +56 -0
- package/lib/cim/utils.ts +12 -0
- package/lib/common/api/assisted-service/HostsAPI.ts +0 -5
- package/lib/common/components/clusterConfiguration/ControlPlaneNodesDropdown.tsx +10 -1
- package/lib/common/components/clusterConfiguration/DownloadIso.tsx +3 -1
- package/lib/common/components/clusterConfiguration/ExternalPlatformsDropdown.tsx +88 -0
- package/lib/common/components/clusterConfiguration/SecurityFields.tsx +13 -6
- package/lib/common/components/clusterConfiguration/index.ts +1 -0
- package/lib/common/components/clusterWizard/clusterDetailsValidation.ts +7 -7
- package/lib/common/components/clusterWizard/types.ts +1 -2
- package/lib/common/components/hosts/status.tsx +1 -2
- package/lib/common/components/hosts/tableUtils.tsx +48 -0
- package/lib/common/components/hosts/utils.ts +4 -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/formik/InputField.tsx +16 -12
- package/lib/common/components/ui/formik/SelectFieldWithSearch.tsx +278 -0
- package/lib/common/components/ui/formik/index.tsx +1 -0
- package/lib/common/components/ui/formik/types.ts +2 -2
- package/lib/common/components/ui/formik/validationSchemas.ts +7 -9
- package/lib/common/config/constants.ts +0 -3
- package/lib/common/config/docs_links.ts +9 -6
- package/lib/common/utils.ts +1 -1
- package/lib/ocm/components/Routes.tsx +9 -7
- package/lib/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.tsx +17 -16
- package/lib/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.tsx +2 -2
- package/lib/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.tsx +13 -18
- package/lib/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.ts +2 -2
- package/lib/ocm/components/clusterWizard/disconnected/BasicStep.tsx +4 -2
- package/lib/ocm/components/clusterWizard/disconnected/ReviewStep.tsx +1 -1
- package/lib/ocm/components/clusters/AssistedInstallerHeader.tsx +2 -2
- package/lib/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.tsx +23 -4
- package/lib/ocm/services/HostsService.ts +0 -8
- package/package.json +5 -5
- 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/cim/components/modals/CimConfiguration/CimConfigurationForm.d.ts +0 -5
- package/build/@types/cim/components/modals/CimConfiguration/CimConfigurationForm.d.ts.map +0 -1
- package/build/@types/cim/types/resources.d.ts +0 -45
- package/build/@types/cim/types/resources.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/cim/components/modals/CimConfiguration/CimConfigurationForm.css +0 -23
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationForm.js +0 -85
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationForm.js.map +0 -1
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationModal.css +0 -3
- package/build/cjs/cim/types/resources.js +0 -10
- package/build/cjs/cim/types/resources.js.map +0 -1
- package/lib/cim/components/modals/CimConfiguration/CimConfigurationForm.css +0 -23
- package/lib/cim/components/modals/CimConfiguration/CimConfigurationForm.tsx +0 -290
- package/lib/cim/components/modals/CimConfiguration/CimConfigurationModal.css +0 -3
- package/lib/cim/types/resources.ts +0 -50
- /package/build/@types/cim/components/ClusterDeployment/{AdditionalNTPSourcesDialogToggle.d.ts → components/AdditionalNTPSourcesDialogToggle.d.ts} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConfigMapForm.js","sourceRoot":"","sources":["../../../../../../lib/cim/components/ClusterDeployment/customManifests/ConfigMapForm.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,8DAA2B;AAC3B,mCAAsD;AACtD,uDAWgC;AAChC,+CAA8F;AAC9F,sFAAmF;AACnF,uEAAoE;AACpE,uDAAoD;AACpD,0CAA+C;AAE/C,MAAM,UAAU,GAAG,YAAY,CAAC;AAUzB,MAAM,aAAa,GAAG,CAAC,EAAE,SAAS,EAAyB,EAAE,EAAE;IACpE,MAAM,EAAE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AA,CAAC,EACtE,QAAQ,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,EAC7B,SAAS,EAAE,CAAC,MAAM,GAClB,CACH,CAAC,CAEO,CACR,CACG,CACN,CACC;QAEV,CAAC,OAAO,IAAI,UAAU;QAEtB,OAAO,IAAI,CACV,8BAAC,qBAAQ;YACP,8BAAC,kBAAK,IACJ,OAAO,EAAE,yBAAY,CAAC,MAAM,EAC5B,KAAK,EAAE,CAAC,CAAC,iDAAiD,CAAC,EAC3D,QAAQ,SACR,CACO,CACZ;QAEA,CAAC,CAAC,MAAM,CAAC,MAAM,IAAI,CAClB,8BAAC,qBAAQ;YACP,8BAAC,eAAM,OAAG,CACD,CACZ;QAEA,SAAS,IAAI,CACZ,8BAAC,qBAAQ;YACP,8BAAC,qCAAiB,IAAC,aAAa,EAAE,kBAAkB,EAAE,KAAK,EAAE,EAAE;gBAC7D,8BAAC,kBAAK,IAAC,OAAO,EAAE,yBAAY,CAAC,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC,sBAAsB,CAAC,EAAE,QAAQ,UAC5E,SAAS,CACJ,CACU,CACX,CACZ,CACI,CACR,CAAC;AACJ,CAAC,CAAC;AAvNW,QAAA,aAAa,iBAuNxB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../lib/cim/components/ClusterDeployment/customManifests/index.tsx"],"names":[],"mappings":";;;AAAA,iFAAuD"}
|
|
@@ -3,18 +3,18 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
const React = tslib_1.__importStar(require("react"));
|
|
5
5
|
const react_core_1 = require("@patternfly/react-core");
|
|
6
|
-
const tableUtils_1 = require("
|
|
7
|
-
const HostsTable_1 = tslib_1.__importStar(require("
|
|
8
|
-
const tableUtils_2 = require("
|
|
9
|
-
const common_1 = require("
|
|
10
|
-
const MassApproveAgentModal_1 = tslib_1.__importDefault(require("
|
|
11
|
-
const MassApproveAction_1 = tslib_1.__importDefault(require("
|
|
12
|
-
const usePagination_1 = require("
|
|
13
|
-
const use_translation_wrapper_1 = require("
|
|
14
|
-
const AgentsSelectionTable_1 = require("
|
|
15
|
-
const HostsTableDetailContext_1 = require("
|
|
16
|
-
const agentStatus_1 = require("
|
|
17
|
-
const helpers_1 = require("
|
|
6
|
+
const tableUtils_1 = require("../../Agent/tableUtils");
|
|
7
|
+
const HostsTable_1 = tslib_1.__importStar(require("../../../../common/components/hosts/HostsTable"));
|
|
8
|
+
const tableUtils_2 = require("../../../../common/components/hosts/tableUtils");
|
|
9
|
+
const common_1 = require("../../../../common");
|
|
10
|
+
const MassApproveAgentModal_1 = tslib_1.__importDefault(require("../../modals/MassApproveAgentModal"));
|
|
11
|
+
const MassApproveAction_1 = tslib_1.__importDefault(require("../../modals/MassApproveAction"));
|
|
12
|
+
const usePagination_1 = require("../../../../common/components/hosts/usePagination");
|
|
13
|
+
const use_translation_wrapper_1 = require("../../../../common/hooks/use-translation-wrapper");
|
|
14
|
+
const AgentsSelectionTable_1 = require("../../Agent/AgentsSelectionTable");
|
|
15
|
+
const HostsTableDetailContext_1 = require("../../../../common/components/hosts/HostsTableDetailContext");
|
|
16
|
+
const agentStatus_1 = require("../../helpers/agentStatus");
|
|
17
|
+
const helpers_1 = require("../../helpers");
|
|
18
18
|
const ClusterDeploymentHostDiscoveryTable = ({ agents, bareMetalHosts, infraEnv, onApprove, onChangeHostname, onChangeBMHHostname, onEditRole, onSetInstallationDiskId, onEditHost, onEditBMH, onDeleteHost, width, }) => {
|
|
19
19
|
const [isDiscoveryHintModalOpen, setDiscoveryHintModalOpen] = React.useState(false);
|
|
20
20
|
const [isMassChangeHostOpen, setMassChangeHostOpen] = React.useState(false);
|
|
@@ -52,7 +52,14 @@ const ClusterDeploymentHostDiscoveryTable = ({ agents, bareMetalHosts, infraEnv,
|
|
|
52
52
|
}),
|
|
53
53
|
(0, tableUtils_2.roleColumn)(t, hostActions.canEditRole, hostActions.onEditRole),
|
|
54
54
|
...(addAll
|
|
55
|
-
? [
|
|
55
|
+
? [
|
|
56
|
+
(0, tableUtils_2.discoveredAtColumn)(t),
|
|
57
|
+
(0, tableUtils_2.cpuCoresColumn)(t),
|
|
58
|
+
(0, tableUtils_2.gpusColumn)(t),
|
|
59
|
+
(0, tableUtils_2.memoryColumn)(t),
|
|
60
|
+
(0, tableUtils_2.disksColumn)(t),
|
|
61
|
+
(0, tableUtils_2.labelsColumn)(t),
|
|
62
|
+
]
|
|
56
63
|
: []),
|
|
57
64
|
], [
|
|
58
65
|
t,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClusterDeploymentHostDiscoveryTable.js","sourceRoot":"","sources":["../../../../../../lib/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostDiscoveryTable.tsx"],"names":[],"mappings":";;;AAAA,qDAA+B;AAC/B,uDAA0D;AAE1D,uDAKgC;AAChC,qGAGwD;AACxD,+EASwD;AACxD,+CAK4B;AAE5B,uGAAuE;AACvE,+FAA+D;AAC/D,qFAAkF;AAClF,8FAAkF;AAClF,2EAAmE;AACnE,yGAA8G;AAC9G,2DAAmE;AACnE,2CAAsD;AAEtD,MAAM,mCAAmC,GAAuD,CAAC,EAC/F,MAAM,EACN,cAAc,EACd,QAAQ,EACR,SAAS,EACT,gBAAgB,EAChB,mBAAmB,EACnB,UAAU,EACV,uBAAuB,EACvB,UAAU,EACV,SAAS,EACT,YAAY,EACZ,KAAK,GACN,EAAE,EAAE;IACH,MAAM,CAAC,wBAAwB,EAAE,yBAAyB,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IACpF,MAAM,CAAC,oBAAoB,EAAE,qBAAqB,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC5E,MAAM,CAAC,iBAAiB,EAAE,kBAAkB,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,KA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E,aAAa,EAAE,cAAc,EAAE,CAAC,CAAC,GAC9E,CACH;QACA,iBAAiB,IAAI,CACpB,oBAAC,+BAAqB,IACpB,MAAM,EAAE,iBAAiB,EACzB,MAAM,EAAE,cAAc,EACtB,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,GAAG,EAAE,CAAC,kBAAkB,CAAC,KAAK,CAAC,GACxC,CACH,CACA,CACJ,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,mCAAmC,CAAC"}
|
|
@@ -4,13 +4,13 @@ const tslib_1 = require("tslib");
|
|
|
4
4
|
const react_1 = tslib_1.__importDefault(require("react"));
|
|
5
5
|
const react_core_1 = require("@patternfly/react-core");
|
|
6
6
|
const react_measure_1 = tslib_1.__importDefault(require("react-measure"));
|
|
7
|
-
const common_1 = require("
|
|
8
|
-
const helpers_1 = require("
|
|
9
|
-
const MinimalHWRequirements_1 = tslib_1.__importDefault(require("
|
|
10
|
-
const modals_1 = require("
|
|
7
|
+
const common_1 = require("../../../../common");
|
|
8
|
+
const helpers_1 = require("../../helpers");
|
|
9
|
+
const MinimalHWRequirements_1 = tslib_1.__importDefault(require("../../Agent/MinimalHWRequirements"));
|
|
10
|
+
const modals_1 = require("../../modals");
|
|
11
11
|
const ClusterDeploymentHostDiscoveryTable_1 = tslib_1.__importDefault(require("./ClusterDeploymentHostDiscoveryTable"));
|
|
12
|
-
const use_translation_wrapper_1 = require("
|
|
13
|
-
const AddHostDropdown_1 = tslib_1.__importDefault(require("
|
|
12
|
+
const use_translation_wrapper_1 = require("../../../../common/hooks/use-translation-wrapper");
|
|
13
|
+
const AddHostDropdown_1 = tslib_1.__importDefault(require("../../InfraEnv/AddHostDropdown"));
|
|
14
14
|
const DiscoveryInstructions = () => {
|
|
15
15
|
const { t } = (0, use_translation_wrapper_1.useTranslation)();
|
|
16
16
|
return (react_1.default.createElement(react_1.default.Fragment, null,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClusterDeploymentHostsDiscovery.js","sourceRoot":"","sources":["../../../../../../lib/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscovery.tsx"],"names":[],"mappings":";;;AAAA,0DAA0B;AAC1B,uDAA4E;AAC5E,0EAAoC;AACpC,+CAK4B;AAC5B,2CAAuE;AACvE,sGAAsE;AAEtE,yCAA4D;AAE5D,wHAAwF;AACxF,8FAAkF;AAClF,6FAA6D;AAE7D,MAAM,qBAAqB,GAAG,GAAG,EAAE;IACjC,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,wCAAc,GAAE,CAAC;IAC/B,OAAO,CACL;QACE,8BAAC,oBAAO,IAAC,SAAS,EAAC,IAAI,IAAE,CAAC,CAAC,8BAA8B,CAAC,CAAW;QACrE,8BAAC,oBAAO,IAAC,SAAS,EAAC,IAAI,EAAC,IAAI,EAAE,sBAAS,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,UAAU,EAAE,CAAC,EAAE;YACtE,8BAAC,oBAAO,IAAC,SAAS,EAAC,IAAI,IAAE,CAAC,CAAC,gCAAgC,CAAC,CAAW;YACvE,8BAAC,oBAAO,IAAC,SAAS,EAAC,IAAI,IACpB,CAAC,CAAC,iFAAiF,CAAC,CAC7E;YACV,8BAAC,oBAAO,IAAC,SAAS,EAAC,IAAI,IACpB,CAAC,CACA,mHAAmH,CACpH,CACO;YACV,8BAAC,oBAAO,IAAC,SAAS,EAAC,IAAI,IACpB,CAAC,CACA,yFAAyF,CAC1F,CACO,CACF,CACT,CACJ,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,+BAA+B,GAAmD,CAAC,EAiBxF,EAAE,EAAE;QAjBoF,EACvF,mBAAmB,EACnB,MAAM,EACN,cAAc,EACd,WAAW,EACX,QAAQ,EACR,aAAa,EACb,aAAa,EACb,gBAAgB,EAChB,UAAU,EACV,uBAAuB,EACvB,SAAS,EACT,WAAW,EACX,mBAAmB,EACnB,cAAc,EACd,YAAY,OAEb,EADI,IAAI,sBAhBgF,kQAiBxF,CAD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
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ClusterDeploymentHostsDiscoveryStep = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
const react_1 = tslib_1.__importDefault(require("react"));
|
|
5
6
|
const uniq_js_1 = tslib_1.__importDefault(require("lodash-es/uniq.js"));
|
|
6
7
|
const react_core_1 = require("@patternfly/react-core");
|
|
7
|
-
const common_1 = require("
|
|
8
|
+
const common_1 = require("../../../../common");
|
|
8
9
|
const ClusterDeploymentHostsDiscovery_1 = tslib_1.__importDefault(require("./ClusterDeploymentHostsDiscovery"));
|
|
9
|
-
const helpers_1 = require("
|
|
10
|
-
const helpers_2 = require("
|
|
11
|
-
const wizardTransition_1 = require("
|
|
12
|
-
const use_translation_wrapper_1 = require("
|
|
13
|
-
const ValidationSection_1 = require("
|
|
14
|
-
const ClusterDeploymentWizardContext_1 = require("
|
|
10
|
+
const helpers_1 = require("../helpers");
|
|
11
|
+
const helpers_2 = require("../../helpers");
|
|
12
|
+
const wizardTransition_1 = require("../wizardTransition");
|
|
13
|
+
const use_translation_wrapper_1 = require("../../../../common/hooks/use-translation-wrapper");
|
|
14
|
+
const ValidationSection_1 = require("../components/ValidationSection");
|
|
15
|
+
const ClusterDeploymentWizardContext_1 = require("../ClusterDeploymentWizardContext");
|
|
15
16
|
const ClusterDeploymentHostsDiscoveryStep = (_a) => {
|
|
16
17
|
var { agentClusterInstall, agents: allAgents, infraEnv, onSaveHostsDiscovery } = _a, rest = tslib_1.__rest(_a, ["agentClusterInstall", "agents", "infraEnv", "onSaveHostsDiscovery"]);
|
|
17
18
|
const { t } = (0, use_translation_wrapper_1.useTranslation)();
|
|
@@ -103,7 +104,7 @@ const ClusterDeploymentHostsDiscoveryStep = (_a) => {
|
|
|
103
104
|
react_1.default.createElement(react_core_1.List, null, errors.map((error) => (react_1.default.createElement(react_core_1.ListItem, { key: error }, error)))))),
|
|
104
105
|
!!syncError && (react_1.default.createElement(react_core_1.GridItem, null,
|
|
105
106
|
react_1.default.createElement(ValidationSection_1.ValidationSection, { currentStepId: 'hosts-selection', hosts: [] },
|
|
106
|
-
react_1.default.createElement(react_core_1.Alert, { variant: react_core_1.AlertVariant.danger, title: t('ai:An error
|
|
107
|
+
react_1.default.createElement(react_core_1.Alert, { variant: react_core_1.AlertVariant.danger, title: t('ai:An error occurred'), isInline: true }, syncError))))));
|
|
107
108
|
};
|
|
108
|
-
exports.
|
|
109
|
+
exports.ClusterDeploymentHostsDiscoveryStep = ClusterDeploymentHostsDiscoveryStep;
|
|
109
110
|
//# sourceMappingURL=ClusterDeploymentHostsDiscoveryStep.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClusterDeploymentHostsDiscoveryStep.js","sourceRoot":"","sources":["../../../../../../lib/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscoveryStep.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,wEAAqC;AACrC,uDAUgC;AAEhC,+CAAqE;AAErE,gHAAgF;AAChF,wCAAoE;AACpE,2CAA0E;AAC1E,0DAAmE;AACnE,8FAAkF;AAClF,uEAAoE;AACpE,sFAAmF;AAE5E,MAAM,mCAAmC,GAAG,CAAC,EAMT,EAAE,EAAE;QANK,EAClD,mBAAmB,EACnB,MAAM,EAAE,SAAS,EACjB,QAAQ,EACR,oBAAoB,OAEqB,EADtC,IAAI,sBAL2C,qEAMnD,CADQ;IAEP,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,wCAAc,GAAE,CAAC;IAC/B,MAAM,EAAE,SAAS,EAAE,GAAG,eAAK,CAAC,UAAU,CAAC,+DAA8B,CAAC,CAAC;IACvE,MAAM,EAAE,UAAU,EAAE,YAAY,EAAE,YAAY,EAAE,KAAK,EAAE,GAAG,IAAA,6BAAgB,GAAE,CAAC;IAC7E,MAAM,CAAC,iBAAiB,EAAE,oBAAoB,CAAC,GAAG,eAAK,CAAC,QAAQ,CAAC,KAAK,CA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sources":["../../../../../../lib/cim/components/ClusterDeployment/hostDiscovery/index.tsx"],"names":[],"mappings":";;;AAAA,gFAAsD"}
|
|
@@ -1,26 +1,27 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.useHostsSelectionFormik = void 0;
|
|
3
|
+
exports.ClusterDeploymentHostSelectionStep = exports.useHostsSelectionFormik = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const react_1 = tslib_1.__importDefault(require("react"));
|
|
6
6
|
const Yup = tslib_1.__importStar(require("yup"));
|
|
7
7
|
const formik_1 = require("formik");
|
|
8
8
|
const react_core_1 = require("@patternfly/react-core");
|
|
9
|
-
const common_1 = require("
|
|
9
|
+
const common_1 = require("../../../../common");
|
|
10
10
|
const ClusterDeploymentHostsSelection_1 = tslib_1.__importDefault(require("./ClusterDeploymentHostsSelection"));
|
|
11
|
-
const validationSchemas_1 = require("
|
|
12
|
-
const helpers_1 = require("
|
|
13
|
-
const wizardTransition_1 = require("
|
|
14
|
-
const use_translation_wrapper_1 = require("
|
|
15
|
-
const ValidationSection_1 = require("
|
|
16
|
-
const ClusterDeploymentWizardContext_1 = require("
|
|
11
|
+
const validationSchemas_1 = require("../validationSchemas");
|
|
12
|
+
const helpers_1 = require("../../helpers");
|
|
13
|
+
const wizardTransition_1 = require("../wizardTransition");
|
|
14
|
+
const use_translation_wrapper_1 = require("../../../../common/hooks/use-translation-wrapper");
|
|
15
|
+
const ValidationSection_1 = require("../components/ValidationSection");
|
|
16
|
+
const ClusterDeploymentWizardContext_1 = require("../ClusterDeploymentWizardContext");
|
|
17
17
|
const getInitialValues = ({ agents, clusterDeployment, agentClusterInstall, }) => {
|
|
18
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
|
18
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
19
19
|
const isSNOCluster = (0, helpers_1.getIsSNOCluster)(agentClusterInstall);
|
|
20
20
|
const cdName = (_a = clusterDeployment === null || clusterDeployment === void 0 ? void 0 : clusterDeployment.metadata) === null || _a === void 0 ? void 0 : _a.name;
|
|
21
21
|
const cdNamespace = (_b = clusterDeployment === null || clusterDeployment === void 0 ? void 0 : clusterDeployment.metadata) === null || _b === void 0 ? void 0 : _b.namespace;
|
|
22
22
|
let hostCount = (((_d = (_c = agentClusterInstall === null || agentClusterInstall === void 0 ? void 0 : agentClusterInstall.spec) === null || _c === void 0 ? void 0 : _c.provisionRequirements) === null || _d === void 0 ? void 0 : _d.controlPlaneAgents) || 0) +
|
|
23
|
-
(((_f = (_e = agentClusterInstall === null || agentClusterInstall === void 0 ? void 0 : agentClusterInstall.spec) === null || _e === void 0 ? void 0 : _e.provisionRequirements) === null || _f === void 0 ? void 0 : _f.
|
|
23
|
+
(((_f = (_e = agentClusterInstall === null || agentClusterInstall === void 0 ? void 0 : agentClusterInstall.spec) === null || _e === void 0 ? void 0 : _e.provisionRequirements) === null || _f === void 0 ? void 0 : _f.arbiterAgents) || 0) +
|
|
24
|
+
(((_h = (_g = agentClusterInstall === null || agentClusterInstall === void 0 ? void 0 : agentClusterInstall.spec) === null || _g === void 0 ? void 0 : _g.provisionRequirements) === null || _h === void 0 ? void 0 : _h.workerAgents) || 0);
|
|
24
25
|
if (isSNOCluster) {
|
|
25
26
|
hostCount = 1;
|
|
26
27
|
}
|
|
@@ -30,7 +31,7 @@ const getInitialValues = ({ agents, clusterDeployment, agentClusterInstall, }) =
|
|
|
30
31
|
else if (hostCount === 4) {
|
|
31
32
|
hostCount = 5;
|
|
32
33
|
}
|
|
33
|
-
const agentSelector = (0, helpers_1.getAgentSelectorFieldsFromAnnotations)((
|
|
34
|
+
const agentSelector = (0, helpers_1.getAgentSelectorFieldsFromAnnotations)((_j = clusterDeployment === null || clusterDeployment === void 0 ? void 0 : clusterDeployment.metadata) === null || _j === void 0 ? void 0 : _j.annotations);
|
|
34
35
|
const selectedIds = agents
|
|
35
36
|
.filter((agent) => {
|
|
36
37
|
var _a, _b, _c, _d;
|
|
@@ -151,7 +152,7 @@ const HostSelectionForm = ({ agents, agentClusterInstall, clusterDeployment, aiC
|
|
|
151
152
|
setNextRequested(false);
|
|
152
153
|
}
|
|
153
154
|
}, [syncError]);
|
|
154
|
-
const errorsSection = (react_1.default.createElement(ValidationSection_1.ValidationSection, { currentStepId: 'cluster-details', hosts: [] }, syncError && (react_1.default.createElement(react_core_1.Alert, { variant: react_core_1.AlertVariant.danger, title: t('ai:An error
|
|
155
|
+
const errorsSection = (react_1.default.createElement(ValidationSection_1.ValidationSection, { currentStepId: 'cluster-details', hosts: [] }, syncError && (react_1.default.createElement(react_core_1.Alert, { variant: react_core_1.AlertVariant.danger, title: t('ai:An error occurred'), isInline: true }, syncError))));
|
|
155
156
|
const footer = react_1.default.useMemo(() => (react_1.default.createElement(react_core_1.WizardFooter, { activeStep: activeStep, onNext: onNext, isNextDisabled: nextRequested || isSubmitting || (showFormErrors ? !isValid || isValidating : false) // ||
|
|
156
157
|
, nextButtonText: submittingText || t('ai:Next'), nextButtonProps: { isLoading: !!submittingText }, onBack: goToPrevStep, onClose: close })), [
|
|
157
158
|
activeStep,
|
|
@@ -171,7 +172,7 @@ const HostSelectionForm = ({ agents, agentClusterInstall, clusterDeployment, aiC
|
|
|
171
172
|
react_1.default.createElement(react_core_1.GridItem, null,
|
|
172
173
|
react_1.default.createElement(common_1.ClusterWizardStepHeader, null, t('ai:Cluster hosts'))),
|
|
173
174
|
react_1.default.createElement(react_core_1.GridItem, null,
|
|
174
|
-
react_1.default.createElement(ClusterDeploymentHostsSelection_1.default, { agentClusterInstall: agentClusterInstall, agents: agents, clusterDeployment: clusterDeployment, aiConfigMap: aiConfigMap, onEditRole: onEditRole, onSetInstallationDiskId: onSetInstallationDiskId, onAutoSelectChange: onAutoSelectChange, onHostSelect: onHostSelect, isNutanix: isNutanix })),
|
|
175
|
+
react_1.default.createElement(ClusterDeploymentHostsSelection_1.default, { agentClusterInstall: agentClusterInstall, agents: agents, clusterDeployment: clusterDeployment, aiConfigMap: aiConfigMap, onEditRole: onEditRole, onSetInstallationDiskId: onSetInstallationDiskId, onAutoSelectChange: onAutoSelectChange, onHostSelect: onHostSelect, isNutanix: isNutanix, hostsBinding: nextRequested && !showClusterErrors })),
|
|
175
176
|
(showClusterErrors || showFormErrors) && !!alerts.length && (react_1.default.createElement(react_core_1.GridItem, null,
|
|
176
177
|
react_1.default.createElement(common_1.Alerts, null))),
|
|
177
178
|
syncError && react_1.default.createElement(react_core_1.GridItem, null, errorsSection),
|
|
@@ -207,5 +208,5 @@ const ClusterDeploymentHostSelectionStep = (_a) => {
|
|
|
207
208
|
return (react_1.default.createElement(formik_1.Formik, { initialValues: initialValues, validationSchema: validationSchema, onSubmit: handleSubmit },
|
|
208
209
|
react_1.default.createElement(HostSelectionForm, Object.assign({}, rest))));
|
|
209
210
|
};
|
|
210
|
-
exports.
|
|
211
|
+
exports.ClusterDeploymentHostSelectionStep = ClusterDeploymentHostSelectionStep;
|
|
211
212
|
//# sourceMappingURL=ClusterDeploymentHostSelectionStep.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClusterDeploymentHostSelectionStep.js","sourceRoot":"","sources":["../../../../../../lib/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,iDAA2B;AAC3B,mCAAgE;AAChE,uDAQgC;AAChC,+CAAgF;AAMhF,gHAAgF;AAKhF,4DAAiE;AACjE,2CAIuB;AACvB,0DAAmE;AACnE,8FAAkF;AAElF,uEAAoE;AACpE,sFAAmF;AAEnF,MAAM,gBAAgB,GAAG,CAAC,EACxB,MAAM,EACN,iBAAiB,EACjB,mBAAmB,GAKpB,EAAyC,EAAE;;IAC1C,MAAM,YAAY,GAAG,IAAA,yBAAe,EAAC,mBAAmB,CAAC,CAAC;IAC1D,MAAM,MAAM,GAAG,MAAA,iBAAiB,aAAjB,iBAAiB,uBAAjB,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BAAS,GAAE,CAAC;IACjC,MAAM,EAAE,MAAM,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,GAAG,IAAI,CAAC;IAEhE,MAAM,CAAC,aAAa,EAAE,gBAAgB,CAAC,GAAG,IAAA,+BAAuB,EAAC;QAChE,MAAM;QACN,iBAAiB;QACjB,mBAAmB;QACnB,CAAC;KACF,CAAC,CAAC;IAEH,MAAM,YAAY,GAAoE,CACpF,MAAM,EACN,EAAE,aAAa,EAAE,EACjB,EAAE;QACF,IAAI;YACF,MAAM,oBAAoB,CAAC,MAAM,CAAC,CAAC;SACpC;QAAC,OAAO,CAAC,EAAE;YACV,MAAM,KAAK,GAAG,CAAU,CAAC;YACzB,QAAQ,CAAC;gBACP,KAAK,EAAE,CAAC,CAAC,mCAAmC,CAAC;gBAC7C,OAAO,EAAE,KAAK,CAAC,OAAO;aACvB,CAAC,CAAC;SACJ;gBAAS;YACR,aAAa,CAAC,KAAK,CAAC,CAAC;SACtB;IACH,CAAC,CAAA,CAAC;IAEF,OAAO,CACL,8BAAC,eAAM,IACL,aAAa,EAAE,aAAa,EAC5B,gBAAgB,EAAE,gBAAgB,EAClC,QAAQ,EAAE,YAAY;QAEtB,8BAAC,iBAAiB,oBAAK,IAAI,EAAI,CACxB,CACV,CAAC;AACJ,CAAC,CAAC;AAzCW,QAAA,kCAAkC,sCAyC7C"}
|
|
@@ -4,23 +4,34 @@ const tslib_1 = require("tslib");
|
|
|
4
4
|
const react_1 = tslib_1.__importDefault(require("react"));
|
|
5
5
|
const formik_1 = require("formik");
|
|
6
6
|
const react_core_1 = require("@patternfly/react-core");
|
|
7
|
-
const common_1 = require("
|
|
7
|
+
const common_1 = require("../../../../common");
|
|
8
8
|
const ClusterDeploymentHostsSelectionBasic_1 = tslib_1.__importDefault(require("./ClusterDeploymentHostsSelectionBasic"));
|
|
9
|
-
const ClusterDeploymentHostsSelectionAdvanced_1 =
|
|
10
|
-
const helpers_1 = require("
|
|
11
|
-
const MinimalHWRequirements_1 = tslib_1.__importDefault(require("
|
|
12
|
-
const NoAgentsAlert_1 = tslib_1.__importDefault(require("
|
|
13
|
-
const use_translation_wrapper_1 = require("
|
|
14
|
-
const
|
|
9
|
+
const ClusterDeploymentHostsSelectionAdvanced_1 = require("./ClusterDeploymentHostsSelectionAdvanced");
|
|
10
|
+
const helpers_1 = require("../../helpers");
|
|
11
|
+
const MinimalHWRequirements_1 = tslib_1.__importDefault(require("../../Agent/MinimalHWRequirements"));
|
|
12
|
+
const NoAgentsAlert_1 = tslib_1.__importDefault(require("../../Agent/NoAgentsAlert"));
|
|
13
|
+
const use_translation_wrapper_1 = require("../../../../common/hooks/use-translation-wrapper");
|
|
14
|
+
const getHostRequirementText = (isSNO, isTNA, t) => {
|
|
15
|
+
if (isSNO) {
|
|
16
|
+
return t('ai:Exactly 1 host is required, capable of functioning both as control plane and worker node.');
|
|
17
|
+
}
|
|
18
|
+
else if (isTNA) {
|
|
19
|
+
return t('ai:Exactly 2 hosts capable of functioning as control plane nodes, and one arbiter, are required.');
|
|
20
|
+
}
|
|
21
|
+
return t('ai:At least 3 hosts are required, capable of functioning as control plane nodes.');
|
|
22
|
+
};
|
|
23
|
+
const ClusterDeploymentHostsSelection = ({ agentClusterInstall, clusterDeployment, agents, aiConfigMap, onEditRole, onAutoSelectChange, onHostSelect, onSetInstallationDiskId, isNutanix, hostsBinding, }) => {
|
|
15
24
|
var _a, _b;
|
|
25
|
+
const { t } = (0, use_translation_wrapper_1.useTranslation)();
|
|
16
26
|
const { values } = (0, formik_1.useFormikContext)();
|
|
17
27
|
const { autoSelectHosts } = values;
|
|
18
28
|
const isSNOCluster = (0, helpers_1.getIsSNOCluster)(agentClusterInstall);
|
|
29
|
+
const isTNA = (0, helpers_1.getIsTNACluster)(agentClusterInstall);
|
|
19
30
|
const cdName = (_a = clusterDeployment === null || clusterDeployment === void 0 ? void 0 : clusterDeployment.metadata) === null || _a === void 0 ? void 0 : _a.name;
|
|
20
31
|
const cdNamespace = (_b = clusterDeployment === null || clusterDeployment === void 0 ? void 0 : clusterDeployment.metadata) === null || _b === void 0 ? void 0 : _b.namespace;
|
|
21
32
|
const cpuArchitecture = (0, helpers_1.getClusterDeploymentCpuArchitecture)(clusterDeployment);
|
|
22
33
|
const availableAgents = react_1.default.useMemo(() => {
|
|
23
|
-
const filtered = (0, helpers_1.getAgentsForSelection)(agents).filter((agent) => {
|
|
34
|
+
const filtered = (0, helpers_1.getAgentsForSelection)(agents, hostsBinding).filter((agent) => {
|
|
24
35
|
var _a, _b, _c, _d, _e, _f;
|
|
25
36
|
return (((_a = agent.spec.clusterDeploymentName) === null || _a === void 0 ? void 0 : _a.name) === cdName &&
|
|
26
37
|
((_b = agent.spec.clusterDeploymentName) === null || _b === void 0 ? void 0 : _b.namespace) === cdNamespace) ||
|
|
@@ -31,19 +42,17 @@ const ClusterDeploymentHostsSelection = ({ agentClusterInstall, clusterDeploymen
|
|
|
31
42
|
return isNutanix
|
|
32
43
|
? filtered.filter((a) => { var _a, _b, _c; return ((_c = (_b = (_a = a.status) === null || _a === void 0 ? void 0 : _a.inventory) === null || _b === void 0 ? void 0 : _b.systemVendor) === null || _c === void 0 ? void 0 : _c.manufacturer) === 'Nutanix'; })
|
|
33
44
|
: filtered;
|
|
34
|
-
}, [agents,
|
|
35
|
-
const
|
|
45
|
+
}, [agents, hostsBinding, isNutanix, cdName, cdNamespace, cpuArchitecture]);
|
|
46
|
+
const hostRequirementText = getHostRequirementText(isSNOCluster, isTNA, t);
|
|
36
47
|
return (react_1.default.createElement(react_core_1.Grid, { hasGutter: true },
|
|
37
48
|
react_1.default.createElement(react_core_1.GridItem, null,
|
|
38
|
-
react_1.default.createElement(react_core_1.Content, null,
|
|
39
|
-
? t('ai:Exactly 1 host is required, capable of functioning both as control plane and worker node.')
|
|
40
|
-
: t('ai:At least 3 hosts are required, capable of functioning as control plane nodes.'))),
|
|
49
|
+
react_1.default.createElement(react_core_1.Content, null, hostRequirementText)),
|
|
41
50
|
aiConfigMap && (react_1.default.createElement(react_core_1.GridItem, null,
|
|
42
51
|
react_1.default.createElement(MinimalHWRequirements_1.default, { aiConfigMap: aiConfigMap, isSNOCluster: isSNOCluster }))),
|
|
43
52
|
react_1.default.createElement(react_core_1.GridItem, null, availableAgents.length ? (react_1.default.createElement(react_core_1.Form, null,
|
|
44
53
|
react_1.default.createElement(common_1.SwitchField, { name: "autoSelectHosts", label: t('ai:Auto-select hosts'), onChange: onAutoSelectChange }),
|
|
45
54
|
autoSelectHosts && (react_1.default.createElement(ClusterDeploymentHostsSelectionBasic_1.default, { availableAgents: availableAgents, isSNOCluster: isSNOCluster })),
|
|
46
|
-
!autoSelectHosts && (react_1.default.createElement(ClusterDeploymentHostsSelectionAdvanced_1.
|
|
55
|
+
!autoSelectHosts && (react_1.default.createElement(ClusterDeploymentHostsSelectionAdvanced_1.ClusterDeploymentHostsSelectionAdvanced, { availableAgents: availableAgents, onEditRole: onEditRole, onHostSelect: onHostSelect, onSetInstallationDiskId: onSetInstallationDiskId, cpuArchitecture: cpuArchitecture })))) : (react_1.default.createElement(NoAgentsAlert_1.default, { cpuArchitecture: cpuArchitecture })))));
|
|
47
56
|
};
|
|
48
57
|
exports.default = ClusterDeploymentHostsSelection;
|
|
49
58
|
//# sourceMappingURL=ClusterDeploymentHostsSelection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClusterDeploymentHostsSelection.js","sourceRoot":"","sources":["../../../../../../lib/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelection.tsx"],"names":[],"mappings":";;;AAAA,0DAA0B;AAC1B,mCAA0C;AAC1C,uDAAuE;AACvE,+CAAiD;AAKjD,0HAA0F;AAC1F,uGAAoG;AACpG,2CAKuB;AACvB,sGAAsE;AACtE,sFAAsD;AACtD,8FAAkF;AAGlF,MAAM,sBAAsB,GAAG,CAAC,KAAc,EAAE,KAAc,EAAE,CAAY,EAAE,EAAE;IAC9E,IAAI,KAAK,EAAE;QACT,OAAO,CAAC,CACN,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,eAAe,EAAE,eAAe,EAChC,YAAY,EAAE,YAAY,GAC1B,CACH;YAEA,CAAC,eAAe,IAAI,CACnB,8BAAC,iFAAuC,IACtC,eAAe,EAAE,eAAe,EAChC,UAAU,EAAE,UAAU,EACtB,YAAY,EAAE,YAAY,EAC1B,uBAAuB,EAAE,uBAAuB,EAChD,eAAe,EAAE,eAAe,GAChC,CACH,CACI,CACR,CAAC,CAAC,CAAC,CACF,8BAAC,uBAAa,IAAC,eAAe,EAAE,eAAe,GAAI,CACpD,CACQ,CACN,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,+BAA+B,CAAC"}
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ClusterDeploymentHostsSelectionAdvanced = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
const isMatch_js_1 = tslib_1.__importDefault(require("lodash-es/isMatch.js"));
|
|
5
6
|
const formik_1 = require("formik");
|
|
6
7
|
const react_1 = tslib_1.__importDefault(require("react"));
|
|
7
8
|
const react_measure_1 = tslib_1.__importDefault(require("react-measure"));
|
|
8
9
|
const react_core_1 = require("@patternfly/react-core");
|
|
9
|
-
const common_1 = require("
|
|
10
|
-
const LocationsSelector_1 = tslib_1.__importDefault(require("
|
|
11
|
-
const LabelsSelector_1 = tslib_1.__importStar(require("
|
|
12
|
-
const AgentsSelectionTable_1 = tslib_1.__importDefault(require("
|
|
13
|
-
const use_translation_wrapper_1 = require("
|
|
10
|
+
const common_1 = require("../../common");
|
|
11
|
+
const LocationsSelector_1 = tslib_1.__importDefault(require("../LocationsSelector"));
|
|
12
|
+
const LabelsSelector_1 = tslib_1.__importStar(require("../LabelsSelector"));
|
|
13
|
+
const AgentsSelectionTable_1 = tslib_1.__importDefault(require("../../Agent/AgentsSelectionTable"));
|
|
14
|
+
const use_translation_wrapper_1 = require("../../../../common/hooks/use-translation-wrapper");
|
|
14
15
|
const ClusterDeploymentHostsSelectionAdvanced = ({ availableAgents, onEditRole, onSetInstallationDiskId, onEditHost, onHostSelect, cpuArchitecture, }) => {
|
|
15
16
|
const { t } = (0, use_translation_wrapper_1.useTranslation)();
|
|
16
17
|
const { values } = (0, formik_1.useFormikContext)();
|
|
@@ -46,5 +47,5 @@ const ClusterDeploymentHostsSelectionAdvanced = ({ availableAgents, onEditRole,
|
|
|
46
47
|
react_1.default.createElement(AgentsSelectionTable_1.default, { matchingAgents: matchingAgents, onEditRole: onEditRole, onSetInstallationDiskId: onSetInstallationDiskId, width: (_a = contentRect.bounds) === null || _a === void 0 ? void 0 : _a.width, onEditHost: onEditHost, onHostSelect: onHostSelect })));
|
|
47
48
|
})))));
|
|
48
49
|
};
|
|
49
|
-
exports.
|
|
50
|
+
exports.ClusterDeploymentHostsSelectionAdvanced = ClusterDeploymentHostsSelectionAdvanced;
|
|
50
51
|
//# sourceMappingURL=ClusterDeploymentHostsSelectionAdvanced.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClusterDeploymentHostsSelectionAdvanced.js","sourceRoot":"","sources":["../../../../../../lib/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelectionAdvanced.tsx"],"names":[],"mappings":";;;;AAAA,8EAA2C;AAC3C,mCAA0C;AAC1C,0DAA0B;AAC1B,0EAAoC;AACpC,uDAA6E;AAG7E,yCAAgF;AAChF,qFAAqD;AAErD,4EAAsE;AACtE,oGAAoE;AAEpE,8FAAkF;AAc3E,MAAM,uCAAuC,GAAG,CAAuB,EAC5E,eAAe,EACf,UAAU,EACV,uBAAuB,EACvB,UAAU,EACV,YAAY,EACZ,eAAe,GAC8B,EAAE,EAAE;IACjD,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,wCAAc,GAAE,CAAC;IAC/B,MAAM,EAAE,MAAM,EAAE,GAAG,IAAA,yBAAgB,GAAK,CAAC;IACzC,MAAM,EAAE,SAAS,EAAE,WAAW,EAA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kBAAK,IACJ,OAAO,EAAE,yBAAY,CAAC,IAAI,EAC1B,KAAK,EAAE,CAAC,CACN,8EAA8E,EAC9E;oBACE,eAAe;iBAChB,CACF,EACD,QAAQ,SACR,CACH;YACD,8BAAC,qBAAQ;gBACP,8BAAC,uBAAO,IAAC,MAAM,UACZ,CAAC,EAAE,UAAU,EAAE,WAAW,EAAE,EAAE,EAAE;;oBAAC,OAAA,CAChC,uCAAK,GAAG,EAAE,UAAU;wBAClB,8BAAC,8BAAoB,IACnB,cAAc,EAAE,cAAc,EAC9B,UAAU,EAAE,UAAU,EACtB,uBAAuB,EAAE,uBAAuB,EAChD,KAAK,EAAE,MAAA,WAAW,CAAC,MAAM,0CAAE,KAAK,EAChC,UAAU,EAAE,UAAU,EACtB,YAAY,EAAE,YAAY,GAC1B,CACE,CACP,CAAA;iBAAA,CACO,CACD,CACN,CACN,CACJ,CAAC;AACJ,CAAC,CAAC;AA7EW,QAAA,uCAAuC,2CA6ElD"}
|
|
@@ -3,14 +3,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
const react_1 = tslib_1.__importDefault(require("react"));
|
|
5
5
|
const react_core_1 = require("@patternfly/react-core");
|
|
6
|
-
const common_1 = require("
|
|
7
|
-
const constants_1 = require("
|
|
6
|
+
const common_1 = require("../../../../common");
|
|
7
|
+
const constants_1 = require("../constants");
|
|
8
8
|
const formik_1 = require("formik");
|
|
9
|
-
const LocationsSelector_1 = tslib_1.__importDefault(require("
|
|
10
|
-
const AgentsSelectionHostCountAlerts_1 = tslib_1.__importDefault(require("
|
|
11
|
-
const AgentsSelectionHostCountLabelIcon_1 = tslib_1.__importDefault(require("
|
|
12
|
-
const AgentsSelectionUtils_1 = require("
|
|
13
|
-
const use_translation_wrapper_1 = require("
|
|
9
|
+
const LocationsSelector_1 = tslib_1.__importDefault(require("../LocationsSelector"));
|
|
10
|
+
const AgentsSelectionHostCountAlerts_1 = tslib_1.__importDefault(require("../../Agent/AgentsSelectionHostCountAlerts"));
|
|
11
|
+
const AgentsSelectionHostCountLabelIcon_1 = tslib_1.__importDefault(require("../../Agent/AgentsSelectionHostCountLabelIcon"));
|
|
12
|
+
const AgentsSelectionUtils_1 = require("../../Agent/AgentsSelectionUtils");
|
|
13
|
+
const use_translation_wrapper_1 = require("../../../../common/hooks/use-translation-wrapper");
|
|
14
14
|
const ClusterDeploymentHostsSelectionBasic = ({ isSNOCluster, availableAgents, }) => {
|
|
15
15
|
const { setFieldValue } = (0, formik_1.useFormikContext)();
|
|
16
16
|
const { matchingAgents, selectedAgents, hostCount } = (0, AgentsSelectionUtils_1.useAgentsAutoSelection)(availableAgents);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClusterDeploymentHostsSelectionBasic.js","sourceRoot":"","sources":["../../../../../../lib/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelectionBasic.tsx"],"names":[],"mappings":";;;AAAA,0DAA0B;AAC1B,uDAAwD;AACxD,+CAAqE;AACrE,4CAAgE;AAChE,mCAA0C;AAE1C,qFAAqD;AAErD,wHAAwF;AACxF,8HAA8F;AAC9F,2EAA0E;AAC1E,8FAAkF;AAOlF,MAAM,oCAAoC,GAAwD,CAAC,EACjG,YAAY,EACZ,eAAe,GAChB,EAAE,EAAE;IACH,MAAM,EAAE,aAAa,EAAE,GAAG,IAAA,yBAAgB,GAAyC,CAAC;IACpF,MAAM,EAAE,cAAc,EAAE,cAAc,EAAE,SAAS,EAAE,GAAG,IAAA,6CAAsB,EAAC,eAAe,CAAC,CAAC;IAC9F,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,wCAAc,GAAE,CAAC;IAE/B,eAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACnB,aAAa,CAAC,qBAAqB,EAAE,SAAS,KAAK,CAAC,CAAC,CAAC;IACxD,CAAC,EAAE,CAAC,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC;IAE/B,OAAO,CACL;QACE,8BAAC,iBAAI,IAAC,SAAS;YACb,8BAAC,qBAAQ;gBACP,8BAAC,yBAAgB,IACf,KAAK,EAAE,CAAC,CAAC,oBAAoB,CAAC,EAC9B,SAAS,EAAE,8BAAC,2CAAiC,OAAG,EAChD,SAAS,EAAC,WAAW,EACrB,IAAI,EAAC,WAAW,EAChB,UAAU,QACV,QAAQ,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,2BAAe,EAC5C,QAAQ,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,2BAAe,EAC5C,UAAU,EAAE,YAAY,GACxB,CACO;YAEX,8BAAC,qBAAQ;gBAEP,8BAAC,sBAAa,IACZ,SAAS,EAAC,kBAAkB,EAC5B,IAAI,EAAC,qBAAqB,EAC1B,KAAK,EAAE,CAAC,CAAC,yCAAyC,CAAC,EACnD,UAAU,EAAE,SAAS,KAAK,CAAC,GAC3B,CACO;YAEX,8BAAC,qBAAQ;gBACP,8BAAC,2BAAiB,IAAC,MAAM,EAAE,eAAe,GAAI,CACrC,CACN;QAEP,8BAAC,wCAA8B,IAC7B,mBAAmB,EAAE,cAAc,CAAC,MAAM,EAC1C,cAAc,EAAE,cAAc,EAC9B,eAAe,EAAE,SAAS,GAC1B,CACD,CACJ,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,oCAAoC,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./ClusterDeploymentHostSelectionStep"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./ClusterDeploymentHostsSelectionAdvanced"), exports);
|
|
6
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../lib/cim/components/ClusterDeployment/hostSelection/index.tsx"],"names":[],"mappings":";;;AAAA,+EAAqD;AACrD,oFAA0D"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.ACMClusterDeploymentDetailsStep = exports.getTotalCompute = exports.NetworkConfiguration = exports.ClusterInstallationError = exports.ClusterDeploymentKubeconfigDownload = exports.ClusterDeploymentCredentials = exports.ClusterDeploymentProgress = exports.ClusterDeploymentDetails = exports.ClusterDeploymentValidationsOverview = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
tslib_1.__exportStar(require("./types"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./helpers"), exports);
|
|
7
|
-
tslib_1.__exportStar(require("./
|
|
7
|
+
tslib_1.__exportStar(require("./components"), exports);
|
|
8
8
|
tslib_1.__exportStar(require("./LogsDownloadButton"), exports);
|
|
9
9
|
tslib_1.__exportStar(require("./wizardTransition"), exports);
|
|
10
10
|
tslib_1.__exportStar(require("./networkConfigurationValidation"), exports);
|
|
@@ -23,8 +23,8 @@ var ClusterInstallationError_1 = require("./ClusterInstallationError");
|
|
|
23
23
|
Object.defineProperty(exports, "ClusterInstallationError", { enumerable: true, get: function () { return tslib_1.__importDefault(ClusterInstallationError_1).default; } });
|
|
24
24
|
var NetworkConfiguration_1 = require("./NetworkConfiguration");
|
|
25
25
|
Object.defineProperty(exports, "NetworkConfiguration", { enumerable: true, get: function () { return tslib_1.__importDefault(NetworkConfiguration_1).default; } });
|
|
26
|
-
var ACMClusterDeploymentDetailsStep_1 = require("./ACMClusterDeploymentDetailsStep");
|
|
27
|
-
Object.defineProperty(exports, "ACMClusterDeploymentDetailsStep", { enumerable: true, get: function () { return tslib_1.__importDefault(ACMClusterDeploymentDetailsStep_1).default; } });
|
|
28
26
|
var ShortCapacitySummary_1 = require("./ShortCapacitySummary");
|
|
29
27
|
Object.defineProperty(exports, "getTotalCompute", { enumerable: true, get: function () { return ShortCapacitySummary_1.getTotalCompute; } });
|
|
28
|
+
var clusterDetails_1 = require("./clusterDetails");
|
|
29
|
+
Object.defineProperty(exports, "ACMClusterDeploymentDetailsStep", { enumerable: true, get: function () { return clusterDetails_1.ACMClusterDeploymentDetailsStep; } });
|
|
30
30
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/cim/components/ClusterDeployment/index.ts"],"names":[],"mappings":";;;;AAAA,kDAAwB;AACxB,oDAA0B;AAC1B,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/cim/components/ClusterDeployment/index.ts"],"names":[],"mappings":";;;;AAAA,kDAAwB;AACxB,oDAA0B;AAC1B,uDAA6B;AAC7B,+DAAqC;AACrC,6DAAmC;AACnC,2EAAiD;AACjD,oEAA0C;AAE1C,+FAAyG;AAAhG,qLAAA,OAAO,OAAwC;AACxD,uEAAiF;AAAxE,6JAAA,OAAO,OAA4B;AAC5C,yEAAmF;AAA1E,+JAAA,OAAO,OAA6B;AAC7C,+EAAyF;AAAhF,qKAAA,OAAO,OAAgC;AAChD,6FAAuG;AAA9F,mLAAA,OAAO,OAAuC;AACvD,uEAAiF;AAAxE,6JAAA,OAAO,OAA4B;AAC5C,+DAAyE;AAAhE,qJAAA,OAAO,OAAwB;AAExC,+DAAyD;AAAhD,uHAAA,eAAe,OAAA;AACxB,mDAAmE;AAA1D,iIAAA,+BAA+B,OAAA"}
|
|
@@ -3,16 +3,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
const React = tslib_1.__importStar(require("react"));
|
|
5
5
|
const connected_icon_1 = require("@patternfly/react-icons/dist/js/icons/connected-icon");
|
|
6
|
-
const common_1 = require("
|
|
7
|
-
const helpers_1 = require("
|
|
8
|
-
const AdditionalNTPSourcesDialogToggle_1 = require("
|
|
9
|
-
const tableUtils_1 = require("
|
|
10
|
-
const HostsTable_1 = tslib_1.__importDefault(require("
|
|
11
|
-
const HostRowDetail_1 = require("
|
|
12
|
-
const tableUtils_2 = require("
|
|
13
|
-
const usePagination_1 = require("
|
|
14
|
-
const use_translation_wrapper_1 = require("
|
|
15
|
-
const agentStatus_1 = require("
|
|
6
|
+
const common_1 = require("../../../../common");
|
|
7
|
+
const helpers_1 = require("../../helpers");
|
|
8
|
+
const AdditionalNTPSourcesDialogToggle_1 = require("../components/AdditionalNTPSourcesDialogToggle");
|
|
9
|
+
const tableUtils_1 = require("../../Agent/tableUtils");
|
|
10
|
+
const HostsTable_1 = tslib_1.__importDefault(require("../../../../common/components/hosts/HostsTable"));
|
|
11
|
+
const HostRowDetail_1 = require("../../../../common/components/hosts/HostRowDetail");
|
|
12
|
+
const tableUtils_2 = require("../../../../common/components/hosts/tableUtils");
|
|
13
|
+
const usePagination_1 = require("../../../../common/components/hosts/usePagination");
|
|
14
|
+
const use_translation_wrapper_1 = require("../../../../common/hooks/use-translation-wrapper");
|
|
15
|
+
const agentStatus_1 = require("../../helpers/agentStatus");
|
|
16
16
|
const ExpandComponentContext = React.createContext({
|
|
17
17
|
onSetInstallationDiskId: undefined,
|
|
18
18
|
agents: [],
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClusterDeploymentHostsNetworkTable.js","sourceRoot":"","sources":["../../../../../../lib/cim/components/ClusterDeployment/networking/ClusterDeploymentHostsNetworkTable.tsx"],"names":[],"mappings":";;;AAAA,qDAA+B;AAC/B,yFAAqF;AACrF,+CAAgD;AAOhD,2CAA8D;AAC9D,qGAAkG;AAClG,uDAA2E;AAC3E,wGAAwE;AACxE,qFAA+E;AAC/E,+EAIwD;AACxD,qFAAkF;AAClF,8FAAkF;AAElF,2DAAwD;AAOxD,MAAM,sBAAsB,GAAG,KAAK,CAAC,aAAa,CAA6B;IAC7E,uBAAuB,EAAE,SAAS;IAClC,MAAM,EAAE,EA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CAAC,CAAC;IACpD,OAAO,CACL,oBAAC,sBAAsB,CAAC,QAAQ,IAAC,KAAK,EAAE,EAAE,uBAAuB,EAAE,MAAM,EAAE;QACzE,oBAAC,oBAAU,kBACT,MAAM,EAAC,uBAAuB,EAC9B,KAAK,EAAE,KAAK,EACZ,eAAe,EAAE,eAAe,EAChC,OAAO,EAAE,OAAO,EAChB,cAAc,EAAE,cAAc,IAC1B,eAAe;YAEnB,oBAAC,mBAAU,IACT,IAAI,EAAE,8BAAa,EACnB,KAAK,EAAE,CAAC,CAAC,yBAAyB,CAAC,EACnC,OAAO,EAAE,CAAC,CAAC,+DAA+D,CAAC,GAC3E,CACS,CACmB,CACnC,CAAC;AACJ,CAAC,CACF,CAAC;AAEJ,kBAAe,kCAAkC,CAAC"}
|
|
@@ -1,19 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.defaultNetworkSettings = void 0;
|
|
4
3
|
const tslib_1 = require("tslib");
|
|
5
4
|
const React = tslib_1.__importStar(require("react"));
|
|
6
5
|
const react_core_1 = require("@patternfly/react-core");
|
|
7
|
-
const common_1 = require("
|
|
8
|
-
const NetworkConfiguration_1 = tslib_1.__importDefault(require("
|
|
6
|
+
const common_1 = require("../../../../common");
|
|
7
|
+
const NetworkConfiguration_1 = tslib_1.__importDefault(require("../NetworkConfiguration"));
|
|
9
8
|
const ClusterDeploymentHostsNetworkTable_1 = tslib_1.__importDefault(require("./ClusterDeploymentHostsNetworkTable"));
|
|
10
|
-
const helpers_1 = require("
|
|
9
|
+
const helpers_1 = require("../../helpers");
|
|
11
10
|
const formik_1 = require("formik");
|
|
12
|
-
const helpers_2 = require("
|
|
13
|
-
const use_translation_wrapper_1 = require("
|
|
11
|
+
const helpers_2 = require("../helpers");
|
|
12
|
+
const use_translation_wrapper_1 = require("../../../../common/hooks/use-translation-wrapper");
|
|
14
13
|
const react_i18next_1 = require("react-i18next");
|
|
15
|
-
// TODO(mlibra): So far a constant. Should be queried from somewhere.
|
|
16
|
-
exports.defaultNetworkSettings = common_1.CLUSTER_DEFAULT_NETWORK_SETTINGS_IPV4;
|
|
17
14
|
const ClusterDeploymentNetworkingForm = ({ clusterDeployment, agentClusterInstall, agents, onValuesChanged, infraEnvWithProxy, sameProxies, infraEnvsError, infraEnvsLoading, isPreviewOpen, onEditHost, onEditRole, onSetInstallationDiskId, isNutanix, }) => {
|
|
18
15
|
const { values, touched, setFieldValue, setFieldTouched } = (0, formik_1.useFormikContext)();
|
|
19
16
|
React.useEffect(() => onValuesChanged === null || onValuesChanged === void 0 ? void 0 : onValuesChanged(values), [onValuesChanged, values]);
|
|
@@ -56,13 +53,13 @@ const ClusterDeploymentNetworkingForm = ({ clusterDeployment, agentClusterInstal
|
|
|
56
53
|
React.createElement(react_core_1.StackItem, null,
|
|
57
54
|
React.createElement(react_core_1.Grid, { hasGutter: true },
|
|
58
55
|
React.createElement(react_core_1.GridItem, Object.assign({}, gridSpans),
|
|
59
|
-
React.createElement(NetworkConfiguration_1.default, { cluster: cluster, hostSubnets: hostSubnets, isVipDhcpAllocationDisabled: true, defaultNetworkSettings:
|
|
56
|
+
React.createElement(NetworkConfiguration_1.default, { cluster: cluster, hostSubnets: hostSubnets, isVipDhcpAllocationDisabled: true, defaultNetworkSettings: common_1.CLUSTER_DEFAULT_NETWORK_SETTINGS_IPV4, hideManagedNetworking: (0, helpers_1.getIsSNOCluster)(agentClusterInstall) || isNutanix })))),
|
|
60
57
|
React.createElement(react_core_1.StackItem, null, infraEnvsError ? (React.createElement(react_core_1.Alert, { title: infraEnvsError, variant: "danger", isInline: true })) : infraEnvsLoading ? (React.createElement(react_core_1.Split, { hasGutter: true },
|
|
61
58
|
React.createElement(react_core_1.SplitItem, null,
|
|
62
59
|
React.createElement(react_core_1.Spinner, { size: "md" })),
|
|
63
60
|
React.createElement(react_core_1.SplitItem, null, t('ai:Loading proxy configuration')))) : (proxyConfig)),
|
|
64
61
|
React.createElement(react_core_1.StackItem, null,
|
|
65
|
-
React.createElement(common_1.SecurityFields, { clusterSshKey: cluster.sshPublicKey })),
|
|
62
|
+
React.createElement(common_1.SecurityFields, { clusterSshKey: cluster.sshPublicKey, allowMultipleKeys: true })),
|
|
66
63
|
React.createElement(react_core_1.StackItem, null,
|
|
67
64
|
React.createElement(react_core_1.Content, { component: "h2" }, t('ai:Host inventory')),
|
|
68
65
|
React.createElement(ClusterDeploymentHostsNetworkTable_1.default, { clusterDeployment: clusterDeployment, agentClusterInstall: agentClusterInstall, agents: agents, onEditHost: onEditHost, onEditRole: onEditRole, onSetInstallationDiskId: onSetInstallationDiskId })))));
|
package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingForm.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClusterDeploymentNetworkingForm.js","sourceRoot":"","sources":["../../../../../../lib/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingForm.tsx"],"names":[],"mappings":";;;AAAA,qDAA+B;AAC/B,uDAagC;AAChC,+CAM4B;AAC5B,2FAA2D;AAC3D,sHAAsF;AACtF,2CAA8D;AAQ9D,mCAA0C;AAC1C,wCAA0C;AAC1C,8FAAkF;AAClF,iDAAsC;AAkBtC,MAAM,+BAA+B,GAAmD,CAAC,EACvF,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,EACN,eAAe,EACf,iBAAiB,EACjB,WAAW,EACX,cAAc,EACd,gBAAgB,EAChB,aAAa,EACb,UAAU,EACV,UAAU,EACV,uBAAuB,EACvB,SAAS,GACV,EAAE,EAAE;IACH,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,GACvD,IAAA,yBAAgB,GAAqC,CAAC;IACxD,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE,CAAC,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAG,MAAM,CAAC,EAAE,CAAC,eAAe,EAAE,MAAM,CAAC,CAAC,CAAC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