@openshift-assisted/ui-lib 5.0.0-cim → 5.0.2-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/ClusterDeployment/ClusterDeploymentWizard.d.ts +1 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizard.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/clusterDetails/ACMClusterDeploymentDetailsStep.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsStep.d.ts +0 -17
- package/build/@types/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsStep.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/clusterDetails/useDetailsFormik.d.ts +19 -0
- package/build/@types/cim/components/ClusterDeployment/clusterDetails/useDetailsFormik.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/components/ValidationSection.d.ts +2 -2
- package/build/@types/cim/components/ClusterDeployment/components/ValidationSection.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/review/ClusterDeploymentReviewStep.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/types.d.ts +1 -3
- package/build/@types/cim/components/ClusterDeployment/types.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/wizardTransition.d.ts +4 -3
- 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/StorageClassDropdown.d.ts +6 -0
- package/build/@types/cim/components/Hypershift/HostedClusterWizard/DetailsStep/StorageClassDropdown.d.ts.map +1 -0
- package/build/@types/cim/components/Hypershift/HostedClusterWizard/DetailsStep/types.d.ts +4 -2
- package/build/@types/cim/components/Hypershift/HostedClusterWizard/DetailsStep/types.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/hooks/useSupportedOCPVersions.d.ts +2 -1
- package/build/@types/cim/components/Hypershift/hooks/useSupportedOCPVersions.d.ts.map +1 -1
- package/build/@types/cim/components/InfraEnv/EnvironmentErrors.d.ts.map +1 -1
- package/build/@types/cim/components/InfraEnv/InfraEnvAgentTable.d.ts.map +1 -1
- package/build/@types/cim/components/common/CpuArchitectureDropdown.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/clusterDeployment.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/status.d.ts +5 -7
- package/build/@types/cim/components/helpers/status.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 +3 -2
- package/build/@types/cim/components/helpers/versions.d.ts.map +1 -1
- package/build/@types/cim/components/index.d.ts +0 -1
- package/build/@types/cim/components/index.d.ts.map +1 -1
- package/build/@types/cim/components/modals/CimConfiguration/CimStorageMissingAlert.d.ts.map +1 -1
- package/build/@types/cim/components/modals/CimConfiguration/constants.d.ts +1 -1
- package/build/@types/cim/components/modals/MassDeleteAgentModal.d.ts +2 -3
- package/build/@types/cim/components/modals/MassDeleteAgentModal.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 -1
- package/build/@types/cim/hooks/useAgents.d.ts +4 -0
- package/build/@types/cim/hooks/useAgents.d.ts.map +1 -0
- package/build/@types/cim/hooks/useStorageClasses.d.ts +4 -0
- package/build/@types/cim/hooks/useStorageClasses.d.ts.map +1 -0
- package/build/@types/cim/index.d.ts +0 -1
- package/build/@types/cim/index.d.ts.map +1 -1
- package/build/@types/common/api/assisted-service/ClustersAPI.d.ts +2 -1
- package/build/@types/common/api/assisted-service/ClustersAPI.d.ts.map +1 -1
- package/build/@types/common/api/assisted-service/NewFeatureSupportLevelsAPI.d.ts +7 -1
- package/build/@types/common/api/assisted-service/NewFeatureSupportLevelsAPI.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/DiscoveryImageConfigForm.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionControlGroup.d.ts +2 -1
- package/build/@types/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionControlGroup.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/ExternalPlatformsDropdown.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/utils.d.ts +9 -1
- package/build/@types/common/components/clusterConfiguration/utils.d.ts.map +1 -1
- package/build/@types/common/components/clusterDetail/ClusterCredentials.d.ts.map +1 -1
- package/build/@types/common/components/clusterDetail/ConsoleModal.d.ts +0 -5
- package/build/@types/common/components/clusterDetail/ConsoleModal.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/ReviewValidations.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/clusterDetailsValidation.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/networkingSteps/StackTypeControlGroup.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/validationsInfoUtils.d.ts +0 -1
- package/build/@types/common/components/clusterWizard/validationsInfoUtils.d.ts.map +1 -1
- package/build/@types/common/components/hosts/utils.d.ts.map +1 -1
- package/build/@types/common/components/index.d.ts +1 -1
- package/build/@types/common/components/index.d.ts.map +1 -1
- package/build/@types/common/components/operators/operatorSpecs.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/PullSecretField.d.ts +1 -0
- package/build/@types/common/components/ui/formik/PullSecretField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/SelectFieldWithSearch.d.ts +2 -1
- package/build/@types/common/components/ui/formik/SelectFieldWithSearch.d.ts.map +1 -1
- package/build/@types/common/config/constants.d.ts.map +1 -1
- package/build/@types/common/config/docs_links.d.ts.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/clusters.d.ts +3 -3
- package/build/@types/common/types/clusters.d.ts.map +1 -1
- package/build/@types/common/utils.d.ts.map +1 -1
- package/build/@types/ocm/components/AddHosts/types.d.ts +4 -3
- package/build/@types/ocm/components/AddHosts/types.d.ts.map +1 -1
- package/build/@types/ocm/components/Routes.d.ts +1 -1
- package/build/@types/ocm/components/Routes.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/DiscoveryImageForm.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/DiscoveryImageModal.d.ts +0 -1
- package/build/@types/ocm/components/clusterConfiguration/DiscoveryImageModal.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsForm.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/customManifestsValidationSchema.d.ts +10 -2
- package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/customManifestsValidationSchema.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/utils.d.ts +4 -0
- package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/utils.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/OperatorCheckbox.d.ts +3 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/OperatorCheckbox.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/bundleSpecs.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/utils.d.ts +3 -6
- package/build/@types/ocm/components/clusterConfiguration/operators/utils.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/review/ReviewSummary.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/review/TableSummaryExpandable.d.ts +1 -0
- package/build/@types/ocm/components/clusterConfiguration/review/TableSummaryExpandable.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/review/utils.d.ts +1 -1
- package/build/@types/ocm/components/clusterConfiguration/review/utils.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/data/formDataToInfraEnvField.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/data/nmstateTypes.d.ts +1 -0
- package/build/@types/ocm/components/clusterConfiguration/staticIp/data/nmstateTypes.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/data/nmstateYaml.d.ts +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/data/nmstateYaml.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/AssistedInstallerDetailCard.d.ts +1 -1
- package/build/@types/ocm/components/clusterDetail/AssistedInstallerDetailCard.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/ClusterDetailsButtonGroup.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterDetails.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterWizardContext.d.ts +5 -0
- 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/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 +3 -3
- package/build/@types/ocm/components/clusterWizard/OperatorsBundle.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/OperatorsSelect.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/OptionalOperatorsDropdown.d.ts +13 -0
- package/build/@types/ocm/components/clusterWizard/OptionalOperatorsDropdown.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterWizard/constants.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/disconnected/BasicStep.d.ts +1 -0
- package/build/@types/ocm/components/clusterWizard/disconnected/BasicStep.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.d.ts +4 -0
- package/build/@types/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterWizard/disconnected/ReviewStep.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/wizardTransition.d.ts +4 -5
- package/build/@types/ocm/components/clusterWizard/wizardTransition.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/ClustersListToolbar.d.ts +1 -2
- package/build/@types/ocm/components/clusters/ClustersListToolbar.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/ClustersTable.d.ts.map +1 -1
- package/build/@types/ocm/components/featureSupportLevels/index.d.ts +0 -1
- package/build/@types/ocm/components/featureSupportLevels/index.d.ts.map +1 -1
- package/build/@types/ocm/components/ui/Buttons/BackButton.d.ts +1 -1
- package/build/@types/ocm/components/ui/Buttons/BackButton.d.ts.map +1 -1
- package/build/@types/ocm/hooks/useLateBinding.d.ts.map +1 -1
- package/build/@types/ocm/services/ClustersService.d.ts +2 -1
- package/build/@types/ocm/services/ClustersService.d.ts.map +1 -1
- package/build/@types/ocm/services/InfraEnvsService.d.ts +1 -1
- package/build/@types/ocm/services/InfraEnvsService.d.ts.map +1 -1
- package/build/@types/ocm/services/NewFeatureSupportLevelsService.d.ts +1 -1
- package/build/@types/ocm/store/hooks.d.ts +1 -1
- package/build/@types/ocm/store/slices/clusters/selectors.d.ts +5 -61
- package/build/@types/ocm/store/slices/clusters/selectors.d.ts.map +1 -1
- package/build/@types/ocm/store/slices/current-cluster/slice.d.ts +2 -0
- package/build/@types/ocm/store/slices/current-cluster/slice.d.ts.map +1 -1
- package/build/@types/ocm/store/slices/feature-flags/selectors.d.ts +2 -20
- package/build/@types/ocm/store/slices/feature-flags/selectors.d.ts.map +1 -1
- package/build/@types/ocm/store/slices/infra-envs/selectors.d.ts +4 -21
- package/build/@types/ocm/store/slices/infra-envs/selectors.d.ts.map +1 -1
- package/build/cjs/cim/components/Agent/AgentsSelectionTable.js +1 -1
- package/build/cjs/cim/components/Agent/AgentsSelectionTable.js.map +1 -1
- package/build/cjs/cim/components/Agent/NoAgentsAlert.js +2 -2
- package/build/cjs/cim/components/Agent/NoAgentsAlert.js.map +1 -1
- package/build/cjs/cim/components/Agent/tableColumns.js +3 -3
- package/build/cjs/cim/components/Agent/tableColumns.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizard.js +22 -16
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizard.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterInstallationError.js +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterInstallationError.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ACMClusterDeploymentDetailsStep.js +6 -3
- package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ACMClusterDeploymentDetailsStep.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsForm.js +4 -5
- package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsForm.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsStep.js +6 -32
- package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsStep.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.js +3 -16
- package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/clusterDetails/useDetailsFormik.js +41 -0
- package/build/cjs/cim/components/ClusterDeployment/clusterDetails/useDetailsFormik.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/components/ValidationSection.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/constants.js +2 -2
- package/build/cjs/cim/components/ClusterDeployment/constants.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostDiscoveryTable.js +1 -1
- package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostDiscoveryTable.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscoveryStep.js +2 -2
- package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscoveryStep.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.js +2 -2
- package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/review/ClusterDeploymentReviewStep.js +8 -8
- package/build/cjs/cim/components/ClusterDeployment/review/ClusterDeploymentReviewStep.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/wizardTransition.js +26 -8
- package/build/cjs/cim/components/ClusterDeployment/wizardTransition.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/DetailsPage/NodePoolsTable.js +2 -2
- package/build/cjs/cim/components/Hypershift/DetailsPage/NodePoolsTable.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.js +3 -1
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsStep.js +13 -3
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsStep.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/DetailsStep/StorageClassDropdown.js +52 -0
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/DetailsStep/StorageClassDropdown.js.map +1 -0
- 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/InfraEnv/AddHostDropdown.js +2 -2
- package/build/cjs/cim/components/InfraEnv/AddHostDropdown.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/EnvironmentErrors.js +2 -4
- package/build/cjs/cim/components/InfraEnv/EnvironmentErrors.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/InfraEnv/InfraEnvFormPage.js +1 -1
- package/build/cjs/cim/components/InfraEnv/InfraEnvFormPage.js.map +1 -1
- package/build/cjs/cim/components/common/CpuArchitectureDropdown.js +1 -1
- package/build/cjs/cim/components/common/CpuArchitectureDropdown.js.map +1 -1
- package/build/cjs/cim/components/helpers/clusterDeployment.js +14 -10
- package/build/cjs/cim/components/helpers/clusterDeployment.js.map +1 -1
- package/build/cjs/cim/components/helpers/status.js +4 -4
- package/build/cjs/cim/components/helpers/status.js.map +1 -1
- package/build/cjs/cim/components/helpers/toAssisted.js +2 -12
- package/build/cjs/cim/components/helpers/toAssisted.js.map +1 -1
- package/build/cjs/cim/components/helpers/versions.js +6 -6
- package/build/cjs/cim/components/helpers/versions.js.map +1 -1
- package/build/cjs/cim/components/helpers/versions.test.js +19 -18
- package/build/cjs/cim/components/helpers/versions.test.js.map +1 -1
- package/build/cjs/cim/components/index.js +0 -1
- package/build/cjs/cim/components/index.js.map +1 -1
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigProgressAlert.js +3 -3
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigProgressAlert.js.map +1 -1
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationFormFields.js +1 -1
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationFormFields.js.map +1 -1
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationModal.js +2 -2
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationModal.js.map +1 -1
- package/build/cjs/cim/components/modals/CimConfiguration/CimStorageMissingAlert.js +4 -4
- package/build/cjs/cim/components/modals/CimConfiguration/CimStorageMissingAlert.js.map +1 -1
- package/build/cjs/cim/components/modals/CimConfiguration/constants.js +1 -1
- package/build/cjs/cim/components/modals/MassDeleteAgentModal.js +4 -4
- package/build/cjs/cim/components/modals/MassDeleteAgentModal.js.map +1 -1
- package/build/cjs/cim/hooks/index.js +2 -0
- package/build/cjs/cim/hooks/index.js.map +1 -1
- package/build/cjs/cim/hooks/useAgents.js +13 -0
- package/build/cjs/cim/hooks/useAgents.js.map +1 -0
- package/build/cjs/cim/hooks/useStorageClasses.js +13 -0
- package/build/cjs/cim/hooks/useStorageClasses.js.map +1 -0
- package/build/cjs/cim/index.js +0 -1
- package/build/cjs/cim/index.js.map +1 -1
- package/build/cjs/common/api/assisted-service/ClustersAPI.js +3 -0
- package/build/cjs/common/api/assisted-service/ClustersAPI.js.map +1 -1
- package/build/cjs/common/api/assisted-service/NewFeatureSupportLevelsAPI.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/ControlPlaneNodesDropdown.js +2 -4
- package/build/cjs/common/components/clusterConfiguration/ControlPlaneNodesDropdown.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DiscoveryImageConfigForm.js +1 -1
- package/build/cjs/common/components/clusterConfiguration/DiscoveryImageConfigForm.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionControlGroup.js +9 -3
- package/build/cjs/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionControlGroup.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DownloadIso.js +1 -1
- package/build/cjs/common/components/clusterConfiguration/DownloadIso.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/ExternalPlatformsDropdown.js +1 -1
- package/build/cjs/common/components/clusterConfiguration/ExternalPlatformsDropdown.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/utils.js +13 -1
- package/build/cjs/common/components/clusterConfiguration/utils.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/utils.test.js +36 -0
- package/build/cjs/common/components/clusterConfiguration/utils.test.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/ClusterCredentials.js +10 -9
- package/build/cjs/common/components/clusterDetail/ClusterCredentials.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/ConsoleModal.js +2 -11
- package/build/cjs/common/components/clusterDetail/ConsoleModal.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/ReviewValidations.js +16 -0
- package/build/cjs/common/components/clusterWizard/ReviewValidations.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/clusterDetailsValidation.js +34 -19
- package/build/cjs/common/components/clusterWizard/clusterDetailsValidation.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.js +29 -31
- package/build/cjs/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/networkingSteps/ManagedNetworkingControlGroup.js +3 -3
- package/build/cjs/common/components/clusterWizard/networkingSteps/StackTypeControlGroup.js +19 -30
- package/build/cjs/common/components/clusterWizard/networkingSteps/StackTypeControlGroup.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/validationsInfoUtils.js +12 -21
- package/build/cjs/common/components/clusterWizard/validationsInfoUtils.js.map +1 -1
- package/build/cjs/common/components/hosts/utils.js +6 -1
- package/build/cjs/common/components/hosts/utils.js.map +1 -1
- package/build/cjs/common/components/index.js +1 -1
- package/build/cjs/common/components/index.js.map +1 -1
- package/build/cjs/common/components/operators/operatorSpecs.js +0 -3
- package/build/cjs/common/components/operators/operatorSpecs.js.map +1 -1
- package/build/cjs/common/components/ui/formik/PullSecretField.js +2 -2
- package/build/cjs/common/components/ui/formik/PullSecretField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/SelectFieldWithSearch.js +2 -1
- package/build/cjs/common/components/ui/formik/SelectFieldWithSearch.js.map +1 -1
- package/build/cjs/common/config/constants.js +4 -0
- package/build/cjs/common/config/constants.js.map +1 -1
- package/build/cjs/common/config/docs_links.js +5 -4
- package/build/cjs/common/config/docs_links.js.map +1 -1
- package/build/cjs/common/selectors/clusterSelectors.js +7 -8
- package/build/cjs/common/selectors/clusterSelectors.js.map +1 -1
- package/build/cjs/common/types/clusters.js.map +1 -1
- package/build/cjs/common/utils.js +3 -0
- package/build/cjs/common/utils.js.map +1 -1
- package/build/cjs/common/validationSchemas/addressValidation.js +1 -1
- package/build/cjs/common/validationSchemas/addressValidation.js.map +1 -1
- package/build/cjs/ocm/components/Routes.js +8 -8
- package/build/cjs/ocm/components/Routes.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageForm.js +5 -2
- package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageModal.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageModal.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js +6 -2
- package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmClusterProgressItems.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmClusterProgressItems.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/manifestsConfiguration/CustomManifestsPage.js +3 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsForm.js +3 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/customManifestsValidationSchema.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/utils.js +11 -8
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/utils.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.js +68 -17
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.js +50 -13
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/OperatorCheckbox.js +39 -21
- package/build/cjs/ocm/components/clusterConfiguration/operators/OperatorCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/bundleSpecs.js +1 -2
- package/build/cjs/ocm/components/clusterConfiguration/operators/bundleSpecs.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/utils.js +7 -25
- package/build/cjs/ocm/components/clusterConfiguration/operators/utils.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.js +4 -2
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.js +75 -20
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewSummary.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewSummary.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/TableSummaryExpandable.css +3 -0
- package/build/cjs/ocm/components/clusterConfiguration/review/TableSummaryExpandable.js +2 -3
- package/build/cjs/ocm/components/clusterConfiguration/review/TableSummaryExpandable.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/utils.js +8 -2
- package/build/cjs/ocm/components/clusterConfiguration/review/utils.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/utils.test.js +35 -0
- package/build/cjs/ocm/components/clusterConfiguration/review/utils.test.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.js +10 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.js +5 -5
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/formDataToInfraEnvField.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/formDataToInfraEnvField.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/nmstateTypes.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/nmstateYaml.js +3 -7
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/nmstateYaml.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/AssistedInstallerDetailCard.js +4 -4
- package/build/cjs/ocm/components/clusterDetail/AssistedInstallerDetailCard.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ClusterDetail.js +4 -4
- package/build/cjs/ocm/components/clusterDetail/ClusterDetail.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ClusterDetailsButtonGroup.js +8 -2
- package/build/cjs/ocm/components/clusterDetail/ClusterDetailsButtonGroup.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ClusterInstallationError.js +1 -1
- package/build/cjs/ocm/components/clusterDetail/ClusterInstallationError.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ProgressBarAlerts.js +1 -1
- package/build/cjs/ocm/components/clusterDetail/ProgressBarAlerts.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js +6 -13
- package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js +2 -2
- 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 +15 -6
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardFooter.js +2 -2
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardFooter.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/NewClusterWizard.js +9 -3
- package/build/cjs/ocm/components/clusterWizard/NewClusterWizard.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/Operators.js +40 -12
- package/build/cjs/ocm/components/clusterWizard/Operators.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/OperatorsBundle.js +34 -15
- package/build/cjs/ocm/components/clusterWizard/OperatorsBundle.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/OperatorsSelect.js +18 -4
- package/build/cjs/ocm/components/clusterWizard/OperatorsSelect.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/OperatorsSelect.test.js +11 -5
- package/build/cjs/ocm/components/clusterWizard/OperatorsSelect.test.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/OperatorsStep.js +1 -1
- package/build/cjs/ocm/components/clusterWizard/OperatorsStep.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/OptionalOperatorsDropdown.js +34 -0
- package/build/cjs/ocm/components/clusterWizard/OptionalOperatorsDropdown.js.map +1 -0
- package/build/cjs/ocm/components/clusterWizard/constants.js +1 -0
- package/build/cjs/ocm/components/clusterWizard/constants.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/disconnected/BasicStep.js +16 -22
- package/build/cjs/ocm/components/clusterWizard/disconnected/BasicStep.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.js +102 -0
- package/build/cjs/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.js.map +1 -0
- package/build/cjs/ocm/components/clusterWizard/disconnected/ReviewStep.js +10 -8
- package/build/cjs/ocm/components/clusterWizard/disconnected/ReviewStep.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/wizardTransition.js +72 -29
- package/build/cjs/ocm/components/clusterWizard/wizardTransition.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClusterBreadcrumbs.js +2 -2
- package/build/cjs/ocm/components/clusters/ClusterBreadcrumbs.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClusterPage.js +4 -4
- package/build/cjs/ocm/components/clusters/ClusterPage.js.map +1 -1
- package/build/cjs/ocm/components/clusters/Clusters.js +3 -3
- package/build/cjs/ocm/components/clusters/Clusters.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClustersListToolbar.js +5 -5
- package/build/cjs/ocm/components/clusters/ClustersListToolbar.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClustersTable.js +4 -3
- package/build/cjs/ocm/components/clusters/ClustersTable.js.map +1 -1
- package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js +1 -1
- package/build/cjs/ocm/components/featureSupportLevels/index.js +0 -1
- package/build/cjs/ocm/components/featureSupportLevels/index.js.map +1 -1
- package/build/cjs/ocm/components/ui/Buttons/BackButton.js +2 -2
- package/build/cjs/ocm/components/ui/Buttons/BackButton.js.map +1 -1
- package/build/cjs/ocm/hooks/useInfraEnvId.js +2 -2
- package/build/cjs/ocm/hooks/useInfraEnvId.js.map +1 -1
- package/build/cjs/ocm/hooks/useLateBinding.js +41 -26
- package/build/cjs/ocm/hooks/useLateBinding.js.map +1 -1
- package/build/cjs/ocm/hooks/usePullSecret.js +2 -2
- package/build/cjs/ocm/services/ClustersService.js +3 -0
- package/build/cjs/ocm/services/ClustersService.js.map +1 -1
- package/build/cjs/ocm/services/InfraEnvsService.js +4 -1
- package/build/cjs/ocm/services/InfraEnvsService.js.map +1 -1
- package/build/cjs/ocm/store/slices/clusters/selectors.js +2 -2
- package/build/cjs/ocm/store/slices/clusters/selectors.js.map +1 -1
- package/build/cjs/ocm/store/slices/feature-flags/selectors.js.map +1 -1
- package/build/cjs/ocm/store/slices/infra-envs/selectors.js.map +1 -1
- package/lib/cim/components/Agent/AgentsSelectionTable.tsx +1 -1
- package/lib/cim/components/Agent/NoAgentsAlert.tsx +1 -1
- package/lib/cim/components/Agent/tableColumns.tsx +1 -1
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentWizard.tsx +101 -101
- package/lib/cim/components/ClusterDeployment/ClusterInstallationError.tsx +1 -1
- package/lib/cim/components/ClusterDeployment/clusterDetails/ACMClusterDeploymentDetailsStep.tsx +6 -3
- package/lib/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsForm.tsx +6 -6
- package/lib/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsStep.tsx +6 -87
- package/lib/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.tsx +3 -15
- package/lib/cim/components/ClusterDeployment/clusterDetails/useDetailsFormik.tsx +97 -0
- package/lib/cim/components/ClusterDeployment/components/ValidationSection.tsx +3 -2
- package/lib/cim/components/ClusterDeployment/constants.ts +2 -2
- package/lib/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostDiscoveryTable.tsx +1 -1
- package/lib/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscoveryStep.tsx +2 -2
- package/lib/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.tsx +2 -2
- package/lib/cim/components/ClusterDeployment/review/ClusterDeploymentReviewStep.tsx +29 -25
- package/lib/cim/components/ClusterDeployment/types.ts +2 -4
- package/lib/cim/components/ClusterDeployment/wizardTransition.ts +35 -20
- package/lib/cim/components/Hypershift/DetailsPage/NodePoolsTable.tsx +1 -1
- package/lib/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.tsx +4 -0
- package/lib/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsStep.tsx +15 -2
- package/lib/cim/components/Hypershift/HostedClusterWizard/DetailsStep/StorageClassDropdown.tsx +70 -0
- package/lib/cim/components/Hypershift/HostedClusterWizard/DetailsStep/types.ts +10 -2
- package/lib/cim/components/Hypershift/hooks/useSupportedOCPVersions.ts +4 -2
- package/lib/cim/components/InfraEnv/AddHostDropdown.tsx +1 -1
- package/lib/cim/components/InfraEnv/EnvironmentErrors.tsx +9 -8
- package/lib/cim/components/InfraEnv/InfraEnvAgentTable.tsx +0 -2
- package/lib/cim/components/InfraEnv/InfraEnvFormPage.tsx +1 -1
- package/lib/cim/components/common/CpuArchitectureDropdown.tsx +2 -1
- package/lib/cim/components/helpers/clusterDeployment.ts +9 -4
- package/lib/cim/components/helpers/status.ts +12 -13
- package/lib/cim/components/helpers/toAssisted.ts +3 -13
- package/lib/cim/components/helpers/versions.test.ts +21 -18
- package/lib/cim/components/helpers/versions.ts +7 -3
- package/lib/cim/components/index.ts +0 -1
- package/lib/cim/components/modals/CimConfiguration/CimConfigProgressAlert.tsx +2 -2
- package/lib/cim/components/modals/CimConfiguration/CimConfigurationFormFields.tsx +1 -1
- package/lib/cim/components/modals/CimConfiguration/CimConfigurationModal.tsx +2 -2
- package/lib/cim/components/modals/CimConfiguration/CimStorageMissingAlert.tsx +9 -3
- package/lib/cim/components/modals/CimConfiguration/constants.ts +1 -1
- package/lib/cim/components/modals/MassDeleteAgentModal.tsx +4 -15
- package/lib/cim/hooks/index.tsx +2 -0
- package/lib/cim/hooks/useAgents.tsx +15 -0
- package/lib/cim/hooks/useStorageClasses.tsx +15 -0
- package/lib/cim/index.ts +0 -1
- package/lib/common/api/assisted-service/ClustersAPI.ts +8 -0
- package/lib/common/api/assisted-service/NewFeatureSupportLevelsAPI.ts +9 -4
- package/lib/common/components/clusterConfiguration/ControlPlaneNodesDropdown.tsx +5 -7
- package/lib/common/components/clusterConfiguration/DiscoveryImageConfigForm.tsx +3 -1
- package/lib/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionControlGroup.tsx +18 -8
- package/lib/common/components/clusterConfiguration/DownloadIso.tsx +1 -1
- package/lib/common/components/clusterConfiguration/ExternalPlatformsDropdown.tsx +3 -1
- package/lib/common/components/clusterConfiguration/utils.test.ts +43 -1
- package/lib/common/components/clusterConfiguration/utils.ts +13 -0
- package/lib/common/components/clusterDetail/ClusterCredentials.tsx +49 -53
- package/lib/common/components/clusterDetail/ConsoleModal.tsx +1 -36
- package/lib/common/components/clusterWizard/ReviewValidations.tsx +24 -0
- package/lib/common/components/clusterWizard/clusterDetailsValidation.ts +38 -12
- package/lib/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.tsx +31 -57
- package/lib/common/components/clusterWizard/networkingSteps/ManagedNetworkingControlGroup.tsx +3 -3
- package/lib/common/components/clusterWizard/networkingSteps/StackTypeControlGroup.tsx +33 -38
- package/lib/common/components/clusterWizard/validationsInfoUtils.ts +16 -23
- package/lib/common/components/hosts/utils.ts +8 -1
- package/lib/common/components/index.ts +1 -1
- package/lib/common/components/operators/operatorSpecs.tsx +0 -16
- package/lib/common/components/ui/formik/PullSecretField.tsx +5 -2
- package/lib/common/components/ui/formik/SelectFieldWithSearch.tsx +3 -0
- package/lib/common/config/constants.ts +4 -0
- package/lib/common/config/docs_links.ts +5 -4
- package/lib/common/selectors/clusterSelectors.ts +9 -9
- package/lib/common/types/clusters.ts +4 -2
- package/lib/common/utils.ts +3 -0
- package/lib/common/validationSchemas/addressValidation.tsx +2 -2
- package/lib/ocm/components/AddHosts/types.ts +6 -3
- package/lib/ocm/components/Routes.tsx +2 -2
- package/lib/ocm/components/clusterConfiguration/DiscoveryImageForm.tsx +11 -2
- package/lib/ocm/components/clusterConfiguration/DiscoveryImageModal.tsx +13 -3
- package/lib/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.tsx +9 -1
- package/lib/ocm/components/clusterConfiguration/OcmClusterProgressItems.tsx +2 -2
- package/lib/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.tsx +3 -3
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.tsx +8 -1
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsForm.tsx +3 -1
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/customManifestsValidationSchema.tsx +2 -2
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/utils.tsx +12 -6
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.tsx +86 -22
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.tsx +2 -2
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.ts +57 -20
- package/lib/ocm/components/clusterConfiguration/operators/OperatorCheckbox.tsx +48 -34
- package/lib/ocm/components/clusterConfiguration/operators/bundleSpecs.tsx +2 -3
- package/lib/ocm/components/clusterConfiguration/operators/utils.tsx +6 -37
- package/lib/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.tsx +4 -2
- package/lib/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.tsx +114 -24
- package/lib/ocm/components/clusterConfiguration/review/ReviewSummary.tsx +1 -4
- package/lib/ocm/components/clusterConfiguration/review/TableSummaryExpandable.css +3 -0
- package/lib/ocm/components/clusterConfiguration/review/TableSummaryExpandable.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/review/utils.test.ts +41 -0
- package/lib/ocm/components/clusterConfiguration/review/utils.tsx +6 -3
- package/lib/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.tsx +10 -1
- package/lib/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.tsx +9 -6
- package/lib/ocm/components/clusterConfiguration/staticIp/data/formDataToInfraEnvField.ts +2 -0
- package/lib/ocm/components/clusterConfiguration/staticIp/data/nmstateTypes.ts +1 -0
- package/lib/ocm/components/clusterConfiguration/staticIp/data/nmstateYaml.ts +2 -0
- package/lib/ocm/components/clusterDetail/AssistedInstallerDetailCard.tsx +1 -1
- package/lib/ocm/components/clusterDetail/ClusterDetail.tsx +3 -3
- package/lib/ocm/components/clusterDetail/ClusterDetailsButtonGroup.tsx +27 -2
- package/lib/ocm/components/clusterDetail/ClusterInstallationError.tsx +1 -1
- package/lib/ocm/components/clusterDetail/ProgressBarAlerts.tsx +1 -1
- package/lib/ocm/components/clusterWizard/ClusterDetails.tsx +4 -16
- package/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx +1 -1
- package/lib/ocm/components/clusterWizard/ClusterWizardContext.tsx +5 -0
- package/lib/ocm/components/clusterWizard/ClusterWizardContextProvider.tsx +15 -14
- package/lib/ocm/components/clusterWizard/ClusterWizardFooter.tsx +1 -1
- package/lib/ocm/components/clusterWizard/NewClusterWizard.tsx +10 -3
- package/lib/ocm/components/clusterWizard/Operators.tsx +47 -12
- package/lib/ocm/components/clusterWizard/OperatorsBundle.tsx +72 -26
- package/lib/ocm/components/clusterWizard/OperatorsSelect.test.ts +11 -5
- package/lib/ocm/components/clusterWizard/OperatorsSelect.tsx +21 -4
- package/lib/ocm/components/clusterWizard/OperatorsStep.tsx +1 -1
- package/lib/ocm/components/clusterWizard/OptionalOperatorsDropdown.tsx +106 -0
- package/lib/ocm/components/clusterWizard/constants.ts +1 -0
- package/lib/ocm/components/clusterWizard/disconnected/BasicStep.tsx +31 -52
- package/lib/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.tsx +173 -0
- package/lib/ocm/components/clusterWizard/disconnected/ReviewStep.tsx +11 -9
- package/lib/ocm/components/clusterWizard/wizardTransition.ts +96 -37
- package/lib/ocm/components/clusters/ClusterBreadcrumbs.tsx +1 -1
- package/lib/ocm/components/clusters/ClusterPage.tsx +1 -1
- package/lib/ocm/components/clusters/Clusters.tsx +2 -2
- package/lib/ocm/components/clusters/ClustersListToolbar.tsx +5 -7
- package/lib/ocm/components/clusters/ClustersTable.tsx +60 -50
- package/lib/ocm/components/featureSupportLevels/featureStateUtils.ts +1 -1
- package/lib/ocm/components/featureSupportLevels/index.ts +0 -1
- package/lib/ocm/components/ui/Buttons/BackButton.tsx +1 -1
- package/lib/ocm/hooks/useInfraEnvId.ts +2 -2
- package/lib/ocm/hooks/useLateBinding.ts +45 -24
- package/lib/ocm/hooks/usePullSecret.ts +2 -2
- package/lib/ocm/services/ClustersService.ts +5 -0
- package/lib/ocm/services/InfraEnvsService.ts +4 -1
- package/lib/ocm/store/slices/clusters/selectors.tsx +7 -5
- package/lib/ocm/store/slices/feature-flags/selectors.ts +5 -2
- package/lib/ocm/store/slices/infra-envs/selectors.ts +4 -2
- package/package.json +17 -17
- package/build/@types/cim/components/featureSupportLevels/ACMFeatureSupportLevelProvider.d.ts +0 -9
- package/build/@types/cim/components/featureSupportLevels/ACMFeatureSupportLevelProvider.d.ts.map +0 -1
- package/build/@types/cim/components/featureSupportLevels/featureStateUtils.d.ts +0 -6
- package/build/@types/cim/components/featureSupportLevels/featureStateUtils.d.ts.map +0 -1
- package/build/@types/cim/components/featureSupportLevels/index.d.ts +0 -2
- package/build/@types/cim/components/featureSupportLevels/index.d.ts.map +0 -1
- package/build/@types/cim/config/constants.d.ts +0 -16
- package/build/@types/cim/config/constants.d.ts.map +0 -1
- package/build/@types/common/components/featureSupportLevels/FeatureSupportLevelBadge.d.ts +0 -9
- package/build/@types/common/components/featureSupportLevels/FeatureSupportLevelBadge.d.ts.map +0 -1
- package/build/@types/common/components/featureSupportLevels/FeatureSupportLevelContext.d.ts +0 -22
- package/build/@types/common/components/featureSupportLevels/FeatureSupportLevelContext.d.ts.map +0 -1
- package/build/@types/common/components/featureSupportLevels/index.d.ts +0 -3
- package/build/@types/common/components/featureSupportLevels/index.d.ts.map +0 -1
- package/build/@types/common/components/featureSupportLevels/types.d.ts +0 -8
- package/build/@types/common/components/featureSupportLevels/types.d.ts.map +0 -1
- package/build/cjs/cim/components/featureSupportLevels/ACMFeatureSupportLevelProvider.js +0 -82
- package/build/cjs/cim/components/featureSupportLevels/ACMFeatureSupportLevelProvider.js.map +0 -1
- package/build/cjs/cim/components/featureSupportLevels/featureStateUtils.js +0 -45
- package/build/cjs/cim/components/featureSupportLevels/featureStateUtils.js.map +0 -1
- package/build/cjs/cim/components/featureSupportLevels/index.js +0 -7
- package/build/cjs/cim/components/featureSupportLevels/index.js.map +0 -1
- package/build/cjs/cim/config/constants.js +0 -272
- package/build/cjs/cim/config/constants.js.map +0 -1
- package/build/cjs/common/components/featureSupportLevels/FeatureSupportLevelBadge.js +0 -26
- package/build/cjs/common/components/featureSupportLevels/FeatureSupportLevelBadge.js.map +0 -1
- package/build/cjs/common/components/featureSupportLevels/FeatureSupportLevelContext.js +0 -21
- package/build/cjs/common/components/featureSupportLevels/FeatureSupportLevelContext.js.map +0 -1
- package/build/cjs/common/components/featureSupportLevels/index.js +0 -8
- package/build/cjs/common/components/featureSupportLevels/index.js.map +0 -1
- package/build/cjs/common/components/featureSupportLevels/types.js +0 -3
- package/build/cjs/common/components/featureSupportLevels/types.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageModal.css +0 -3
- package/lib/cim/components/featureSupportLevels/ACMFeatureSupportLevelProvider.tsx +0 -136
- package/lib/cim/components/featureSupportLevels/featureStateUtils.tsx +0 -61
- package/lib/cim/components/featureSupportLevels/index.ts +0 -1
- package/lib/cim/config/constants.ts +0 -285
- package/lib/common/components/featureSupportLevels/FeatureSupportLevelBadge.tsx +0 -37
- package/lib/common/components/featureSupportLevels/FeatureSupportLevelContext.tsx +0 -49
- package/lib/common/components/featureSupportLevels/index.ts +0 -2
- package/lib/common/components/featureSupportLevels/types.ts +0 -12
- package/lib/ocm/components/clusterConfiguration/DiscoveryImageModal.css +0 -3
|
@@ -1,24 +1,7 @@
|
|
|
1
|
+
import type { Selector } from 'reselect';
|
|
1
2
|
import type { RootStateDay1 } from '../../store-day1';
|
|
2
3
|
import type { CpuArchitecture } from '../../../../common';
|
|
3
|
-
|
|
4
|
-
export declare const
|
|
5
|
-
|
|
6
|
-
data: import("@openshift-assisted/types/./assisted-installer-service").Cluster[];
|
|
7
|
-
uiState: import("../../../../common").ResourceUIState;
|
|
8
|
-
};
|
|
9
|
-
currentCluster: {
|
|
10
|
-
data?: import("@openshift-assisted/types/./assisted-installer-service").Cluster;
|
|
11
|
-
uiState: import("../../../../common").ResourceUIState;
|
|
12
|
-
isReloadScheduled: number;
|
|
13
|
-
permissions: import("../../../../common").AssistedInstallerPermissionTypesListType;
|
|
14
|
-
errorDetail?: import("../current-cluster/slice").FetchErrorType;
|
|
15
|
-
};
|
|
16
|
-
infraEnvs: import("@openshift-assisted/types/./assisted-installer-service").InfraEnv[];
|
|
17
|
-
featureFlags: import("../feature-flags/slice").FeatureFlagsState;
|
|
18
|
-
currentUser: import("../current-user/slice").CurrentUserState;
|
|
19
|
-
}, cpuArchitecture: CpuArchitecture) => import("@openshift-assisted/types/./assisted-installer-service").InfraEnv | undefined) & import("reselect").OutputSelectorFields<(args_0: import("@openshift-assisted/types/./assisted-installer-service").InfraEnv[], args_1: CpuArchitecture) => import("@openshift-assisted/types/./assisted-installer-service").InfraEnv | undefined, {
|
|
20
|
-
clearCache: () => void;
|
|
21
|
-
}> & {
|
|
22
|
-
clearCache: () => void;
|
|
23
|
-
};
|
|
4
|
+
import type { InfraEnv } from '@openshift-assisted/types/assisted-installer-service';
|
|
5
|
+
export declare const selectInfraEnvsSlice: (state: RootStateDay1) => InfraEnv[];
|
|
6
|
+
export declare const selectInfraEnvByCpuArchitecture: Selector<RootStateDay1, InfraEnv | undefined, [CpuArchitecture]>;
|
|
24
7
|
//# sourceMappingURL=selectors.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../../../../../lib/ocm/store/slices/infra-envs/selectors.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../../../../../lib/ocm/store/slices/infra-envs/selectors.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sDAAsD,CAAC;AAErF,eAAO,MAAM,oBAAoB,GAAI,OAAO,aAAa,eAAoB,CAAC;AAC9E,eAAO,MAAM,+BAA+B,EAIvC,QAAQ,CAAC,aAAa,EAAE,QAAQ,GAAG,SAAS,EAAE,CAAC,eAAe,CAAC,CAAC,CAAC"}
|
|
@@ -54,7 +54,7 @@ const AgentsSelectionTable = ({ matchingAgents, onEditRole, width, onEditHost, o
|
|
|
54
54
|
(0, tableColumns_1.agentStatusColumn)({
|
|
55
55
|
agents: matchingAgents,
|
|
56
56
|
agentStatuses,
|
|
57
|
-
wizardStepId: '
|
|
57
|
+
wizardStepId: 'host-selection',
|
|
58
58
|
t,
|
|
59
59
|
}),
|
|
60
60
|
(0, common_1.roleColumn)(t, actions.canEditRole, actions.onEditRole, undefined, undefined),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AgentsSelectionTable.js","sourceRoot":"","sources":["../../../../../lib/cim/components/Agent/AgentsSelectionTable.tsx"],"names":[],"mappings":";;AAwBA,0CAKC;;AA7BD,0DAA0B;AAC1B,mCAAkC;AAClC,kGAAiG;AACjG,4CAAwF;AACxF,iDAAwF;AAMxF,6CAA8C;AAC9C,0GAAiF;AACjF,kFAA+E;AAC/E,6EAA0E;AAC1E,2FAA+E;AAC/E,kFAA4E;AAG5E,sGAGkE;AAClE,wDAAqD;AAErD,SAAgB,eAAe,CAAC,EAAE,GAAG,EAAE,IAAI,EAA8B;IACvE,MAAM,EAAE,UAAU,EAAE,YAAY,EAAE,GAAG,IAAA,oDAA0B,GAAE,CAAC;IAClE,OAAO,CACL,8BAAC,0BAAU,IAAC,GAAG,EAAE,IAAI,CAAC,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,YAAY,EAAE,YAAY,GAAI,CAC7F,CAAC;AACJ,CAAC;AAWD,MAAM,oBAAoB,GAAwC,CAAC,EACjE,cAAc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|
1
|
+
{"version":3,"file":"AgentsSelectionTable.js","sourceRoot":"","sources":["../../../../../lib/cim/components/Agent/AgentsSelectionTable.tsx"],"names":[],"mappings":";;AAwBA,0CAKC;;AA7BD,0DAA0B;AAC1B,mCAAkC;AAClC,kGAAiG;AACjG,4CAAwF;AACxF,iDAAwF;AAMxF,6CAA8C;AAC9C,0GAAiF;AACjF,kFAA+E;AAC/E,6EAA0E;AAC1E,2FAA+E;AAC/E,kFAA4E;AAG5E,sGAGkE;AAClE,wDAAqD;AAErD,SAAgB,eAAe,CAAC,EAAE,GAAG,EAAE,IAAI,EAA8B;IACvE,MAAM,EAAE,UAAU,EAAE,YAAY,EAAE,GAAG,IAAA,oDAA0B,GAAE,CAAC;IAClE,OAAO,CACL,8BAAC,0BAAU,IAAC,GAAG,EAAE,IAAI,CAAC,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,YAAY,EAAE,YAAY,GAAI,CAC7F,CAAC;AACJ,CAAC;AAWD,MAAM,oBAAoB,GAAwC,CAAC,EACjE,cAAc,EACd,UAAU,EACV,KAAK,EACL,UAAU,EACV,YAAY,EACZ,uBAAuB,GACxB,EAAE,EAAE;IACH,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,wCAAc,GAAE,CAAC;IAC/B,MAAM,aAAa,GAAG,IAAA,yBAAW,EAAC,CAAC,CAAC,CAAC;IACrC,MAAM,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,CAAC,GAC5B,IAAA,iBAAQ,EAA2D,iBAAiB,CAAC,CAAC;IAExF,MAAM,MAAM,GAAG,eAAK,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;IACzC,MAAM,CAAC,OAAO,GAAG,WAAW,CAAC;IAE7B,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,GAC5B,IAAA,mCAAgB,EAA2D,iBAAiB,CAAC,CAAC;IAEhG,MAAM,aAAa,GAAG,eAAK,CAAC,WAAW,CACrC,CAAC,GAAa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AAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACpD,OAAO,CACL,8BAAC,yDAA+B,IAC9B,YAAY,EAAE,OAAO,CAAC,YAAY,EAClC,UAAU,EAAE,OAAO,CAAC,UAAU;QAE9B,8BAAC,oBAAU,kBACT,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,OAAO,EAChB,WAAW,EAAE,WAAW,EACxB,cAAc,EAAE,cAAc,EAC9B,eAAe,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,mCAAsB,IAC1E,OAAO,EACP,eAAe;YAEnB,8BAAC,oBAAiB,IAChB,KAAK,EAAE,CAAC,CAAC,mBAAmB,CAAC,EAC7B,OAAO,EAAE,CAAC,CAAC,8CAA8C,CAAC,GAC1D,CACS,CACmB,CACnC,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,oBAAoB,CAAC"}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
const react_1 = tslib_1.__importDefault(require("react"));
|
|
5
5
|
const react_core_1 = require("@patternfly/react-core");
|
|
6
|
-
const
|
|
6
|
+
const react_router_1 = require("react-router");
|
|
7
7
|
const use_translation_wrapper_1 = require("../../../common/hooks/use-translation-wrapper");
|
|
8
8
|
const react_i18next_1 = require("react-i18next");
|
|
9
9
|
const common_1 = require("../../../common");
|
|
@@ -25,7 +25,7 @@ const NoAgentsAlert = ({ cpuArchitecture }) => {
|
|
|
25
25
|
' ',
|
|
26
26
|
"architecture to an",
|
|
27
27
|
' ',
|
|
28
|
-
react_1.default.createElement(
|
|
28
|
+
react_1.default.createElement(react_router_1.Link, { to: "/multicloud/infrastructure/environments" }, "infrastructure environment"))),
|
|
29
29
|
react_1.default.createElement(react_core_1.ListItem, null, t('ai:Continue configuration by editing this cluster and utilize the newly added hosts')))));
|
|
30
30
|
};
|
|
31
31
|
exports.default = NoAgentsAlert;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NoAgentsAlert.js","sourceRoot":"","sources":["../../../../../lib/cim/components/Agent/NoAgentsAlert.tsx"],"names":[],"mappings":";;;AAAA,0DAA0B;AAC1B,uDAA4F;AAC5F
|
|
1
|
+
{"version":3,"file":"NoAgentsAlert.js","sourceRoot":"","sources":["../../../../../lib/cim/components/Agent/NoAgentsAlert.tsx"],"names":[],"mappings":";;;AAAA,0DAA0B;AAC1B,uDAA4F;AAC5F,+CAAoC;AACpC,2FAA+E;AAC/E,iDAAsC;AACtC,4CAA8F;AAE9F,MAAM,aAAa,GAAG,CAAC,EAAE,eAAe,EAAwC,EAAE,EAAE;IAClF,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,wCAAc,GAAE,CAAC;IAC/B,OAAO,CACL,8BAAC,kBAAK,IACJ,OAAO,EAAE,yBAAY,CAAC,OAAO,EAC7B,KAAK,EAAE,CAAC,CAAC,wEAAwE,EAAE;YACjF,eAAe,EAAE,yBAAgB,CAAC,eAA2C,CAAC,CAAC,KAAK;SACrF,CAAC,EACF,QAAQ;QAEP,CAAC,CACA,wIAAwI,EACxI,EAAE,eAAe,EAAE,yBAAgB,CAAC,eAA2C,CAAC,CAAC,KAAK,EAAE,CACzF;QACD,yCAAM;QACN,8BAAC,iBAAI,IAAC,SAAS,EAAE,0BAAa,CAAC,EAAE;YAC/B,8BAAC,qBAAQ;gBACP,8BAAC,qBAAK,IAAC,CAAC,EAAE,CAAC,EAAE,eAAe,EAAE,eAAe;;oBACzB,GAAG;oBACpB;wBACC,eAAe,EAAE,yBAAgB,CAAC,eAA2C,CAAC,CAAC,KAAK;qBACrF;oBAAE,GAAG;;oBACa,GAAG;oBACtB,8BAAC,mBAAI,IAAC,EAAE,EAAC,yCAAyC,iCAAkC,CAC9E,CACC;YACX,8BAAC,qBAAQ,QACN,CAAC,CAAC,qFAAqF,CAAC,CAChF,CACN,CACD,CACT,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,aAAa,CAAC"}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.infraEnvColumn = exports.clusterColumn = exports.agentStatusColumn = exports.discoveryTypeColumn = exports.agentHostnameColumn = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const React = tslib_1.__importStar(require("react"));
|
|
6
|
-
const
|
|
6
|
+
const react_router_1 = require("react-router");
|
|
7
7
|
const common_1 = require("../../../common");
|
|
8
8
|
const common_2 = require("../common");
|
|
9
9
|
const helpers_1 = require("../helpers");
|
|
@@ -150,7 +150,7 @@ const clusterColumn = (agents, agentMachines, getClusterDeploymentLink, t) => {
|
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
152
|
return {
|
|
153
|
-
title: cdLink ? React.createElement(
|
|
153
|
+
title: cdLink ? React.createElement(react_router_1.Link, { to: cdLink }, (_g = (_f = agent === null || agent === void 0 ? void 0 : agent.spec) === null || _f === void 0 ? void 0 : _f.clusterDeploymentName) === null || _g === void 0 ? void 0 : _g.name) : '--',
|
|
154
154
|
props: { 'data-testid': 'cluster' },
|
|
155
155
|
sortableValue: (_k = (_j = (_h = agent === null || agent === void 0 ? void 0 : agent.spec) === null || _h === void 0 ? void 0 : _h.clusterDeploymentName) === null || _j === void 0 ? void 0 : _j.name) !== null && _k !== void 0 ? _k : '--',
|
|
156
156
|
};
|
|
@@ -171,7 +171,7 @@ const infraEnvColumn = (agents, t) => {
|
|
|
171
171
|
var _a;
|
|
172
172
|
const agent = agents.find((a) => { var _a; return ((_a = a.metadata) === null || _a === void 0 ? void 0 : _a.uid) === host.id; });
|
|
173
173
|
const infraEnvName = (0, helpers_1.getInfraEnvNameOfAgent)(agent);
|
|
174
|
-
const title = infraEnvName ? (React.createElement(
|
|
174
|
+
const title = infraEnvName ? (React.createElement(react_router_1.Link, { to: `/multicloud/infrastructure/environments/details/${((_a = agent === null || agent === void 0 ? void 0 : agent.metadata) === null || _a === void 0 ? void 0 : _a.namespace) || ''}/${infraEnvName}/overview` }, infraEnvName)) : ('--');
|
|
175
175
|
return {
|
|
176
176
|
title,
|
|
177
177
|
props: { 'data-testid': 'infra-env' },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tableColumns.js","sourceRoot":"","sources":["../../../../../lib/cim/components/Agent/tableColumns.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAE/B
|
|
1
|
+
{"version":3,"file":"tableColumns.js","sourceRoot":"","sources":["../../../../../lib/cim/components/Agent/tableColumns.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAE/B,+CAAoC;AAEpC,4CAAyF;AAKzF,sCAAqD;AACrD,wCAKoB;AAEpB,wEAAwC;AACxC,oEAAoC;AACpC,mDAAgD;AAEzC,MAAM,mBAAmB,GAAG,CACjC,CAAY,EACZ,KAAa,EACb,MAA0B,EAC1B,cAA0C,EAC1C,cAAgD,EAChD,eAAsD,EACtD,UAA4C,EAC5B,EAAE,CAAC,CAAC;IACpB,MAAM,EAAE;QACN,KAAK,EAAE,CAAC,CAAS,aAAa,CAAC;QAC/B,KAAK,EAAE;YACL,EAAE,EAAE,qBAAqB,EAAE,wCAAwC;YACnE,QAAQ,EAAE,WAAW;SACtB;QACD,IAAI,EAAE,IAAI;KACX;IACD,IAAI,EAAE,CAAC,IAAI,EAAE,EAAE;QACb,MAAM,SAAS,GAAG,IAAA,qBAAY,EAAC,IAAI,CAAC,CAAC;QACrC,MAAM,YAAY,GAAG,cAAc,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;QAC7E,MAAM,gBAAgB,GAAG,IAAA,oBAAW,EAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAEtD,IAAI,QAAQ,GAAG,IAAI,CAAC;QAEpB,MAAM,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,WAAC,OAAA,CAAA,MAA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qBAAqB,0CAAE,IAAI,mCAAI,IAAI;aAChE,CAAC;QACJ,CAAC;KACF,CAAC;AACJ,CAAC,CAAC;AA3CW,QAAA,aAAa,iBA2CxB;AAEK,MAAM,cAAc,GAAG,CAAC,MAA0B,EAAE,CAAY,EAAkB,EAAE;IACzF,OAAO;QACL,MAAM,EAAE;YACN,KAAK,EAAE,CAAC,CAAS,uBAAuB,CAAC;YACzC,KAAK,EAAE;gBACL,EAAE,EAAE,qBAAqB;aAC1B;YACD,IAAI,EAAE,IAAI;SACX;QACD,IAAI,EAAE,CAAC,IAAI,EAAE,EAAE;;YACb,MAAM,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,WAAC,OAAA,CAAA,MAAA,CAAC,CAAC,QAAQ,0CAAE,GAAG,MAAK,IAAI,CAAC,EAAE,CAAA,EAAA,CAAC,CAAC;YAC9D,MAAM,YAAY,GAAG,IAAA,gCAAsB,EAAC,KAAK,CAAC,CAAC;YACnD,MAAM,KAAK,GAAG,YAAY,CAAC,CAAC,CAAC,CAC3B,oBAAC,mBAAI,IACH,EAAE,EAAE,mDACF,CAAA,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,QAAQ,0CAAE,SAAS,KAAI,EAChC,IAAI,YAAY,WAAW,IAE1B,YAAY,CACR,CACR,CAAC,CAAC,CAAC,CACF,IAAI,CACL,CAAC;YACF,OAAO;gBACL,KAAK;gBACL,KAAK,EAAE,EAAE,aAAa,EAAE,WAAW,EAAE;gBACrC,aAAa,EAAE,YAAY;aAC5B,CAAC;QACJ,CAAC;KACF,CAAC;AACJ,CAAC,CAAC;AA9BW,QAAA,cAAc,kBA8BzB"}
|
|
@@ -6,7 +6,6 @@ const React = tslib_1.__importStar(require("react"));
|
|
|
6
6
|
const use_translation_wrapper_1 = require("../../../common/hooks/use-translation-wrapper");
|
|
7
7
|
const react_core_1 = require("@patternfly/react-core");
|
|
8
8
|
const common_1 = require("../../../common");
|
|
9
|
-
const featureSupportLevels_1 = require("../featureSupportLevels");
|
|
10
9
|
const YamlPreview_1 = require("../YamlPreview");
|
|
11
10
|
const constants_1 = require("./constants");
|
|
12
11
|
const ClusterDeploymentWizardContext_1 = require("./ClusterDeploymentWizardContext");
|
|
@@ -17,9 +16,10 @@ const hostDiscovery_1 = require("./hostDiscovery");
|
|
|
17
16
|
const networking_1 = require("./networking");
|
|
18
17
|
const review_1 = require("./review");
|
|
19
18
|
const customManifests_1 = require("./customManifests");
|
|
19
|
+
const hooks_1 = require("../../hooks");
|
|
20
20
|
const ClusterDeploymentWizard = (_a) => {
|
|
21
21
|
var _b, _c;
|
|
22
|
-
var { className, onSaveDetails, onSaveNetworking, onSaveHostsSelection, onClose, onFinish, hostActions, usedClusterNames, fetchSecret, clusterDeployment, agentClusterInstall,
|
|
22
|
+
var { className, onSaveDetails, onSaveNetworking, onSaveHostsSelection, onClose, onFinish, hostActions, usedClusterNames, fetchSecret, clusterDeployment, agentClusterInstall, bareMetalHosts, clusterImages, aiConfigMap, infraEnv, fetchInfraEnv, initialStep, isPreviewOpen, setPreviewOpen, fetchManagedClusters, fetchKlusterletAddonConfig, onSaveISOParams, onCreateBMH, isNutanix, onChangeBMHHostname } = _a, rest = tslib_1.__rest(_a, ["className", "onSaveDetails", "onSaveNetworking", "onSaveHostsSelection", "onClose", "onFinish", "hostActions", "usedClusterNames", "fetchSecret", "clusterDeployment", "agentClusterInstall", "bareMetalHosts", "clusterImages", "aiConfigMap", "infraEnv", "fetchInfraEnv", "initialStep", "isPreviewOpen", "setPreviewOpen", "fetchManagedClusters", "fetchKlusterletAddonConfig", "onSaveISOParams", "onCreateBMH", "isNutanix", "onChangeBMHHostname"]);
|
|
23
23
|
const { t } = (0, use_translation_wrapper_1.useTranslation)();
|
|
24
24
|
const { code, loadingResources } = (0, YamlPreview_1.useYamlPreview)({
|
|
25
25
|
agentClusterInstall,
|
|
@@ -28,28 +28,34 @@ const ClusterDeploymentWizard = (_a) => {
|
|
|
28
28
|
fetchManagedClusters,
|
|
29
29
|
fetchKlusterletAddonConfig,
|
|
30
30
|
});
|
|
31
|
+
const [agents, loaded, error] = (0, hooks_1.useAgents)({ isList: true });
|
|
31
32
|
// if initialStep is set, it is either 'host-selection' or 'host-discovery', both at index 4
|
|
32
33
|
// if initialStep is not set, start at 'cluster-details' which is at index 2
|
|
33
34
|
const startIndex = initialStep ? 4 : 2;
|
|
34
35
|
const stepNames = (0, constants_1.wizardStepNames)(t);
|
|
35
36
|
const isAIFlow = !!infraEnv;
|
|
37
|
+
if (!loaded) {
|
|
38
|
+
return React.createElement(common_1.LoadingState, null);
|
|
39
|
+
}
|
|
40
|
+
else if (error) {
|
|
41
|
+
return React.createElement(common_1.ErrorState, null);
|
|
42
|
+
}
|
|
36
43
|
return (React.createElement(react_core_1.Grid, { style: { height: '100%' } },
|
|
37
44
|
React.createElement(react_core_1.GridItem, { span: isPreviewOpen ? 7 : 12 },
|
|
38
45
|
React.createElement(common_1.AlertsContextProvider, null,
|
|
39
|
-
React.createElement(
|
|
40
|
-
React.createElement(
|
|
41
|
-
React.createElement(react_core_1.
|
|
42
|
-
|
|
43
|
-
React.createElement(
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
React.createElement(
|
|
48
|
-
|
|
49
|
-
React.createElement(
|
|
50
|
-
|
|
51
|
-
React.createElement(
|
|
52
|
-
React.createElement(review_1.ClusterDeploymentReviewStep, { onFinish: onFinish, clusterDeployment: clusterDeployment, agentClusterInstall: agentClusterInstall, agents: agents, clusterImages: clusterImages, infraEnv: infraEnv }))))))),
|
|
46
|
+
React.createElement(ClusterDeploymentWizardContext_1.ClusterDeploymentWizardContextProvider, { agentClusterInstall: agentClusterInstall },
|
|
47
|
+
React.createElement(react_core_1.Wizard, { isVisitRequired: true, startIndex: startIndex, className: className, onClose: onClose },
|
|
48
|
+
React.createElement(react_core_1.WizardStep, { name: stepNames['installation-type'], id: 'installation-type', isDisabled: true }),
|
|
49
|
+
React.createElement(react_core_1.WizardStep, { name: stepNames['cluster-details'], id: 'cluster-details' },
|
|
50
|
+
React.createElement(clusterDetails_1.ClusterDeploymentDetailsStep, { clusterImages: clusterImages, usedClusterNames: usedClusterNames, clusterDeployment: clusterDeployment, agentClusterInstall: agentClusterInstall, agents: agents, onSaveDetails: onSaveDetails, isPreviewOpen: isPreviewOpen, infraEnv: infraEnv, isNutanix: isNutanix })),
|
|
51
|
+
React.createElement(react_core_1.WizardStep, { name: stepNames['automation'], id: 'automation', isDisabled: true }),
|
|
52
|
+
(0, helpers_1.isCIMFlow)(clusterDeployment) ? (React.createElement(react_core_1.WizardStep, { name: stepNames['host-selection'], id: 'host-selection' }, ((_b = agentClusterInstall === null || agentClusterInstall === void 0 ? void 0 : agentClusterInstall.metadata) === null || _b === void 0 ? void 0 : _b.name) ? (React.createElement(hostSelection_1.ClusterDeploymentHostSelectionStep, { clusterDeployment: clusterDeployment, agentClusterInstall: agentClusterInstall, onSaveHostsSelection: onSaveHostsSelection, agents: agents, aiConfigMap: aiConfigMap, onEditRole: hostActions.onEditRole, onSetInstallationDiskId: hostActions.onSetInstallationDiskId, isNutanix: isNutanix })) : (React.createElement(common_1.LoadingState, null)))) : (React.createElement(react_core_1.WizardStep, { name: stepNames['host-discovery'], id: 'host-discovery' }, isAIFlow && onSaveISOParams && onCreateBMH ? (React.createElement(hostDiscovery_1.ClusterDeploymentHostsDiscoveryStep, Object.assign({ clusterDeployment: clusterDeployment, agentClusterInstall: agentClusterInstall, agents: agents, bareMetalHosts: bareMetalHosts, aiConfigMap: aiConfigMap, infraEnv: infraEnv, fetchSecret: fetchSecret, onChangeBMHHostname: onChangeBMHHostname, onEditRole: hostActions.onEditRole, onSetInstallationDiskId: hostActions.onSetInstallationDiskId, onDeleteHost: hostActions.onDeleteHost, onSaveISOParams: onSaveISOParams, onCreateBMH: onCreateBMH }, rest))) : (React.createElement(common_1.LoadingState, null)))),
|
|
53
|
+
React.createElement(react_core_1.WizardStep, { name: stepNames['networking'], id: 'networking' },
|
|
54
|
+
React.createElement(networking_1.ClusterDeploymentNetworkingStep, { clusterDeployment: clusterDeployment, agentClusterInstall: agentClusterInstall, agents: agents, onSaveNetworking: onSaveNetworking, onEditHost: hostActions.onEditHost, onEditRole: hostActions.onEditRole, fetchInfraEnv: fetchInfraEnv, isPreviewOpen: isPreviewOpen, onSetInstallationDiskId: hostActions.onSetInstallationDiskId, isNutanix: isNutanix })),
|
|
55
|
+
React.createElement(react_core_1.WizardStep, { name: stepNames['custom-manifests'], id: 'custom-manifests' },
|
|
56
|
+
React.createElement(customManifests_1.ClusterDeploymentCustomManifestsStep, { agentClusterInstall: agentClusterInstall })),
|
|
57
|
+
React.createElement(react_core_1.WizardStep, { name: stepNames['review'], id: 'review' },
|
|
58
|
+
React.createElement(review_1.ClusterDeploymentReviewStep, { onFinish: onFinish, clusterDeployment: clusterDeployment, agentClusterInstall: agentClusterInstall, agents: agents, clusterImages: clusterImages, infraEnv: infraEnv })))))),
|
|
53
59
|
isPreviewOpen && (React.createElement(react_core_1.GridItem, { span: 5 },
|
|
54
60
|
React.createElement(YamlPreview_1.YamlPreview, { code: code, setPreviewOpen: setPreviewOpen, loading: loadingResources }, `${((_c = clusterDeployment.metadata) === null || _c === void 0 ? void 0 : _c.name) || ''} cluster`)))));
|
|
55
61
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClusterDeploymentWizard.js","sourceRoot":"","sources":["../../../../../lib/cim/components/ClusterDeployment/ClusterDeploymentWizard.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,2FAA+E;AAC/E,uDAA4E;AAC5E,
|
|
1
|
+
{"version":3,"file":"ClusterDeploymentWizard.js","sourceRoot":"","sources":["../../../../../lib/cim/components/ClusterDeployment/ClusterDeploymentWizard.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,2FAA+E;AAC/E,uDAA4E;AAC5E,4CAAkF;AAElF,gDAA6D;AAC7D,2CAA8C;AAC9C,qFAA0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AE,WAAW,CAAC,UAAU,EAClC,aAAa,EAAE,aAAa,EAC5B,aAAa,EAAE,aAAa,EAC5B,uBAAuB,EAAE,WAAW,CAAC,uBAAuB,EAC5D,SAAS,EAAE,SAAS,GACpB,CACS;wBAEb,oBAAC,uBAAU,IAAC,IAAI,EAAE,SAAS,CAAC,kBAAkB,CAAC,EAAE,EAAE,EAAE,kBAAkB;4BACrE,oBAAC,sDAAoC,IAAC,mBAAmB,EAAE,mBAAmB,GAAI,CACvE;wBAEb,oBAAC,uBAAU,IAAC,IAAI,EAAE,SAAS,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,QAAQ;4BACjD,oBAAC,oCAA2B,IAC1B,QAAQ,EAAE,QAAQ,EAClB,iBAAiB,EAAE,iBAAiB,EACpC,mBAAmB,EAAE,mBAAmB,EACxC,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,aAAa,EAC5B,QAAQ,EAAE,QAAQ,GAClB,CACS,CACN,CAC8B,CACnB,CACf;QACV,aAAa,IAAI,CAChB,oBAAC,qBAAQ,IAAC,IAAI,EAAE,CAAC;YACf,oBAAC,yBAAW,IAAC,IAAI,EAAE,IAAI,EAAE,cAAc,EAAE,cAAc,EAAE,OAAO,EAAE,gBAAgB,IAC/E,GAAG,CAAA,MAAA,iBAAiB,CAAC,QAAQ,0CAAE,IAAI,KAAI,EAAE,UAAU,CACxC,CACL,CACZ,CACI,CACR,CAAC;AACJ,CAAC,CAAC;AApKW,QAAA,uBAAuB,2BAoKlC"}
|
|
@@ -18,7 +18,7 @@ const ClusterInstallationError = ({ agentClusterInstall, }) => {
|
|
|
18
18
|
return (react_1.default.createElement(react_core_1.GridItem, null,
|
|
19
19
|
react_1.default.createElement(react_core_1.Alert, { variant: react_core_1.AlertVariant.danger, title: title, actionLinks: react_1.default.createElement(react_1.default.Fragment, null,
|
|
20
20
|
react_1.default.createElement(LogsDownloadButton_1.LogsDownloadButton, { id: getID('button-download-installation-logs'), Component: react_core_1.AlertActionLink, agentClusterInstall: agentClusterInstall }),
|
|
21
|
-
react_1.default.createElement(react_core_1.AlertActionLink, { onClick: () => window.open((0, config_1.getReportIssueLink)(), '_blank'), id: getID('button-report-bug') }, t('ai:Report a bug'))), isInline: true }, (0, utils_1.toSentence)(statusInfo))));
|
|
21
|
+
react_1.default.createElement(react_core_1.AlertActionLink, { onClick: () => window.open((0, config_1.getReportIssueLink)(), '_blank', 'noopener,noreferrer'), id: getID('button-report-bug') }, t('ai:Report a bug'))), isInline: true }, (0, utils_1.toSentence)(statusInfo))));
|
|
22
22
|
};
|
|
23
23
|
exports.default = ClusterInstallationError;
|
|
24
24
|
//# sourceMappingURL=ClusterInstallationError.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClusterInstallationError.js","sourceRoot":"","sources":["../../../../../lib/cim/components/ClusterDeployment/ClusterInstallationError.tsx"],"names":[],"mappings":";;;AAAA,0DAA0B;AAC1B,uDAAwF;AACxF,qEAAuE;AACvE,mDAA4D;AAE5D,wCAA8C;AAC9C,6DAA0D;AAC1D,2FAA+E;AAM/E,MAAM,KAAK,GAAG,CAAC,MAAc,EAAE,EAAE,CAAC,yBAAyB,MAAM,EAAE,CAAC;AAEpE,MAAM,wBAAwB,GAA4C,CAAC,EACzE,mBAAmB,GACpB,EAAE,EAAE;IACH,MAAM,CAAC,aAAa,EAAE,UAAU,CAAC,GAAG,IAAA,0BAAgB,EAAC,mBAAmB,CAAC,CAAC;IAC1E,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,wCAAc,GAAE,CAAC;IAC/B,MAAM,KAAK,GACT,aAAa,KAAK,WAAW;QAC3B,CAAC,CAAC,CAAC,CAAC,uCAAuC,CAAC;QAC5C,CAAC,CAAC,CAAC,CAAC,gCAAgC,CAAC,CAAC;IAE1C,OAAO,CACL,8BAAC,qBAAQ;QACP,8BAAC,kBAAK,IACJ,OAAO,EAAE,yBAAY,CAAC,MAAM,EAC5B,KAAK,EAAE,KAAK,EACZ,WAAW,EACT;gBACE,8BAAC,uCAAkB,IACjB,EAAE,EAAE,KAAK,CAAC,mCAAmC,CAAC,EAC9C,SAAS,EAAE,4BAAe,EAC1B,mBAAmB,EAAE,mBAAmB,GACxC;gBACF,8BAAC,4BAAe,IACd,OAAO,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,IAAA,2BAAkB,GAAE,EAAE,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"ClusterInstallationError.js","sourceRoot":"","sources":["../../../../../lib/cim/components/ClusterDeployment/ClusterInstallationError.tsx"],"names":[],"mappings":";;;AAAA,0DAA0B;AAC1B,uDAAwF;AACxF,qEAAuE;AACvE,mDAA4D;AAE5D,wCAA8C;AAC9C,6DAA0D;AAC1D,2FAA+E;AAM/E,MAAM,KAAK,GAAG,CAAC,MAAc,EAAE,EAAE,CAAC,yBAAyB,MAAM,EAAE,CAAC;AAEpE,MAAM,wBAAwB,GAA4C,CAAC,EACzE,mBAAmB,GACpB,EAAE,EAAE;IACH,MAAM,CAAC,aAAa,EAAE,UAAU,CAAC,GAAG,IAAA,0BAAgB,EAAC,mBAAmB,CAAC,CAAC;IAC1E,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,wCAAc,GAAE,CAAC;IAC/B,MAAM,KAAK,GACT,aAAa,KAAK,WAAW;QAC3B,CAAC,CAAC,CAAC,CAAC,uCAAuC,CAAC;QAC5C,CAAC,CAAC,CAAC,CAAC,gCAAgC,CAAC,CAAC;IAE1C,OAAO,CACL,8BAAC,qBAAQ;QACP,8BAAC,kBAAK,IACJ,OAAO,EAAE,yBAAY,CAAC,MAAM,EAC5B,KAAK,EAAE,KAAK,EACZ,WAAW,EACT;gBACE,8BAAC,uCAAkB,IACjB,EAAE,EAAE,KAAK,CAAC,mCAAmC,CAAC,EAC9C,SAAS,EAAE,4BAAe,EAC1B,mBAAmB,EAAE,mBAAmB,GACxC;gBACF,8BAAC,4BAAe,IACd,OAAO,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,IAAA,2BAAkB,GAAE,EAAE,QAAQ,EAAE,qBAAqB,CAAC,EACjF,EAAE,EAAE,KAAK,CAAC,mBAAmB,CAAC,IAE7B,CAAC,CAAC,iBAAiB,CAAC,CACL,CACjB,EAEL,QAAQ,UAEP,IAAA,kBAAU,EAAC,UAAU,CAAC,CACjB,CACC,CACZ,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,wBAAwB,CAAC"}
|
package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ACMClusterDeploymentDetailsStep.js
CHANGED
|
@@ -7,7 +7,7 @@ const formik_1 = require("formik");
|
|
|
7
7
|
const react_core_1 = require("@patternfly/react-core");
|
|
8
8
|
const noop_js_1 = tslib_1.__importDefault(require("lodash-es/noop.js"));
|
|
9
9
|
const common_1 = require("../../../../common");
|
|
10
|
-
const
|
|
10
|
+
const useDetailsFormik_1 = require("./useDetailsFormik");
|
|
11
11
|
const helpers_1 = require("../../helpers");
|
|
12
12
|
const ClusterDeploymentDetailsForm_1 = require("./ClusterDeploymentDetailsForm");
|
|
13
13
|
const DetailsFormBody = ({ onValuesChanged, clusterImages, extensionAfter, isNutanix, osImages, }) => {
|
|
@@ -22,9 +22,12 @@ const DetailsFormBody = ({ onValuesChanged, clusterImages, extensionAfter, isNut
|
|
|
22
22
|
};
|
|
23
23
|
const ACMClusterDeploymentDetailsStep = (_a) => {
|
|
24
24
|
var { clusterImages, formRef, usedClusterNames, osImages, isNutanix } = _a, rest = tslib_1.__rest(_a, ["clusterImages", "formRef", "usedClusterNames", "osImages", "isNutanix"]);
|
|
25
|
-
const
|
|
26
|
-
const
|
|
25
|
+
const { t } = (0, common_1.useTranslation)();
|
|
26
|
+
const ocpVersions = (0, helpers_1.getOCPVersions)(clusterImages, t, !!isNutanix, osImages);
|
|
27
|
+
const allOcpVersions = (0, helpers_1.getOCPVersions)(clusterImages, t, !!isNutanix, osImages, true);
|
|
28
|
+
const [initialValues, validationSchema] = (0, useDetailsFormik_1.useDetailsFormik)({
|
|
27
29
|
ocpVersions,
|
|
30
|
+
allOcpVersions,
|
|
28
31
|
usedClusterNames,
|
|
29
32
|
});
|
|
30
33
|
return (react_1.default.createElement(formik_1.Formik, { initialValues: initialValues, validate: (0, common_1.getRichTextValidation)(validationSchema), innerRef: formRef, onSubmit: noop_js_1.default },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ACMClusterDeploymentDetailsStep.js","sourceRoot":"","sources":["../../../../../../lib/cim/components/ClusterDeployment/clusterDetails/ACMClusterDeploymentDetailsStep.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,mCAA+D;AAC/D,uDAA+C;AAC/C,wEAAqC;AACrC,+
|
|
1
|
+
{"version":3,"file":"ACMClusterDeploymentDetailsStep.js","sourceRoot":"","sources":["../../../../../../lib/cim/components/ClusterDeployment/clusterDetails/ACMClusterDeploymentDetailsStep.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,mCAA+D;AAC/D,uDAA+C;AAC/C,wEAAqC;AACrC,+CAAiG;AAEjG,yDAAsD;AAGtD,2CAA+C;AAC/C,iFAA8E;AAU9E,MAAM,eAAe,GAAmC,CAAC,EACvD,eAAe,EACf,aAAa,EACb,cAAc,EACd,SAAS,EACT,QAAQ,GACT,EAAE,EAAE;IACH,MAAM,EAAE,MAAM,EAAE,GAAG,IAAA,yBAAgB,GAAwB,CAAC;IAC5D,MAAM,aAAa,GAAG,eAAK,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IACzC,eAAK,CAAC,SAAS,CAAC,GAAG,EAAE,CAAC,eAAe,CAAC,MAAM,EAAE,aAAa,CAAC,OAAO,CAAC,EAAE,CAAC,eAAe,EAAE,MAAM,CAAC,CAAC,CAAC;IACjG,eAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACnB,aAAa,CAAC,OAAO,GAAG,KAAK,CAAC;IAChC,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,CACL,8BAAC,kBAAK,IAAC,SAAS;QACd,8BAAC,2DAA4B,IAC3B,aAAa,EAAE,aAAa,EAC5B,cAAc,EAAE,cAAc,EAC9B,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,QAAQ,GAClB,CACI,CACT,CAAC;AACJ,CAAC,CAAC;AAOK,MAAM,+BAA+B,GAAmD,CAAC,EAO/F,EAAE,EAAE;QAP2F,EAC9F,aAAa,EACb,OAAO,EACP,gBAAgB,EAChB,QAAQ,EACR,SAAS,OAEV,EADI,IAAI,sBANuF,yEAO/F,CADQ;IAEP,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,uBAAc,GAAE,CAAC;IAC/B,MAAM,WAAW,GAAG,IAAA,wBAAc,EAAC,aAAa,EAAE,CAAC,EAAE,CAAC,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC;IAC5E,MAAM,cAAc,GAAG,IAAA,wBAAc,EAAC,aAAa,EAAE,CAAC,EAAE,CAAC,CAAC,SAAS,EAAE,QAAQ,EAAE,IAAI,CAAC,CAAC;IAErF,MAAM,CAAC,aAAa,EAAE,gBAAgB,CAAC,GAAG,IAAA,mCAAgB,EAAC;QACzD,WAAW;QACX,cAAc;QACd,gBAAgB;KACjB,CAAC,CAAC;IAEH,OAAO,CACL,8BAAC,eAAM,IACL,aAAa,EAAE,aAAa,EAC5B,QAAQ,EAAE,IAAA,8BAAqB,EAAC,gBAAgB,CAAC,EACjD,QAAQ,EAAE,OAAO,EACjB,QAAQ,EAAE,iBAAI;QAEd,8BAAC,eAAe,kBACd,aAAa,EAAE,aAAa,EAC5B,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAE,SAAS,IAChB,IAAI,EACR,CACK,CACV,CAAC;AACJ,CAAC,CAAC;AAjCW,QAAA,+BAA+B,mCAiC1C"}
|
package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsForm.js
CHANGED
|
@@ -11,7 +11,6 @@ const formik_1 = require("formik");
|
|
|
11
11
|
const common_1 = require("../../../../common");
|
|
12
12
|
const ClusterDeploymentWizardContext_1 = require("../ClusterDeploymentWizardContext");
|
|
13
13
|
const ValidationSection_1 = require("../components/ValidationSection");
|
|
14
|
-
const lodash_es_1 = require("lodash-es");
|
|
15
14
|
const ClusterDeploymentDetailsFormWrapper = ({ children, }) => {
|
|
16
15
|
const { activeStep, goToPrevStep, goToNextStep, close } = (0, react_core_1.useWizardContext)();
|
|
17
16
|
const { syncError } = React.useContext(ClusterDeploymentWizardContext_1.ClusterDeploymentWizardContext);
|
|
@@ -33,16 +32,16 @@ const ClusterDeploymentDetailsFormWrapper = ({ children, }) => {
|
|
|
33
32
|
exports.ClusterDeploymentDetailsFormWrapper = ClusterDeploymentDetailsFormWrapper;
|
|
34
33
|
const ClusterDeploymentDetailsForm = ({ clusterDeployment, clusterImages, extensionAfter, isNutanix, osImages, }) => {
|
|
35
34
|
const { t } = (0, use_translation_wrapper_1.useTranslation)();
|
|
36
|
-
const versions = React.useMemo(() => (0, helpers_1.getOCPVersions)(clusterImages, isNutanix, osImages), [clusterImages, isNutanix, osImages]);
|
|
37
|
-
const allVersions = React.useMemo(() => (0, helpers_1.getOCPVersions)(clusterImages, isNutanix, osImages, true), [clusterImages, isNutanix, osImages]);
|
|
35
|
+
const versions = React.useMemo(() => (0, helpers_1.getOCPVersions)(clusterImages, t, isNutanix, osImages), [clusterImages, isNutanix, osImages, t]);
|
|
36
|
+
const allVersions = React.useMemo(() => (0, helpers_1.getOCPVersions)(clusterImages, t, isNutanix, osImages, true), [clusterImages, isNutanix, osImages, t]);
|
|
38
37
|
const isEditFlow = !!clusterDeployment;
|
|
39
38
|
const { values } = (0, formik_1.useFormikContext)();
|
|
40
39
|
const [cpuArchitectures, allowHighlyAvailable] = React.useMemo(() => {
|
|
41
|
-
var _a
|
|
40
|
+
var _a;
|
|
42
41
|
const cpuArchitectures = [common_1.CpuArchitecture.x86, common_1.CpuArchitecture.ARM, common_1.CpuArchitecture.s390x];
|
|
43
42
|
const version = allVersions.find((ver) => ver.value === values.openshiftVersion);
|
|
44
43
|
const isMulti = ((_a = version === null || version === void 0 ? void 0 : version.cpuArchitectures) === null || _a === void 0 ? void 0 : _a[0]) === common_1.CpuArchitecture.MULTI;
|
|
45
|
-
const highlyAvailableSupported = (0,
|
|
44
|
+
const highlyAvailableSupported = (0, common_1.isMajorMinorVersionEqualOrGreater)(version === null || version === void 0 ? void 0 : version.version, '4.18');
|
|
46
45
|
return [
|
|
47
46
|
(isMulti ? cpuArchitectures : version === null || version === void 0 ? void 0 : version.cpuArchitectures),
|
|
48
47
|
highlyAvailableSupported && !isMulti,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClusterDeploymentDetailsForm.js","sourceRoot":"","sources":["../../../../../../lib/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsForm.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,uDAQgC;AAOhC,2CAA+C;AAC/C,8FAAkF;AAClF,yEAGoC;AACpC,mCAA0C;AAC1C,+
|
|
1
|
+
{"version":3,"file":"ClusterDeploymentDetailsForm.js","sourceRoot":"","sources":["../../../../../../lib/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsForm.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,uDAQgC;AAOhC,2CAA+C;AAC/C,8FAAkF;AAClF,yEAGoC;AACpC,mCAA0C;AAC1C,+CAK4B;AAC5B,sFAAmF;AACnF,uEAAoE;AAW7D,MAAM,mCAAmC,GAAG,CAAC,EAClD,QAAQ,GAGT,EAAE,EAAE;IACH,MAAM,EAAE,UAAU,EAAE,YAAY,EAAE,YAAY,EAAE,KAAK,EAAE,GAAG,IAAA,6BAAgB,GAAE,CAAC;IAC7E,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC,UAAU,CAAC,+DAA8B,CAAC,CAAC;IACvE,MAAM,EAAE,YAAY,EAAE,OAAO,EAAE,YAAY,EAAE,GAAG,IAAA,yBAAgB,G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AAC,OAAO,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,gBAAgB,CAA+B;YACtF,wBAAwB,IAAI,CAAC,OAAO;SACrC,CAAC;IACJ,CAAC,EAAE,CAAC,WAAW,EAAE,MAAM,CAAC,gBAAgB,CAAC,CAAC,CAAC;IAE3C,OAAO,CACL;QACG,UAAU,IAAI,CACb,oBAAC,sBAAS;YACR,oBAAC,kBAAK,IACJ,QAAQ,QACR,OAAO,EAAC,MAAM,EACd,KAAK,EAAE,CAAC,CAAC,uEAAuE,CAAC,GACjF,CACQ,CACb;QACD,oBAAC,sBAAS;YACR,oBAAC,mDAAwB,IACvB,QAAQ,EAAE,QAAQ,EAClB,WAAW,EAAE,WAAW,EACxB,UAAU,EAAE,UAAU,EACtB,cAAc,EAAE,cAAc,EAC9B,SAAS,EAAE,SAAS,EACpB,gBAAgB,EAAE,gBAAgB,EAClC,oBAAoB,EAAE,oBAAoB,GAC1C,CACQ,CACX,CACJ,CAAC;AACJ,CAAC,CAAC;AA1DW,QAAA,4BAA4B,gCA0DvC"}
|
package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsStep.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ClusterDeploymentDetailsStep =
|
|
3
|
+
exports.ClusterDeploymentDetailsStep = 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");
|
|
@@ -10,44 +10,18 @@ const helpers_1 = require("../../helpers");
|
|
|
10
10
|
const ClusterDeploymentDetailsForm_1 = require("./ClusterDeploymentDetailsForm");
|
|
11
11
|
const helpers_2 = require("../helpers");
|
|
12
12
|
const use_translation_wrapper_1 = require("../../../../common/hooks/use-translation-wrapper");
|
|
13
|
-
const
|
|
14
|
-
const { t } = (0, use_translation_wrapper_1.useTranslation)();
|
|
15
|
-
const isEdit = !!clusterDeployment || !!agentClusterInstall;
|
|
16
|
-
const cluster = react_1.default.useMemo(() => clusterDeployment && agentClusterInstall
|
|
17
|
-
? (0, helpers_1.getAICluster)({
|
|
18
|
-
clusterDeployment,
|
|
19
|
-
agentClusterInstall,
|
|
20
|
-
agents,
|
|
21
|
-
infraEnv,
|
|
22
|
-
})
|
|
23
|
-
: undefined, [agentClusterInstall, clusterDeployment, agents, infraEnv]);
|
|
24
|
-
const initialValues = react_1.default.useMemo(() => {
|
|
25
|
-
const initValues = (0, common_1.getClusterDetailsInitialValues)({
|
|
26
|
-
managedDomains: [], // not supported
|
|
27
|
-
cluster,
|
|
28
|
-
ocpVersions,
|
|
29
|
-
});
|
|
30
|
-
const ocpVersion = ocpVersions.find((ocpVersion) => ocpVersion.value === initValues.openshiftVersion);
|
|
31
|
-
return Object.assign(Object.assign({}, initValues), { networkType: (0, helpers_1.getNetworkType)(ocpVersion) });
|
|
32
|
-
}, []);
|
|
33
|
-
const validationSchema = react_1.default.useMemo(() => (0, common_1.getClusterDetailsValidationSchema)({
|
|
34
|
-
usedClusterNames,
|
|
35
|
-
pullSecretSet: isEdit,
|
|
36
|
-
validateUniqueName: true,
|
|
37
|
-
t,
|
|
38
|
-
}), [usedClusterNames, isEdit, t]);
|
|
39
|
-
return [initialValues, validationSchema];
|
|
40
|
-
};
|
|
41
|
-
exports.useDetailsFormik = useDetailsFormik;
|
|
13
|
+
const useDetailsFormik_1 = require("./useDetailsFormik");
|
|
42
14
|
const ClusterDeploymentDetailsStep = ({ clusterImages, clusterDeployment, agentClusterInstall, agents, usedClusterNames, onSaveDetails, isPreviewOpen, infraEnv, isNutanix, }) => {
|
|
43
15
|
const { t } = (0, use_translation_wrapper_1.useTranslation)();
|
|
44
16
|
const { addAlert } = (0, common_1.useAlerts)();
|
|
45
17
|
const { goToNextStep } = (0, react_core_1.useWizardContext)();
|
|
46
|
-
const ocpVersions = (0, helpers_1.getOCPVersions)(clusterImages, isNutanix);
|
|
18
|
+
const ocpVersions = (0, helpers_1.getOCPVersions)(clusterImages, t, isNutanix);
|
|
19
|
+
const allOcpVersions = (0, helpers_1.getOCPVersions)(clusterImages, t, isNutanix, undefined, true);
|
|
47
20
|
const gridSpans = (0, helpers_2.getGridSpans)(isPreviewOpen);
|
|
48
|
-
const [initialValues, validationSchema] = (0,
|
|
21
|
+
const [initialValues, validationSchema] = (0, useDetailsFormik_1.useDetailsFormik)({
|
|
49
22
|
clusterDeployment,
|
|
50
23
|
ocpVersions,
|
|
24
|
+
allOcpVersions,
|
|
51
25
|
agentClusterInstall,
|
|
52
26
|
agents,
|
|
53
27
|
usedClusterNames,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClusterDeploymentDetailsStep.js","sourceRoot":"","sources":["../../../../../../lib/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsStep.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,mCAAgC;
|
|
1
|
+
{"version":3,"file":"ClusterDeploymentDetailsStep.js","sourceRoot":"","sources":["../../../../../../lib/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsStep.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,mCAAgC;AAChC,uDAA0E;AAE1E,+CAA+F;AAG/F,2CAA+C;AAC/C,iFAGwC;AACxC,wCAA0C;AAC1C,8FAAkF;AAClF,yDAAsD;AAE/C,MAAM,4BAA4B,GAAgD,CAAC,EACxF,aAAa,EACb,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,EACN,gBAAgB,EAChB,aAAa,EACb,aAAa,EACb,QAAQ,EACR,SAAS,GACV,EAAE,EAAE;IACH,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,wCAAc,GAAE,CAAC;IAC/B,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAA,kBAAS,GAAE,CAAC;IACjC,MAAM,EAAE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B,CACN,CACA,CACV,CAAC;AACJ,CAAC,CAAC;AAhEW,QAAA,4BAA4B,gCAgEvC"}
|
package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.js
CHANGED
|
@@ -12,7 +12,6 @@ const formik_2 = require("../../../../common/components/ui/formik");
|
|
|
12
12
|
const use_translation_wrapper_1 = require("../../../../common/hooks/use-translation-wrapper");
|
|
13
13
|
const CpuArchitectureDropdown_1 = tslib_1.__importDefault(require("../../common/CpuArchitectureDropdown"));
|
|
14
14
|
const ControlPlaneNodesDropdown_1 = tslib_1.__importDefault(require("../../../../common/components/clusterConfiguration/ControlPlaneNodesDropdown"));
|
|
15
|
-
const helpers_1 = require("../../helpers");
|
|
16
15
|
const BaseDnsHelperText = ({ name, baseDnsDomain, }) => {
|
|
17
16
|
const { t } = (0, use_translation_wrapper_1.useTranslation)();
|
|
18
17
|
return (React.createElement(React.Fragment, null,
|
|
@@ -30,17 +29,8 @@ const ClusterDetailsFormFields = ({ isEditFlow, versions, allVersions, extension
|
|
|
30
29
|
const { t } = (0, use_translation_wrapper_1.useTranslation)();
|
|
31
30
|
const nameInputRef = React.useRef();
|
|
32
31
|
const [openshiftVersionModalOpen, setOpenshiftVersionModalOpen] = React.useState(false);
|
|
33
|
-
const { values
|
|
32
|
+
const { values } = (0, formik_1.useFormikContext)();
|
|
34
33
|
const { name, baseDnsDomain } = values;
|
|
35
|
-
React.useEffect(() => {
|
|
36
|
-
if (!versions.length && !values.openshiftVersion && !isEditFlow) {
|
|
37
|
-
const fallbackOpenShiftVersion = allVersions.find((version) => version.default);
|
|
38
|
-
setFieldValue('customOpenshiftSelect', fallbackOpenShiftVersion === null || fallbackOpenShiftVersion === void 0 ? void 0 : fallbackOpenShiftVersion.value);
|
|
39
|
-
setFieldValue('openshiftVersion', fallbackOpenShiftVersion === null || fallbackOpenShiftVersion === void 0 ? void 0 : fallbackOpenShiftVersion.value);
|
|
40
|
-
setFieldValue('networkType', (0, helpers_1.getNetworkType)(fallbackOpenShiftVersion));
|
|
41
|
-
}
|
|
42
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
43
|
-
}, []);
|
|
44
34
|
React.useEffect(() => {
|
|
45
35
|
var _a;
|
|
46
36
|
(_a = nameInputRef.current) === null || _a === void 0 ? void 0 : _a.focus();
|
|
@@ -62,11 +52,8 @@ const ClusterDetailsFormFields = ({ isEditFlow, versions, allVersions, extension
|
|
|
62
52
|
isEditFlow ? (React.createElement(StaticTextField_1.StaticTextField, { name: "name", label: t('ai:Cluster name'), isRequired: true }, name)) : (React.createElement(formik_2.RichInputField, { ref: nameInputRef, label: t('ai:Cluster name'), name: "name", placeholder: t('ai:Enter cluster name'), richValidationMessages: (0, common_1.acmClusterNameValidationMessages)(t), isRequired: true })),
|
|
63
53
|
(extensionAfter === null || extensionAfter === void 0 ? void 0 : extensionAfter['name']) && extensionAfter['name'],
|
|
64
54
|
isEditFlow ? (React.createElement(StaticTextField_1.StaticTextField, { name: "baseDnsDomain", label: t('ai:Base domain'), helperText: React.createElement(exports.BaseDnsHelperText, { name: name, baseDnsDomain: baseDnsDomain }), isRequired: true }, baseDnsDomain)) : (React.createElement(formik_2.InputField, { label: t('ai:Base domain'), name: "baseDnsDomain", helperText: React.createElement(exports.BaseDnsHelperText, { name: name, baseDnsDomain: baseDnsDomain }), placeholder: "example.com", isRequired: true })),
|
|
65
|
-
isEditFlow ? (React.createElement(StaticTextField_1.StaticTextField, { name: "openshiftVersion", label: "OpenShift version", isRequired: true },
|
|
66
|
-
t('ai:OpenShift'),
|
|
67
|
-
' ',
|
|
68
|
-
((_a = allVersions.find((v) => v.value === values.openshiftVersion)) === null || _a === void 0 ? void 0 : _a.version) ||
|
|
69
|
-
values.openshiftVersion)) : (React.createElement(React.Fragment, null,
|
|
55
|
+
isEditFlow ? (React.createElement(StaticTextField_1.StaticTextField, { name: "openshiftVersion", label: "OpenShift version", isRequired: true }, ((_a = allVersions.find((v) => v.value === values.openshiftVersion)) === null || _a === void 0 ? void 0 : _a.label) ||
|
|
56
|
+
`${t('ai:OpenShift')} ${values.openshiftVersion}`)) : (React.createElement(React.Fragment, null,
|
|
70
57
|
React.createElement(common_1.OpenShiftVersionDropdown, { name: "openshiftVersion", versions: versions, showReleasesLink: false, showOpenshiftVersionModal: () => setOpenshiftVersionModalOpen(true), customVersion: additionalSelectOption }),
|
|
71
58
|
openshiftVersionModalOpen && (React.createElement(common_1.OpenShiftVersionModal, { allVersions: allVersions, onClose: () => setOpenshiftVersionModalOpen(false) })))),
|
|
72
59
|
React.createElement(ControlPlaneNodesDropdown_1.default, { isDisabled: isEditFlow, allowHighlyAvailable: allowHighlyAvailable, allowTNA: allowTNA }),
|
package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClusterDetailsFormFields.js","sourceRoot":"","sources":["../../../../../../lib/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,uDAA8C;AAC9C,mCAA0C;AAE1C,+CAM4B;AAC5B,sFAAmF;AACnF,qEAAoE;AAEpE,oEAAqF;AAErF,8FAAkF;AAClF,2GAA2E;AAC3E,qJAAqH;
|
|
1
|
+
{"version":3,"file":"ClusterDetailsFormFields.js","sourceRoot":"","sources":["../../../../../../lib/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,uDAA8C;AAC9C,mCAA0C;AAE1C,+CAM4B;AAC5B,sFAAmF;AACnF,qEAAoE;AAEpE,oEAAqF;AAErF,8FAAkF;AAClF,2GAA2E;AAC3E,qJAAqH;AAY9G,MAAM,iBAAiB,GAAwD,CAAC,EACrF,IAAI,EACJ,aAAa,GACd,EAAE,EAAE;IACH,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,wCAAc,GAAE,CAAC;IAC/B,OAAO,CAC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E,UAAU,EAAE,UAAU,GAAI,CACxF;QAED,oBAAC,kCAAyB,IAAC,UAAU,EAAE,UAAU,GAAI;QAEpD,CAAA,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAG,kBAAkB,CAAC,KAAI,cAAc,CAAC,kBAAkB,CAAC;QAE1E,CAAC,UAAU,IAAI,oBAAC,qBAAU,OAAG;QAE7B,CAAA,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAG,YAAY,CAAC,KAAI,cAAc,CAAC,YAAY,CAAC,CAC1D,CACR,CAAC;AACJ,CAAC,CAAC;AAhHW,QAAA,wBAAwB,4BAgHnC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.useDetailsFormik = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const react_1 = tslib_1.__importDefault(require("react"));
|
|
6
|
+
const common_1 = require("../../../../common");
|
|
7
|
+
const helpers_1 = require("../../helpers");
|
|
8
|
+
const useDetailsFormik = ({ clusterDeployment, agentClusterInstall, agents, usedClusterNames, infraEnv, ocpVersions, allOcpVersions, }) => {
|
|
9
|
+
const { t } = (0, common_1.useTranslation)();
|
|
10
|
+
const isEdit = !!clusterDeployment || !!agentClusterInstall;
|
|
11
|
+
const cluster = react_1.default.useMemo(() => clusterDeployment && agentClusterInstall
|
|
12
|
+
? (0, helpers_1.getAICluster)({
|
|
13
|
+
clusterDeployment,
|
|
14
|
+
agentClusterInstall,
|
|
15
|
+
agents,
|
|
16
|
+
infraEnv,
|
|
17
|
+
})
|
|
18
|
+
: undefined, [agentClusterInstall, clusterDeployment, agents, infraEnv]);
|
|
19
|
+
const initialValues = react_1.default.useMemo(() => {
|
|
20
|
+
let initValues = (0, common_1.getClusterDetailsInitialValues)({
|
|
21
|
+
managedDomains: [], // not supported
|
|
22
|
+
cluster,
|
|
23
|
+
ocpVersions,
|
|
24
|
+
});
|
|
25
|
+
let ocpVersion = ocpVersions.find((ocpVersion) => ocpVersion.value === initValues.openshiftVersion);
|
|
26
|
+
if (!ocpVersion) {
|
|
27
|
+
ocpVersion = allOcpVersions.find((version) => version.default);
|
|
28
|
+
initValues = Object.assign(Object.assign({}, initValues), { openshiftVersion: (ocpVersion === null || ocpVersion === void 0 ? void 0 : ocpVersion.value) || '', customOpenshiftSelect: (ocpVersion === null || ocpVersion === void 0 ? void 0 : ocpVersion.value) || '' });
|
|
29
|
+
}
|
|
30
|
+
return Object.assign(Object.assign({}, initValues), { networkType: (0, helpers_1.getNetworkType)(ocpVersion) });
|
|
31
|
+
}, []);
|
|
32
|
+
const validationSchema = react_1.default.useMemo(() => (0, common_1.getClusterDetailsValidationSchema)({
|
|
33
|
+
usedClusterNames,
|
|
34
|
+
pullSecretSet: isEdit,
|
|
35
|
+
validateUniqueName: true,
|
|
36
|
+
t,
|
|
37
|
+
}), [usedClusterNames, isEdit, t]);
|
|
38
|
+
return [initialValues, validationSchema];
|
|
39
|
+
};
|
|
40
|
+
exports.useDetailsFormik = useDetailsFormik;
|
|
41
|
+
//# sourceMappingURL=useDetailsFormik.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDetailsFormik.js","sourceRoot":"","sources":["../../../../../../lib/cim/components/ClusterDeployment/clusterDetails/useDetailsFormik.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAE1B,+CAM4B;AAO5B,2CAA6D;AAYtD,MAAM,gBAAgB,GAAG,CAAC,EAC/B,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,EACN,gBAAgB,EAChB,QAAQ,EACR,WAAW,EACX,cAAc,GACO,EAGrB,EAAE;IACF,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,uBAAc,GAAE,CAAC;IAC/B,MAAM,MAAM,GAAG,CAAC,CAAC,iBAAiB,IAAI,CAAC,CAAC,mBAAmB,CAAC;IAE5D,MAAM,OAAO,GAAG,eAAK,CAAC,OAAO,CAC3B,G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AAC,CAAC,CAC9B,CAAC;IAEF,OAAO,CAAC,aAAa,EAAE,gBAAgB,CAAC,CAAC;AAC3C,CAAC,CAAC;AArEW,QAAA,gBAAgB,oBAqE3B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ValidationSection.js","sourceRoot":"","sources":["../../../../../../lib/cim/components/ClusterDeployment/components/ValidationSection.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,uDAAoD;AAEpD,+CAAwF;AAExF,2GAA2E;AAC3E,
|
|
1
|
+
{"version":3,"file":"ValidationSection.js","sourceRoot":"","sources":["../../../../../../lib/cim/components/ClusterDeployment/components/ValidationSection.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,uDAAoD;AAEpD,+CAAwF;AAExF,2GAA2E;AAC3E,0DAAgE;AAYzD,MAAM,iBAAiB,GAAG,CAAC,EAChC,aAAa,EACb,aAAa,EACb,eAAe,EACf,KAAK,EACL,QAAQ,GACe,EAAE,EAAE;IAC3B,OAAO,CACL,8BAAC,uBAAU;QACR,QAAQ;QACR,aAAa,IAAI,CAChB,8BAAC,0CAAiC,IAChC,aAAa,EAAE,aAAa,EAC5B,aAAa,EAAE,aAAa,EAC5B,KAAK,EAAE,KAAK,EACZ,eAAe,EAAE,eAAe,EAChC,yBAAyB,EAAE,4CAAyB;YAEpD,8BAAC,iCAAuB,OAAG,CACO,CACrC,CACU,CACd,CAAC;AACJ,CAAC,CAAC;AAvBW,QAAA,iBAAiB,qBAuB5B"}
|
|
@@ -11,8 +11,8 @@ const wizardStepNames = (t) => ({
|
|
|
11
11
|
'installation-type': t('ai:Installation type'),
|
|
12
12
|
automation: t('ai:Automation'),
|
|
13
13
|
'cluster-details': t('ai:Cluster details'),
|
|
14
|
-
'
|
|
15
|
-
'
|
|
14
|
+
'host-selection': t('ai:Cluster hosts'),
|
|
15
|
+
'host-discovery': t('ai:Cluster hosts'),
|
|
16
16
|
networking: t('ai:Networking'),
|
|
17
17
|
'custom-manifests': t('ai:Custom manifests'),
|
|
18
18
|
review: t('ai:Review and create'),
|