@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,68 +1,47 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
ClusterWizardStep,
|
|
4
|
-
TechnologyPreview,
|
|
5
|
-
ExternalLink,
|
|
6
|
-
OCP_RELEASES_PAGE,
|
|
7
|
-
StaticTextField,
|
|
8
|
-
useTranslation,
|
|
9
|
-
} from '../../../../common';
|
|
2
|
+
import { ClusterWizardStep, TechnologyPreview, StaticTextField } from '../../../../common';
|
|
10
3
|
import { Flex, Grid, GridItem, Form, Content } from '@patternfly/react-core';
|
|
11
|
-
import OcmOpenShiftVersion from '../../clusterConfiguration/OcmOpenShiftVersion';
|
|
12
4
|
import { useClusterWizardContext } from '../ClusterWizardContext';
|
|
13
5
|
import ClusterWizardFooter from '../ClusterWizardFooter';
|
|
14
6
|
import ClusterWizardNavigation from '../ClusterWizardNavigation';
|
|
15
7
|
import { WithErrorBoundary } from '../../../../common/components/ErrorHandling/WithErrorBoundary';
|
|
16
8
|
import InstallDisconnectedSwitch from './InstallDisconnectedSwitch';
|
|
17
|
-
|
|
9
|
+
|
|
10
|
+
export const DISCONNECTED_OPENSHIFT_VERSION = '4.21';
|
|
18
11
|
|
|
19
12
|
const BasicStep = () => {
|
|
20
|
-
const { t } = useTranslation();
|
|
21
13
|
const { moveNext } = useClusterWizardContext();
|
|
22
14
|
|
|
23
15
|
return (
|
|
24
|
-
<
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
// nothing to do
|
|
28
|
-
}}
|
|
16
|
+
<ClusterWizardStep
|
|
17
|
+
navigation={<ClusterWizardNavigation />}
|
|
18
|
+
footer={<ClusterWizardFooter onNext={moveNext} />}
|
|
29
19
|
>
|
|
30
|
-
<
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
<
|
|
36
|
-
<
|
|
37
|
-
<
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
</
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
</ExternalLink>
|
|
56
|
-
</OcmOpenShiftVersion>
|
|
57
|
-
<StaticTextField name="cpuArchitecture" label="CPU architecture" isRequired>
|
|
58
|
-
x86_64
|
|
59
|
-
</StaticTextField>
|
|
60
|
-
</Form>
|
|
61
|
-
</GridItem>
|
|
62
|
-
</Grid>
|
|
63
|
-
</WithErrorBoundary>
|
|
64
|
-
</ClusterWizardStep>
|
|
65
|
-
</Formik>
|
|
20
|
+
<WithErrorBoundary title="Failed to load Basic step">
|
|
21
|
+
<Grid hasGutter>
|
|
22
|
+
<GridItem>
|
|
23
|
+
<Content component="h2">Basic information</Content>
|
|
24
|
+
</GridItem>
|
|
25
|
+
<GridItem>
|
|
26
|
+
<Flex alignItems={{ default: 'alignItemsCenter' }} gap={{ default: 'gapSm' }}>
|
|
27
|
+
<TechnologyPreview />
|
|
28
|
+
<InstallDisconnectedSwitch />
|
|
29
|
+
<span>I'm installing on a disconnected/air-gapped/secured environment</span>
|
|
30
|
+
</Flex>
|
|
31
|
+
</GridItem>
|
|
32
|
+
<GridItem>
|
|
33
|
+
<Form id="wizard-cluster-basic-info__form">
|
|
34
|
+
<StaticTextField name="openshiftVersion" label="OpenShift version">
|
|
35
|
+
{DISCONNECTED_OPENSHIFT_VERSION}
|
|
36
|
+
</StaticTextField>
|
|
37
|
+
<StaticTextField name="cpuArchitecture" label="CPU architecture">
|
|
38
|
+
x86_64
|
|
39
|
+
</StaticTextField>
|
|
40
|
+
</Form>
|
|
41
|
+
</GridItem>
|
|
42
|
+
</Grid>
|
|
43
|
+
</WithErrorBoundary>
|
|
44
|
+
</ClusterWizardStep>
|
|
66
45
|
);
|
|
67
46
|
};
|
|
68
47
|
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Formik, useFormikContext } from 'formik';
|
|
3
|
+
import * as Yup from 'yup';
|
|
4
|
+
import { AlertVariant } from '@patternfly/react-core';
|
|
5
|
+
import { Form, Grid, GridItem, Content } from '@patternfly/react-core';
|
|
6
|
+
import {
|
|
7
|
+
ClusterWizardStep,
|
|
8
|
+
PullSecret,
|
|
9
|
+
UploadSSH,
|
|
10
|
+
handleApiError,
|
|
11
|
+
getApiErrorMessage,
|
|
12
|
+
isInOcm,
|
|
13
|
+
pullSecretValidationSchema,
|
|
14
|
+
sshPublicKeyValidationSchema,
|
|
15
|
+
useAlerts,
|
|
16
|
+
useTranslation,
|
|
17
|
+
} from '../../../../common';
|
|
18
|
+
import { WithErrorBoundary } from '../../../../common/components/ErrorHandling/WithErrorBoundary';
|
|
19
|
+
import { useClusterWizardContext } from '../ClusterWizardContext';
|
|
20
|
+
import ClusterWizardFooter from '../ClusterWizardFooter';
|
|
21
|
+
import ClusterWizardNavigation from '../ClusterWizardNavigation';
|
|
22
|
+
import { InfraEnvsAPI, ClustersAPI } from '../../../services/apis';
|
|
23
|
+
import { ImageType } from '@openshift-assisted/types/assisted-installer-service';
|
|
24
|
+
import usePullSecret from '../../../hooks/usePullSecret';
|
|
25
|
+
import { DISCONNECTED_OPENSHIFT_VERSION } from './BasicStep';
|
|
26
|
+
|
|
27
|
+
const DISCONNECTED_IMAGE_TYPE: ImageType = 'disconnected-iso';
|
|
28
|
+
const DISCONNECTED_CLUSTER_NAME = 'disconnected-cluster';
|
|
29
|
+
|
|
30
|
+
type OptionalConfigurationsValues = {
|
|
31
|
+
sshPublicKey: string;
|
|
32
|
+
pullSecret: string;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
type OptionalConfigurationsFormProps = {
|
|
36
|
+
defaultPullSecret?: string;
|
|
37
|
+
isSubmitting: boolean;
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
const OptionalConfigurationsForm: React.FC<OptionalConfigurationsFormProps> = ({
|
|
41
|
+
defaultPullSecret,
|
|
42
|
+
isSubmitting,
|
|
43
|
+
}) => {
|
|
44
|
+
const { moveBack } = useClusterWizardContext();
|
|
45
|
+
const { isValid, submitForm } = useFormikContext<OptionalConfigurationsValues>();
|
|
46
|
+
|
|
47
|
+
return (
|
|
48
|
+
<ClusterWizardStep
|
|
49
|
+
navigation={<ClusterWizardNavigation />}
|
|
50
|
+
footer={
|
|
51
|
+
<ClusterWizardFooter
|
|
52
|
+
onNext={() => void submitForm()}
|
|
53
|
+
onBack={moveBack}
|
|
54
|
+
isSubmitting={isSubmitting}
|
|
55
|
+
isNextDisabled={!isValid}
|
|
56
|
+
/>
|
|
57
|
+
}
|
|
58
|
+
>
|
|
59
|
+
<WithErrorBoundary title="Failed to load Optional configurations step">
|
|
60
|
+
<Grid hasGutter>
|
|
61
|
+
<GridItem>
|
|
62
|
+
<Content component="h2">Optional configurations</Content>
|
|
63
|
+
</GridItem>
|
|
64
|
+
<GridItem>
|
|
65
|
+
<Form id="wizard-cluster-optional-config__form">
|
|
66
|
+
<UploadSSH />
|
|
67
|
+
{!isInOcm && <PullSecret isOcm={false} defaultPullSecret={defaultPullSecret} />}
|
|
68
|
+
</Form>
|
|
69
|
+
</GridItem>
|
|
70
|
+
</Grid>
|
|
71
|
+
</WithErrorBoundary>
|
|
72
|
+
</ClusterWizardStep>
|
|
73
|
+
);
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
const OptionalConfigurationsStep = () => {
|
|
77
|
+
const { t } = useTranslation();
|
|
78
|
+
const {
|
|
79
|
+
moveNext,
|
|
80
|
+
disconnectedCluster,
|
|
81
|
+
setDisconnectedCluster,
|
|
82
|
+
disconnectedInfraEnv,
|
|
83
|
+
setDisconnectedInfraEnv,
|
|
84
|
+
} = useClusterWizardContext();
|
|
85
|
+
const { addAlert, clearAlerts } = useAlerts();
|
|
86
|
+
const [isSubmitting, setIsSubmitting] = React.useState(false);
|
|
87
|
+
const defaultPullSecret = usePullSecret();
|
|
88
|
+
|
|
89
|
+
const validationSchema = React.useMemo(
|
|
90
|
+
() =>
|
|
91
|
+
Yup.object({
|
|
92
|
+
sshPublicKey: sshPublicKeyValidationSchema(t),
|
|
93
|
+
pullSecret: isInOcm ? Yup.string() : pullSecretValidationSchema(t),
|
|
94
|
+
}),
|
|
95
|
+
[t],
|
|
96
|
+
);
|
|
97
|
+
|
|
98
|
+
const initialValues: OptionalConfigurationsValues = {
|
|
99
|
+
sshPublicKey: disconnectedInfraEnv?.sshAuthorizedKey ?? '',
|
|
100
|
+
pullSecret: defaultPullSecret ?? '',
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
const handleNext = React.useCallback(
|
|
104
|
+
async (values: OptionalConfigurationsValues) => {
|
|
105
|
+
clearAlerts();
|
|
106
|
+
setIsSubmitting(true);
|
|
107
|
+
try {
|
|
108
|
+
const pullSecretToUse = isInOcm ? defaultPullSecret ?? '' : values.pullSecret;
|
|
109
|
+
|
|
110
|
+
if (disconnectedCluster?.id && disconnectedInfraEnv?.id) {
|
|
111
|
+
const { data: updatedInfraEnv } = await InfraEnvsAPI.update(disconnectedInfraEnv.id, {
|
|
112
|
+
sshAuthorizedKey: values.sshPublicKey,
|
|
113
|
+
});
|
|
114
|
+
setDisconnectedInfraEnv(updatedInfraEnv);
|
|
115
|
+
} else {
|
|
116
|
+
const { data: cluster } = await ClustersAPI.registerDisconnected({
|
|
117
|
+
name: DISCONNECTED_CLUSTER_NAME,
|
|
118
|
+
openshiftVersion: DISCONNECTED_OPENSHIFT_VERSION,
|
|
119
|
+
});
|
|
120
|
+
setDisconnectedCluster(cluster);
|
|
121
|
+
|
|
122
|
+
const { data: createdInfraEnv } = await InfraEnvsAPI.register({
|
|
123
|
+
name: 'disconnected-infra-env',
|
|
124
|
+
pullSecret: pullSecretToUse,
|
|
125
|
+
clusterId: cluster.id,
|
|
126
|
+
imageType: DISCONNECTED_IMAGE_TYPE,
|
|
127
|
+
openshiftVersion: DISCONNECTED_OPENSHIFT_VERSION,
|
|
128
|
+
sshAuthorizedKey: values.sshPublicKey || undefined,
|
|
129
|
+
});
|
|
130
|
+
setDisconnectedInfraEnv(createdInfraEnv);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
moveNext();
|
|
134
|
+
} catch (error) {
|
|
135
|
+
handleApiError(error, () => {
|
|
136
|
+
addAlert({
|
|
137
|
+
title: 'Failed to save optional configurations',
|
|
138
|
+
message: getApiErrorMessage(error),
|
|
139
|
+
variant: AlertVariant.danger,
|
|
140
|
+
});
|
|
141
|
+
});
|
|
142
|
+
} finally {
|
|
143
|
+
setIsSubmitting(false);
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
[
|
|
147
|
+
clearAlerts,
|
|
148
|
+
defaultPullSecret,
|
|
149
|
+
disconnectedCluster,
|
|
150
|
+
disconnectedInfraEnv,
|
|
151
|
+
setDisconnectedCluster,
|
|
152
|
+
setDisconnectedInfraEnv,
|
|
153
|
+
addAlert,
|
|
154
|
+
moveNext,
|
|
155
|
+
],
|
|
156
|
+
);
|
|
157
|
+
|
|
158
|
+
return (
|
|
159
|
+
<Formik<OptionalConfigurationsValues>
|
|
160
|
+
initialValues={initialValues}
|
|
161
|
+
enableReinitialize
|
|
162
|
+
validationSchema={validationSchema}
|
|
163
|
+
onSubmit={(values) => void handleNext(values)}
|
|
164
|
+
>
|
|
165
|
+
<OptionalConfigurationsForm
|
|
166
|
+
defaultPullSecret={defaultPullSecret}
|
|
167
|
+
isSubmitting={isSubmitting}
|
|
168
|
+
/>
|
|
169
|
+
</Formik>
|
|
170
|
+
);
|
|
171
|
+
};
|
|
172
|
+
|
|
173
|
+
export default OptionalConfigurationsStep;
|
|
@@ -26,15 +26,13 @@ import {
|
|
|
26
26
|
} from '@patternfly/react-core';
|
|
27
27
|
import { Formik } from 'formik';
|
|
28
28
|
import { saveAs } from 'file-saver';
|
|
29
|
-
import { useNavigate } from 'react-router
|
|
29
|
+
import { useNavigate } from 'react-router';
|
|
30
30
|
|
|
31
31
|
import { getOperatorSpecs } from '../../../../common/components/operators/operatorSpecs';
|
|
32
|
-
|
|
33
|
-
const downloadUrl =
|
|
34
|
-
'https://mirror.openshift.com/pub/cgw/assisted-installer-disconnected/latest/agent-ove.x86_64.iso';
|
|
32
|
+
import { DISCONNECTED_OPENSHIFT_VERSION } from './BasicStep';
|
|
35
33
|
|
|
36
34
|
const ReviewStep = () => {
|
|
37
|
-
const { moveBack } = useClusterWizardContext();
|
|
35
|
+
const { moveBack, disconnectedInfraEnv } = useClusterWizardContext();
|
|
38
36
|
const opSpecs = getOperatorSpecs(() => undefined);
|
|
39
37
|
const navigate = useNavigate();
|
|
40
38
|
|
|
@@ -50,8 +48,8 @@ const ReviewStep = () => {
|
|
|
50
48
|
footer={
|
|
51
49
|
<ClusterWizardFooter
|
|
52
50
|
onNext={() => {
|
|
53
|
-
downloadUrl
|
|
54
|
-
navigate('/cluster-list');
|
|
51
|
+
saveAs(disconnectedInfraEnv?.downloadUrl ?? '');
|
|
52
|
+
void navigate('/cluster-list');
|
|
55
53
|
}}
|
|
56
54
|
onBack={moveBack}
|
|
57
55
|
nextButtonText="Download ISO"
|
|
@@ -98,11 +96,15 @@ const ReviewStep = () => {
|
|
|
98
96
|
<DescriptionList isHorizontal>
|
|
99
97
|
<DescriptionListGroup>
|
|
100
98
|
<DescriptionListTerm>OpenShift version</DescriptionListTerm>
|
|
101
|
-
<DescriptionListDescription>
|
|
99
|
+
<DescriptionListDescription>
|
|
100
|
+
{disconnectedInfraEnv?.openshiftVersion ?? DISCONNECTED_OPENSHIFT_VERSION}
|
|
101
|
+
</DescriptionListDescription>
|
|
102
102
|
</DescriptionListGroup>
|
|
103
103
|
<DescriptionListGroup>
|
|
104
104
|
<DescriptionListTerm>CPU architecture</DescriptionListTerm>
|
|
105
|
-
<DescriptionListDescription>
|
|
105
|
+
<DescriptionListDescription>
|
|
106
|
+
{disconnectedInfraEnv?.cpuArchitecture ?? 'x86_64'}
|
|
107
|
+
</DescriptionListDescription>
|
|
106
108
|
</DescriptionListGroup>
|
|
107
109
|
<DescriptionListGroup>
|
|
108
110
|
<DescriptionListTerm>ISO size</DescriptionListTerm>
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Cluster,
|
|
3
|
+
ClusterValidationId,
|
|
4
|
+
Host,
|
|
5
|
+
HostValidationId,
|
|
6
|
+
} from '@openshift-assisted/types/assisted-installer-service';
|
|
7
|
+
import {
|
|
3
8
|
getAllClusterWizardSoftValidationIds,
|
|
4
9
|
getWizardStepClusterStatus,
|
|
5
10
|
WizardStepsValidationMap,
|
|
@@ -12,11 +17,9 @@ import {
|
|
|
12
17
|
Validation as HostValidation,
|
|
13
18
|
} from '../../../common/types/hosts';
|
|
14
19
|
import { getKeys, stringToJSON } from '../../../common/utils';
|
|
15
|
-
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
HostValidationId,
|
|
19
|
-
} from '@openshift-assisted/types/assisted-installer-service';
|
|
20
|
+
import { Validation, ValidationsInfo } from '../../../common';
|
|
21
|
+
|
|
22
|
+
type ValidationId = ClusterValidationId | HostValidationId;
|
|
20
23
|
|
|
21
24
|
export type ClusterWizardStepsType =
|
|
22
25
|
| 'cluster-details'
|
|
@@ -31,6 +34,7 @@ export type ClusterWizardStepsType =
|
|
|
31
34
|
| 'custom-manifests'
|
|
32
35
|
| 'credentials-download'
|
|
33
36
|
| 'disconnected-basic'
|
|
37
|
+
| 'disconnected-optional-configurations'
|
|
34
38
|
| 'disconnected-review';
|
|
35
39
|
|
|
36
40
|
const wizardStepsOrder: ClusterWizardStepsType[] = [
|
|
@@ -49,22 +53,13 @@ const wizardStepsOrder: ClusterWizardStepsType[] = [
|
|
|
49
53
|
|
|
50
54
|
export const disconnectedSteps: ClusterWizardStepsType[] = [
|
|
51
55
|
'disconnected-basic',
|
|
56
|
+
'disconnected-optional-configurations',
|
|
52
57
|
'disconnected-review',
|
|
53
58
|
];
|
|
54
59
|
|
|
55
60
|
export const ClusterWizardFlowStateNew = 'new';
|
|
56
61
|
export type ClusterWizardFlowStateType = Cluster['status'] | typeof ClusterWizardFlowStateNew;
|
|
57
62
|
|
|
58
|
-
export const getLastStepForWizard = (
|
|
59
|
-
customManifestsStepNeedsToBeFilled: boolean,
|
|
60
|
-
): ClusterWizardStepsType => {
|
|
61
|
-
if (customManifestsStepNeedsToBeFilled) {
|
|
62
|
-
return 'custom-manifests';
|
|
63
|
-
} else {
|
|
64
|
-
return 'review';
|
|
65
|
-
}
|
|
66
|
-
};
|
|
67
|
-
|
|
68
63
|
export const isStepAfter = (stepA: ClusterWizardStepsType, stepB: ClusterWizardStepsType) => {
|
|
69
64
|
const indexA = wizardStepsOrder.findIndex((step) => step === stepA);
|
|
70
65
|
const indexB = wizardStepsOrder.findIndex((step) => step === stepB);
|
|
@@ -79,8 +74,7 @@ export const getClusterWizardFirstStep = (
|
|
|
79
74
|
locationState: ClusterWizardFlowStateType | undefined,
|
|
80
75
|
staticIpInfo: StaticIpInfo | undefined,
|
|
81
76
|
state?: ClusterWizardFlowStateType,
|
|
82
|
-
|
|
83
|
-
customManifestsStepNeedsToBeFilled?: boolean,
|
|
77
|
+
cluster?: Cluster,
|
|
84
78
|
): ClusterWizardStepsType => {
|
|
85
79
|
// Just for the first time when the cluster is created
|
|
86
80
|
if (locationState === ClusterWizardFlowStateNew && !staticIpInfo) {
|
|
@@ -96,40 +90,42 @@ export const getClusterWizardFirstStep = (
|
|
|
96
90
|
|
|
97
91
|
switch (state) {
|
|
98
92
|
case 'ready':
|
|
99
|
-
return
|
|
93
|
+
return 'review';
|
|
100
94
|
case 'pending-for-input':
|
|
101
95
|
case 'adding-hosts':
|
|
102
96
|
case 'insufficient':
|
|
103
|
-
|
|
104
|
-
return 'custom-manifests';
|
|
105
|
-
}
|
|
106
|
-
return getStepForFailingHostValidations(hosts);
|
|
97
|
+
return getStepForFailingValidations(cluster);
|
|
107
98
|
default:
|
|
108
99
|
return 'cluster-details';
|
|
109
100
|
}
|
|
110
101
|
};
|
|
111
102
|
|
|
112
|
-
const
|
|
113
|
-
|
|
114
|
-
|
|
103
|
+
const MINIMUM_STEP = 'host-discovery';
|
|
104
|
+
const getStepForFailingValidations = (cluster?: Cluster) => {
|
|
105
|
+
// test host validations first, then cluster validations
|
|
106
|
+
const failingValidations: Set<ValidationId> = new Set<ValidationId>([
|
|
107
|
+
...getHostFailingValidationIds(cluster?.hosts),
|
|
108
|
+
...getClusterFailingValidationIds(cluster),
|
|
109
|
+
]);
|
|
110
|
+
|
|
115
111
|
let step;
|
|
116
112
|
for (const failingValidationId of failingValidations) {
|
|
117
|
-
step = findValidationStep
|
|
113
|
+
step = findValidationStep(failingValidationId, wizardStepsValidationsMap);
|
|
118
114
|
if (step !== undefined) {
|
|
119
115
|
break;
|
|
120
116
|
}
|
|
121
117
|
}
|
|
122
|
-
return
|
|
118
|
+
return step || MINIMUM_STEP;
|
|
123
119
|
};
|
|
124
120
|
|
|
125
|
-
const getHostFailingValidationIds = (hosts
|
|
126
|
-
const failingValidations
|
|
121
|
+
const getHostFailingValidationIds = (hosts?: Host[]): Set<ValidationId> => {
|
|
122
|
+
const failingValidations = new Set<HostValidationId>();
|
|
127
123
|
hosts?.forEach((host) => {
|
|
128
124
|
const validationsInfo = stringToJSON<HostValidationsInfo>(host.validationsInfo) || {};
|
|
129
125
|
getKeys(validationsInfo).forEach((group) => {
|
|
130
126
|
const f: (validation: HostValidation) => void = (validation) => {
|
|
131
127
|
if (validation.status === 'failure') {
|
|
132
|
-
failingValidations.
|
|
128
|
+
failingValidations.add(validation.id);
|
|
133
129
|
}
|
|
134
130
|
};
|
|
135
131
|
const validationGroup = validationsInfo[group] as HostValidation[];
|
|
@@ -139,6 +135,47 @@ const getHostFailingValidationIds = (hosts: Host[] | undefined) => {
|
|
|
139
135
|
return failingValidations;
|
|
140
136
|
};
|
|
141
137
|
|
|
138
|
+
const getClusterFailingValidationIds = (cluster?: Cluster): Set<ValidationId> => {
|
|
139
|
+
const failingValidations = new Set<ValidationId>();
|
|
140
|
+
const validationsInfo = stringToJSON<ValidationsInfo>(cluster?.validationsInfo) || {};
|
|
141
|
+
|
|
142
|
+
getKeys(validationsInfo).forEach((group) => {
|
|
143
|
+
const f: (validation: Validation) => void = (validation) => {
|
|
144
|
+
if (validation.status === 'failure') {
|
|
145
|
+
failingValidations.add(validation.id);
|
|
146
|
+
}
|
|
147
|
+
};
|
|
148
|
+
const validationGroup = validationsInfo[group] as Validation[];
|
|
149
|
+
validationGroup.forEach(f);
|
|
150
|
+
});
|
|
151
|
+
return failingValidations;
|
|
152
|
+
};
|
|
153
|
+
|
|
154
|
+
const findValidationStep = (
|
|
155
|
+
validationId: ValidationId,
|
|
156
|
+
wizardStepsValidationsMap: WizardStepsValidationMap<ClusterWizardStepsType>,
|
|
157
|
+
): ClusterWizardStepsType | undefined => {
|
|
158
|
+
let isBeforeMinimumStep = true;
|
|
159
|
+
|
|
160
|
+
return wizardStepsOrder.find((wizardStepId) => {
|
|
161
|
+
if (wizardStepId === MINIMUM_STEP) {
|
|
162
|
+
isBeforeMinimumStep = false;
|
|
163
|
+
}
|
|
164
|
+
if (isBeforeMinimumStep) {
|
|
165
|
+
return false;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
// find first matching validation-map name, ignoring steps before minimumStep
|
|
169
|
+
const { host: hostValidationMap, cluster: clusterValidationMap } =
|
|
170
|
+
wizardStepsValidationsMap[wizardStepId];
|
|
171
|
+
|
|
172
|
+
return (
|
|
173
|
+
hostValidationMap.validationIds.includes(validationId as HostValidationId) ||
|
|
174
|
+
clusterValidationMap.validationIds.includes(validationId as ClusterValidationId)
|
|
175
|
+
);
|
|
176
|
+
});
|
|
177
|
+
};
|
|
178
|
+
|
|
142
179
|
type TransitionProps = { cluster: Cluster };
|
|
143
180
|
|
|
144
181
|
const buildEmptyValidationsMap = (): WizardStepValidationMap => ({
|
|
@@ -190,6 +227,7 @@ const hostDiscoveryStepValidationsMap: WizardStepValidationMap = {
|
|
|
190
227
|
groups: ['hardware'],
|
|
191
228
|
validationIds: [
|
|
192
229
|
'connected',
|
|
230
|
+
'hostname-valid',
|
|
193
231
|
'media-connected',
|
|
194
232
|
'lso-requirements-satisfied',
|
|
195
233
|
'odf-requirements-satisfied',
|
|
@@ -206,6 +244,7 @@ const hostDiscoveryStepValidationsMap: WizardStepValidationMap = {
|
|
|
206
244
|
'no-skip-missing-disk',
|
|
207
245
|
'compatible-agent',
|
|
208
246
|
'openshift-ai-gpu-requirements-satisfied',
|
|
247
|
+
'inventory-not-partially-truncated',
|
|
209
248
|
],
|
|
210
249
|
};
|
|
211
250
|
|
|
@@ -224,18 +263,24 @@ const storageStepValidationsMap: WizardStepValidationMap = {
|
|
|
224
263
|
'no-skip-missing-disk',
|
|
225
264
|
],
|
|
226
265
|
},
|
|
227
|
-
softValidationIds: [],
|
|
266
|
+
softValidationIds: ['inventory-not-partially-truncated'],
|
|
228
267
|
};
|
|
229
268
|
|
|
230
269
|
const networkingStepValidationsMap: WizardStepValidationMap = {
|
|
231
270
|
cluster: {
|
|
232
271
|
groups: ['network'],
|
|
233
|
-
validationIds: [
|
|
272
|
+
validationIds: [
|
|
273
|
+
'api-vips-defined',
|
|
274
|
+
'machine-cidr-defined',
|
|
275
|
+
'cluster-cidr-defined',
|
|
276
|
+
'service-cidr-defined',
|
|
277
|
+
'all-hosts-are-ready-to-install',
|
|
278
|
+
],
|
|
234
279
|
},
|
|
235
280
|
host: {
|
|
236
281
|
allowedStatuses: ['known', 'disabled'],
|
|
237
282
|
groups: ['network'],
|
|
238
|
-
validationIds: [],
|
|
283
|
+
validationIds: ['apps-domain-name-resolved-correctly'],
|
|
239
284
|
},
|
|
240
285
|
// TODO(jtomasek): container-images-available validation is currently not running on the backend, it stays in pending.
|
|
241
286
|
// marking it as soft validation is the easy way to prevent it from blocking the progress.
|
|
@@ -250,6 +295,19 @@ const networkingStepValidationsMap: WizardStepValidationMap = {
|
|
|
250
295
|
],
|
|
251
296
|
};
|
|
252
297
|
|
|
298
|
+
const customManifestsValidationsMap: WizardStepValidationMap = {
|
|
299
|
+
cluster: {
|
|
300
|
+
groups: ['network'],
|
|
301
|
+
validationIds: ['platform-requirements-satisfied', 'custom-manifests-requirements-satisfied'],
|
|
302
|
+
},
|
|
303
|
+
host: {
|
|
304
|
+
allowedStatuses: ['known', 'disabled'],
|
|
305
|
+
groups: ['network'],
|
|
306
|
+
validationIds: [],
|
|
307
|
+
},
|
|
308
|
+
softValidationIds: ['ntp-synced', 'container-images-available', 'mtu-valid'],
|
|
309
|
+
};
|
|
310
|
+
|
|
253
311
|
const reviewStepValidationsMap: WizardStepValidationMap = {
|
|
254
312
|
cluster: {
|
|
255
313
|
groups: [],
|
|
@@ -265,24 +323,25 @@ const reviewStepValidationsMap: WizardStepValidationMap = {
|
|
|
265
323
|
|
|
266
324
|
const credentialsValidationMap = buildEmptyValidationsMap();
|
|
267
325
|
|
|
268
|
-
const customManifestsValidationsMap = buildEmptyValidationsMap();
|
|
269
326
|
const disconnectedReviewValidationsMap = buildEmptyValidationsMap();
|
|
270
327
|
const disconnectedBasicValidationsMap = buildEmptyValidationsMap();
|
|
328
|
+
const disconnectedOptionalConfigurationsValidationsMap = buildEmptyValidationsMap();
|
|
271
329
|
|
|
272
330
|
export const wizardStepsValidationsMap: WizardStepsValidationMap<ClusterWizardStepsType> = {
|
|
273
331
|
'cluster-details': clusterDetailsStepValidationsMap,
|
|
274
332
|
'static-ip-yaml-view': staticIpValidationsMap,
|
|
275
333
|
'static-ip-network-wide-configurations': staticIpValidationsMap,
|
|
276
334
|
'static-ip-host-configurations': staticIpValidationsMap,
|
|
277
|
-
'custom-manifests': customManifestsValidationsMap,
|
|
278
335
|
operators: operatorsStepValidationsMap,
|
|
279
336
|
'host-discovery': hostDiscoveryStepValidationsMap,
|
|
280
337
|
storage: storageStepValidationsMap,
|
|
281
338
|
networking: networkingStepValidationsMap,
|
|
282
|
-
|
|
339
|
+
'custom-manifests': customManifestsValidationsMap,
|
|
283
340
|
'credentials-download': credentialsValidationMap,
|
|
341
|
+
review: reviewStepValidationsMap,
|
|
284
342
|
'disconnected-review': disconnectedReviewValidationsMap,
|
|
285
343
|
'disconnected-basic': disconnectedBasicValidationsMap,
|
|
344
|
+
'disconnected-optional-configurations': disconnectedOptionalConfigurationsValidationsMap,
|
|
286
345
|
};
|
|
287
346
|
|
|
288
347
|
export const allClusterWizardSoftValidationIds =
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Breadcrumb, BreadcrumbItem, PageSection } from '@patternfly/react-core';
|
|
3
|
-
import { Link } from 'react-router
|
|
3
|
+
import { Link } from 'react-router';
|
|
4
4
|
import { isInOcm } from '../../../common/api';
|
|
5
5
|
|
|
6
6
|
const ClusterBreadcrumbs = ({ clusterName }: { clusterName?: string }) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { useNavigate } from 'react-router
|
|
2
|
+
import { useNavigate } from 'react-router';
|
|
3
3
|
import { Button, ButtonVariant, Content, PageSection } from '@patternfly/react-core';
|
|
4
4
|
import { AddCircleOIcon } from '@patternfly/react-icons/dist/js/icons/add-circle-o-icon';
|
|
5
5
|
import {
|
|
@@ -85,7 +85,7 @@ const Clusters = () => {
|
|
|
85
85
|
primaryAction={
|
|
86
86
|
<Button
|
|
87
87
|
variant={ButtonVariant.primary}
|
|
88
|
-
onClick={() => navigate(`~new`)}
|
|
88
|
+
onClick={() => void navigate(`~new`)}
|
|
89
89
|
id="empty-state-new-cluster-button"
|
|
90
90
|
data-ouia-id="button-create-new-cluster"
|
|
91
91
|
>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { useNavigate } from 'react-router
|
|
2
|
+
import { useNavigate } from 'react-router';
|
|
3
3
|
import {
|
|
4
4
|
Toolbar,
|
|
5
5
|
ToolbarItem,
|
|
@@ -8,7 +8,6 @@ import {
|
|
|
8
8
|
TextInput,
|
|
9
9
|
ToolbarProps,
|
|
10
10
|
ToolbarFilterProps,
|
|
11
|
-
TextInputProps,
|
|
12
11
|
ButtonVariant,
|
|
13
12
|
Spinner,
|
|
14
13
|
ToolbarGroup,
|
|
@@ -39,7 +38,7 @@ export type ClusterFiltersType = {
|
|
|
39
38
|
|
|
40
39
|
type ClustersListToolbarProps = {
|
|
41
40
|
searchString: string;
|
|
42
|
-
setSearchString:
|
|
41
|
+
setSearchString: (value: string) => void;
|
|
43
42
|
filters: ClusterFiltersType;
|
|
44
43
|
setFilters: (filters: ClusterFiltersType) => void;
|
|
45
44
|
};
|
|
@@ -63,10 +62,9 @@ const ClustersListToolbar: React.FC<ClustersListToolbarProps> = ({
|
|
|
63
62
|
setFilters({
|
|
64
63
|
status: [],
|
|
65
64
|
});
|
|
65
|
+
setSearchString('');
|
|
66
66
|
};
|
|
67
67
|
|
|
68
|
-
const onSearchNameChanged: TextInputProps['onChange'] = setSearchString;
|
|
69
|
-
|
|
70
68
|
const onSelect = (type: string, isChecked: boolean, value: Cluster['status']) => {
|
|
71
69
|
setFilters({
|
|
72
70
|
...filters,
|
|
@@ -126,7 +124,7 @@ const ClustersListToolbar: React.FC<ClustersListToolbarProps> = ({
|
|
|
126
124
|
id="search-string"
|
|
127
125
|
type="search"
|
|
128
126
|
aria-label="string to be searched in cluster names or ids"
|
|
129
|
-
onChange={
|
|
127
|
+
onChange={(_event, value) => setSearchString(value)}
|
|
130
128
|
value={searchString}
|
|
131
129
|
placeholder="Filter by Name, ID or Base domain"
|
|
132
130
|
title="Filter by Name, ID or Base domain"
|
|
@@ -174,7 +172,7 @@ const ClustersListToolbar: React.FC<ClustersListToolbarProps> = ({
|
|
|
174
172
|
</CustomToolbarFilter>
|
|
175
173
|
<ToolbarButton
|
|
176
174
|
variant={ButtonVariant.primary}
|
|
177
|
-
onClick={() => navigate(`~new`)}
|
|
175
|
+
onClick={() => void navigate(`~new`)}
|
|
178
176
|
id="button-create-new-cluster"
|
|
179
177
|
data-ouia-id="button-create-new-cluster"
|
|
180
178
|
>
|