@openshift-assisted/ui-lib 2.15.2-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 +6 -2
- 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/DetailsStep.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/HostedClusterWizard/DetailsStep/types.d.ts +6 -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/Hypershift/hooks/useSupportedOCPVersions.d.ts +1 -1
- package/build/@types/cim/components/Hypershift/hooks/useSupportedOCPVersions.d.ts.map +1 -1
- package/build/@types/cim/components/InfraEnv/InfraEnvAgentTable.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/index.d.ts +1 -0
- package/build/@types/cim/index.d.ts.map +1 -1
- 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 -3
- 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/AITable.d.ts +3 -1
- package/build/@types/common/components/hosts/AITable.d.ts.map +1 -1
- package/build/@types/common/components/hosts/DiskRole.d.ts.map +1 -1
- package/build/@types/common/components/hosts/HostsTable.d.ts +2 -1
- package/build/@types/common/components/hosts/HostsTable.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 +5 -2
- 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 +4 -3
- 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} +29 -31
- 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 +17 -4
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsStep.js +3 -1
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsStep.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/hooks/useSupportedOCPVersions.js +3 -3
- package/build/cjs/cim/components/Hypershift/hooks/useSupportedOCPVersions.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/InfraEnv/InfraEnvAgentTable.js +2 -2
- package/build/cjs/cim/components/InfraEnv/InfraEnvAgentTable.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/global.css +12 -0
- 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/index.js +2 -0
- package/build/cjs/cim/index.js.map +1 -1
- 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 -7
- 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/AITable.js +54 -38
- package/build/cjs/common/components/hosts/AITable.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/HostsTable.js +8 -5
- package/build/cjs/common/components/hosts/HostsTable.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 +23 -3
- 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 +5 -4
- 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} +44 -39
- 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 +44 -4
- package/lib/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsStep.tsx +4 -0
- package/lib/cim/components/Hypershift/HostedClusterWizard/DetailsStep/types.ts +6 -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/hooks/useSupportedOCPVersions.ts +3 -2
- package/lib/cim/components/Hypershift/modals/AddNodePoolModal.tsx +1 -1
- package/lib/cim/components/Hypershift/modals/ManageHostsModal.tsx +2 -2
- package/lib/cim/components/InfraEnv/InfraEnvAgentTable.tsx +2 -0
- 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/global.css +12 -0
- 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/index.ts +3 -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 -3
- 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/AITable.tsx +61 -37
- package/lib/common/components/hosts/DiskRole.tsx +0 -1
- package/lib/common/components/hosts/HostsTable.tsx +21 -9
- 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 +31 -4
- 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/OpenShiftVersionSelect.d.ts +0 -10
- package/build/@types/common/components/clusterConfiguration/OpenShiftVersionSelect.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/OpenShiftVersionSelect.js +0 -52
- package/build/cjs/common/components/clusterConfiguration/OpenShiftVersionSelect.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/OpenShiftVersionSelect.tsx +0 -81
- 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
|
@@ -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,EAAE,CAAC,eAAe,EAAE,MAAM,CAAC,CAAC,CAAC;IAC5E,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAExD,MAAM,OAAO,GAAG,IAAA,sBAAY,EAAC;QAC3B,iBAAiB;QACjB,mBAAmB;QACnB,MAAM;KACP,CAAC,CAAC;IAEH,MAAM,WAAW,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,IAAA,uBAAc,EAAC,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IAC5E,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,wCAAc,GAAE,CAAC;IAC/B,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;;QACnB,IAAI,CAAC,CAAC,iBAAiB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,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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,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,YAAY,EAAE,cAAc,EAAE,KAAK,EAAE,GAAG,IAAA,6BAAgB,GAAE,CAAC;IAC/E,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC,UAAU,CAAC,+DAA8B,CAAC,CAAC;IACvE,MAAM,CAAC,YAAY,EAAE,aAAa,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC5D,MAAM,MAAM,GAAG,MAAA,iBAAiB,CAAC,QAAQ,0CAAE,IAAI,CAAC;IAChD,MAAM,WAAW,GAAG,MAAA,iBAAiB,CAAC,QAAQ,0CAAE,SAAS,CAAC;IAC1D,MAAM,eAAe,GAAG,IAAA,6CAAmC,EAAC,iBAAiB,EAAE,QAAQ,CAAC,CAAC;IAEzF,MAAM,aAAa,GAAG,KAAK,CAAC,OAAO,CACjC,GA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C,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,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,EAC1B,QAAQ,CAAC,CAAA,MAAA,SAAS,CAAC,QAAQ,0CAAE,IAAI,KAAI,EAAE,CAAC,CAAA;SAAA,CAC5C,CAAC;QAEF,OAAO,IAAI;aACR,GAAG,CAAC,CAAC,GAAG,EAAE,KAAK,EAAE,EAAE;;YAAC,OAAA;gBACnB;oBACE,KAAK,EAAE,cAAc,KAAK,EAAE;oBAC5B,KAAK,EAAE,CAAC,EAAE,KAAK,EAAE,MAAA,GAAG,CAAC,QAAQ,0CAAE,IAAc,EAAE,UAAU,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,EAAE,CAAC;iBAC1F;gBACD,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,IAA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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)({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-networking-formik.js","sourceRoot":"","sources":["../../../../../lib/cim/components/ClusterDeployment/use-networking-formik.ts"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,iDAA2B;AAE3B,sCAA4D;AAC5D,iFAAuF;AACvF,qFAA2E;AAO3E,wCAA0C;AAC1C,
|
|
1
|
+
{"version":3,"file":"use-networking-formik.js","sourceRoot":"","sources":["../../../../../lib/cim/components/ClusterDeployment/use-networking-formik.ts"],"names":[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E,GAAG,IAAA,wCAAc,GAAE,CAAC;IAC/B,eAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACnB,MAAM,KAAK,GAAG,GAAS,EAAE;YACvB,YAAY,CAAC,SAAS,CAAC,CAAC;YACxB,iBAAiB,CAAC,SAAS,CAAC,CAAC;YAC7B,MAAM,gBAAgB,GAAG,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC;YACzF,IAAI;gBACF,MAAM,eAAe,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC;gBAC5D,YAAY,CAAC,eAAe,CAAC,CAAC;aAC/B;YAAC,OAAO,CAAC,EAAE;gBACV,MAAM,KAAK,GAAG,CAAU,CAAC;gBACzB,iBAAiB,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC,uCAAuC,CAAC,CAAC,CAAC;aAChF;QACH,CAAC,CAAA,CAAC;QAEF,KAAK,KAAK,EAAE,CAAC;IACf,CAAC,EAAE,CAAC,aAAa,EAAE,aAAa,EAAE,YAAY,EAAE,iBAAiB,EAAE,CAAC,CAAC,CAAC,CAAC;IAEvE,OAAO;QACL,iBAAiB;QACjB,WAAW;QACX,cAAc;QACd,gBAAgB,EAAE,CAAC,SAAS;KAC7B,CAAC;AACJ,CAAC,CAAC;AAtCW,QAAA,kBAAkB,sBAsC7B"}
|
|
@@ -79,6 +79,7 @@ exports.wizardStepsValidationsMap = {
|
|
|
79
79
|
'hosts-discovery': hostDiscoveryStepValidationsMap,
|
|
80
80
|
'hosts-selection': hostDiscoveryStepValidationsMap,
|
|
81
81
|
networking: networkingStepValidationsMap,
|
|
82
|
+
'custom-manifests': networkingStepValidationsMap,
|
|
82
83
|
review: reviewStepValidationsMap,
|
|
83
84
|
};
|
|
84
85
|
exports.allClusterWizardSoftValidationIds = (0, validationsInfoUtils_1.getAllClusterWizardSoftValidationIds)(exports.wizardStepsValidationsMap);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wizardTransition.js","sourceRoot":"","sources":["../../../../../lib/cim/components/ClusterDeployment/wizardTransition.ts"],"names":[],"mappings":";;;AACA,wGAKuE;
|
|
1
|
+
{"version":3,"file":"wizardTransition.js","sourceRoot":"","sources":["../../../../../lib/cim/components/ClusterDeployment/wizardTransition.ts"],"names":[],"mappings":";;;AACA,wGAKuE;AAcvE,MAAM,gCAAgC,GAA4B;IAChE,OAAO,EAAE;QACP,MAAM,EAAE,EAAE;QACV,aAAa,EAAE,CAAC,iBAAiB,EAAE,oBAAoB,CAAC;KACzD;IACD,IAAI,EAAE;QACJ,eAAe,EAAE,EAAE;QACnB,MAAM,EAAE,EAAE;QACV,aAAa,EAAE,EAAE;KAClB;IACD,iBAAiB,EAAE,EAAE;CACtB,CAAC;AAEF,MAAM,+BAA+B,GAA4B;IAC/D,OAAO,EAAE;QACP,MAAM,EAAE,EAAE;QACV,aAAa,EAAE;YACb,0BAA0B;YAC1B,4BAA4B;YAC5B,4BAA4B;YAC5B,4BAA4B;SAC7B;KACF;IACD,IAAI,EAAE;QACJ,eAAe,EAAE,CAAC,OAAO,EAAE,eAAe,EAAE,UAAU,CAAC;QACvD,MAAM,EAAE,CAAC,UAAU,CAAC;QACpB,aAAa,EAAE;YACb,WAAW;YACX,4BAA4B;YAC5B,4BAA4B;YAC5B,4BAA4B;SAC7B;KACF;IACD,iBAAiB,EAAE,EAAE;CACtB,CAAC;AAEF,MAAM,4BAA4B,GAA4B;IAC5D,OAAO,EAAE;QACP,MAAM,EAAE,CAAC,SAAS,CAAC;QACnB,aAAa,EAAE,EAAE;KAClB;IACD,IAAI,EAAE;QACJ,eAAe,EAAE,CAAC,OAAO,EAAE,UAAU,CAAC;QACtC,MAAM,EAAE,CAAC,SAAS,CAAC;QACnB,aAAa,EAAE,EAAE;KAClB;IACD,sHAAsH;IACtH,0FAA0F;IAC1F,sFAAs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AAqB,yBAGiD"}
|
|
@@ -6,9 +6,11 @@ const formik_1 = require("formik");
|
|
|
6
6
|
const React = tslib_1.__importStar(require("react"));
|
|
7
7
|
const common_1 = require("../../../../../common");
|
|
8
8
|
const use_translation_wrapper_1 = require("../../../../../common/hooks/use-translation-wrapper");
|
|
9
|
-
const ClusterDetailsFormFields_1 = require("../../../ClusterDeployment/ClusterDetailsFormFields");
|
|
9
|
+
const ClusterDetailsFormFields_1 = require("../../../ClusterDeployment/clusterDetails/ClusterDetailsFormFields");
|
|
10
10
|
const useTemptiflySync_1 = require("../../hooks/useTemptiflySync");
|
|
11
|
-
const DetailsForm = ({ onValuesChanged, extensionAfter, ocpVersions, }) => {
|
|
11
|
+
const DetailsForm = ({ onValuesChanged, extensionAfter, ocpVersions, allVersions, }) => {
|
|
12
|
+
const { t } = (0, use_translation_wrapper_1.useTranslation)();
|
|
13
|
+
const [openshiftVersionModalOpen, setOpenshiftVersionModalOpen] = React.useState(false);
|
|
12
14
|
const { values } = (0, formik_1.useFormikContext)();
|
|
13
15
|
(0, useTemptiflySync_1.useTemptiflySync)({ values, onValuesChanged });
|
|
14
16
|
const nameInputRef = React.useRef();
|
|
@@ -16,12 +18,23 @@ const DetailsForm = ({ onValuesChanged, extensionAfter, ocpVersions, }) => {
|
|
|
16
18
|
var _a;
|
|
17
19
|
(_a = nameInputRef.current) === null || _a === void 0 ? void 0 : _a.focus();
|
|
18
20
|
}, []);
|
|
19
|
-
const
|
|
21
|
+
const selectOptions = React.useMemo(() => ocpVersions.map((version) => ({
|
|
22
|
+
label: version.label,
|
|
23
|
+
value: version.value,
|
|
24
|
+
})), [ocpVersions]);
|
|
25
|
+
const additionalSelectOption = React.useMemo(() => {
|
|
26
|
+
if (values.customOpenshiftSelect &&
|
|
27
|
+
!selectOptions.some((option) => option.value === values.customOpenshiftSelect)) {
|
|
28
|
+
return allVersions.find((version) => version.value === values.customOpenshiftSelect);
|
|
29
|
+
}
|
|
30
|
+
return undefined;
|
|
31
|
+
}, [allVersions, selectOptions, values.customOpenshiftSelect]);
|
|
20
32
|
return (React.createElement(react_core_1.Form, null,
|
|
21
33
|
React.createElement(common_1.InputField, { ref: nameInputRef, label: t('ai:Cluster name'), name: "name", placeholder: t('ai:Enter cluster name'), isRequired: true }),
|
|
22
34
|
(extensionAfter === null || extensionAfter === void 0 ? void 0 : extensionAfter['name']) && extensionAfter['name'],
|
|
23
35
|
React.createElement(common_1.InputField, { label: t('ai:Base domain'), name: "baseDnsDomain", helperText: React.createElement(ClusterDetailsFormFields_1.BaseDnsHelperText, { name: values.name, baseDnsDomain: values.baseDnsDomain }), placeholder: "example.com", isRequired: true }),
|
|
24
|
-
React.createElement(common_1.
|
|
36
|
+
React.createElement(common_1.OpenShiftVersionDropdown, { name: "openshiftVersion", items: selectOptions, versions: ocpVersions, showReleasesLink: false, showOpenshiftVersionModal: () => setOpenshiftVersionModalOpen(true), customItem: additionalSelectOption }),
|
|
37
|
+
openshiftVersionModalOpen && (React.createElement(common_1.OpenShiftVersionModal, { allVersions: allVersions, setOpenshiftVersionModalOpen: setOpenshiftVersionModalOpen })),
|
|
25
38
|
React.createElement(common_1.PullSecret, null)));
|
|
26
39
|
};
|
|
27
40
|
exports.default = DetailsForm;
|
package/build/cjs/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DetailsForm.js","sourceRoot":"","sources":["../../../../../../../lib/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.tsx"],"names":[],"mappings":";;;AAAA,uDAA8C;AAC9C,mCAA0C;AAC1C,qDAA+B;AAC/B,
|
|
1
|
+
{"version":3,"file":"DetailsForm.js","sourceRoot":"","sources":["../../../../../../../lib/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.tsx"],"names":[],"mappings":";;;AAAA,uDAA8C;AAC9C,mCAA0C;AAC1C,qDAA+B;AAC/B,kDAK+B;AAC/B,iGAAqF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,CAAC,EAAE,CAAC,WAAW,EAAE,aAAa,EAAE,MAAM,CAAC,qBAAqB,CAAC,CAAC,CAAC;IAE/D,OAAO,CACL,oBAAC,iBAAI;QACH,oBAAC,mBAAU,IACT,GAAG,EAAE,YAAY,EACjB,KAAK,EAAE,CAAC,CAAC,iBAAiB,CAAC,EAC3B,IAAI,EAAC,MAAM,EACX,WAAW,EAAE,CAAC,CAAC,uBAAuB,CAAC,EACvC,UAAU,SACV;QACD,CAAA,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAG,MAAM,CAAC,KAAI,cAAc,CAAC,MAAM,CAAC;QACnD,oBAAC,mBAAU,IACT,KAAK,EAAE,CAAC,CAAC,gBAAgB,CAAC,EAC1B,IAAI,EAAC,eAAe,EACpB,UAAU,EAAE,oBAAC,4CAAiB,IAAC,IAAI,EAAE,MAAM,CAAC,IAAI,EAAE,aAAa,EAAE,MAAM,CAAC,aAAa,GAAI,EACzF,WAAW,EAAC,aAAa,EACzB,UAAU,SACV;QACF,oBAAC,iCAAwB,IACvB,IAAI,EAAC,kBAAkB,EACvB,KAAK,EAAE,aAAa,EACpB,QAAQ,EAAE,WAAW,EACrB,gBAAgB,EAAE,KAAK,EACvB,yBAAyB,EAAE,GAAG,EAAE,CAAC,4BAA4B,CAAC,IAAI,CAAC,EACnE,UAAU,EAAE,sBAAsB,GAClC;QACD,yBAAyB,IAAI,CAC5B,oBAAC,8BAAqB,IACpB,WAAW,EAAE,WAAW,EACxB,4BAA4B,EAAE,4BAA4B,GAC1D,CACH;QAED,oBAAC,mBAAU,OAAG,CACT,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,WAAW,CAAC"}
|
|
@@ -16,6 +16,7 @@ const useDetailsFormik = ({ ocpVersions, usedClusterNames, initPullSecret = '',
|
|
|
16
16
|
openshiftVersion: (0, common_1.getDefaultOpenShiftVersion)(ocpVersions),
|
|
17
17
|
pullSecret: initPullSecret,
|
|
18
18
|
baseDnsDomain: initBaseDomain,
|
|
19
|
+
customOpenshiftSelect: null,
|
|
19
20
|
}), []);
|
|
20
21
|
const validationSchema = React.useMemo(() => Yup.object({
|
|
21
22
|
name: (0, common_1.nameValidationSchema)(t, usedClusterNames),
|
|
@@ -26,6 +27,7 @@ const useDetailsFormik = ({ ocpVersions, usedClusterNames, initPullSecret = '',
|
|
|
26
27
|
};
|
|
27
28
|
const DetailsStep = ({ usedClusterNames, clusterImages, onValuesChanged, extensionAfter, formRef, initBaseDomain, initPullSecret, supportedVersionsCM, }) => {
|
|
28
29
|
const ocpVersions = (0, useSupportedOCPVersions_1.useSupportedOCPVersions)(clusterImages, supportedVersionsCM);
|
|
30
|
+
const allVersions = (0, useSupportedOCPVersions_1.useSupportedOCPVersions)(clusterImages, supportedVersionsCM, true);
|
|
29
31
|
const [initialValues, validationSchema] = useDetailsFormik({
|
|
30
32
|
ocpVersions,
|
|
31
33
|
usedClusterNames,
|
|
@@ -33,7 +35,7 @@ const DetailsStep = ({ usedClusterNames, clusterImages, onValuesChanged, extensi
|
|
|
33
35
|
initBaseDomain,
|
|
34
36
|
});
|
|
35
37
|
return (React.createElement(formik_1.Formik, { initialValues: initialValues, validationSchema: validationSchema, innerRef: formRef, onSubmit: noop_js_1.default },
|
|
36
|
-
React.createElement(DetailsForm_1.default, { onValuesChanged: onValuesChanged, ocpVersions: ocpVersions, extensionAfter: extensionAfter })));
|
|
38
|
+
React.createElement(DetailsForm_1.default, { onValuesChanged: onValuesChanged, ocpVersions: ocpVersions, allVersions: allVersions, extensionAfter: extensionAfter })));
|
|
37
39
|
};
|
|
38
40
|
exports.default = DetailsStep;
|
|
39
41
|
//# sourceMappingURL=DetailsStep.js.map
|
package/build/cjs/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsStep.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DetailsStep.js","sourceRoot":"","sources":["../../../../../../../lib/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsStep.tsx"],"names":[],"mappings":";;;AAAA,mCAAgC;AAChC,wEAAqC;AACrC,qDAA+B;AAC/B,iDAA2B;AAC3B,kDAK+B;AAC/B,iGAAqF;AACrF,iFAA8E;AAC9E,wEAAwC;AAGxC,MAAM,gBAAgB,GAAqB,CAAC,EAC1C,WAAW,EACX,gBAAgB,EAChB,cAAc,GAAG,EAAE,EACnB,cAAc,GAAG,EAAE,GACpB,EAAE,EAAE;IACH,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,wCAAc,GAAE,CAAC;IAC/B,MAAM,aAAa,GAAG,KAAK,CAAC,OAAO,CACjC,GAAG,EAAE,CAAC,CAAC;QACL,IAAI,EAAE,EAAE;QACR,gBAAgB,EAAE,IAAA,mCAA0B,EAAC,WAAW,CAAC;QACzD,UAAU,EAAE,cAAc;QAC1B,aAAa,EAAE,cAAc;
|
|
1
|
+
{"version":3,"file":"DetailsStep.js","sourceRoot":"","sources":["../../../../../../../lib/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsStep.tsx"],"names":[],"mappings":";;;AAAA,mCAAgC;AAChC,wEAAqC;AACrC,qDAA+B;AAC/B,iDAA2B;AAC3B,kDAK+B;AAC/B,iGAAqF;AACrF,iFAA8E;AAC9E,wEAAwC;AAGxC,MAAM,gBAAgB,GAAqB,CAAC,EAC1C,WAAW,EACX,gBAAgB,EAChB,cAAc,GAAG,EAAE,EACnB,cAAc,GAAG,EAAE,GACpB,EAAE,EAAE;IACH,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,wCAAc,GAAE,CAAC;IAC/B,MAAM,aAAa,GAAG,KAAK,CAAC,OAAO,CACjC,GAAG,EAAE,CAAC,CAAC;QACL,IAAI,EAAE,EAAE;QACR,gBAAgB,EAAE,IAAA,mCAA0B,EAAC,WAAW,CAAC;QACzD,UAAU,EAAE,cAAc;QAC1B,aAAa,EAAE,cAAc;QAC7B,qBAAqB,EAAE,IAAI;KAC5B,CAAC,EACF,EAAE,CACH,CAAC;IACF,MAAM,gBAAgB,GAAG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
11
11
|
const helpers_1 = require("../../../helpers");
|
|
12
12
|
const use_translation_wrapper_1 = require("../../../../../common/hooks/use-translation-wrapper");
|
|
13
|
-
const useFormikHelpers_1 = require("../../../../../common/hooks/useFormikHelpers");
|
|
14
13
|
require("./NodePoolForm.css");
|
|
15
14
|
const NodePoolAgentsForm_1 = tslib_1.__importDefault(require("../../forms/NodePoolAgentsForm"));
|
|
16
15
|
const NodePoolForm = ({ infraEnvs, agents, index, onRemove }) => {
|
|
17
16
|
const { t } = (0, use_translation_wrapper_1.useTranslation)();
|
|
18
17
|
const { values } = (0, formik_1.useFormikContext)();
|
|
19
|
-
const { setValue: setCountValue } = (0, useFormikHelpers_1.useFormikHelpers)(`nodePools[${index}].count`);
|
|
20
|
-
const { setValue: setMinAutoscalingValue } = (0, useFormikHelpers_1.useFormikHelpers)(`nodePools[${index}].autoscaling.minReplicas`);
|
|
21
|
-
const { setValue: setMaxAutoscalingValue } = (0, useFormikHelpers_1.useFormikHelpers)(`nodePools[${index}].autoscaling.maxReplicas`);
|
|
22
18
|
const [isExpanded, setExpanded] = React.useState(true);
|
|
23
19
|
const infraEnvAgents = React.useMemo(() => {
|
|
24
20
|
const infraEnv = infraEnvs.find((ie) => { var _a; return ((_a = ie.metadata) === null || _a === void 0 ? void 0 : _a.namespace) === values.agentNamespace; });
|
|
@@ -43,30 +39,6 @@ const NodePoolForm = ({ infraEnvs, agents, index, onRemove }) => {
|
|
|
43
39
|
: values.nodePools[i].count;
|
|
44
40
|
}
|
|
45
41
|
const maxAgents = Math.max(0, Math.min(matchingAgents.length, availableAgents.length - previousNodePoolsCount));
|
|
46
|
-
const currentCount = values.nodePools[index].useAutoscaling
|
|
47
|
-
? values.nodePools[index].autoscaling.maxReplicas
|
|
48
|
-
: values.nodePools[index].count;
|
|
49
|
-
React.useEffect(() => {
|
|
50
|
-
if (currentCount > maxAgents) {
|
|
51
|
-
if (values.nodePools[index].useAutoscaling) {
|
|
52
|
-
if (maxAgents === 0) {
|
|
53
|
-
void setMinAutoscalingValue(maxAgents);
|
|
54
|
-
}
|
|
55
|
-
void setMaxAutoscalingValue(maxAgents);
|
|
56
|
-
}
|
|
57
|
-
else {
|
|
58
|
-
void setCountValue(maxAgents);
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
}, [
|
|
62
|
-
maxAgents,
|
|
63
|
-
currentCount,
|
|
64
|
-
values.nodePools,
|
|
65
|
-
index,
|
|
66
|
-
setCountValue,
|
|
67
|
-
setMinAutoscalingValue,
|
|
68
|
-
setMaxAutoscalingValue,
|
|
69
|
-
]);
|
|
70
42
|
return (React.createElement(react_core_1.Stack, { hasGutter: true },
|
|
71
43
|
React.createElement(react_core_1.StackItem, null,
|
|
72
44
|
React.createElement(react_core_1.Level, { hasGutter: true },
|
package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/NodePoolForm.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NodePoolForm.js","sourceRoot":"","sources":["../../../../../../../lib/cim/components/Hypershift/HostedClusterWizard/HostsStep/NodePoolForm.tsx"],"names":[],"mappings":";;;AAAA,uDAagC;AAChC,qDAA+B;AAC/B,iFAA6E;AAC7E,8EAA2C;AAC3C,kDAAwD;AAExD,kEAA+D;AAE/D,mCAA0C;AAC1C,8CAAyD;AACzD,iGAAqF;
|
|
1
|
+
{"version":3,"file":"NodePoolForm.js","sourceRoot":"","sources":["../../../../../../../lib/cim/components/Hypershift/HostedClusterWizard/HostsStep/NodePoolForm.tsx"],"names":[],"mappings":";;;AAAA,uDAagC;AAChC,qDAA+B;AAC/B,iFAA6E;AAC7E,8EAA2C;AAC3C,kDAAwD;AAExD,kEAA+D;AAE/D,mCAA0C;AAC1C,8CAAyD;AACzD,iGAAqF;AAErF,8BAA4B;AAC5B,gGAAgE;AAShE,MAAM,YAAY,GAAgC,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC3F,MAAM,E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C,UAAU,QACV,gBAAgB,EAAE,KAAK,GACvB,CACQ,CACN,CACC;wBACV,CAAC,UAAU,IAAI,CACd;4BACE,oBAAC,qBAAQ;gCACP,oBAAC,oBAAO,IAAC,WAAW,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE,GAAI,CACxC;4BACX,oBAAC,qBAAQ;gCACP,oBAAC,kBAAK,IAAC,OAAO,EAAC,SAAS,IACrB,CAAC,CAAC,8BAA8B,EAAE;oCACjC,KAAK,EAAE,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,WAAW,CAAC,MAAM;iCAClD,CAAC,CACI,CACC,CACV,CACJ,CACI,CACG;gBACX,KAAK,KAAK,CAAC,IAAI,CACd,oBAAC,sBAAS;oBACR,oBAAC,mBAAM,IAAC,OAAO,EAAC,MAAM,EAAC,IAAI,EAAE,oBAAC,sBAAS,OAAG,EAAE,OAAO,EAAE,QAAQ,GAAI,CACvD,CACb,CACK,CACE;QACX,UAAU,IAAI,CACb,oBAAC,sBAAS,IAAC,SAAS,EAAC,uBAAuB;YAC1C,oBAAC,4BAAkB,IACjB,MAAM,EAAE,cAAc,EACtB,SAAS,EAAE,aAAa,KAAK,QAAQ,EACrC,SAAS,EAAE,aAAa,KAAK,cAAc,EAC3C,eAAe,EAAE,aAAa,KAAK,cAAc,EACjD,kBAAkB,EAAE,aAAa,KAAK,iBAAiB,EACvD,SAAS,EAAE,SAAS,GACpB,CACQ,CACb,CACK,CACT,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,YAAY,CAAC"}
|
|
@@ -9,6 +9,7 @@ const LabelsSelector_1 = require("../../ClusterDeployment/LabelsSelector");
|
|
|
9
9
|
const formik_1 = require("formik");
|
|
10
10
|
const NodePoolAgentsForm = ({ agents, labelName, countName, autoscalingName, maxAgents, useAutoscalingName, isEdit = false, }) => {
|
|
11
11
|
const { t } = (0, use_translation_wrapper_1.useTranslation)();
|
|
12
|
+
const [{ value: count }] = (0, formik_1.useField)(countName);
|
|
12
13
|
const [{ value: minValue }] = (0, formik_1.useField)(`${autoscalingName}.minReplicas`);
|
|
13
14
|
const [{ value: maxValue }] = (0, formik_1.useField)(`${autoscalingName}.maxReplicas`);
|
|
14
15
|
const [{ value: useAutoscalingValue }] = (0, formik_1.useField)(useAutoscalingName);
|
|
@@ -23,10 +24,14 @@ const NodePoolAgentsForm = ({ agents, labelName, countName, autoscalingName, max
|
|
|
23
24
|
React.createElement(common_1.CheckboxField, { name: useAutoscalingName, label: t('ai:Use autoscaling') })),
|
|
24
25
|
useAutoscalingValue ? (React.createElement(React.Fragment, null,
|
|
25
26
|
React.createElement(react_core_1.GridItem, null,
|
|
26
|
-
React.createElement(common_1.NumberInputField, { name: `${autoscalingName}.minReplicas`, label: t('ai:Minimum number of hosts'), isRequired: true, minValue: 1, maxValue: maxValue
|
|
27
|
+
React.createElement(common_1.NumberInputField, { name: `${autoscalingName}.minReplicas`, label: t('ai:Minimum number of hosts'), isRequired: true, minValue: 1, maxValue: maxValue })),
|
|
27
28
|
React.createElement(react_core_1.GridItem, null,
|
|
28
|
-
React.createElement(common_1.NumberInputField, { name: `${autoscalingName}.maxReplicas`, label: t('ai:Maximum number of hosts'), isRequired: true, minValue: minValue || 1,
|
|
29
|
-
React.createElement(
|
|
29
|
+
React.createElement(common_1.NumberInputField, { name: `${autoscalingName}.maxReplicas`, label: t('ai:Maximum number of hosts'), isRequired: true, minValue: minValue || 1, helperText: helperText })))) : (React.createElement(React.Fragment, null,
|
|
30
|
+
React.createElement(react_core_1.GridItem, null,
|
|
31
|
+
React.createElement(common_1.NumberInputField, { label: t('ai:Number of hosts'), idPostfix: "count", name: countName, isRequired: true, minValue: 0, helperText: helperText })))),
|
|
32
|
+
(useAutoscalingValue ? maxValue : count) > maxAgents && (React.createElement(react_core_1.GridItem, null,
|
|
33
|
+
React.createElement(react_core_1.Alert, { isInline: true, variant: react_core_1.AlertVariant.warning, title: t('ai:Host count exceeds the current number of available hosts.') },
|
|
34
|
+
React.createElement(react_core_1.Text, null, t('ai:Scale down the nodepool or make more hosts available.')))))));
|
|
30
35
|
};
|
|
31
36
|
exports.default = NodePoolAgentsForm;
|
|
32
37
|
//# sourceMappingURL=NodePoolAgentsForm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NodePoolAgentsForm.js","sourceRoot":"","sources":["../../../../../../lib/cim/components/Hypershift/forms/NodePoolAgentsForm.tsx"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"NodePoolAgentsForm.js","sourceRoot":"","sources":["../../../../../../lib/cim/components/Hypershift/forms/NodePoolAgentsForm.tsx"],"names":[],"mappings":";;;AAAA,uDAAmF;AACnF,qDAA+B;AAC/B,+CAAkF;AAClF,8FAAkF;AAElF,2EAA4E;AAC5E,mCAAkC;AAYlC,MAAM,kBAAkB,GAAG,CAAC,EAC1B,MAAM,EACN,SAAS,EACT,SAAS,EACT,eAAe,EACf,SAAS,EACT,kBAAkB,EAClB,MAAM,GAAG,KAAK,GACU,EAAE,EAAE;IAC5B,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,wCAAc,GAAE,CAAC;IAE/B,MAAM,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,GAAG,IAAA,iBAAQ,EAAS,SAAS,CAAC,CAAC;IACvD,MAAM,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,GAAG,IAAA,iBAAQ,EAAS,GAAG,eAAe,cAAc,CAAC,CAAC;IACjF,MAAM,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,GAAG,IAAA,iBAAQ,EAAS,GAAG,eAAe,cAAc,CAAC,CAAC;IACjF,MAAM,CAAC,EAAE,KAAK,EAAE,mBAAmB,EAAE,CAAC,GAAG,IAAA,iBAAQ,EAAU,kBAAkB,CAAC,CAAC;IAE/E,MAAM,UAAU,GAAG,CACjB;QACG,CAAC,CAAC,uCAAuC,EAAE,EAAE,SAAS,EAAE,CAAC;QAAE,GAAG;QAC/D,oB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AAC,OAAO,EAC7B,KAAK,EAAE,CAAC,CAAC,8DAA8D,CAAC;gBAExE,oBAAC,iBAAI,QAAE,CAAC,CAAC,0DAA0D,CAAC,CAAQ,CACtE,CACC,CACZ,CACI,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,kBAAkB,CAAC"}
|
|
@@ -6,10 +6,10 @@ const React = tslib_1.__importStar(require("react"));
|
|
|
6
6
|
const helpers_1 = require("../../helpers");
|
|
7
7
|
const getSupportedCM = (configMaps) => configMaps.find((cm) => { var _a, _b; return ((_b = (_a = cm.metadata) === null || _a === void 0 ? void 0 : _a.labels) === null || _b === void 0 ? void 0 : _b['hypershift.openshift.io/supported-versions']) === 'true'; });
|
|
8
8
|
exports.getSupportedCM = getSupportedCM;
|
|
9
|
-
const useSupportedOCPVersions = (clusterImages, supportedVersionsCM) => {
|
|
9
|
+
const useSupportedOCPVersions = (clusterImages, supportedVersionsCM, extended) => {
|
|
10
10
|
return React.useMemo(() => {
|
|
11
11
|
var _a;
|
|
12
|
-
const ocpVersions = (0, helpers_1.getOCPVersions)(clusterImages, false);
|
|
12
|
+
const ocpVersions = (0, helpers_1.getOCPVersions)(clusterImages, false, undefined, extended);
|
|
13
13
|
const supportedVersionsString = (_a = supportedVersionsCM === null || supportedVersionsCM === void 0 ? void 0 : supportedVersionsCM.data) === null || _a === void 0 ? void 0 : _a['supported-versions'];
|
|
14
14
|
if (supportedVersionsString) {
|
|
15
15
|
try {
|
|
@@ -22,7 +22,7 @@ const useSupportedOCPVersions = (clusterImages, supportedVersionsCM) => {
|
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
return ocpVersions;
|
|
25
|
-
}, [clusterImages, supportedVersionsCM]);
|
|
25
|
+
}, [clusterImages, extended, supportedVersionsCM === null || supportedVersionsCM === void 0 ? void 0 : supportedVersionsCM.data]);
|
|
26
26
|
};
|
|
27
27
|
exports.useSupportedOCPVersions = useSupportedOCPVersions;
|
|
28
28
|
//# sourceMappingURL=useSupportedOCPVersions.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSupportedOCPVersions.js","sourceRoot":"","sources":["../../../../../../lib/cim/components/Hypershift/hooks/useSupportedOCPVersions.ts"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAG/B,2CAA+C;AAExC,MAAM,cAAc,GAAG,CAAC,UAAkC,EAAE,EAAE,CACnE,UAAU,CAAC,IAAI,CACb,CAAC,EAAE,EAAE,EAAE,eAAC,OAAA,CAAA,MAAA,MAAA,EAAE,CAAC,QAAQ,0CAAE,MAAM,0CAAG,4CAA4C,CAAC,MAAK,MAAM,CAAA,EAAA,CACvF,CAAC;AAHS,QAAA,cAAc,kBAGvB;AAEG,MAAM,uBAAuB,GAAG,CACrC,aAA2C,EAC3C,mBAA0C,EAC1C,EAAE;IACF,OAAO,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE;;QACxB,MAAM,WAAW,GAAG,IAAA,wBAAc,EAAC,aAAa,EAAE,KAAK,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"useSupportedOCPVersions.js","sourceRoot":"","sources":["../../../../../../lib/cim/components/Hypershift/hooks/useSupportedOCPVersions.ts"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAG/B,2CAA+C;AAExC,MAAM,cAAc,GAAG,CAAC,UAAkC,EAAE,EAAE,CACnE,UAAU,CAAC,IAAI,CACb,CAAC,EAAE,EAAE,EAAE,eAAC,OAAA,CAAA,MAAA,MAAA,EAAE,CAAC,QAAQ,0CAAE,MAAM,0CAAG,4CAA4C,CAAC,MAAK,MAAM,CAAA,EAAA,CACvF,CAAC;AAHS,QAAA,cAAc,kBAGvB;AAEG,MAAM,uBAAuB,GAAG,CACrC,aAA2C,EAC3C,mBAA0C,EAC1C,QAAkB,EAClB,EAAE;IACF,OAAO,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE;;QACxB,MAAM,WAAW,GAAG,IAAA,wBAAc,EAAC,aAAa,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,CAAC,CAAC;QAC9E,MAAM,uBAAuB,GAAG,MAAA,mBAAmB,aAAnB,mBAAmB,uBAAnB,mBAAmB,CAAE,IAAI,0CAAG,oBAAoB,CAAC,CAAC;QAClF,IAAI,uBAAuB,EAAE;YAC3B,IAAI;gBACF,MAAM,iBAAiB,GAAI,IAAI,CAAC,KAAK,CAAC,uBAAuB,CAA4B;qBACtF,QAAQ,CAAC;gBACZ,OAAO,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;aAC5F;YAAC,OAAO,GAAG,EAAE;gBACZ,+FAA+F;aAChG;SACF;QACD,OAAO,WAAW,CAAC;IACrB,CAAC,EAAE,CAAC,aAAa,EAAE,QAAQ,EAAE,mBAAmB,aAAnB,mBAAmB,uBAAnB,mBAAmB,CAAE,IAAI,CAAC,CAAC,CAAC;AAC3D,CAAC,CAAC;AAnBW,QAAA,uBAAuB,2BAmBlC"}
|
|
@@ -17,7 +17,7 @@ const AddNodePoolModal = ({ onSubmit, onClose, agents, hostedCluster, agentsName
|
|
|
17
17
|
var _b, _c;
|
|
18
18
|
setError(undefined);
|
|
19
19
|
const nodePool = {
|
|
20
|
-
apiVersion: 'hypershift.openshift.io/
|
|
20
|
+
apiVersion: 'hypershift.openshift.io/v1beta1',
|
|
21
21
|
kind: 'NodePool',
|
|
22
22
|
metadata: {
|
|
23
23
|
name: values.nodePoolName,
|