@openshift-assisted/ui-lib 2.15.3-cim → 2.16.0-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 +3 -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/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/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/OcmTNADisclaimer.d.ts +4 -0
- package/build/@types/ocm/components/clusterConfiguration/OcmTNADisclaimer.d.ts.map +1 -0
- 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} +16 -20
- 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/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/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 +30 -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/OcmTNADisclaimer.js +14 -0
- package/build/cjs/ocm/components/clusterConfiguration/OcmTNADisclaimer.js.map +1 -0
- 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} +25 -23
- 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 +1 -0
- package/lib/cim/types/models.tsx +12 -0
- package/lib/cim/utils.ts +12 -0
- 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/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 +29 -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/OcmTNADisclaimer.tsx +23 -0
- 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 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../lib/cim/components/ClusterDeployment/hostDiscovery/index.tsx"],"names":[],"mappings":";;;AAAA,gFAAsD"}
|
|
@@ -1,19 +1,19 @@
|
|
|
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
18
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
19
19
|
const isSNOCluster = (0, helpers_1.getIsSNOCluster)(agentClusterInstall);
|
|
@@ -151,7 +151,7 @@ const HostSelectionForm = ({ agents, agentClusterInstall, clusterDeployment, aiC
|
|
|
151
151
|
setNextRequested(false);
|
|
152
152
|
}
|
|
153
153
|
}, [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
|
|
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 occurred'), isInline: true }, syncError))));
|
|
155
155
|
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
156
|
, nextButtonText: submittingText || t('ai:Next'), nextButtonProps: { isLoading: !!submittingText }, onBack: goToPrevStep, onClose: close })), [
|
|
157
157
|
activeStep,
|
|
@@ -207,5 +207,5 @@ const ClusterDeploymentHostSelectionStep = (_a) => {
|
|
|
207
207
|
return (react_1.default.createElement(formik_1.Formik, { initialValues: initialValues, validationSchema: validationSchema, onSubmit: handleSubmit },
|
|
208
208
|
react_1.default.createElement(HostSelectionForm, Object.assign({}, rest))));
|
|
209
209
|
};
|
|
210
|
-
exports.
|
|
210
|
+
exports.ClusterDeploymentHostSelectionStep = ClusterDeploymentHostSelectionStep;
|
|
211
211
|
//# 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,iBAAiB,CAAE,QAAQ,0CAAE,IAAI,CAAC;IACjD,MAAM,WAAW,GAAG,MAAA,iBAAiB,aAAjB,iBAAiB,uBAAjB,iBAAiB,CAAE,QAAQ,0CAAE,SAAS,CAAC;IAC3D,IAAI,SAAS,GACX,CAAC,CAAA,MAAA,MAAA,mBAAmB,aAAnB,mBAAmB,uBAAnB,mBAAmB,CAAE,IAAI,0CAAE,qBAAqB,0CAAE,kBAAkB,KAAI,CAAC,CAAC;QAC3E,CAAC,CAAA,MAAA,MAAA,mBAAmB,aAAnB,mBAAmB,uBAAnB,mBAAmB,CAAE,IAAI,0CAAE,qBAAqB,0CAAE,YAAY,KAAI,CAAC,CAAC,CAAC;IACxE,IAAI,YAAY,EAAE;QAChB,SAAS,GAAG,CAAC,CAAC;KACf;SAAM,IAAI,SAAS,KAAK,CAAC,IAAI,SAAS,KAAK,CAAC,EAAE;QAC7C,SAAS,GAAG,CAAC,CAAC;KACf;SAAM,IAAI,SAAS,KAAK,CAAC,EAAE;QAC1B,SAAS,GAAG,CAAC,CAAC;KACf;IAED,MAAM,aAAa,GAAG,I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+4,13 @@ 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("
|
|
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
14
|
const ClusterDeploymentHostsSelection = ({ agentClusterInstall, clusterDeployment, agents, aiConfigMap, onEditRole, onAutoSelectChange, onHostSelect, onSetInstallationDiskId, isNutanix, }) => {
|
|
15
15
|
var _a, _b;
|
|
16
16
|
const { values } = (0, formik_1.useFormikContext)();
|
|
@@ -43,7 +43,7 @@ const ClusterDeploymentHostsSelection = ({ agentClusterInstall, clusterDeploymen
|
|
|
43
43
|
react_1.default.createElement(react_core_1.GridItem, null, availableAgents.length ? (react_1.default.createElement(react_core_1.Form, null,
|
|
44
44
|
react_1.default.createElement(common_1.SwitchField, { name: "autoSelectHosts", label: t('ai:Auto-select hosts'), onChange: onAutoSelectChange }),
|
|
45
45
|
autoSelectHosts && (react_1.default.createElement(ClusterDeploymentHostsSelectionBasic_1.default, { availableAgents: availableAgents, isSNOCluster: isSNOCluster })),
|
|
46
|
-
!autoSelectHosts && (react_1.default.createElement(ClusterDeploymentHostsSelectionAdvanced_1.
|
|
46
|
+
!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
47
|
};
|
|
48
48
|
exports.default = ClusterDeploymentHostsSelection;
|
|
49
49
|
//# 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,uDAA2E;AAC3E,+CAAiD;AAKjD,0HAA0F;AAC1F,uGAAoG;AACpG,2CAIuB;AACvB,sGAAsE;AACtE,sFAAsD;AACtD,8FAAkF;AAElF,MAAM,+BAA+B,GAAmD,CAAC,EACvF,mBAAmB,EACnB,iBAAiB,EACjB,MAAM,EACN,WAAW,EACX,UAAU,EACV,kBAAkB,EAClB,YAAY,EACZ,uBAAuB,EACvB,SAAS,GACV,EAAE,EAAE;;IACH,MAAM,EAAE,MAAM,EAAE,GAAG,IAAA,yBAAgB,GAAyC,CAAC;IAC7E,MAAM,EAAE,eAAe,EAAE,GAAG,MAAM,CAAC;IACnC,MAAM,YAAY,GAAG,IAAA,yBAAe,EAAC,mBAAmB,CAAC,CAAC;IAE1D,MAAM,MAAM,GAAG,MAAA,iBAAiB,aAAjB,iBAAiB,uBAAjB,iBAAiB,CAAE,QAAQ,0CA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,IAAC,SAAS;QACb,8BAAC,qBAAQ;YACP,8BAAC,wBAAW,QACT,YAAY;gBACX,CAAC,CAAC,CAAC,CACC,8FAA8F,CAC/F;gBACH,CAAC,CAAC,CAAC,CAAC,kFAAkF,CAAC,CAC7E,CACL;QACV,WAAW,IAAI,CACd,8BAAC,qBAAQ;YACP,8BAAC,+BAAqB,IAAC,WAAW,EAAE,WAAW,EAAE,YAAY,EAAE,YAAY,GAAI,CACtE,CACZ;QAED,8BAAC,qBAAQ,QACN,eAAe,CAAC,MAAM,CAAC,CAAC,CAAC,CACxB,8BAAC,iBAAI;YACH,8BAAC,oBAAW,IACV,IAAI,EAAC,iBAAiB,EACtB,KAAK,EAAE,CAAC,CAAC,sBAAsB,CAAC,EAChC,QAAQ,EAAE,kBAAkB,GAC5B;YAED,eAAe,IAAI,CAClB,8BAAC,8CAAoC,IACnC,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","source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|
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;AAEr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,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,EAAE;CACX,CAAC,CAAC;AAMH,MAAM,eAAe,GAAmC,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE;IAClE,MAAM,EAAE,uBAAuB,EAAE,MAAM,EAAE,GACvC,KAAK,CAAC,UAAU,CAA6B,sBAAsB,CAAC,CAAC;IAEvE,OAAO,CACL,oBAAC,0BAAU,IACT,IAAI,EAAE,GAAG,EACT,yCAAyC,EAAE,mEAAgC,EAC3E,YAAY,EAAE,GAAG,EAAE,CAAC,IAAI,EACxB,UAAU,EACR,uBAAuB;YACrB,CAAC,CAAC,CAAO,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE;gBAC7B,MAAM,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,WAAC,OAAA,CAAA,MAAA,CAAC,CAAC,QAAQ,0CAAE,GAAG,MAAK,GAAG,CAAC,EAAE,CAAA,EAAA,CAAC,CAAC;gBAC7D,IAAI,KAAK,IAAI,MAAM,IAAI,IAAI,KAAK,SAAS,EAAE;oBACzC,MAAM,CAAA,uBAAuB,aAAvB,uBAAuB,uBAAvB,uBAA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,WAAW,CAAC,UAAU,EAAE,KAAK,CAAC;YAChD,IAAA,uBAAU,EAAC,CAAC,EAAE,WAAW,CAAC,WAAW,EAAE,WAAW,CAAC,UAAU,CAAC;YAC9D,IAAA,8BAAiB,EAAC;gBAChB,MAAM;gBACN,aAAa;gBACb,cAAc,EAAE,UAAU;gBAC1B,YAAY,EAAE,YAAY;gBAC1B,CAAC;aACF,CAAC;YACF,IAAA,4BAAe,EAAC,OAAO,EAAE,CAAC,CAAC;SAC5B,EACP;QACE,YAAY;QACZ,CAAC;QACD,WAAW,CAAC,UAAU;QACtB,WAAW,CAAC,WAAW;QACvB,WAAW,CAAC,UAAU;QACtB,KAAK;QACL,MAAM;QACN,aAAa;QACb,UAAU;QACV,OAAO;KACR,CACF,CAAC;IAEF,MAAM,eAAe,GAAG,IAAA,6BAAa,EAAC,KAAK,CAAC,MAAM,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]);
|
|
@@ -57,7 +54,7 @@ const ClusterDeploymentNetworkingForm = ({ clusterDeployment, agentClusterInstal
|
|
|
57
54
|
React.createElement(react_core_1.StackItem, null,
|
|
58
55
|
React.createElement(react_core_1.Grid, { hasGutter: true },
|
|
59
56
|
React.createElement(react_core_1.GridItem, Object.assign({}, gridSpans),
|
|
60
|
-
React.createElement(NetworkConfiguration_1.default, { cluster: cluster, hostSubnets: hostSubnets, isVipDhcpAllocationDisabled: true, defaultNetworkSettings:
|
|
57
|
+
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 })))),
|
|
61
58
|
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 },
|
|
62
59
|
React.createElement(react_core_1.SplitItem, null,
|
|
63
60
|
React.createElement(react_core_1.Spinner, { size: "md" })),
|
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,uDAcgC;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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C,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,CACrB,oBAAC,kBAAK,IAAC,SAAS;gBACd,oBAAC,sBAAS;oBACR,oBAAC,oBAAO,IAAC,IAAI,EAAC,IAAI,GAAG,CACX;gBACZ,oBAAC,sBAAS,QAAE,CAAC,CAAC,gCAAgC,CAAC,CAAa,CACtD,CACT,CAAC,CAAC,CAAC,CACF,WAAW,CACZ,CACS;YACZ,oBAAC,sBAAS;gBACR,oBAAC,uBAAc,IAAC,aAAa,EAAE,OAAO,CAAC,YAAY,GAAI,CAC7C;YACZ,oBAAC,sBAAS;gBACR,oBAAC,wBAAW;oBACV,oBAAC,iBAAI,IAAC,SAAS,EAAC,IAAI,IAAE,CAAC,CAAC,mBAAmB,CAAC,CAAQ,CACxC;gBACd,oBAAC,4CAAkC,IACjC,iBAAiB,EAAE,iBAAiB,EACpC,mBAAmB,EAAE,mBAAmB,EACxC,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,UAAU,EACtB,UAAU,EAAE,UAAU,EACtB,uBAAuB,EAAE,uBAAuB,GAChD,CACQ,CACN,CACH,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,+BAA+B,CAAC"}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.NetworkingForm = void 0;
|
|
3
|
+
exports.ClusterDeploymentNetworkingStep = exports.NetworkingForm = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const react_1 = tslib_1.__importDefault(require("react"));
|
|
6
6
|
const formik_1 = require("formik");
|
|
7
7
|
const react_core_1 = require("@patternfly/react-core");
|
|
8
|
-
const common_1 = require("
|
|
8
|
+
const common_1 = require("../../../../common");
|
|
9
9
|
const ClusterDeploymentNetworkingForm_1 = tslib_1.__importDefault(require("./ClusterDeploymentNetworkingForm"));
|
|
10
|
-
const helpers_1 = require("
|
|
11
|
-
const use_networking_formik_1 = require("
|
|
12
|
-
const wizardTransition_1 = require("
|
|
13
|
-
const use_translation_wrapper_1 = require("
|
|
14
|
-
const ValidationSection_1 = require("
|
|
15
|
-
const ClusterDeploymentWizardContext_1 = require("
|
|
10
|
+
const helpers_1 = require("../helpers");
|
|
11
|
+
const use_networking_formik_1 = require("../use-networking-formik");
|
|
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");
|
|
16
16
|
const NetworkingForm = ({ clusterDeployment, agentClusterInstall, agents, fetchInfraEnv, onEditHost, onEditRole, isPreviewOpen, onSetInstallationDiskId, isNutanix, }) => {
|
|
17
17
|
const { t } = (0, use_translation_wrapper_1.useTranslation)();
|
|
18
18
|
const { activeStep, goToPrevStep, goToNextStep, close } = (0, react_core_1.useWizardContext)();
|
|
@@ -99,7 +99,7 @@ const NetworkingForm = ({ clusterDeployment, agentClusterInstall, agents, fetchI
|
|
|
99
99
|
react_1.default.createElement(common_1.Alerts, null))),
|
|
100
100
|
syncError && (react_1.default.createElement(react_core_1.GridItem, null,
|
|
101
101
|
react_1.default.createElement(ValidationSection_1.ValidationSection, { currentStepId: 'networking', hosts: [] },
|
|
102
|
-
react_1.default.createElement(react_core_1.Alert, { variant: react_core_1.AlertVariant.danger, title: t('ai:An error
|
|
102
|
+
react_1.default.createElement(react_core_1.Alert, { variant: react_core_1.AlertVariant.danger, title: t('ai:An error occurred'), isInline: true }, syncError))))),
|
|
103
103
|
react_1.default.createElement(common_1.FormikAutoSave, null)));
|
|
104
104
|
};
|
|
105
105
|
exports.NetworkingForm = NetworkingForm;
|
|
@@ -130,5 +130,5 @@ const ClusterDeploymentNetworkingStep = (_a) => {
|
|
|
130
130
|
return (react_1.default.createElement(formik_1.Formik, { initialValues: initialValues, validationSchema: validationSchema, onSubmit: handleSubmit },
|
|
131
131
|
react_1.default.createElement(exports.NetworkingForm, Object.assign({}, rest, { agents: clusterAgents, clusterDeployment: clusterDeployment, agentClusterInstall: agentClusterInstall }))));
|
|
132
132
|
};
|
|
133
|
-
exports.
|
|
133
|
+
exports.ClusterDeploymentNetworkingStep = ClusterDeploymentNetworkingStep;
|
|
134
134
|
//# sourceMappingURL=ClusterDeploymentNetworkingStep.js.map
|
package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingStep.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClusterDeploymentNetworkingStep.js","sourceRoot":"","sources":["../../../../../../lib/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingStep.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,mCAAkD;AAClD,uDAQgC;AAEhC,+CAO4B;AAO5B,gHAAgF;AAChF,wCAA8C;AAC9C,oEAAmF;AACnF,0DAAgE;AAEhE,8FAAkF;AAClF,uEAAoE;AACpE,sFAAmF;AAc5E,MAAM,cAAc,GAAG,CAAC,EAC7B,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,EACN,aAAa,EACb,UAAU,EACV,UAAU,EACV,aAAa,EACb,uBAAuB,EACvB,SAAS,GACW,EAAE,EAAE;IACxB,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,wCAAc,GAAE,CAAC;IAC/B,MAAM,EAAE,UAAU,EAAE,YAAY,EAAE,YAAY,EAAE,KAAK,EAAE,GAAG,IAAA,6BAAgB,GAAE,CAAC;IAC7E,MAAM,EAAE,SAAS,EAAE,GAAG,eAAK,CAAC,UAAU,CAAC,+DAA8B,CAAC,CAAC;IACvE,MAAM,EAAE,MAAM,EAAE,GAAG,IAAA,kBAAS,GAAE,CAAC;IAC/B,MAAM,CAAC,cAAc,EAAE,iBAAiB,CAAC,GAAG,eAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAClE,MAAM,CAAC,iBA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AW,CAAC,CAC9B,CAAC;IAEF,MAAM,EAAE,aAAa,EAAE,gBAAgB,EAAE,GAAG,IAAA,2CAAmB,EAAC;QAC9D,iBAAiB;QACjB,mBAAmB;QACnB,MAAM,EAAE,aAAa;KACtB,CAAC,CAAC;IACH,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,wCAAc,GAAE,CAAC;IAC/B,MAAM,YAAY,GAAG,CAAO,MAAyC,EAAE,EAAE;QACvE,IAAI;YACF,MAAM,gBAAgB,CAAC,MAAM,CAAC,CAAC;SAChC;QAAC,OAAO,KAAK,EAAE;YACd,QAAQ,CAAC;gBACP,KAAK,EAAE,CAAC,CAAC,qCAAqC,CAAC;gBAC/C,OAAO,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS;aAC5D,CAAC,CAAC;SACJ;IACH,CAAC,CAAA,CAAC;IAEF,OAAO,CACL,8BAAC,eAAM,IACL,aAAa,EAAE,aAAa,EAC5B,gBAAgB,EAAE,gBAAgB,EAClC,QAAQ,EAAE,YAAY;QAEtB,8BAAC,sBAAc,oBACT,IAAI,IACR,MAAM,EAAE,aAAa,EACrB,iBAAiB,EAAE,iBAAiB,EACpC,mBAAmB,EAAE,mBAAmB,IACxC,CACK,CACV,CAAC;AACJ,CAAC,CAAC;AAhDW,QAAA,+BAA+B,mCAgD1C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../lib/cim/components/ClusterDeployment/networking/index.tsx"],"names":[],"mappings":";;;AAAA,4EAAkD"}
|
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ClusterDeploymentReviewStep = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
const react_core_1 = require("@patternfly/react-core");
|
|
5
6
|
const React = tslib_1.__importStar(require("react"));
|
|
6
|
-
const wizardTransition_1 = require("
|
|
7
|
-
const common_1 = require("
|
|
8
|
-
const helpers_1 = require("
|
|
9
|
-
const helpers_2 = require("
|
|
10
|
-
const constants_1 = require("
|
|
11
|
-
const wizardTransition_2 = require("
|
|
12
|
-
const use_translation_wrapper_1 = require("
|
|
13
|
-
const ClusterDeploymentWizardContext_1 = require("
|
|
14
|
-
const
|
|
7
|
+
const wizardTransition_1 = require("../wizardTransition");
|
|
8
|
+
const common_1 = require("../../../../common");
|
|
9
|
+
const helpers_1 = require("../../helpers");
|
|
10
|
+
const helpers_2 = require("../helpers");
|
|
11
|
+
const constants_1 = require("../constants");
|
|
12
|
+
const wizardTransition_2 = require("../wizardTransition");
|
|
13
|
+
const use_translation_wrapper_1 = require("../../../../common/hooks/use-translation-wrapper");
|
|
14
|
+
const ClusterDeploymentWizardContext_1 = require("../ClusterDeploymentWizardContext");
|
|
15
|
+
const ReviewConfigMapsTable_1 = require("./ReviewConfigMapsTable");
|
|
16
|
+
const ValidationSection_1 = require("../components/ValidationSection");
|
|
15
17
|
const ClusterDeploymentReviewStep = ({ agentClusterInstall, agents, onFinish, clusterDeployment, clusterImages, infraEnv, }) => {
|
|
16
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
18
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
17
19
|
const { addAlert, clearAlerts } = (0, common_1.useAlerts)();
|
|
18
20
|
const { activeStep, goToPrevStep, goToStepByName, close } = (0, react_core_1.useWizardContext)();
|
|
19
21
|
const { syncError } = React.useContext(ClusterDeploymentWizardContext_1.ClusterDeploymentWizardContext);
|
|
@@ -32,7 +34,7 @@ const ClusterDeploymentReviewStep = ({ agentClusterInstall, agents, onFinish, cl
|
|
|
32
34
|
}
|
|
33
35
|
catch (err) {
|
|
34
36
|
const error = err;
|
|
35
|
-
addAlert({ title: error.message || t('ai:An error
|
|
37
|
+
addAlert({ title: error.message || t('ai:An error occurred while starting installation.') });
|
|
36
38
|
}
|
|
37
39
|
finally {
|
|
38
40
|
setSubmitting(false);
|
|
@@ -41,23 +43,26 @@ const ClusterDeploymentReviewStep = ({ agentClusterInstall, agents, onFinish, cl
|
|
|
41
43
|
const footer = (React.createElement(react_core_1.WizardFooter, { activeStep: activeStep, onNext: onNext, isNextDisabled: isSubmitting || !canContinue || !!syncError, nextButtonText: t('ai:Install cluster'), nextButtonProps: { isLoading: isSubmitting }, onBack: goToPrevStep, onClose: close }));
|
|
42
44
|
(0, react_core_1.useWizardFooter)(footer);
|
|
43
45
|
const openShiftVersion = (0, helpers_1.getSelectedVersion)(clusterImages, agentClusterInstall);
|
|
46
|
+
const platform = (0, common_1.getPlatforms)(t)[(((_d = (_c = agentClusterInstall === null || agentClusterInstall === void 0 ? void 0 : agentClusterInstall.spec) === null || _c === void 0 ? void 0 : _c.platformType) === null || _d === void 0 ? void 0 : _d.toLowerCase()) || 'baremetal')];
|
|
44
47
|
const cluster = React.useMemo(() => (0, helpers_1.getAICluster)({ clusterDeployment, agentClusterInstall, agents: clusterAgents }), [clusterDeployment, agentClusterInstall, clusterAgents]);
|
|
45
48
|
return (React.createElement(react_core_1.Grid, { hasGutter: true },
|
|
46
49
|
React.createElement(react_core_1.GridItem, null,
|
|
47
50
|
React.createElement(common_1.ClusterWizardStepHeader, null, "Review and create")),
|
|
48
51
|
React.createElement(react_core_1.GridItem, null,
|
|
49
52
|
React.createElement(common_1.DetailList, null,
|
|
50
|
-
React.createElement(common_1.DetailItem, { title: t('ai:Cluster address'), value: `${((
|
|
53
|
+
React.createElement(common_1.DetailItem, { title: t('ai:Cluster address'), value: `${((_e = clusterDeployment.metadata) === null || _e === void 0 ? void 0 : _e.name) || ''}.${((_f = clusterDeployment.spec) === null || _f === void 0 ? void 0 : _f.baseDomain) || ''}`, testId: "cluster-address" }),
|
|
51
54
|
React.createElement(common_1.DetailItem, { title: t('ai:OpenShift version'), value: openShiftVersion, testId: "openshift-version" }),
|
|
52
55
|
React.createElement(common_1.DetailItem, { title: t('ai:CPU architecture'), value: cpuArchitecture, testId: "cpu-architecture" }),
|
|
53
|
-
React.createElement(common_1.DetailItem, { title: t('ai:
|
|
54
|
-
React.createElement(common_1.DetailItem, { title: t('ai:
|
|
56
|
+
React.createElement(common_1.DetailItem, { title: t('ai:External partner platform'), value: platform, testId: "platform-type" }),
|
|
57
|
+
React.createElement(common_1.DetailItem, { title: t('ai:API IP'), value: ((_g = agentClusterInstall === null || agentClusterInstall === void 0 ? void 0 : agentClusterInstall.status) === null || _g === void 0 ? void 0 : _g.apiVIP) || ((_h = agentClusterInstall === null || agentClusterInstall === void 0 ? void 0 : agentClusterInstall.spec) === null || _h === void 0 ? void 0 : _h.apiVIP), testId: "api-vip" }),
|
|
58
|
+
React.createElement(common_1.DetailItem, { title: t('ai:Ingress IP'), value: ((_j = agentClusterInstall === null || agentClusterInstall === void 0 ? void 0 : agentClusterInstall.status) === null || _j === void 0 ? void 0 : _j.ingressVIP) || ((_k = agentClusterInstall === null || agentClusterInstall === void 0 ? void 0 : agentClusterInstall.spec) === null || _k === void 0 ? void 0 : _k.ingressVIP), testId: "ingress-vip" }),
|
|
55
59
|
React.createElement(common_1.DetailItem, { title: t('ai:Cluster summary'), testId: "cluster-summary", value: React.createElement(common_1.ReviewHostsInventory, { hosts: cluster.hosts }) }),
|
|
60
|
+
!!((_m = (_l = agentClusterInstall.spec) === null || _l === void 0 ? void 0 : _l.manifestsConfigMapRefs) === null || _m === void 0 ? void 0 : _m.length) ? (React.createElement(common_1.DetailItem, { title: t('ai:Custom manifests'), value: React.createElement(ReviewConfigMapsTable_1.ReviewConfigMapsTable, { agentClusterInstall: agentClusterInstall }) })) : undefined,
|
|
56
61
|
React.createElement(common_1.DetailItem, { title: t('ai:Cluster validations'), value: React.createElement(common_1.ClusterValidations, { validationsInfo: cluster.validationsInfo, setCurrentStepId: goToStepByName, wizardStepNames: (0, constants_1.wizardStepNames)(t), wizardStepsValidationsMap: wizardTransition_2.wizardStepsValidationsMap }), testId: "cluster-validations" }),
|
|
57
62
|
React.createElement(common_1.DetailItem, { title: t('ai:Host validations'), value: React.createElement(common_1.HostsValidations, { hosts: cluster.hosts, setCurrentStepId: goToStepByName, wizardStepNames: (0, constants_1.wizardStepNames)(t), allClusterWizardSoftValidationIds: wizardTransition_2.allClusterWizardSoftValidationIds, wizardStepsValidationsMap: wizardTransition_2.wizardStepsValidationsMap }), testId: "host-validations" }))),
|
|
58
63
|
syncError && (React.createElement(react_core_1.GridItem, null,
|
|
59
64
|
React.createElement(ValidationSection_1.ValidationSection, { currentStepId: 'review', hosts: [] },
|
|
60
|
-
React.createElement(react_core_1.Alert, { variant: react_core_1.AlertVariant.danger, title: t('ai:An error
|
|
65
|
+
React.createElement(react_core_1.Alert, { variant: react_core_1.AlertVariant.danger, title: t('ai:An error occurred'), isInline: true }, syncError))))));
|
|
61
66
|
};
|
|
62
|
-
exports.
|
|
67
|
+
exports.ClusterDeploymentReviewStep = ClusterDeploymentReviewStep;
|
|
63
68
|
//# sourceMappingURL=ClusterDeploymentReviewStep.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClusterDeploymentReviewStep.js","sourceRoot":"","sources":["../../../../../../lib/cim/components/ClusterDeployment/review/ClusterDeploymentReviewStep.tsx"],"names":[],"mappings":";;;;AAAA,uDAQgC;AAChC,qDAA+B;AAC/B,0DAA4D;AAQ5D,+CAS4B;AAC5B,2CAIuB;AACvB,wCAA8C;AAC9C,4CAA+C;AAC/C,0DAI6B;AAC7B,8FAAkF;AAClF,sFAAmF;AACnF,mEAAgE;AAChE,uEAAoE;AAa7D,MAAM,2BAA2B,GAAG,CAAC,EAC1C,mBAAmB,EACnB,MAAM,EACN,QAAQ,EACR,iBAAiB,EACjB,aAAa,EACb,QAAQ,GACyB,EAAE,EAAE;;IACrC,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,GAAG,IAAA,kBAAS,GAAE,CAAC;IAC9C,MAAM,EAAE,UAAU,EAAE,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,IACT,KAAK,EAAE,CAAC,CAAC,qBAAqB,CAAC,EAC/B,KAAK,EAAE,oBAAC,6CAAqB,IAAC,mBAAmB,EAAE,mBAAmB,GAAI,GAC1E,CACH,CAAC,CAAC,CAAC,SAAS;gBAEb,oBAAC,mBAAU,IACT,KAAK,EAAE,CAAC,CAAC,wBAAwB,CAAC,EAClC,KAAK,EACH,oBAAC,2BAAkB,IACjB,eAAe,EAAE,OAAO,CAAC,eAAe,EACxC,gBAAgB,EAAE,cAAc,EAChC,eAAe,EAAE,IAAA,2BAAe,EAAC,CAAC,CAAC,EACnC,yBAAyB,EAAE,4CAAyB,GACpD,EAEJ,MAAM,EAAC,qBAAqB,GAC5B;gBACF,oBAAC,mBAAU,IACT,KAAK,EAAE,CAAC,CAAC,qBAAqB,CAAC,EAC/B,KAAK,EACH,oBAAC,yBAAgB,IACf,KAAK,EAAE,OAAO,CAAC,KAAK,EACpB,gBAAgB,EAAE,cAAc,EAChC,eAAe,EAAE,IAAA,2BAAe,EAAC,CAAC,CAAC,EACnC,iCAAiC,EAAE,oDAAiC,EACpE,yBAAyB,EAAE,4CAAyB,GACpD,EAEJ,MAAM,EAAC,kBAAkB,GACzB,CACS,CACJ;QACV,SAAS,IAAI,CACZ,oBAAC,qBAAQ;YACP,oBAAC,qCAAiB,IAAC,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE;gBACnD,oBAAC,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;AAtJW,QAAA,2BAA2B,+BAsJtC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ReviewConfigMapsTable = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const react_1 = tslib_1.__importDefault(require("react"));
|
|
6
|
+
const hooks_1 = require("../../../hooks");
|
|
7
|
+
const react_table_1 = require("@patternfly/react-table");
|
|
8
|
+
const common_1 = require("../../../../common");
|
|
9
|
+
const ReviewConfigMapsTable = ({ agentClusterInstall, }) => {
|
|
10
|
+
var _a, _b;
|
|
11
|
+
const [configMaps, loaded] = (0, hooks_1.useConfigMaps)({
|
|
12
|
+
namespace: (_a = agentClusterInstall.metadata) === null || _a === void 0 ? void 0 : _a.namespace,
|
|
13
|
+
isList: true,
|
|
14
|
+
});
|
|
15
|
+
const customManifests = react_1.default.useMemo(() => {
|
|
16
|
+
const maps = configMaps.filter((configMap) => {
|
|
17
|
+
var _a, _b, _c;
|
|
18
|
+
return (_b = (_a = agentClusterInstall.spec) === null || _a === void 0 ? void 0 : _a.manifestsConfigMapRefs) === null || _b === void 0 ? void 0 : _b.flatMap((ref) => ref.name).includes(((_c = configMap.metadata) === null || _c === void 0 ? void 0 : _c.name) || '');
|
|
19
|
+
});
|
|
20
|
+
return maps
|
|
21
|
+
.map((map, index) => {
|
|
22
|
+
var _a;
|
|
23
|
+
return [
|
|
24
|
+
{
|
|
25
|
+
rowId: `config-map-${index}`,
|
|
26
|
+
cells: [{ title: (_a = map.metadata) === null || _a === void 0 ? void 0 : _a.name, isExpanded: true, level: 1, posInset: 1 }],
|
|
27
|
+
},
|
|
28
|
+
...Object.keys(map.data || {}).map((key) => ({
|
|
29
|
+
rowId: `config-map-${index}-${key}`,
|
|
30
|
+
cells: [
|
|
31
|
+
{
|
|
32
|
+
title: (react_1.default.createElement(react_1.default.Fragment, null,
|
|
33
|
+
react_1.default.createElement("span", { style: { width: '1rem', display: 'inline-block' } }),
|
|
34
|
+
key)),
|
|
35
|
+
posInset: 2,
|
|
36
|
+
level: 2,
|
|
37
|
+
},
|
|
38
|
+
],
|
|
39
|
+
})),
|
|
40
|
+
];
|
|
41
|
+
})
|
|
42
|
+
.flat();
|
|
43
|
+
}, [(_b = agentClusterInstall.spec) === null || _b === void 0 ? void 0 : _b.manifestsConfigMapRefs, configMaps]);
|
|
44
|
+
return loaded ? (react_1.default.createElement(react_table_1.Table, { variant: react_table_1.TableVariant.compact, borders: false, "data-testid": "review-custom-manifests-table" },
|
|
45
|
+
react_1.default.createElement(react_table_1.Tbody, null, customManifests.map((row, i) => (react_1.default.createElement(react_table_1.Tr, { key: (0, common_1.genericTableRowKey)(row.rowId) }, row.cells.map((_a, j) => {
|
|
46
|
+
var { title } = _a, props = tslib_1.__rest(_a, ["title"]);
|
|
47
|
+
return (react_1.default.createElement(react_table_1.Td, Object.assign({ key: `cell-${i}-${j}` }, props), title));
|
|
48
|
+
}))))))) : (react_1.default.createElement(common_1.LoadingState, null));
|
|
49
|
+
};
|
|
50
|
+
exports.ReviewConfigMapsTable = ReviewConfigMapsTable;
|
|
51
|
+
//# sourceMappingURL=ReviewConfigMapsTable.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReviewConfigMapsTable.js","sourceRoot":"","sources":["../../../../../../lib/cim/components/ClusterDeployment/review/ReviewConfigMapsTable.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,0CAA+C;AAC/C,yDAA6E;AAC7E,+CAAsE;AAG/D,MAAM,qBAAqB,GAAG,CAAC,EACpC,mBAAmB,GAGpB,EAAE,EAAE;;IACH,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,GAAG,IAAA,qBAAa,EAAC;QACzC,SAAS,EAAE,MAAA,mBAAmB,CAAC,QAAQ,0CAAE,SAAS;QAClD,MAAM,EAAE,IAAI;KACb,CAAC,CAAC;IAEH,MAAM,eAAe,GAAG,eAAK,CAAC,OAAO,CAAC,GAAG,EAAE;QACzC,MAAM,IAAI,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC,SAAS,EAAE,EAAE;;YAC3C,OAAA,MAAA,MAAA,mBAAmB,CAAC,IAAI,0CAAE,sBAAsB,0CAC5C,OAAO,CAAC,CA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AAE,CAAC,CAC/B,8BAAC,gBAAE,IAAC,GAAG,EAAE,IAAA,2BAAkB,EAAC,GAAG,CAAC,KAAK,CAAC,IACnC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,EAAmB,EAAE,CAAC,EAAE,EAAE;gBAA1B,EAAE,KAAK,OAAY,EAAP,KAAK,sBAAjB,SAAmB,CAAF;YAAU,OAAA,CACzC,8BAAC,gBAAE,kBAAC,GAAG,EAAE,QAAQ,CAAC,IAAI,CAAC,EAAE,IAAM,KAAK,GACjC,KAAK,CACH,CACN,CAAA;SAAA,CAAC,CACC,CACN,CAAC,CACI,CACF,CACT,CAAC,CAAC,CAAC,CACF,8BAAC,qBAAY,OAAG,CACjB,CAAC;AACJ,CAAC,CAAC;AA/DW,QAAA,qBAAqB,yBA+DhC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../lib/cim/components/ClusterDeployment/review/index.tsx"],"names":[],"mappings":";;;AAAA,wEAA8C"}
|
|
@@ -8,7 +8,6 @@ const common_1 = require("../common");
|
|
|
8
8
|
const utils_1 = require("../../../common/components/clusterConfiguration/utils");
|
|
9
9
|
const networkConfigurationValidation_1 = require("./networkConfigurationValidation");
|
|
10
10
|
const helpers_1 = require("../helpers");
|
|
11
|
-
const ClusterDeploymentNetworkingForm_1 = require("./ClusterDeploymentNetworkingForm");
|
|
12
11
|
const hooks_1 = require("../../../common/hooks");
|
|
13
12
|
const common_2 = require("../../../common");
|
|
14
13
|
const use_translation_wrapper_1 = require("../../../common/hooks/use-translation-wrapper");
|
|
@@ -43,7 +42,7 @@ const useNetworkingFormik = ({ clusterDeployment, agentClusterInstall, agents, }
|
|
|
43
42
|
agentClusterInstall,
|
|
44
43
|
agents,
|
|
45
44
|
});
|
|
46
|
-
return Object.assign(Object.assign({}, (0, networkConfigurationValidation_1.getNetworkInitialValues)(cluster,
|
|
45
|
+
return Object.assign(Object.assign({}, (0, networkConfigurationValidation_1.getNetworkInitialValues)(cluster, common_2.CLUSTER_DEFAULT_NETWORK_SETTINGS_IPV4)), { enableProxy: false, editProxy: false });
|
|
47
46
|
}, []);
|
|
48
47
|
const validationSchema = react_1.default.useMemo(() => {
|
|
49
48
|
const cluster = (0, helpers_1.getAICluster)({
|