@openshift-assisted/ui-lib 2.48.6 → 2.49.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/@types/cim/components/Agent/tableUtils.d.ts +4 -1
- package/build/@types/cim/components/Agent/tableUtils.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizard.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/{ACMClusterDeploymentDetailsStep.d.ts → clusterDetails/ACMClusterDeploymentDetailsStep.d.ts} +5 -5
- package/build/@types/cim/components/ClusterDeployment/clusterDetails/ACMClusterDeploymentDetailsStep.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentDetailsForm.d.ts → clusterDetails/ClusterDeploymentDetailsForm.d.ts} +4 -4
- package/build/@types/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsForm.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentDetailsStep.d.ts → clusterDetails/ClusterDeploymentDetailsStep.d.ts} +5 -5
- package/build/@types/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsStep.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/{ClusterDetailsFormFields.d.ts → clusterDetails/ClusterDetailsFormFields.d.ts} +1 -1
- package/build/@types/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/clusterDetails/index.d.ts +5 -0
- package/build/@types/cim/components/ClusterDeployment/clusterDetails/index.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/components/AdditionalNTPSourcesDialogToggle.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/components/index.d.ts +2 -0
- package/build/@types/cim/components/ClusterDeployment/components/index.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/constants.d.ts +1 -0
- package/build/@types/cim/components/ClusterDeployment/constants.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.d.ts +6 -0
- package/build/@types/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/customManifests/ConfigMapDetail.d.ts +10 -0
- package/build/@types/cim/components/ClusterDeployment/customManifests/ConfigMapDetail.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/customManifests/ConfigMapForm.d.ts +12 -0
- package/build/@types/cim/components/ClusterDeployment/customManifests/ConfigMapForm.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/customManifests/index.d.ts +2 -0
- package/build/@types/cim/components/ClusterDeployment/customManifests/index.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentHostDiscoveryTable.d.ts → hostDiscovery/ClusterDeploymentHostDiscoveryTable.d.ts} +1 -1
- package/build/@types/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostDiscoveryTable.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentHostsDiscovery.d.ts → hostDiscovery/ClusterDeploymentHostsDiscovery.d.ts} +1 -1
- package/build/@types/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscovery.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscoveryStep.d.ts +4 -0
- package/build/@types/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscoveryStep.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/hostDiscovery/index.d.ts +2 -0
- package/build/@types/cim/components/ClusterDeployment/hostDiscovery/index.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentHostSelectionStep.d.ts → hostSelection/ClusterDeploymentHostSelectionStep.d.ts} +4 -4
- package/build/@types/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelection.d.ts → hostSelection/ClusterDeploymentHostsSelection.d.ts} +1 -1
- package/build/@types/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelection.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelectionAdvanced.d.ts → hostSelection/ClusterDeploymentHostsSelectionAdvanced.d.ts} +6 -6
- package/build/@types/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelectionAdvanced.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelectionBasic.d.ts → hostSelection/ClusterDeploymentHostsSelectionBasic.d.ts} +1 -1
- package/build/@types/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelectionBasic.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/hostSelection/index.d.ts +3 -0
- package/build/@types/cim/components/ClusterDeployment/hostSelection/index.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/index.d.ts +2 -2
- package/build/@types/cim/components/ClusterDeployment/index.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentHostsNetworkTable.d.ts → networking/ClusterDeploymentHostsNetworkTable.d.ts} +2 -2
- package/build/@types/cim/components/ClusterDeployment/networking/ClusterDeploymentHostsNetworkTable.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentNetworkingForm.d.ts → networking/ClusterDeploymentNetworkingForm.d.ts} +2 -4
- package/build/@types/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingForm.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentNetworkingStep.d.ts → networking/ClusterDeploymentNetworkingStep.d.ts} +4 -4
- package/build/@types/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingStep.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/networking/index.d.ts +2 -0
- package/build/@types/cim/components/ClusterDeployment/networking/index.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentReviewStep.d.ts → review/ClusterDeploymentReviewStep.d.ts} +3 -3
- package/build/@types/cim/components/ClusterDeployment/review/ClusterDeploymentReviewStep.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/review/ReviewConfigMapsTable.d.ts +6 -0
- package/build/@types/cim/components/ClusterDeployment/review/ReviewConfigMapsTable.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/review/index.d.ts +2 -0
- package/build/@types/cim/components/ClusterDeployment/review/index.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/types.d.ts +2 -1
- package/build/@types/cim/components/ClusterDeployment/types.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/wizardTransition.d.ts +1 -1
- package/build/@types/cim/components/ClusterDeployment/wizardTransition.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/HostedClusterWizard/DetailsStep/types.d.ts +1 -1
- package/build/@types/cim/components/Hypershift/HostedClusterWizard/DetailsStep/types.d.ts.map +1 -1
- package/build/@types/cim/components/InfraEnv/InfraEnvAgentTable.d.ts.map +1 -1
- package/build/@types/cim/components/InfraEnv/InfraTableToolbar.d.ts +5 -0
- package/build/@types/cim/components/InfraEnv/InfraTableToolbar.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/agentClusterInstall.d.ts +1 -0
- package/build/@types/cim/components/helpers/agentClusterInstall.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/agents.d.ts +1 -1
- package/build/@types/cim/components/helpers/agents.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/toAssisted.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/versions.d.ts.map +1 -1
- package/build/@types/cim/components/modals/AddHostModal.d.ts.map +1 -1
- package/build/@types/cim/components/modals/CimConfiguration/CimConfigurationFormFields.d.ts +4 -0
- package/build/@types/cim/components/modals/CimConfiguration/CimConfigurationFormFields.d.ts.map +1 -0
- package/build/@types/cim/components/modals/CimConfiguration/CimConfigurationModal.d.ts +0 -1
- package/build/@types/cim/components/modals/CimConfiguration/CimConfigurationModal.d.ts.map +1 -1
- package/build/@types/cim/components/modals/CimConfiguration/persist.d.ts +4 -7
- package/build/@types/cim/components/modals/CimConfiguration/persist.d.ts.map +1 -1
- package/build/@types/cim/components/modals/CimConfiguration/types.d.ts +7 -16
- package/build/@types/cim/components/modals/CimConfiguration/types.d.ts.map +1 -1
- package/build/@types/cim/hooks/index.d.ts +3 -0
- package/build/@types/cim/hooks/index.d.ts.map +1 -0
- package/build/@types/cim/hooks/types.d.ts +4 -0
- package/build/@types/cim/hooks/types.d.ts.map +1 -0
- package/build/@types/cim/hooks/useAgentServiceConfig.d.ts +4 -0
- package/build/@types/cim/hooks/useAgentServiceConfig.d.ts.map +1 -0
- package/build/@types/cim/hooks/useConfigMaps.d.ts +4 -0
- package/build/@types/cim/hooks/useConfigMaps.d.ts.map +1 -0
- package/build/@types/cim/hooks/useK8sWatchResource.d.ts +8 -0
- package/build/@types/cim/hooks/useK8sWatchResource.d.ts.map +1 -0
- package/build/@types/cim/types/index.d.ts +1 -1
- package/build/@types/cim/types/index.d.ts.map +1 -1
- package/build/@types/cim/types/k8s/agent-cluster-install.d.ts +3 -0
- package/build/@types/cim/types/k8s/agent-cluster-install.d.ts.map +1 -1
- package/build/@types/cim/types/models.d.ts +7 -0
- package/build/@types/cim/types/models.d.ts.map +1 -0
- package/build/@types/cim/utils.d.ts +2 -0
- package/build/@types/cim/utils.d.ts.map +1 -1
- package/build/@types/common/api/assisted-service/HostsAPI.d.ts +0 -1
- package/build/@types/common/api/assisted-service/HostsAPI.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/DownloadIso.d.ts +2 -1
- package/build/@types/common/components/clusterConfiguration/DownloadIso.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/ExternalPlatformsDropdown.d.ts +14 -0
- package/build/@types/common/components/clusterConfiguration/ExternalPlatformsDropdown.d.ts.map +1 -0
- package/build/@types/common/components/clusterConfiguration/SecurityFields.d.ts +3 -1
- package/build/@types/common/components/clusterConfiguration/SecurityFields.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/index.d.ts +1 -0
- package/build/@types/common/components/clusterConfiguration/index.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/types.d.ts +1 -2
- package/build/@types/common/components/clusterWizard/types.d.ts.map +1 -1
- package/build/@types/common/components/hosts/status.d.ts.map +1 -1
- package/build/@types/common/components/hosts/tableUtils.d.ts +2 -0
- package/build/@types/common/components/hosts/tableUtils.d.ts.map +1 -1
- package/build/@types/common/components/hosts/utils.d.ts +3 -0
- package/build/@types/common/components/hosts/utils.d.ts.map +1 -1
- package/build/@types/common/components/ui/OpenShiftSelectWithSearch.d.ts +1 -2
- package/build/@types/common/components/ui/OpenShiftSelectWithSearch.d.ts.map +1 -1
- package/build/@types/common/components/ui/OpenShiftVersionDropdown.d.ts +3 -3
- package/build/@types/common/components/ui/OpenShiftVersionDropdown.d.ts.map +1 -1
- package/build/@types/common/components/ui/OpenShiftVersionModal.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/InputField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/SelectFieldWithSearch.d.ts +16 -0
- package/build/@types/common/components/ui/formik/SelectFieldWithSearch.d.ts.map +1 -0
- package/build/@types/common/components/ui/formik/index.d.ts +1 -0
- package/build/@types/common/components/ui/formik/index.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/types.d.ts +2 -2
- package/build/@types/common/components/ui/formik/types.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/validationSchemas.d.ts.map +1 -1
- package/build/@types/common/config/docs_links.d.ts +1 -1
- package/build/@types/common/config/docs_links.d.ts.map +1 -1
- package/build/@types/common/utils.d.ts +1 -0
- package/build/@types/common/utils.d.ts.map +1 -1
- package/build/@types/ocm/components/Routes.d.ts +6 -4
- package/build/@types/ocm/components/Routes.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.d.ts +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/disconnected/BasicStep.d.ts.map +1 -1
- package/build/@types/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.d.ts +1 -1
- package/build/@types/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.d.ts.map +1 -1
- package/build/@types/ocm/services/HostsService.d.ts +0 -1
- package/build/@types/ocm/services/HostsService.d.ts.map +1 -1
- package/build/cjs/cim/components/Agent/AgentStatus.js +2 -2
- package/build/cjs/cim/components/Agent/AgentStatus.js.map +1 -1
- package/build/cjs/cim/components/Agent/tableUtils.js +31 -12
- package/build/cjs/cim/components/Agent/tableUtils.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizard.js +12 -9
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizard.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ScaleUpForm.js +2 -2
- package/build/cjs/cim/components/ClusterDeployment/ScaleUpForm.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/{ACMClusterDeploymentDetailsStep.js → clusterDetails/ACMClusterDeploymentDetailsStep.js} +6 -5
- package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ACMClusterDeploymentDetailsStep.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentDetailsForm.js → clusterDetails/ClusterDeploymentDetailsForm.js} +8 -8
- package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsForm.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentDetailsStep.js → clusterDetails/ClusterDeploymentDetailsStep.js} +8 -8
- package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsStep.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/{ClusterDetailsFormFields.js → clusterDetails/ClusterDetailsFormFields.js} +20 -25
- package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/clusterDetails/index.js +8 -0
- package/build/cjs/cim/components/ClusterDeployment/clusterDetails/index.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/{AdditionalNTPSourcesDialogToggle.js → components/AdditionalNTPSourcesDialogToggle.js} +1 -1
- package/build/cjs/cim/components/ClusterDeployment/components/AdditionalNTPSourcesDialogToggle.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/components/index.js +5 -0
- package/build/cjs/cim/components/ClusterDeployment/components/index.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/constants.js +1 -0
- package/build/cjs/cim/components/ClusterDeployment/constants.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.js +71 -0
- package/build/cjs/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/customManifests/ConfigMapDetail.js +64 -0
- package/build/cjs/cim/components/ClusterDeployment/customManifests/ConfigMapDetail.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/customManifests/ConfigMapForm.js +134 -0
- package/build/cjs/cim/components/ClusterDeployment/customManifests/ConfigMapForm.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/customManifests/index.js +5 -0
- package/build/cjs/cim/components/ClusterDeployment/customManifests/index.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentHostDiscoveryTable.js → hostDiscovery/ClusterDeploymentHostDiscoveryTable.js} +20 -13
- package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostDiscoveryTable.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentHostsDiscovery.js → hostDiscovery/ClusterDeploymentHostsDiscovery.js} +6 -6
- package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscovery.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentHostsDiscoveryStep.js → hostDiscovery/ClusterDeploymentHostsDiscoveryStep.js} +10 -9
- package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscoveryStep.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/index.js +5 -0
- package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/index.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentHostSelectionStep.js → hostSelection/ClusterDeploymentHostSelectionStep.js} +15 -14
- package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelection.js → hostSelection/ClusterDeploymentHostsSelection.js} +23 -14
- package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelection.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelectionAdvanced.js → hostSelection/ClusterDeploymentHostsSelectionAdvanced.js} +7 -6
- package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelectionAdvanced.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelectionBasic.js → hostSelection/ClusterDeploymentHostsSelectionBasic.js} +7 -7
- package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelectionBasic.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/hostSelection/index.js +6 -0
- package/build/cjs/cim/components/ClusterDeployment/hostSelection/index.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/index.js +4 -4
- package/build/cjs/cim/components/ClusterDeployment/index.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentHostsNetworkTable.js → networking/ClusterDeploymentHostsNetworkTable.js} +10 -10
- package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentHostsNetworkTable.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentNetworkingForm.js → networking/ClusterDeploymentNetworkingForm.js} +7 -10
- package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingForm.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentNetworkingStep.js → networking/ClusterDeploymentNetworkingStep.js} +10 -10
- package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingStep.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/networking/index.js +5 -0
- package/build/cjs/cim/components/ClusterDeployment/networking/index.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentReviewStep.js → review/ClusterDeploymentReviewStep.js} +21 -16
- package/build/cjs/cim/components/ClusterDeployment/review/ClusterDeploymentReviewStep.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/review/ReviewConfigMapsTable.js +51 -0
- package/build/cjs/cim/components/ClusterDeployment/review/ReviewConfigMapsTable.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/review/index.js +5 -0
- package/build/cjs/cim/components/ClusterDeployment/review/index.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/use-networking-formik.js +2 -3
- package/build/cjs/cim/components/ClusterDeployment/use-networking-formik.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/wizardTransition.js +1 -0
- package/build/cjs/cim/components/ClusterDeployment/wizardTransition.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.js +7 -12
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/modals/ManageHostsModal.js +2 -2
- package/build/cjs/cim/components/Hypershift/modals/ManageHostsModal.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/InfraEnvAgentTable.js +5 -2
- package/build/cjs/cim/components/InfraEnv/InfraEnvAgentTable.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/InfraTableToolbar.js +25 -3
- package/build/cjs/cim/components/InfraEnv/InfraTableToolbar.js.map +1 -1
- package/build/cjs/cim/components/helpers/agentClusterInstall.js +7 -1
- package/build/cjs/cim/components/helpers/agentClusterInstall.js.map +1 -1
- package/build/cjs/cim/components/helpers/agents.js +4 -1
- package/build/cjs/cim/components/helpers/agents.js.map +1 -1
- package/build/cjs/cim/components/helpers/toAssisted.js +43 -25
- package/build/cjs/cim/components/helpers/toAssisted.js.map +1 -1
- package/build/cjs/cim/components/helpers/versions.js +5 -1
- package/build/cjs/cim/components/helpers/versions.js.map +1 -1
- package/build/cjs/cim/components/modals/AddHostModal.js +10 -5
- package/build/cjs/cim/components/modals/AddHostModal.js.map +1 -1
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationFormFields.js +91 -0
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationFormFields.js.map +1 -0
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationModal.js +77 -121
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationModal.js.map +1 -1
- package/build/cjs/cim/components/modals/CimConfiguration/persist.js +44 -95
- package/build/cjs/cim/components/modals/CimConfiguration/persist.js.map +1 -1
- package/build/cjs/cim/components/modals/EditProxyModal.js +1 -1
- package/build/cjs/cim/components/modals/EditProxyModal.js.map +1 -1
- package/build/cjs/cim/components/modals/EditSSHKeyModal.js +1 -1
- package/build/cjs/cim/components/modals/EditSSHKeyModal.js.map +1 -1
- package/build/cjs/cim/components/modals/MassApproveAgentModal.js +3 -3
- package/build/cjs/cim/components/modals/MassApproveAgentModal.js.map +1 -1
- package/build/cjs/cim/hooks/index.js +6 -0
- package/build/cjs/cim/hooks/index.js.map +1 -0
- package/build/cjs/cim/hooks/types.js +3 -0
- package/build/cjs/cim/hooks/types.js.map +1 -0
- package/build/cjs/cim/hooks/useAgentServiceConfig.js +13 -0
- package/build/cjs/cim/hooks/useAgentServiceConfig.js.map +1 -0
- package/build/cjs/cim/hooks/useConfigMaps.js +12 -0
- package/build/cjs/cim/hooks/useConfigMaps.js.map +1 -0
- package/build/cjs/cim/hooks/useK8sWatchResource.js +12 -0
- package/build/cjs/cim/hooks/useK8sWatchResource.js.map +1 -0
- package/build/cjs/cim/types/index.js +1 -1
- package/build/cjs/cim/types/index.js.map +1 -1
- package/build/cjs/cim/types/models.js +54 -0
- package/build/cjs/cim/types/models.js.map +1 -0
- package/build/cjs/cim/utils.js +12 -1
- package/build/cjs/cim/utils.js.map +1 -1
- package/build/cjs/common/api/assisted-service/HostsAPI.js +0 -3
- package/build/cjs/common/api/assisted-service/HostsAPI.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/ControlPlaneNodesDropdown.js +10 -1
- package/build/cjs/common/components/clusterConfiguration/ControlPlaneNodesDropdown.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DownloadIso.js +2 -2
- package/build/cjs/common/components/clusterConfiguration/DownloadIso.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/ExternalPlatformsDropdown.js +49 -0
- package/build/cjs/common/components/clusterConfiguration/ExternalPlatformsDropdown.js.map +1 -0
- package/build/cjs/common/components/clusterConfiguration/SecurityFields.js +7 -5
- package/build/cjs/common/components/clusterConfiguration/SecurityFields.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/index.js +1 -0
- package/build/cjs/common/components/clusterConfiguration/index.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/clusterDetailsValidation.js +7 -7
- package/build/cjs/common/components/clusterWizard/clusterDetailsValidation.js.map +1 -1
- package/build/cjs/common/components/hosts/status.js +1 -2
- package/build/cjs/common/components/hosts/status.js.map +1 -1
- package/build/cjs/common/components/hosts/tableUtils.js +41 -1
- package/build/cjs/common/components/hosts/tableUtils.js.map +1 -1
- package/build/cjs/common/components/hosts/utils.js +5 -1
- package/build/cjs/common/components/hosts/utils.js.map +1 -1
- package/build/cjs/common/components/ui/OpenShiftSelectWithSearch.js +20 -139
- package/build/cjs/common/components/ui/OpenShiftSelectWithSearch.js.map +1 -1
- package/build/cjs/common/components/ui/OpenShiftVersionDropdown.js +10 -15
- package/build/cjs/common/components/ui/OpenShiftVersionDropdown.js.map +1 -1
- package/build/cjs/common/components/ui/OpenShiftVersionModal.js +8 -12
- package/build/cjs/common/components/ui/OpenShiftVersionModal.js.map +1 -1
- package/build/cjs/common/components/ui/formik/InputField.js +4 -5
- package/build/cjs/common/components/ui/formik/InputField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/SelectFieldWithSearch.js +153 -0
- package/build/cjs/common/components/ui/formik/SelectFieldWithSearch.js.map +1 -0
- package/build/cjs/common/components/ui/formik/index.js +3 -1
- package/build/cjs/common/components/ui/formik/index.js.map +1 -1
- package/build/cjs/common/components/ui/formik/validationSchemas.js +4 -8
- package/build/cjs/common/components/ui/formik/validationSchemas.js.map +1 -1
- package/build/cjs/common/config/docs_links.js +9 -3
- package/build/cjs/common/config/docs_links.js.map +1 -1
- package/build/cjs/common/utils.js +4 -3
- package/build/cjs/common/utils.js.map +1 -1
- package/build/cjs/ocm/components/Routes.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js +2 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.js +10 -15
- package/build/cjs/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/disconnected/BasicStep.js +2 -1
- package/build/cjs/ocm/components/clusterWizard/disconnected/BasicStep.js.map +1 -1
- package/build/cjs/ocm/components/clusters/AssistedInstallerHeader.js +1 -1
- package/build/cjs/ocm/components/clusters/AssistedInstallerHeader.js.map +1 -1
- package/build/cjs/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.js +14 -4
- package/build/cjs/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.js.map +1 -1
- package/build/cjs/ocm/services/HostsService.js +0 -6
- package/build/cjs/ocm/services/HostsService.js.map +1 -1
- package/lib/cim/components/Agent/AgentStatus.tsx +1 -1
- package/lib/cim/components/Agent/tableUtils.tsx +43 -13
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentWizard.tsx +15 -5
- package/lib/cim/components/ClusterDeployment/ScaleUpForm.tsx +1 -1
- package/lib/cim/components/ClusterDeployment/{ACMClusterDeploymentDetailsStep.tsx → clusterDetails/ACMClusterDeploymentDetailsStep.tsx} +6 -8
- package/lib/cim/components/ClusterDeployment/{ClusterDeploymentDetailsForm.tsx → clusterDetails/ClusterDeploymentDetailsForm.tsx} +17 -11
- package/lib/cim/components/ClusterDeployment/{ClusterDeploymentDetailsStep.tsx → clusterDetails/ClusterDeploymentDetailsStep.tsx} +9 -10
- package/lib/cim/components/ClusterDeployment/{ClusterDetailsFormFields.tsx → clusterDetails/ClusterDetailsFormFields.tsx} +22 -24
- package/lib/cim/components/ClusterDeployment/clusterDetails/index.tsx +4 -0
- package/lib/cim/components/ClusterDeployment/{AdditionalNTPSourcesDialogToggle.tsx → components/AdditionalNTPSourcesDialogToggle.tsx} +1 -1
- package/lib/cim/components/ClusterDeployment/components/index.tsx +1 -0
- package/lib/cim/components/ClusterDeployment/constants.ts +1 -0
- package/lib/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.tsx +128 -0
- package/lib/cim/components/ClusterDeployment/customManifests/ConfigMapDetail.tsx +191 -0
- package/lib/cim/components/ClusterDeployment/customManifests/ConfigMapForm.tsx +247 -0
- package/lib/cim/components/ClusterDeployment/customManifests/index.tsx +1 -0
- package/lib/cim/components/ClusterDeployment/{ClusterDeploymentHostDiscoveryTable.tsx → hostDiscovery/ClusterDeploymentHostDiscoveryTable.tsx} +23 -14
- package/lib/cim/components/ClusterDeployment/{ClusterDeploymentHostsDiscovery.tsx → hostDiscovery/ClusterDeploymentHostsDiscovery.tsx} +8 -8
- package/lib/cim/components/ClusterDeployment/{ClusterDeploymentHostsDiscoveryStep.tsx → hostDiscovery/ClusterDeploymentHostsDiscoveryStep.tsx} +10 -11
- package/lib/cim/components/ClusterDeployment/hostDiscovery/index.tsx +1 -0
- package/lib/cim/components/ClusterDeployment/{ClusterDeploymentHostSelectionStep.tsx → hostSelection/ClusterDeploymentHostSelectionStep.tsx} +17 -16
- package/lib/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelection.tsx → hostSelection/ClusterDeploymentHostsSelection.tsx} +33 -17
- package/lib/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelectionAdvanced.tsx → hostSelection/ClusterDeploymentHostsSelectionAdvanced.tsx} +10 -12
- package/lib/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelectionBasic.tsx → hostSelection/ClusterDeploymentHostsSelectionBasic.tsx} +9 -9
- package/lib/cim/components/ClusterDeployment/hostSelection/index.tsx +2 -0
- package/lib/cim/components/ClusterDeployment/index.ts +2 -2
- package/lib/cim/components/ClusterDeployment/{ClusterDeploymentHostsNetworkTable.tsx → networking/ClusterDeploymentHostsNetworkTable.tsx} +12 -12
- package/lib/cim/components/ClusterDeployment/{ClusterDeploymentNetworkingForm.tsx → networking/ClusterDeploymentNetworkingForm.tsx} +9 -13
- package/lib/cim/components/ClusterDeployment/{ClusterDeploymentNetworkingStep.tsx → networking/ClusterDeploymentNetworkingStep.tsx} +11 -13
- package/lib/cim/components/ClusterDeployment/networking/index.tsx +1 -0
- package/lib/cim/components/ClusterDeployment/{ClusterDeploymentReviewStep.tsx → review/ClusterDeploymentReviewStep.tsx} +36 -15
- package/lib/cim/components/ClusterDeployment/review/ReviewConfigMapsTable.tsx +70 -0
- package/lib/cim/components/ClusterDeployment/review/index.tsx +1 -0
- package/lib/cim/components/ClusterDeployment/types.ts +2 -0
- package/lib/cim/components/ClusterDeployment/use-networking-formik.ts +4 -4
- package/lib/cim/components/ClusterDeployment/wizardTransition.ts +2 -0
- package/lib/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.tsx +7 -12
- package/lib/cim/components/Hypershift/HostedClusterWizard/DetailsStep/types.ts +1 -1
- package/lib/cim/components/Hypershift/modals/ManageHostsModal.tsx +2 -2
- package/lib/cim/components/InfraEnv/InfraEnvAgentTable.tsx +11 -0
- package/lib/cim/components/InfraEnv/InfraTableToolbar.tsx +77 -1
- package/lib/cim/components/helpers/agentClusterInstall.ts +4 -0
- package/lib/cim/components/helpers/agents.ts +5 -1
- package/lib/cim/components/helpers/toAssisted.ts +27 -2
- package/lib/cim/components/helpers/versions.ts +7 -3
- package/lib/cim/components/modals/AddHostModal.tsx +13 -1
- package/lib/cim/components/modals/CimConfiguration/CimConfigurationFormFields.tsx +259 -0
- package/lib/cim/components/modals/CimConfiguration/CimConfigurationModal.tsx +170 -193
- package/lib/cim/components/modals/CimConfiguration/persist.ts +62 -125
- package/lib/cim/components/modals/CimConfiguration/types.ts +7 -22
- package/lib/cim/components/modals/EditProxyModal.tsx +1 -1
- package/lib/cim/components/modals/EditSSHKeyModal.tsx +1 -1
- package/lib/cim/components/modals/MassApproveAgentModal.tsx +2 -2
- package/lib/cim/hooks/index.tsx +2 -0
- package/lib/cim/hooks/types.tsx +8 -0
- package/lib/cim/hooks/useAgentServiceConfig.tsx +15 -0
- package/lib/cim/hooks/useConfigMaps.tsx +14 -0
- package/lib/cim/hooks/useK8sWatchResource.tsx +27 -0
- package/lib/cim/types/index.ts +1 -1
- package/lib/cim/types/k8s/agent-cluster-install.ts +1 -0
- package/lib/cim/types/models.tsx +56 -0
- package/lib/cim/utils.ts +12 -0
- package/lib/common/api/assisted-service/HostsAPI.ts +0 -5
- package/lib/common/components/clusterConfiguration/ControlPlaneNodesDropdown.tsx +10 -1
- package/lib/common/components/clusterConfiguration/DownloadIso.tsx +3 -1
- package/lib/common/components/clusterConfiguration/ExternalPlatformsDropdown.tsx +88 -0
- package/lib/common/components/clusterConfiguration/SecurityFields.tsx +13 -6
- package/lib/common/components/clusterConfiguration/index.ts +1 -0
- package/lib/common/components/clusterWizard/clusterDetailsValidation.ts +7 -7
- package/lib/common/components/clusterWizard/types.ts +1 -2
- package/lib/common/components/hosts/status.tsx +1 -2
- package/lib/common/components/hosts/tableUtils.tsx +48 -0
- package/lib/common/components/hosts/utils.ts +4 -0
- package/lib/common/components/ui/OpenShiftSelectWithSearch.tsx +38 -239
- package/lib/common/components/ui/OpenShiftVersionDropdown.tsx +14 -23
- package/lib/common/components/ui/OpenShiftVersionModal.tsx +12 -16
- package/lib/common/components/ui/formik/InputField.tsx +16 -12
- package/lib/common/components/ui/formik/SelectFieldWithSearch.tsx +278 -0
- package/lib/common/components/ui/formik/index.tsx +1 -0
- package/lib/common/components/ui/formik/types.ts +2 -2
- package/lib/common/components/ui/formik/validationSchemas.ts +7 -9
- package/lib/common/config/docs_links.ts +9 -6
- package/lib/common/utils.ts +1 -1
- package/lib/ocm/components/Routes.tsx +9 -7
- package/lib/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.tsx +17 -16
- package/lib/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.tsx +2 -2
- package/lib/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.tsx +13 -18
- package/lib/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.ts +2 -2
- package/lib/ocm/components/clusterWizard/disconnected/BasicStep.tsx +4 -2
- package/lib/ocm/components/clusterWizard/disconnected/ReviewStep.tsx +1 -1
- package/lib/ocm/components/clusters/AssistedInstallerHeader.tsx +2 -2
- package/lib/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.tsx +23 -4
- package/lib/ocm/services/HostsService.ts +0 -8
- package/package.json +5 -5
- package/build/@types/cim/components/ClusterDeployment/ACMClusterDeploymentDetailsStep.d.ts.map +0 -1
- package/build/@types/cim/components/ClusterDeployment/AdditionalNTPSourcesDialogToggle.d.ts.map +0 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentDetailsForm.d.ts.map +0 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentDetailsStep.d.ts.map +0 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostDiscoveryTable.d.ts.map +0 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostSelectionStep.d.ts.map +0 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscovery.d.ts.map +0 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscoveryStep.d.ts +0 -5
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscoveryStep.d.ts.map +0 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsNetworkTable.d.ts.map +0 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsSelection.d.ts.map +0 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsSelectionAdvanced.d.ts.map +0 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsSelectionBasic.d.ts.map +0 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentNetworkingForm.d.ts.map +0 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentNetworkingStep.d.ts.map +0 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentReviewStep.d.ts.map +0 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDetailsFormFields.d.ts.map +0 -1
- package/build/@types/cim/components/modals/CimConfiguration/CimConfigurationForm.d.ts +0 -5
- package/build/@types/cim/components/modals/CimConfiguration/CimConfigurationForm.d.ts.map +0 -1
- package/build/@types/cim/types/resources.d.ts +0 -45
- package/build/@types/cim/types/resources.d.ts.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/ACMClusterDeploymentDetailsStep.js.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/AdditionalNTPSourcesDialogToggle.js.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetailsForm.js.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetailsStep.js.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostDiscoveryTable.js.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostSelectionStep.js.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscovery.js.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscoveryStep.js.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsNetworkTable.js.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsSelection.js.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsSelectionAdvanced.js.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsSelectionBasic.js.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentNetworkingForm.js.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentNetworkingStep.js.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentReviewStep.js.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDetailsFormFields.js.map +0 -1
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationForm.css +0 -23
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationForm.js +0 -85
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationForm.js.map +0 -1
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationModal.css +0 -3
- package/build/cjs/cim/types/resources.js +0 -10
- package/build/cjs/cim/types/resources.js.map +0 -1
- package/lib/cim/components/modals/CimConfiguration/CimConfigurationForm.css +0 -23
- package/lib/cim/components/modals/CimConfiguration/CimConfigurationForm.tsx +0 -290
- package/lib/cim/components/modals/CimConfiguration/CimConfigurationModal.css +0 -3
- package/lib/cim/types/resources.ts +0 -50
- /package/build/@types/cim/components/ClusterDeployment/{AdditionalNTPSourcesDialogToggle.d.ts → components/AdditionalNTPSourcesDialogToggle.d.ts} +0 -0
|
@@ -35,7 +35,7 @@ exports.getNetworkInitialValues = getNetworkInitialValues;
|
|
|
35
35
|
const getNetworkConfigurationValidationSchema = (initialValues, hostSubnets, openshiftVersion) => Yup.lazy((values) => Yup.object().shape({
|
|
36
36
|
apiVips: (0, common_1.vipArrayValidationSchema)(hostSubnets, values, initialValues.apiVips),
|
|
37
37
|
ingressVips: (0, common_1.vipArrayValidationSchema)(hostSubnets, values, initialValues.ingressVips),
|
|
38
|
-
sshPublicKey: common_1.
|
|
38
|
+
sshPublicKey: common_1.sshPublicKeyValidationSchema,
|
|
39
39
|
machineNetworks: values.managedNetworkingType === 'userManaged'
|
|
40
40
|
? Yup.array()
|
|
41
41
|
: common_1.machineNetworksValidationSchema.when('stackType', {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"networkConfigurationValidation.js","sourceRoot":"","sources":["../../../../../../lib/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.ts"],"names":[],"mappings":";;;;AAAA,iDAA2B;AAC3B,+CAe4B;AAQrB,MAAM,uBAAuB,GAAG,CACrC,OAAgB,EAChB,oBAMC,EACD,qCAA8C,EAClB,EAAE;;IAC9B,MAAM,YAAY,GAAG,IAAA,cAAK,EAAC,OAAO,CAAC,CAAC;IACpC,MAAM,eAAe,GAAG,IAAA,oBAAW,EAAC,OAAO,CAAC,CAAC;IAE7C,OAAO;QACL,OAAO,EAAE,OAAO,CAAC,OAAO;QACxB,WAAW,EAAE,OAAO,CAAC,WAAW;QAChC,YAAY,EAAE,OAAO,CAAC,YAAY,IAAI,EAAE;QACxC,iBAAiB,EAAE,OAAO,CAAC,iBAAiB;QAC5C,qBAAqB,EACnB,CAAA,MAAA,OAAO,CAAC,QAAQ,0CAAE,IAAI,MAAK,MAAM;YACjC,CAAC,OAAO,CAAC,OAAO,IAAI,OAAO,CAAC,OAAO,CAAC,MAAM,KAAK,CAAC,IAAI,qCAAqC,CAAC;YAC1F,YAAY;YACV,CAAC,CAAC,aAAa;YACf,CAAC,CAAC,gBAAgB;QACtB,WAAW,EAAE,OAAO,CAAC,WAAW,IAAI,yBAAgB;QACpD,eAAe,EAAE,OAAO,CAAC,eAAe,IAAI,EAAE;QAC9C,SAAS,EAAE,eAAe,CAAC,CAAC,CAAC,mBAAU,CAAC,CAAC,CAAC,mBAAU;QACpD,eAAe,EACb,OAAO,CAAC,eAAe;YACvB,CAAC,eAAe;gBACd,CAAC,CAAC,oBAAoB,CAAC,wBAAwB;gBAC/C,CAAC,CAAC,MAAA,oBAAoB,CAAC,mBAAmB,0CAAE,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,iCACtD,OAAO,KACV,SAAS,EAAE,OAAO,CAAC,EAAE,IACrB,CAAC,CAAC;QACV,eAAe,EACb,OAAO,CAAC,eAAe;YACvB,CAAC,eAAe;gBACd,CAAC,CAAC,oBAAoB,CAAC,wBAAwB;gBAC/C,CAAC,CAAC,MAAA,oBAAoB,CAAC,mBAAmB,0CAAE,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,iCACtD,OAAO,KACV,SAAS,EAAE,OAAO,CAAC,EAAE,IACrB,CAAC,CAAC;KACX,CAAC;AACJ,CAAC,CAAC;AA7CW,QAAA,uBAAuB,2BA6ClC;AAEK,MAAM,uCAAuC,GAAG,CACrD,aAAyC,EACzC,WAAwB,EACxB,gBAAyB,EACzB,EAAE,CACF,GAAG,CAAC,IAAI,CAAC,CAAC,MAAkC,EAAE,EAAE,CAC9C,GAAG,CAAC,MAAM,EAA8B,CAAC,KAAK,CAAC;IAC7C,OAAO,EAAE,IAAA,iCAAwB,EAAS,WAAW,EAAE,MAAM,EAAE,aAAa,CAAC,OAAO,CAAC;IACrF,WAAW,EAAE,IAAA,iCAAwB,EACnC,WAAW,EACX,MAAM,EACN,aAAa,CAAC,WAAW,CAC1B;IACD,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"networkConfigurationValidation.js","sourceRoot":"","sources":["../../../../../../lib/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.ts"],"names":[],"mappings":";;;;AAAA,iDAA2B;AAC3B,+CAe4B;AAQrB,MAAM,uBAAuB,GAAG,CACrC,OAAgB,EAChB,oBAMC,EACD,qCAA8C,EAClB,EAAE;;IAC9B,MAAM,YAAY,GAAG,IAAA,cAAK,EAAC,OAAO,CAAC,CAAC;IACpC,MAAM,eAAe,GAAG,IAAA,oBAAW,EAAC,OAAO,CAAC,CAAC;IAE7C,OAAO;QACL,OAAO,EAAE,OAAO,CAAC,OAAO;QACxB,WAAW,EAAE,OAAO,CAAC,WAAW;QAChC,YAAY,EAAE,OAAO,CAAC,YAAY,IAAI,EAAE;QACxC,iBAAiB,EAAE,OAAO,CAAC,iBAAiB;QAC5C,qBAAqB,EACnB,CAAA,MAAA,OAAO,CAAC,QAAQ,0CAA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,CAAC,SAAkD,EAAE,EAAE,CAAC,SAAS,KAAK,mBAAU;QACpF,IAAI,EAAE,GAAG,EAAE,CAAC,uCAA8B,CAAC,MAAM,CAAC,6BAAoB,CAAC;QACvE,SAAS,EAAE,GAAG,EAAE;;YACd,OAAA,MAAM,CAAC,eAAe,IAAI,CAAA,MAAA,MAAM,CAAC,eAAe,0CAAE,MAAM,KAAI,CAAC;gBAC3D,CAAC,CAAC,uCAA8B,CAAC,MAAM,CACnC,IAAA,kCAAyB,EAAC,iBAAiB,EAAE,gBAAgB,CAAC,CAC/D;gBACH,CAAC,CAAC,GAAG,CAAC,KAAK,EAAE,CAAA;SAAA;KAClB,CAAC;CACH,CAAC,CACH,CAAC;AAhDS,QAAA,uCAAuC,2CAgDhD"}
|
|
@@ -21,7 +21,8 @@ const BasicStep = () => {
|
|
|
21
21
|
React.createElement(WithErrorBoundary_1.WithErrorBoundary, { title: "Failed to load Basic step" },
|
|
22
22
|
React.createElement(react_core_1.Grid, { hasGutter: true },
|
|
23
23
|
React.createElement(react_core_1.GridItem, null,
|
|
24
|
-
React.createElement(react_core_1.Content, { component: "h2" }, "Basic information"),
|
|
24
|
+
React.createElement(react_core_1.Content, { component: "h2" }, "Basic information")),
|
|
25
|
+
React.createElement(react_core_1.GridItem, null,
|
|
25
26
|
React.createElement(react_core_1.Flex, { alignItems: { default: 'alignItemsCenter' }, gap: { default: 'gapSm' } },
|
|
26
27
|
React.createElement(common_1.TechnologyPreview, null),
|
|
27
28
|
React.createElement(InstallDisconnectedSwitch_1.default, null),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BasicStep.js","sourceRoot":"","sources":["../../../../../../lib/ocm/components/clusterWizard/disconnected/BasicStep.tsx"],"names":[],"mappings":";;;AAAA,qDAA+B;AAC/B,+CAO4B;AAC5B,uDAA6E;AAC7E,iHAAiF;AACjF,kEAAkE;AAClE,yFAAyD;AACzD,iGAAiE;AACjE,qGAAkG;AAClG,oGAAoE;AACpE,mCAAgC;AAEhC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,uBAAc,GAAE,CAAC;IAC/B,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAA,8CAAuB,GAAE,CAAC;IAE/C,OAAO,CACL,oBAAC,eAAM,IACL,aAAa,EAAE,EAAE,EACjB,QAAQ,EAAE,GAAG,EAAE;YACb,gBAAgB;QAClB,CAAC;QAED,oBAAC,0BAAiB,IAChB,UAAU,EAAE,oBAAC,iCAAuB,OAAG,EACvC,MAAM,EAAE,oBAAC,6BAAmB,IAAC,MAAM,EAAE,QAAQ,GAAI;YAEjD,oBAAC,qCAAiB,IAAC,KAAK,EAAC,2BAA2B;gBAClD,oBAAC,iBAAI,IAAC,SAAS;oBACb,oBAAC,qBAAQ;wBACP,oBAAC,oBAAO,IAAC,SAAS,EAAC,IAAI,wBAA4B;
|
|
1
|
+
{"version":3,"file":"BasicStep.js","sourceRoot":"","sources":["../../../../../../lib/ocm/components/clusterWizard/disconnected/BasicStep.tsx"],"names":[],"mappings":";;;AAAA,qDAA+B;AAC/B,+CAO4B;AAC5B,uDAA6E;AAC7E,iHAAiF;AACjF,kEAAkE;AAClE,yFAAyD;AACzD,iGAAiE;AACjE,qGAAkG;AAClG,oGAAoE;AACpE,mCAAgC;AAEhC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,uBAAc,GAAE,CAAC;IAC/B,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAA,8CAAuB,GAAE,CAAC;IAE/C,OAAO,CACL,oBAAC,eAAM,IACL,aAAa,EAAE,EAAE,EACjB,QAAQ,EAAE,GAAG,EAAE;YACb,gBAAgB;QAClB,CAAC;QAED,oBAAC,0BAAiB,IAChB,UAAU,EAAE,oBAAC,iCAAuB,OAAG,EACvC,MAAM,EAAE,oBAAC,6BAAmB,IAAC,MAAM,EAAE,QAAQ,GAAI;YAEjD,oBAAC,qCAAiB,IAAC,KAAK,EAAC,2BAA2B;gBAClD,oBAAC,iBAAI,IAAC,SAAS;oBACb,oBAAC,qBAAQ;wBACP,oBAAC,oBAAO,IAAC,SAAS,EAAC,IAAI,wBAA4B,CAC1C;oBACX,oBAAC,qBAAQ;wBACP,oBAAC,iBAAI,IAAC,UAAU,EAAE,EAAE,OAAO,EAAE,kBAAkB,EAAE,EAAE,GAAG,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE;4BAC1E,oBAAC,0BAAiB,OAAG;4BACrB,oBAAC,mCAAyB,OAAG;4BAC7B,kCACG,CAAC,CAAC,oEAAoE,CAAC,CACnE,CACF,CACE;oBACX,oBAAC,qBAAQ;wBACP,oBAAC,iBAAI,IAAC,EAAE,EAAC,iCAAiC;4BACxC,oBAAC,6BAAmB,IAAC,gBAAgB,EAAC,MAAM,EAAC,eAAe,QAAC,aAAa;gCACxE,oBAAC,qBAAY,IAAC,IAAI,EAAE,GAAG,MAAM,CAAC,QAAQ,CAAC,MAAM,IAAI,0BAAiB,EAAE;oCAClE,8CAAmB,yBAAyB,IACzC,CAAC,CAAC,wCAAwC,CAAC,CACvC,CACM,CACK;4BACtB,oBAAC,wBAAe,IAAC,IAAI,EAAC,iBAAiB,EAAC,KAAK,EAAC,kBAAkB,EAAC,UAAU,mBAEzD,CACb,CACE,CACN,CACW,CACF,CACb,CACV,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,SAAS,CAAC"}
|
|
@@ -10,7 +10,7 @@ const AssistedInstallerHeader = () => {
|
|
|
10
10
|
const isSingleClusterFeatureEnabled = (0, use_feature_1.useFeature)('ASSISTED_INSTALLER_SINGLE_CLUSTER_FEATURE');
|
|
11
11
|
return (react_1.default.createElement(react_1.default.Fragment, null,
|
|
12
12
|
react_1.default.createElement(react_core_1.Content, { component: "h1", className: "pf-v6-u-display-inline" }, "Install OpenShift with the Assisted Installer"),
|
|
13
|
-
isSingleClusterFeatureEnabled && react_1.default.createElement(common_1.
|
|
13
|
+
isSingleClusterFeatureEnabled && react_1.default.createElement(common_1.TechnologyPreview, null),
|
|
14
14
|
react_1.default.createElement(react_core_1.Split, { hasGutter: true },
|
|
15
15
|
react_1.default.createElement(react_core_1.SplitItem, null,
|
|
16
16
|
react_1.default.createElement(common_1.ExternalLink, { href: common_1.ASSISTED_INSTALLER_DOCUMENTATION_LINK }, "Assisted Installer documentation")),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AssistedInstallerHeader.js","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusters/AssistedInstallerHeader.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,uDAAmE;AACnE,4CAKyB;AACzB,yDAAqD;AAE9C,MAAM,uBAAuB,GAAG,GAAG,EAAE;IAC1C,MAAM,6BAA6B,GAAG,IAAA,wBAAU,EAAC,2CAA2C,CAAC,CAAC;IAC9F,OAAO,CACL;QACE,8BAAC,oBAAO,IAAC,SAAS,EAAC,IAAI,EAAC,SAAS,EAAC,wBAAwB,oDAEhD;QACT,6BAA6B,IAAI,8BAAC,
|
|
1
|
+
{"version":3,"file":"AssistedInstallerHeader.js","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusters/AssistedInstallerHeader.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,uDAAmE;AACnE,4CAKyB;AACzB,yDAAqD;AAE9C,MAAM,uBAAuB,GAAG,GAAG,EAAE;IAC1C,MAAM,6BAA6B,GAAG,IAAA,wBAAU,EAAC,2CAA2C,CAAC,CAAC;IAC9F,OAAO,CACL;QACE,8BAAC,oBAAO,IAAC,SAAS,EAAC,IAAI,EAAC,SAAS,EAAC,wBAAwB,oDAEhD;QACT,6BAA6B,IAAI,8BAAC,0BAAiB,OAAG;QACvD,8BAAC,kBAAK,IAAC,SAAS;YACd,8BAAC,sBAAS;gBACR,8BAAC,qBAAY,IAAC,IAAI,EAAE,8CAAqC,uCAE1C,CACL;YACX,gBAAO,IAAI,CACV,8BAAC,sBAAS;gBACR,8BAAC,oBAAO,IAAC,SAAS,EAAC,GAAG,iBAAa,gBAAgB,EAAC,MAAM,EAAE,IAAI,wCAEtD,CACA,CACb,CACK,CACP,CACJ,CAAC;AACJ,CAAC,CAAC;AAxBW,QAAA,uBAAuB,2BAwBlC"}
|
|
@@ -17,6 +17,7 @@ const WithErrorBoundary_1 = require("../../../common/components/ErrorHandling/Wi
|
|
|
17
17
|
const use_translation_wrapper_1 = require("../../../common/hooks/use-translation-wrapper");
|
|
18
18
|
const OpenShiftVersionsContext_1 = require("../clusterWizard/OpenShiftVersionsContext");
|
|
19
19
|
const newFeatureSupportLevels_1 = require("../../../common/components/newFeatureSupportLevels");
|
|
20
|
+
const use_feature_1 = require("../../hooks/use-feature");
|
|
20
21
|
const getFeatureReviewText = (featureId) => {
|
|
21
22
|
switch (featureId) {
|
|
22
23
|
case 'SNO':
|
|
@@ -81,13 +82,15 @@ const getFeatureSupportLevelTitle = (fullySupported) => {
|
|
|
81
82
|
return `Cluster support level: ${supportLevel}`;
|
|
82
83
|
};
|
|
83
84
|
exports.getFeatureSupportLevelTitle = getFeatureSupportLevelTitle;
|
|
84
|
-
const getSupportLevelInfo = (cluster, featureSupportLevelData, isSupportedOpenShiftVersion, t) => {
|
|
85
|
+
const getSupportLevelInfo = (cluster, featureSupportLevelData, isSupportedOpenShiftVersion, t, isSingleClusterFeatureEnabled) => {
|
|
85
86
|
const limitedClusterFeatures = (0, utils_1.getLimitedFeatureSupportLevels)(cluster, featureSupportLevelData, t);
|
|
86
87
|
const hasSupportedVersion = isSupportedOpenShiftVersion(cluster.openshiftVersion);
|
|
87
88
|
return {
|
|
88
89
|
limitedClusterFeatures,
|
|
89
90
|
hasSupportedVersion,
|
|
90
|
-
isFullySupported: hasSupportedVersion &&
|
|
91
|
+
isFullySupported: hasSupportedVersion &&
|
|
92
|
+
Object.keys(limitedClusterFeatures || {}).length === 0 &&
|
|
93
|
+
!isSingleClusterFeatureEnabled,
|
|
91
94
|
};
|
|
92
95
|
};
|
|
93
96
|
exports.getSupportLevelInfo = getSupportLevelInfo;
|
|
@@ -95,11 +98,18 @@ const SupportLevel = ({ cluster }) => {
|
|
|
95
98
|
const { t } = (0, use_translation_wrapper_1.useTranslation)();
|
|
96
99
|
const featureSupportLevelData = (0, newFeatureSupportLevels_1.useNewFeatureSupportLevel)();
|
|
97
100
|
const { isSupportedOpenShiftVersion } = (0, OpenShiftVersionsContext_1.useOpenShiftVersionsContext)();
|
|
98
|
-
const
|
|
101
|
+
const isSingleClusterFeatureEnabled = (0, use_feature_1.useFeature)('ASSISTED_INSTALLER_SINGLE_CLUSTER_FEATURE');
|
|
102
|
+
const { limitedClusterFeatures, hasSupportedVersion, isFullySupported } = react_1.default.useMemo(() => (0, exports.getSupportLevelInfo)(cluster, featureSupportLevelData, isSupportedOpenShiftVersion, t, isSingleClusterFeatureEnabled), [
|
|
103
|
+
cluster,
|
|
104
|
+
featureSupportLevelData,
|
|
105
|
+
t,
|
|
106
|
+
isSupportedOpenShiftVersion,
|
|
107
|
+
isSingleClusterFeatureEnabled,
|
|
108
|
+
]);
|
|
99
109
|
if (!limitedClusterFeatures) {
|
|
100
110
|
return null;
|
|
101
111
|
}
|
|
102
|
-
return (react_1.default.createElement(common_1.DetailItem, { title: (0, exports.getFeatureSupportLevelTitle)(isFullySupported), value: isFullySupported ? (react_1.default.createElement(exports.FullySupportedCluster, null)) : (react_1.default.createElement(exports.LimitedSupportedCluster, { clusterFeatureSupportLevels: limitedClusterFeatures, showVersionWarning: !hasSupportedVersion })), classNameValue: 'pf-v6-u-mb-md', testId: "feature-support-levels" }));
|
|
112
|
+
return (react_1.default.createElement(common_1.DetailItem, { title: (0, exports.getFeatureSupportLevelTitle)(isFullySupported), value: isFullySupported ? (react_1.default.createElement(exports.FullySupportedCluster, null)) : (react_1.default.createElement(exports.LimitedSupportedCluster, { clusterFeatureSupportLevels: limitedClusterFeatures, showVersionWarning: !hasSupportedVersion || isSingleClusterFeatureEnabled })), classNameValue: 'pf-v6-u-mb-md', testId: "feature-support-levels" }));
|
|
103
113
|
};
|
|
104
114
|
const ClusterFeatureSupportLevelsDetailItem = (_a) => {
|
|
105
115
|
var props = tslib_1.__rest(_a, []);
|
package/build/cjs/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReviewClusterFeatureSupportLevels.js","sourceRoot":"","sources":["../../../../../lib/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.tsx"],"names":[],"mappings":";;;;AAAA,+FAA0F;AAC1F,6FAAwF;AACxF,0DAA0B;AAC1B,kIAA0I;AAC1I,oHAA8H;AAC9H,uDAAiD;AACjD,iDAK+B;AAC/B,kEAA4E;AAC5E,sGAAsE;AAEtE,4CAAqD;AACrD,oFAA0G;AAC1G,kGAA+F;AAC/F,2FAA+E;AAC/E,wFAAwF;AAExF,gGAG4D;
|
|
1
|
+
{"version":3,"file":"ReviewClusterFeatureSupportLevels.js","sourceRoot":"","sources":["../../../../../lib/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.tsx"],"names":[],"mappings":";;;;AAAA,+FAA0F;AAC1F,6FAAwF;AACxF,0DAA0B;AAC1B,kIAA0I;AAC1I,oHAA8H;AAC9H,uDAAiD;AACjD,iDAK+B;AAC/B,kEAA4E;AAC5E,sGAAsE;AAEtE,4CAAqD;AACrD,oFAA0G;AAC1G,kGAA+F;AAC/F,2FAA+E;AAC/E,wFAAwF;AAExF,gGAG4D;AAC5D,yDAAqD;AAErD,MAAM,oBAAoB,GAAG,CAAC,SAAoB,EAAU,EAAE;IAC5D,QAAQ,SAAS,EAAE;QACjB,KAAK,KAAK;YACR,OAAO,qCAAqC,CAAC;QAC/C,KAAK,gBAAgB;YACnB,OAAO,8BAA8B,CAAC;QACxC,KAAK,oBAAoB;YACvB,OAAO,sCAAsC,CAAC;QAChD;YACE,OAAO,SAAS,CAAC;KACpB;AACH,CAAC,CAAC;AAEF,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AC,mBAAmB,IAAI,6BAA6B,GACzE,CACH,EAEH,cAAc,EAAE,eAAe,EAC/B,MAAM,EAAC,wBAAwB,GAC/B,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,qCAAqC,GAAG,CAAC,EAA+B,EAAE,EAAE;QAA9B,KAAK,sBAAV,EAAY,CAAF;IAA0B,OAAA,CACjF,8BAAC,qCAAiB,IAAC,KAAK,EAAC,uCAAuC;QAC9D,8BAAC,YAAY,oBAAK,KAAK,EAAI,CACT,CACrB,CAAA;CAAA,CAAC;AACF,kBAAe,qCAAqC,CAAC"}
|
|
@@ -69,12 +69,6 @@ const HostsService = {
|
|
|
69
69
|
}
|
|
70
70
|
return apis_1.HostsAPI.bindHost(host.infraEnvId, host.id, clusterId);
|
|
71
71
|
},
|
|
72
|
-
unbind(host) {
|
|
73
|
-
if (!host.infraEnvId) {
|
|
74
|
-
throw new Error(`Cannot unbind host ${host.id}, missing infraEnvId`);
|
|
75
|
-
}
|
|
76
|
-
return apis_1.HostsAPI.unbindHost(host.infraEnvId, host.id);
|
|
77
|
-
},
|
|
78
72
|
installAll(hosts) {
|
|
79
73
|
const promises = [];
|
|
80
74
|
for (const host of hosts) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HostsService.js","sourceRoot":"","sources":["../../../../lib/ocm/services/HostsService.ts"],"names":[],"mappings":";;AAOA,2CAA4C;AAE5C,MAAM,YAAY,GAAG;IACnB;;;;OAIG;IACH,SAAS,CAAC,KAAa;QACrB,MAAM,QAAQ,GAAG,EAAE,CAAC;QAEpB,KAAK,MAAM,EAAE,EAAE,EAAE,UAAU,EAAE,IAAI,KAAK,EAAE;YACtC,oEAAoE;YACpE,QAAQ,CAAC,IAAI,CAAC,eAAQ,CAAC,UAAU,CAAC,UAAW,EAAE,EAAE,CAAC,CAAC,CAAC;SACrD;QAED,OAAO,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IAC/B,CAAC;IAED,MAAM,CAAC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C;IACxD,CAAC;IAED,IAAI,CAAC,IAAU,EAAE,SAAwB;QACvC,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE;YACpB,MAAM,IAAI,KAAK,CAAC,oBAAoB,IAAI,CAAC,EAAE,sBAAsB,CAAC,CAAC;SACpE;QAED,OAAO,eAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,EAAE,EAAE,SAAS,CAAC,CAAC;IAChE,CAAC;IAED,UAAU,CAAC,KAAa;QACtB,MAAM,QAAQ,GAAG,EAAE,CAAC;QACpB,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE;YACxB,QAAQ,CAAC,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;SAC3C;QAED,OAAO,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IAC/B,CAAC;CACF,CAAC;AAEF,kBAAe,YAAY,CAAC"}
|
|
@@ -7,7 +7,7 @@ import { getAIHosts } from '../helpers/toAssisted';
|
|
|
7
7
|
import { getAgentStatus, getWizardStepAgentStatus } from '../helpers/status';
|
|
8
8
|
|
|
9
9
|
import '@patternfly/react-styles/css/utilities/Text/text.css';
|
|
10
|
-
import { AdditionalNTPSourcesDialogToggle } from '../ClusterDeployment/
|
|
10
|
+
import { AdditionalNTPSourcesDialogToggle } from '../ClusterDeployment/components';
|
|
11
11
|
import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
|
|
12
12
|
import ValidationsRunningAlert from '../common/ValidationsRunningAlert';
|
|
13
13
|
import { agentStatus } from '../helpers/agentStatus';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { Link } from 'react-router-dom-v5-compat';
|
|
3
|
+
import countBy from 'lodash-es/countBy';
|
|
3
4
|
|
|
4
5
|
import {
|
|
5
6
|
HostsTableActions,
|
|
@@ -25,7 +26,7 @@ import {
|
|
|
25
26
|
getBMHStatusKey,
|
|
26
27
|
getWizardStepAgentStatus,
|
|
27
28
|
} from '../helpers/status';
|
|
28
|
-
import { filterByHostname } from '../../../common/components/hosts/utils';
|
|
29
|
+
import { filterByHostname, getHostLabels } from '../../../common/components/hosts/utils';
|
|
29
30
|
import { agentStatus } from '../helpers/agentStatus';
|
|
30
31
|
import noop from 'lodash-es/noop.js';
|
|
31
32
|
import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
|
|
@@ -318,17 +319,6 @@ export const canUnbindAgent = (
|
|
|
318
319
|
}
|
|
319
320
|
|
|
320
321
|
const statusKey = getAgentStatusKey(agent);
|
|
321
|
-
if (
|
|
322
|
-
[
|
|
323
|
-
'preparing-for-installation',
|
|
324
|
-
'installing',
|
|
325
|
-
'installing-in-progress',
|
|
326
|
-
'installing-pending-user-action',
|
|
327
|
-
'resetting-pending-user-action',
|
|
328
|
-
].includes(statusKey)
|
|
329
|
-
) {
|
|
330
|
-
return [false, t('ai:It is not possible to remove a host which is being installed.')];
|
|
331
|
-
}
|
|
332
322
|
|
|
333
323
|
if (
|
|
334
324
|
['installed', 'error', 'cancelled'].includes(statusKey) &&
|
|
@@ -401,6 +391,7 @@ export const useAgentsTable = (
|
|
|
401
391
|
} = tableActions || {};
|
|
402
392
|
const { t } = useTranslation();
|
|
403
393
|
const agentStatuses = agentStatus(t);
|
|
394
|
+
|
|
404
395
|
const [hosts, actions] = React.useMemo(
|
|
405
396
|
(): [Host[], HostsTableActions] => [
|
|
406
397
|
getAIHosts(agents, bmhs, infraEnv),
|
|
@@ -548,6 +539,22 @@ const filterByStatus = (
|
|
|
548
539
|
});
|
|
549
540
|
};
|
|
550
541
|
|
|
542
|
+
const filterByLabels = (hosts: Host[], labelFilter: string[]) => {
|
|
543
|
+
if (!labelFilter.length) {
|
|
544
|
+
return hosts;
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
return hosts.filter((h) => {
|
|
548
|
+
const labels = getHostLabels(h);
|
|
549
|
+
|
|
550
|
+
return labelFilter.some((l) =>
|
|
551
|
+
Object.entries(labels)
|
|
552
|
+
.map(([key, value]) => `${key} = ${value}`)
|
|
553
|
+
.includes(l),
|
|
554
|
+
);
|
|
555
|
+
});
|
|
556
|
+
};
|
|
557
|
+
|
|
551
558
|
export const filterHosts = (
|
|
552
559
|
hosts: Host[],
|
|
553
560
|
agents: AgentK8sResource[],
|
|
@@ -555,11 +562,26 @@ export const filterHosts = (
|
|
|
555
562
|
bareMetalHosts: BareMetalHostK8sResource[],
|
|
556
563
|
hostnameFilter: string | undefined,
|
|
557
564
|
statusFilter: string[],
|
|
565
|
+
labelFilter: string[],
|
|
558
566
|
) => {
|
|
559
567
|
const { hosts: byHostname, sorted } = filterByHostname(hosts, hostnameFilter);
|
|
560
568
|
const byStatus = filterByStatus(byHostname, agents, agentStatuses, bareMetalHosts, statusFilter);
|
|
569
|
+
const byLabels = filterByLabels(byStatus, labelFilter);
|
|
561
570
|
|
|
562
|
-
return { hosts:
|
|
571
|
+
return { hosts: byLabels, sorted };
|
|
572
|
+
};
|
|
573
|
+
|
|
574
|
+
const getAllLabels = (hosts: Host[]) => {
|
|
575
|
+
const labelArray = hosts
|
|
576
|
+
.map((host) => {
|
|
577
|
+
const labels = getHostLabels(host);
|
|
578
|
+
|
|
579
|
+
return Object.entries(labels).map(([key, val]) => `${key} = ${val}`);
|
|
580
|
+
})
|
|
581
|
+
.flat()
|
|
582
|
+
.sort();
|
|
583
|
+
|
|
584
|
+
return countBy(labelArray);
|
|
563
585
|
};
|
|
564
586
|
|
|
565
587
|
type UseAgentsFilterArgs = {
|
|
@@ -581,10 +603,12 @@ export const useAgentsFilter = ({
|
|
|
581
603
|
}: UseAgentsFilterArgs) => {
|
|
582
604
|
const [hostnameFilter, setHostnameFilter] = React.useState<string>();
|
|
583
605
|
const [statusFilter, setStatusFilter] = React.useState<string[]>([]);
|
|
606
|
+
const [labelFilter, setLabelFilter] = React.useState<string[]>([]);
|
|
584
607
|
const statusCount = Object.keys(agentStatuses).reduce((acc, curr) => {
|
|
585
608
|
acc[agentStatuses[curr].title] = 0;
|
|
586
609
|
return acc;
|
|
587
610
|
}, {} as StatusCount);
|
|
611
|
+
|
|
588
612
|
hosts.forEach((host) => {
|
|
589
613
|
const agent = agents.find((a) => a.metadata?.uid === host.id);
|
|
590
614
|
const bmh = bmhs.find((bmh) => bmh.metadata?.uid === host.id);
|
|
@@ -597,6 +621,8 @@ export const useAgentsFilter = ({
|
|
|
597
621
|
}
|
|
598
622
|
});
|
|
599
623
|
|
|
624
|
+
const hostLabels = getAllLabels(hosts);
|
|
625
|
+
|
|
600
626
|
const { hosts: filteredHosts, sorted } = filterHosts(
|
|
601
627
|
hosts,
|
|
602
628
|
agents,
|
|
@@ -604,6 +630,7 @@ export const useAgentsFilter = ({
|
|
|
604
630
|
bmhs,
|
|
605
631
|
hostnameFilter,
|
|
606
632
|
statusFilter,
|
|
633
|
+
labelFilter,
|
|
607
634
|
);
|
|
608
635
|
|
|
609
636
|
return {
|
|
@@ -612,6 +639,9 @@ export const useAgentsFilter = ({
|
|
|
612
639
|
setHostnameFilter,
|
|
613
640
|
statusFilter,
|
|
614
641
|
setStatusFilter,
|
|
642
|
+
hostLabels,
|
|
643
|
+
labelFilter,
|
|
644
|
+
setLabelFilter,
|
|
615
645
|
filteredHosts,
|
|
616
646
|
sorted,
|
|
617
647
|
};
|
|
@@ -2,17 +2,18 @@ import * as React from 'react';
|
|
|
2
2
|
import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
|
|
3
3
|
import { Grid, GridItem, Wizard, WizardStep } from '@patternfly/react-core';
|
|
4
4
|
import { AlertsContextProvider, LoadingState } from '../../../common';
|
|
5
|
-
import ClusterDeploymentDetailsStep from './ClusterDeploymentDetailsStep';
|
|
6
|
-
import ClusterDeploymentNetworkingStep from './ClusterDeploymentNetworkingStep';
|
|
7
|
-
import ClusterDeploymentHostSelectionStep from './ClusterDeploymentHostSelectionStep';
|
|
8
5
|
import { ClusterDeploymentWizardProps } from './types';
|
|
9
|
-
import ClusterDeploymentHostsDiscoveryStep from './ClusterDeploymentHostsDiscoveryStep';
|
|
10
6
|
import { ACMFeatureSupportLevelProvider } from '../featureSupportLevels';
|
|
11
|
-
import ClusterDeploymentReviewStep from './ClusterDeploymentReviewStep';
|
|
12
7
|
import { YamlPreview, useYamlPreview } from '../YamlPreview';
|
|
13
8
|
import { wizardStepNames } from './constants';
|
|
14
9
|
import { ClusterDeploymentWizardContextProvider } from './ClusterDeploymentWizardContext';
|
|
15
10
|
import { isCIMFlow } from './helpers';
|
|
11
|
+
import { ClusterDeploymentDetailsStep } from './clusterDetails';
|
|
12
|
+
import { ClusterDeploymentHostSelectionStep } from './hostSelection';
|
|
13
|
+
import { ClusterDeploymentHostsDiscoveryStep } from './hostDiscovery';
|
|
14
|
+
import { ClusterDeploymentNetworkingStep } from './networking';
|
|
15
|
+
import { ClusterDeploymentReviewStep } from './review';
|
|
16
|
+
import { ClusterDeploymentCustomManifestsStep } from './customManifests';
|
|
16
17
|
|
|
17
18
|
export const ClusterDeploymentWizard = ({
|
|
18
19
|
className,
|
|
@@ -76,6 +77,7 @@ export const ClusterDeploymentWizard = ({
|
|
|
76
77
|
id={'installation-type'}
|
|
77
78
|
isDisabled
|
|
78
79
|
/>
|
|
80
|
+
|
|
79
81
|
<WizardStep name={stepNames['cluster-details']} id={'cluster-details'}>
|
|
80
82
|
<ClusterDeploymentDetailsStep
|
|
81
83
|
clusterImages={clusterImages}
|
|
@@ -89,7 +91,9 @@ export const ClusterDeploymentWizard = ({
|
|
|
89
91
|
isNutanix={isNutanix}
|
|
90
92
|
/>
|
|
91
93
|
</WizardStep>
|
|
94
|
+
|
|
92
95
|
<WizardStep name={stepNames['automation']} id={'automation'} isDisabled />
|
|
96
|
+
|
|
93
97
|
{isCIMFlow(clusterDeployment) ? (
|
|
94
98
|
<WizardStep name={stepNames['hosts-selection']} id={'host-selection'}>
|
|
95
99
|
{agentClusterInstall?.metadata?.name ? (
|
|
@@ -131,6 +135,7 @@ export const ClusterDeploymentWizard = ({
|
|
|
131
135
|
)}
|
|
132
136
|
</WizardStep>
|
|
133
137
|
)}
|
|
138
|
+
|
|
134
139
|
<WizardStep name={stepNames['networking']} id={'networking'}>
|
|
135
140
|
<ClusterDeploymentNetworkingStep
|
|
136
141
|
clusterDeployment={clusterDeployment}
|
|
@@ -145,6 +150,11 @@ export const ClusterDeploymentWizard = ({
|
|
|
145
150
|
isNutanix={isNutanix}
|
|
146
151
|
/>
|
|
147
152
|
</WizardStep>
|
|
153
|
+
|
|
154
|
+
<WizardStep name={stepNames['custom-manifests']} id={'custom-manifests'}>
|
|
155
|
+
<ClusterDeploymentCustomManifestsStep agentClusterInstall={agentClusterInstall} />
|
|
156
|
+
</WizardStep>
|
|
157
|
+
|
|
148
158
|
<WizardStep name={stepNames['review']} id={'review'}>
|
|
149
159
|
<ClusterDeploymentReviewStep
|
|
150
160
|
onFinish={onFinish}
|
|
@@ -3,7 +3,7 @@ import { useFormikContext } from 'formik';
|
|
|
3
3
|
import { Flex, FlexItem, Form, FormGroup } from '@patternfly/react-core';
|
|
4
4
|
import { getAgentsForSelection } from '../helpers/agents';
|
|
5
5
|
import { AgentK8sResource } from '../../types/k8s/agent';
|
|
6
|
-
import ClusterDeploymentHostsSelectionAdvanced from './
|
|
6
|
+
import { ClusterDeploymentHostsSelectionAdvanced } from './hostSelection';
|
|
7
7
|
import { ScaleUpFormValues } from './types';
|
|
8
8
|
import SwitchField from '../../../common/components/ui/formik/SwitchField';
|
|
9
9
|
import ClusterScaleUpAutoHostsSelection from './ClusterScaleUpAutoHostsSelection';
|
|
@@ -2,13 +2,13 @@ import React from 'react';
|
|
|
2
2
|
import { Formik, FormikProps, useFormikContext } from 'formik';
|
|
3
3
|
import { Stack } from '@patternfly/react-core';
|
|
4
4
|
import noop from 'lodash-es/noop.js';
|
|
5
|
-
import { ClusterDetailsValues, getRichTextValidation } from '
|
|
6
|
-
import { ClusterImageSetK8sResource } from '
|
|
7
|
-
import ClusterDeploymentDetailsForm from './ClusterDeploymentDetailsForm';
|
|
5
|
+
import { ClusterDetailsValues, getRichTextValidation } from '../../../../common';
|
|
6
|
+
import { ClusterImageSetK8sResource } from '../../../types/k8s/cluster-image-set';
|
|
8
7
|
import { useDetailsFormik } from './ClusterDeploymentDetailsStep';
|
|
9
8
|
import { ClusterDetailsFormFieldsProps } from './ClusterDetailsFormFields';
|
|
10
|
-
import { OsImage } from '
|
|
11
|
-
import { getOCPVersions } from '
|
|
9
|
+
import { OsImage } from '../../../types';
|
|
10
|
+
import { getOCPVersions } from '../../helpers';
|
|
11
|
+
import { ClusterDeploymentDetailsForm } from './ClusterDeploymentDetailsForm';
|
|
12
12
|
|
|
13
13
|
type DetailsFormBodyProps = {
|
|
14
14
|
clusterImages: ClusterImageSetK8sResource[];
|
|
@@ -49,7 +49,7 @@ type ACMClusterDeploymentDetailsStepProps = DetailsFormBodyProps & {
|
|
|
49
49
|
formRef: React.Ref<FormikProps<ClusterDetailsValues>>;
|
|
50
50
|
};
|
|
51
51
|
|
|
52
|
-
const ACMClusterDeploymentDetailsStep: React.FC<ACMClusterDeploymentDetailsStepProps> = ({
|
|
52
|
+
export const ACMClusterDeploymentDetailsStep: React.FC<ACMClusterDeploymentDetailsStepProps> = ({
|
|
53
53
|
clusterImages,
|
|
54
54
|
formRef,
|
|
55
55
|
usedClusterNames,
|
|
@@ -80,5 +80,3 @@ const ACMClusterDeploymentDetailsStep: React.FC<ACMClusterDeploymentDetailsStepP
|
|
|
80
80
|
</Formik>
|
|
81
81
|
);
|
|
82
82
|
};
|
|
83
|
-
|
|
84
|
-
export default ACMClusterDeploymentDetailsStep;
|
|
@@ -8,18 +8,26 @@ import {
|
|
|
8
8
|
useWizardFooter,
|
|
9
9
|
WizardFooter,
|
|
10
10
|
} from '@patternfly/react-core';
|
|
11
|
-
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
import {
|
|
12
|
+
AgentClusterInstallK8sResource,
|
|
13
|
+
ClusterDeploymentK8sResource,
|
|
14
|
+
OsImage,
|
|
15
|
+
} from '../../../types';
|
|
16
|
+
import { ClusterImageSetK8sResource } from '../../../types/k8s/cluster-image-set';
|
|
17
|
+
import { getOCPVersions, getSelectedVersion } from '../../helpers';
|
|
18
|
+
import { useTranslation } from '../../../../common/hooks/use-translation-wrapper';
|
|
15
19
|
import {
|
|
16
20
|
ClusterDetailsFormFields,
|
|
17
21
|
ClusterDetailsFormFieldsProps,
|
|
18
22
|
} from './ClusterDetailsFormFields';
|
|
19
23
|
import { useFormikContext } from 'formik';
|
|
20
|
-
import {
|
|
21
|
-
|
|
22
|
-
|
|
24
|
+
import {
|
|
25
|
+
ClusterDetailsValues,
|
|
26
|
+
CpuArchitecture,
|
|
27
|
+
SupportedCpuArchitecture,
|
|
28
|
+
} from '../../../../common';
|
|
29
|
+
import { ClusterDeploymentWizardContext } from '../ClusterDeploymentWizardContext';
|
|
30
|
+
import { ValidationSection } from '../components/ValidationSection';
|
|
23
31
|
import { toNumber } from 'lodash-es';
|
|
24
32
|
|
|
25
33
|
type ClusterDeploymentDetailsFormProps = {
|
|
@@ -74,7 +82,7 @@ export const ClusterDeploymentDetailsFormWrapper = ({
|
|
|
74
82
|
{syncError && (
|
|
75
83
|
<StackItem>
|
|
76
84
|
<ValidationSection currentStepId={'networking'} hosts={[]}>
|
|
77
|
-
<Alert variant={AlertVariant.danger} title={t('ai:An error
|
|
85
|
+
<Alert variant={AlertVariant.danger} title={t('ai:An error occurred')} isInline>
|
|
78
86
|
{syncError}
|
|
79
87
|
</Alert>
|
|
80
88
|
</ValidationSection>
|
|
@@ -84,7 +92,7 @@ export const ClusterDeploymentDetailsFormWrapper = ({
|
|
|
84
92
|
);
|
|
85
93
|
};
|
|
86
94
|
|
|
87
|
-
const ClusterDeploymentDetailsForm: React.FC<ClusterDeploymentDetailsFormProps> = ({
|
|
95
|
+
export const ClusterDeploymentDetailsForm: React.FC<ClusterDeploymentDetailsFormProps> = ({
|
|
88
96
|
agentClusterInstall,
|
|
89
97
|
clusterDeployment,
|
|
90
98
|
clusterImages,
|
|
@@ -150,5 +158,3 @@ const ClusterDeploymentDetailsForm: React.FC<ClusterDeploymentDetailsFormProps>
|
|
|
150
158
|
</>
|
|
151
159
|
);
|
|
152
160
|
};
|
|
153
|
-
|
|
154
|
-
export default ClusterDeploymentDetailsForm;
|
|
@@ -11,21 +11,22 @@ import {
|
|
|
11
11
|
ClusterDetailsValues,
|
|
12
12
|
getRichTextValidation,
|
|
13
13
|
OpenshiftVersionOptionType,
|
|
14
|
-
} from '
|
|
14
|
+
} from '../../../../common';
|
|
15
15
|
|
|
16
|
-
import { ClusterDeploymentDetailsStepProps, ClusterDeploymentDetailsValues } from '
|
|
17
|
-
import { getAICluster, getNetworkType, getOCPVersions } from '
|
|
16
|
+
import { ClusterDeploymentDetailsStepProps, ClusterDeploymentDetailsValues } from '../types';
|
|
17
|
+
import { getAICluster, getNetworkType, getOCPVersions } from '../../helpers';
|
|
18
18
|
import {
|
|
19
19
|
AgentClusterInstallK8sResource,
|
|
20
20
|
AgentK8sResource,
|
|
21
21
|
ClusterDeploymentK8sResource,
|
|
22
22
|
InfraEnvK8sResource,
|
|
23
|
-
} from '
|
|
24
|
-
import
|
|
23
|
+
} from '../../../types';
|
|
24
|
+
import {
|
|
25
|
+
ClusterDeploymentDetailsForm,
|
|
25
26
|
ClusterDeploymentDetailsFormWrapper,
|
|
26
27
|
} from './ClusterDeploymentDetailsForm';
|
|
27
|
-
import { getGridSpans } from '
|
|
28
|
-
import { useTranslation } from '
|
|
28
|
+
import { getGridSpans } from '../helpers';
|
|
29
|
+
import { useTranslation } from '../../../../common/hooks/use-translation-wrapper';
|
|
29
30
|
|
|
30
31
|
type UseDetailsFormikArgs = {
|
|
31
32
|
usedClusterNames: string[];
|
|
@@ -96,7 +97,7 @@ export const useDetailsFormik = ({
|
|
|
96
97
|
return [initialValues, validationSchema];
|
|
97
98
|
};
|
|
98
99
|
|
|
99
|
-
const ClusterDeploymentDetailsStep: React.FC<ClusterDeploymentDetailsStepProps> = ({
|
|
100
|
+
export const ClusterDeploymentDetailsStep: React.FC<ClusterDeploymentDetailsStepProps> = ({
|
|
100
101
|
clusterImages,
|
|
101
102
|
clusterDeployment,
|
|
102
103
|
agentClusterInstall,
|
|
@@ -159,5 +160,3 @@ const ClusterDeploymentDetailsStep: React.FC<ClusterDeploymentDetailsStepProps>
|
|
|
159
160
|
</Formik>
|
|
160
161
|
);
|
|
161
162
|
};
|
|
162
|
-
|
|
163
|
-
export default ClusterDeploymentDetailsStep;
|
|
@@ -3,23 +3,24 @@ import { Form } from '@patternfly/react-core';
|
|
|
3
3
|
import { useFormikContext } from 'formik';
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
|
+
ExternalPlatformsDropdown,
|
|
6
7
|
isMajorMinorVersionEqualOrGreater,
|
|
7
8
|
OpenShiftVersionDropdown,
|
|
8
9
|
OpenShiftVersionModal,
|
|
9
|
-
} from '
|
|
10
|
-
import { StaticTextField } from '
|
|
11
|
-
import { PullSecret } from '
|
|
12
|
-
import { OpenshiftVersionOptionType, SupportedCpuArchitecture } from '
|
|
10
|
+
} from '../../../../common';
|
|
11
|
+
import { StaticTextField } from '../../../../common/components/ui/StaticTextField';
|
|
12
|
+
import { PullSecret } from '../../../../common/components/clusters';
|
|
13
|
+
import { OpenshiftVersionOptionType, SupportedCpuArchitecture } from '../../../../common/types';
|
|
13
14
|
import {
|
|
14
15
|
InputField,
|
|
15
16
|
RichInputField,
|
|
16
17
|
acmClusterNameValidationMessages,
|
|
17
|
-
} from '
|
|
18
|
-
import { ClusterDetailsValues } from '
|
|
19
|
-
import { useTranslation } from '
|
|
20
|
-
import CpuArchitectureDropdown from '
|
|
21
|
-
import ControlPlaneNodesDropdown from '
|
|
22
|
-
import { getNetworkType } from '
|
|
18
|
+
} from '../../../../common/components/ui/formik';
|
|
19
|
+
import { ClusterDetailsValues } from '../../../../common/components/clusterWizard/types';
|
|
20
|
+
import { useTranslation } from '../../../../common/hooks/use-translation-wrapper';
|
|
21
|
+
import CpuArchitectureDropdown from '../../common/CpuArchitectureDropdown';
|
|
22
|
+
import ControlPlaneNodesDropdown from '../../../../common/components/clusterConfiguration/ControlPlaneNodesDropdown';
|
|
23
|
+
import { getNetworkType } from '../../helpers';
|
|
23
24
|
|
|
24
25
|
export type ClusterDetailsFormFieldsProps = {
|
|
25
26
|
isEditFlow: boolean;
|
|
@@ -69,7 +70,7 @@ export const ClusterDetailsFormFields: React.FC<ClusterDetailsFormFieldsProps> =
|
|
|
69
70
|
React.useEffect(() => {
|
|
70
71
|
if (!versions.length && !values.openshiftVersion) {
|
|
71
72
|
const fallbackOpenShiftVersion = allVersions.find((version) => version.default);
|
|
72
|
-
setFieldValue('customOpenshiftSelect', fallbackOpenShiftVersion);
|
|
73
|
+
setFieldValue('customOpenshiftSelect', fallbackOpenShiftVersion?.value);
|
|
73
74
|
setFieldValue('openshiftVersion', fallbackOpenShiftVersion?.value);
|
|
74
75
|
setFieldValue('networkType', getNetworkType(fallbackOpenShiftVersion));
|
|
75
76
|
}
|
|
@@ -89,28 +90,23 @@ export const ClusterDetailsFormFields: React.FC<ClusterDetailsFormFieldsProps> =
|
|
|
89
90
|
[versions],
|
|
90
91
|
);
|
|
91
92
|
|
|
92
|
-
const
|
|
93
|
+
const additionalSelectOption = React.useMemo(() => {
|
|
93
94
|
if (
|
|
94
95
|
values.customOpenshiftSelect &&
|
|
95
|
-
!
|
|
96
|
+
!versions.some((version) => version.value === values.customOpenshiftSelect)
|
|
96
97
|
) {
|
|
97
|
-
return
|
|
98
|
-
{
|
|
99
|
-
value: values.customOpenshiftSelect.value,
|
|
100
|
-
label: values.customOpenshiftSelect.label,
|
|
101
|
-
},
|
|
102
|
-
];
|
|
98
|
+
return allVersions.find((option) => option.value === values.customOpenshiftSelect);
|
|
103
99
|
}
|
|
104
|
-
return
|
|
105
|
-
}, [
|
|
100
|
+
return undefined;
|
|
101
|
+
}, [allVersions, values.customOpenshiftSelect, versions]);
|
|
106
102
|
|
|
107
103
|
const allowTNA = React.useMemo(() => {
|
|
108
104
|
const current =
|
|
109
|
-
values.customOpenshiftSelect
|
|
105
|
+
values.customOpenshiftSelect ||
|
|
110
106
|
versions.find((version) => version.value === values.openshiftVersion)?.version;
|
|
111
107
|
|
|
112
108
|
return isMajorMinorVersionEqualOrGreater(current, '4.19') && values.platform === 'baremetal';
|
|
113
|
-
}, [values.customOpenshiftSelect
|
|
109
|
+
}, [values.customOpenshiftSelect, values.openshiftVersion, values.platform, versions]);
|
|
114
110
|
|
|
115
111
|
return (
|
|
116
112
|
<Form id="wizard-cluster-details__form">
|
|
@@ -159,7 +155,7 @@ export const ClusterDetailsFormFields: React.FC<ClusterDetailsFormFieldsProps> =
|
|
|
159
155
|
versions={versions}
|
|
160
156
|
showReleasesLink={false}
|
|
161
157
|
showOpenshiftVersionModal={() => setOpenshiftVersionModalOpen(true)}
|
|
162
|
-
|
|
158
|
+
customItem={additionalSelectOption}
|
|
163
159
|
/>
|
|
164
160
|
{openshiftVersionModalOpen && (
|
|
165
161
|
<OpenShiftVersionModal
|
|
@@ -178,6 +174,8 @@ export const ClusterDetailsFormFields: React.FC<ClusterDetailsFormFieldsProps> =
|
|
|
178
174
|
<CpuArchitectureDropdown cpuArchitectures={cpuArchitectures} isDisabled={isEditFlow} />
|
|
179
175
|
)}
|
|
180
176
|
|
|
177
|
+
<ExternalPlatformsDropdown isDisabled={isEditFlow} />
|
|
178
|
+
|
|
181
179
|
{extensionAfter?.['openshiftVersion'] && extensionAfter['openshiftVersion']}
|
|
182
180
|
|
|
183
181
|
{!isEditFlow && <PullSecret />}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { useTranslation } from '
|
|
2
|
+
import { useTranslation } from '../../../../common/hooks/use-translation-wrapper';
|
|
3
3
|
|
|
4
4
|
// TODO we should use hostValidationFailureHints instead of passing this 'action' which is actually a hint
|
|
5
5
|
export const AdditionalNTPSourcesDialogToggle: React.FC = () => {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './AdditionalNTPSourcesDialogToggle';
|