@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,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import {
|
|
2
3
|
Alert,
|
|
3
4
|
AlertVariant,
|
|
@@ -7,7 +8,7 @@ import {
|
|
|
7
8
|
useWizardFooter,
|
|
8
9
|
WizardFooter,
|
|
9
10
|
} from '@patternfly/react-core';
|
|
10
|
-
import
|
|
11
|
+
import { PlatformType } from '@openshift-assisted/types/assisted-installer-service';
|
|
11
12
|
import { canNextFromReviewStep } from '../wizardTransition';
|
|
12
13
|
import {
|
|
13
14
|
AgentClusterInstallK8sResource,
|
|
@@ -33,16 +34,12 @@ import {
|
|
|
33
34
|
} from '../../helpers';
|
|
34
35
|
import { isAgentOfCluster } from '../helpers';
|
|
35
36
|
import { wizardStepNames } from '../constants';
|
|
36
|
-
import {
|
|
37
|
-
wizardStepsValidationsMap,
|
|
38
|
-
ClusterWizardStepsType,
|
|
39
|
-
allClusterWizardSoftValidationIds,
|
|
40
|
-
} from '../wizardTransition';
|
|
37
|
+
import { wizardStepsValidationsMap, allClusterWizardSoftValidationIds } from '../wizardTransition';
|
|
41
38
|
import { useTranslation } from '../../../../common/hooks/use-translation-wrapper';
|
|
42
39
|
import { ClusterDeploymentWizardContext } from '../ClusterDeploymentWizardContext';
|
|
43
40
|
import { ReviewConfigMapsTable } from './ReviewConfigMapsTable';
|
|
44
41
|
import { ValidationSection } from '../components/ValidationSection';
|
|
45
|
-
import {
|
|
42
|
+
import { ClusterDeploymentWizardStepsType } from '../types';
|
|
46
43
|
|
|
47
44
|
type ClusterDeploymentReviewStepProps = {
|
|
48
45
|
clusterDeployment: ClusterDeploymentK8sResource;
|
|
@@ -63,7 +60,7 @@ export const ClusterDeploymentReviewStep = ({
|
|
|
63
60
|
infraEnv,
|
|
64
61
|
}: ClusterDeploymentReviewStepProps) => {
|
|
65
62
|
const { addAlert, clearAlerts } = useAlerts();
|
|
66
|
-
const { activeStep, goToPrevStep,
|
|
63
|
+
const { activeStep, goToPrevStep, goToStepById, close } = useWizardContext();
|
|
67
64
|
const { syncError } = React.useContext(ClusterDeploymentWizardContext);
|
|
68
65
|
const [isSubmitting, setSubmitting] = React.useState(false);
|
|
69
66
|
const cdName = clusterDeployment.metadata?.name;
|
|
@@ -77,7 +74,8 @@ export const ClusterDeploymentReviewStep = ({
|
|
|
77
74
|
|
|
78
75
|
const canContinue = canNextFromReviewStep(agentClusterInstall, clusterAgents);
|
|
79
76
|
const { t } = useTranslation();
|
|
80
|
-
|
|
77
|
+
|
|
78
|
+
const onNext = React.useCallback(async () => {
|
|
81
79
|
clearAlerts();
|
|
82
80
|
setSubmitting(true);
|
|
83
81
|
try {
|
|
@@ -88,22 +86,25 @@ export const ClusterDeploymentReviewStep = ({
|
|
|
88
86
|
} finally {
|
|
89
87
|
setSubmitting(false);
|
|
90
88
|
}
|
|
91
|
-
};
|
|
89
|
+
}, [addAlert, clearAlerts, onFinish, t]);
|
|
92
90
|
|
|
93
|
-
const footer = (
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
91
|
+
const footer = React.useMemo(
|
|
92
|
+
() => (
|
|
93
|
+
<WizardFooter
|
|
94
|
+
activeStep={activeStep}
|
|
95
|
+
onNext={onNext}
|
|
96
|
+
isNextDisabled={isSubmitting || !canContinue || !!syncError}
|
|
97
|
+
nextButtonText={t('ai:Install cluster')}
|
|
98
|
+
nextButtonProps={{ isLoading: isSubmitting }}
|
|
99
|
+
onBack={goToPrevStep}
|
|
100
|
+
onClose={close}
|
|
101
|
+
/>
|
|
102
|
+
),
|
|
103
|
+
[activeStep, canContinue, close, goToPrevStep, isSubmitting, onNext, syncError, t],
|
|
103
104
|
);
|
|
104
105
|
useWizardFooter(footer);
|
|
105
106
|
|
|
106
|
-
const openShiftVersion = getSelectedVersion(clusterImages, agentClusterInstall);
|
|
107
|
+
const openShiftVersion = getSelectedVersion(clusterImages, agentClusterInstall, t);
|
|
107
108
|
const platform =
|
|
108
109
|
getPlatforms(t)[
|
|
109
110
|
(agentClusterInstall?.spec?.platformType?.toLowerCase() || 'baremetal') as PlatformType
|
|
@@ -183,9 +184,9 @@ export const ClusterDeploymentReviewStep = ({
|
|
|
183
184
|
<DetailItem
|
|
184
185
|
title={t('ai:Cluster validations')}
|
|
185
186
|
value={
|
|
186
|
-
<ClusterValidations<
|
|
187
|
+
<ClusterValidations<ClusterDeploymentWizardStepsType>
|
|
187
188
|
validationsInfo={cluster.validationsInfo}
|
|
188
|
-
setCurrentStepId={
|
|
189
|
+
setCurrentStepId={goToStepById}
|
|
189
190
|
wizardStepNames={wizardStepNames(t)}
|
|
190
191
|
wizardStepsValidationsMap={wizardStepsValidationsMap}
|
|
191
192
|
/>
|
|
@@ -195,9 +196,12 @@ export const ClusterDeploymentReviewStep = ({
|
|
|
195
196
|
<DetailItem
|
|
196
197
|
title={t('ai:Host validations')}
|
|
197
198
|
value={
|
|
198
|
-
<HostsValidations<
|
|
199
|
+
<HostsValidations<
|
|
200
|
+
ClusterDeploymentWizardStepsType,
|
|
201
|
+
typeof allClusterWizardSoftValidationIds
|
|
202
|
+
>
|
|
199
203
|
hosts={cluster.hosts}
|
|
200
|
-
setCurrentStepId={
|
|
204
|
+
setCurrentStepId={goToStepById}
|
|
201
205
|
wizardStepNames={wizardStepNames(t)}
|
|
202
206
|
allClusterWizardSoftValidationIds={allClusterWizardSoftValidationIds}
|
|
203
207
|
wizardStepsValidationsMap={wizardStepsValidationsMap}
|
|
@@ -41,8 +41,8 @@ export type AgentTableActions = {
|
|
|
41
41
|
|
|
42
42
|
export type ClusterDeploymentWizardStepsType =
|
|
43
43
|
| 'cluster-details'
|
|
44
|
-
| '
|
|
45
|
-
| '
|
|
44
|
+
| 'host-selection'
|
|
45
|
+
| 'host-discovery'
|
|
46
46
|
| 'networking'
|
|
47
47
|
| 'custom-manifests'
|
|
48
48
|
| 'review';
|
|
@@ -141,7 +141,6 @@ export type ClusterDeploymentWizardProps = {
|
|
|
141
141
|
|
|
142
142
|
clusterDeployment: ClusterDeploymentK8sResource;
|
|
143
143
|
agentClusterInstall: AgentClusterInstallK8sResource;
|
|
144
|
-
agents: AgentK8sResource[];
|
|
145
144
|
bareMetalHosts: BareMetalHostK8sResource[];
|
|
146
145
|
aiConfigMap?: ConfigMapK8sResource;
|
|
147
146
|
infraEnv?: InfraEnvK8sResource;
|
|
@@ -189,7 +188,6 @@ export type InfraEnvAgentTableProps = Pick<
|
|
|
189
188
|
agentMachines: AgentMachineK8sResource[];
|
|
190
189
|
bareMetalHosts: BareMetalHostK8sResource[];
|
|
191
190
|
infraEnv: InfraEnvK8sResource;
|
|
192
|
-
nmStates: NMStateK8sResource[];
|
|
193
191
|
getClusterDeploymentLink: (cd: { name: string; namespace: string }) => string;
|
|
194
192
|
onChangeHostname: (agent: AgentK8sResource, hostname: string) => Promise<AgentK8sResource>;
|
|
195
193
|
onChangeBMHHostname: (
|
|
@@ -10,14 +10,6 @@ import { AgentK8sResource } from '../../types/k8s/agent';
|
|
|
10
10
|
import { AgentClusterInstallK8sResource } from '../../types/k8s/agent-cluster-install';
|
|
11
11
|
import { ClusterDeploymentWizardStepsType } from './types';
|
|
12
12
|
|
|
13
|
-
export type ClusterWizardStepsType =
|
|
14
|
-
| 'cluster-details'
|
|
15
|
-
| 'hosts-selection'
|
|
16
|
-
| 'hosts-discovery'
|
|
17
|
-
| 'networking'
|
|
18
|
-
| 'custom-manifests'
|
|
19
|
-
| 'review';
|
|
20
|
-
|
|
21
13
|
const clusterDetailsStepValidationsMap: WizardStepValidationMap = {
|
|
22
14
|
cluster: {
|
|
23
15
|
groups: [],
|
|
@@ -69,7 +61,11 @@ const networkingStepValidationsMap: WizardStepValidationMap = {
|
|
|
69
61
|
// Alternatively we would have to whitelist network validations instead of using group
|
|
70
62
|
// TODO(mlibra): remove that container-images-available from soft validations and let backend drive it via disabling it.
|
|
71
63
|
// Depends on: https://issues.redhat.com/browse/MGMT-5265
|
|
72
|
-
softValidationIds: [
|
|
64
|
+
softValidationIds: [
|
|
65
|
+
'ntp-synced',
|
|
66
|
+
'container-images-available',
|
|
67
|
+
'custom-manifests-requirements-satisfied',
|
|
68
|
+
],
|
|
73
69
|
getPageURL: (host: Host, validationID: string) => {
|
|
74
70
|
if (validationID === 'ntp-synced') {
|
|
75
71
|
return {
|
|
@@ -81,10 +77,23 @@ const networkingStepValidationsMap: WizardStepValidationMap = {
|
|
|
81
77
|
},
|
|
82
78
|
};
|
|
83
79
|
|
|
80
|
+
const customManifestsValidationsMap: WizardStepValidationMap = {
|
|
81
|
+
cluster: {
|
|
82
|
+
groups: ['network'],
|
|
83
|
+
validationIds: ['platform-requirements-satisfied', 'custom-manifests-requirements-satisfied'],
|
|
84
|
+
},
|
|
85
|
+
host: {
|
|
86
|
+
allowedStatuses: ['known', 'disabled'],
|
|
87
|
+
groups: ['network'],
|
|
88
|
+
validationIds: [],
|
|
89
|
+
},
|
|
90
|
+
softValidationIds: ['ntp-synced', 'container-images-available', 'mtu-valid'],
|
|
91
|
+
};
|
|
92
|
+
|
|
84
93
|
const reviewStepValidationsMap: WizardStepValidationMap = {
|
|
85
94
|
cluster: {
|
|
86
95
|
groups: [],
|
|
87
|
-
validationIds: ['all-hosts-are-ready-to-install'],
|
|
96
|
+
validationIds: ['all-hosts-are-ready-to-install', 'custom-manifests-requirements-satisfied'],
|
|
88
97
|
},
|
|
89
98
|
host: {
|
|
90
99
|
allowedStatuses: ['known', 'disabled'],
|
|
@@ -94,14 +103,15 @@ const reviewStepValidationsMap: WizardStepValidationMap = {
|
|
|
94
103
|
softValidationIds: [],
|
|
95
104
|
};
|
|
96
105
|
|
|
97
|
-
export const wizardStepsValidationsMap: WizardStepsValidationMap<
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
106
|
+
export const wizardStepsValidationsMap: WizardStepsValidationMap<ClusterDeploymentWizardStepsType> =
|
|
107
|
+
{
|
|
108
|
+
'cluster-details': clusterDetailsStepValidationsMap,
|
|
109
|
+
'host-discovery': hostDiscoveryStepValidationsMap,
|
|
110
|
+
'host-selection': hostDiscoveryStepValidationsMap,
|
|
111
|
+
networking: networkingStepValidationsMap,
|
|
112
|
+
'custom-manifests': customManifestsValidationsMap,
|
|
113
|
+
review: reviewStepValidationsMap,
|
|
114
|
+
};
|
|
105
115
|
|
|
106
116
|
export const allClusterWizardSoftValidationIds =
|
|
107
117
|
getAllClusterWizardSoftValidationIds(wizardStepsValidationsMap);
|
|
@@ -136,18 +146,23 @@ const canNextFromClusterDeploymentWizardStep = (
|
|
|
136
146
|
export const canNextFromHostSelectionStep = (
|
|
137
147
|
agentClusterInstall: AgentClusterInstallK8sResource,
|
|
138
148
|
agents: AgentK8sResource[],
|
|
139
|
-
) => canNextFromClusterDeploymentWizardStep(agentClusterInstall, agents, '
|
|
149
|
+
) => canNextFromClusterDeploymentWizardStep(agentClusterInstall, agents, 'host-selection');
|
|
140
150
|
|
|
141
151
|
export const canNextFromHostDiscoveryStep = (
|
|
142
152
|
agentClusterInstall: AgentClusterInstallK8sResource,
|
|
143
153
|
agents: AgentK8sResource[],
|
|
144
|
-
) => canNextFromClusterDeploymentWizardStep(agentClusterInstall, agents, '
|
|
154
|
+
) => canNextFromClusterDeploymentWizardStep(agentClusterInstall, agents, 'host-discovery');
|
|
145
155
|
|
|
146
156
|
export const canNextFromNetworkingStep = (
|
|
147
157
|
agentClusterInstall: AgentClusterInstallK8sResource,
|
|
148
158
|
agents: AgentK8sResource[],
|
|
149
159
|
) => canNextFromClusterDeploymentWizardStep(agentClusterInstall, agents, 'networking');
|
|
150
160
|
|
|
161
|
+
export const canNextFromCustomManifestsStep = (
|
|
162
|
+
agentClusterInstall: AgentClusterInstallK8sResource,
|
|
163
|
+
agents: AgentK8sResource[],
|
|
164
|
+
) => canNextFromClusterDeploymentWizardStep(agentClusterInstall, agents, 'custom-manifests');
|
|
165
|
+
|
|
151
166
|
export const canNextFromReviewStep = (
|
|
152
167
|
agentClusterInstall: AgentClusterInstallK8sResource,
|
|
153
168
|
agents: AgentK8sResource[],
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { Link } from 'react-router
|
|
2
|
+
import { Link } from 'react-router';
|
|
3
3
|
import { Button, Label, Popover, Stack, StackItem } from '@patternfly/react-core';
|
|
4
4
|
import { PlusCircleIcon } from '@patternfly/react-icons/dist/js/icons/plus-circle-icon';
|
|
5
5
|
import { Table, Tbody, Td, Th, Thead, Tr } from '@patternfly/react-table';
|
|
@@ -11,12 +11,14 @@ import { useTranslation } from '../../../../../common/hooks/use-translation-wrap
|
|
|
11
11
|
import { BaseDnsHelperText } from '../../../ClusterDeployment/clusterDetails/ClusterDetailsFormFields';
|
|
12
12
|
import { useTemptiflySync } from '../../hooks/useTemptiflySync';
|
|
13
13
|
import { DetailsFormProps, DetailsFormValues } from './types';
|
|
14
|
+
import { StorageClassDropdown } from './StorageClassDropdown';
|
|
14
15
|
|
|
15
16
|
const DetailsForm: React.FC<DetailsFormProps> = ({
|
|
16
17
|
onValuesChanged,
|
|
17
18
|
extensionAfter,
|
|
18
19
|
ocpVersions,
|
|
19
20
|
allVersions,
|
|
21
|
+
storageClasses,
|
|
20
22
|
}) => {
|
|
21
23
|
const { t } = useTranslation();
|
|
22
24
|
const [openshiftVersionModalOpen, setOpenshiftVersionModalOpen] = React.useState(false);
|
|
@@ -69,6 +71,8 @@ const DetailsForm: React.FC<DetailsFormProps> = ({
|
|
|
69
71
|
/>
|
|
70
72
|
)}
|
|
71
73
|
|
|
74
|
+
<StorageClassDropdown storageClasses={storageClasses} />
|
|
75
|
+
|
|
72
76
|
<PullSecret />
|
|
73
77
|
</Form>
|
|
74
78
|
);
|
|
@@ -4,7 +4,9 @@ import * as React from 'react';
|
|
|
4
4
|
import * as Yup from 'yup';
|
|
5
5
|
import {
|
|
6
6
|
dnsNameValidationSchema,
|
|
7
|
+
ErrorState,
|
|
7
8
|
getDefaultOpenShiftVersion,
|
|
9
|
+
LoadingState,
|
|
8
10
|
nameValidationSchema,
|
|
9
11
|
pullSecretValidationSchema,
|
|
10
12
|
} from '../../../../../common';
|
|
@@ -12,6 +14,7 @@ import { useTranslation } from '../../../../../common/hooks/use-translation-wrap
|
|
|
12
14
|
import { useSupportedOCPVersions } from '../../hooks/useSupportedOCPVersions';
|
|
13
15
|
import DetailsForm from './DetailsForm';
|
|
14
16
|
import { DetailsStepProps, UseDetailsFormik } from './types';
|
|
17
|
+
import { useStorageClasses } from '../../../../hooks';
|
|
15
18
|
|
|
16
19
|
const useDetailsFormik: UseDetailsFormik = ({
|
|
17
20
|
ocpVersions,
|
|
@@ -27,6 +30,7 @@ const useDetailsFormik: UseDetailsFormik = ({
|
|
|
27
30
|
pullSecret: initPullSecret,
|
|
28
31
|
baseDnsDomain: initBaseDomain,
|
|
29
32
|
customOpenshiftSelect: null,
|
|
33
|
+
storageClass: '',
|
|
30
34
|
}),
|
|
31
35
|
[], // eslint-disable-line react-hooks/exhaustive-deps
|
|
32
36
|
);
|
|
@@ -53,8 +57,10 @@ const DetailsStep: React.FC<DetailsStepProps> = ({
|
|
|
53
57
|
initPullSecret,
|
|
54
58
|
supportedVersionsCM,
|
|
55
59
|
}) => {
|
|
56
|
-
const
|
|
57
|
-
const
|
|
60
|
+
const { t } = useTranslation();
|
|
61
|
+
const ocpVersions = useSupportedOCPVersions(clusterImages, t, supportedVersionsCM);
|
|
62
|
+
const allVersions = useSupportedOCPVersions(clusterImages, t, supportedVersionsCM, true);
|
|
63
|
+
const [storageClasses, isLoaded, error] = useStorageClasses({ isList: true });
|
|
58
64
|
|
|
59
65
|
const [initialValues, validationSchema] = useDetailsFormik({
|
|
60
66
|
ocpVersions,
|
|
@@ -63,6 +69,12 @@ const DetailsStep: React.FC<DetailsStepProps> = ({
|
|
|
63
69
|
initBaseDomain,
|
|
64
70
|
});
|
|
65
71
|
|
|
72
|
+
if (!isLoaded) {
|
|
73
|
+
return <LoadingState />;
|
|
74
|
+
} else if (error) {
|
|
75
|
+
return <ErrorState />;
|
|
76
|
+
}
|
|
77
|
+
|
|
66
78
|
return (
|
|
67
79
|
<Formik
|
|
68
80
|
initialValues={initialValues}
|
|
@@ -75,6 +87,7 @@ const DetailsStep: React.FC<DetailsStepProps> = ({
|
|
|
75
87
|
ocpVersions={ocpVersions}
|
|
76
88
|
allVersions={allVersions}
|
|
77
89
|
extensionAfter={extensionAfter}
|
|
90
|
+
storageClasses={storageClasses}
|
|
78
91
|
/>
|
|
79
92
|
</Formik>
|
|
80
93
|
);
|
package/lib/cim/components/Hypershift/HostedClusterWizard/DetailsStep/StorageClassDropdown.tsx
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Fuse from 'fuse.js';
|
|
3
|
+
import { StorageClassK8sResource } from '../../../../types';
|
|
4
|
+
import { SelectFieldWithSearch, useTranslation } from '../../../../../common';
|
|
5
|
+
import { useField } from 'formik';
|
|
6
|
+
|
|
7
|
+
const NO_RESULTS = 'no_results';
|
|
8
|
+
|
|
9
|
+
export const StorageClassDropdown = ({
|
|
10
|
+
storageClasses,
|
|
11
|
+
}: {
|
|
12
|
+
storageClasses: StorageClassK8sResource[];
|
|
13
|
+
}) => {
|
|
14
|
+
const { t } = useTranslation();
|
|
15
|
+
const [filter, setFilter] = React.useState('');
|
|
16
|
+
const [, , { setValue }] = useField('storageClass');
|
|
17
|
+
|
|
18
|
+
const storageClassItems = React.useMemo(
|
|
19
|
+
() =>
|
|
20
|
+
storageClasses.map((storageClass) => ({
|
|
21
|
+
value: storageClass.metadata?.name as string,
|
|
22
|
+
children: storageClass.metadata?.name as string,
|
|
23
|
+
})),
|
|
24
|
+
[storageClasses],
|
|
25
|
+
);
|
|
26
|
+
|
|
27
|
+
const fuse = React.useMemo(() => {
|
|
28
|
+
return new Fuse(storageClassItems, {
|
|
29
|
+
includeScore: true,
|
|
30
|
+
ignoreLocation: true,
|
|
31
|
+
threshold: 0.3,
|
|
32
|
+
keys: ['value'],
|
|
33
|
+
});
|
|
34
|
+
}, [storageClassItems]);
|
|
35
|
+
|
|
36
|
+
const selectOptions = React.useMemo(() => {
|
|
37
|
+
if (filter) {
|
|
38
|
+
const newSelectOptions = fuse
|
|
39
|
+
.search(filter)
|
|
40
|
+
.sort((a, b) => (a.score || 0) - (b.score || 0))
|
|
41
|
+
.map(({ item }) => item);
|
|
42
|
+
|
|
43
|
+
if (!newSelectOptions.length) {
|
|
44
|
+
return [
|
|
45
|
+
{
|
|
46
|
+
isAriaDisabled: true,
|
|
47
|
+
children: t('ai:No results found for {{filter}}', { filter }),
|
|
48
|
+
value: NO_RESULTS,
|
|
49
|
+
hasCheckbox: false,
|
|
50
|
+
},
|
|
51
|
+
];
|
|
52
|
+
}
|
|
53
|
+
return newSelectOptions;
|
|
54
|
+
}
|
|
55
|
+
return storageClassItems;
|
|
56
|
+
}, [filter, fuse, storageClassItems, t]);
|
|
57
|
+
|
|
58
|
+
return (
|
|
59
|
+
<SelectFieldWithSearch
|
|
60
|
+
selectOptions={selectOptions}
|
|
61
|
+
filterValue={filter}
|
|
62
|
+
setFilterValue={setFilter}
|
|
63
|
+
name={'storageClass'}
|
|
64
|
+
label={t('ai:Storage class')}
|
|
65
|
+
placeholder={t('ai:No storage class selected')}
|
|
66
|
+
helperText={t('ai:Persistent volume storage class for etcd data volumes')}
|
|
67
|
+
onClear={() => setValue('')}
|
|
68
|
+
/>
|
|
69
|
+
);
|
|
70
|
+
};
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import { FormikProps } from 'formik';
|
|
2
2
|
import { ObjectSchema } from 'yup';
|
|
3
3
|
import { OpenshiftVersionOptionType } from '../../../../../common';
|
|
4
|
-
import {
|
|
4
|
+
import {
|
|
5
|
+
ClusterImageSetK8sResource,
|
|
6
|
+
ConfigMapK8sResource,
|
|
7
|
+
StorageClassK8sResource,
|
|
8
|
+
} from '../../../../types';
|
|
5
9
|
|
|
6
10
|
export type DetailsFormValues = {
|
|
7
11
|
name: string;
|
|
@@ -9,6 +13,7 @@ export type DetailsFormValues = {
|
|
|
9
13
|
pullSecret: string;
|
|
10
14
|
baseDnsDomain: string;
|
|
11
15
|
customOpenshiftSelect: string | null;
|
|
16
|
+
storageClass: string;
|
|
12
17
|
};
|
|
13
18
|
|
|
14
19
|
type UseDetailsFormikArgs = {
|
|
@@ -22,7 +27,9 @@ export type UseDetailsFormik = (
|
|
|
22
27
|
args: UseDetailsFormikArgs,
|
|
23
28
|
) => [
|
|
24
29
|
DetailsFormValues,
|
|
25
|
-
ObjectSchema<
|
|
30
|
+
ObjectSchema<
|
|
31
|
+
Omit<DetailsFormValues, 'openshiftVersion' | 'customOpenshiftSelect' | 'storageClass'>
|
|
32
|
+
>,
|
|
26
33
|
];
|
|
27
34
|
|
|
28
35
|
export type DetailsStepProps = {
|
|
@@ -40,4 +47,5 @@ export type DetailsStepProps = {
|
|
|
40
47
|
export type DetailsFormProps = Pick<DetailsStepProps, 'onValuesChanged' | 'extensionAfter'> & {
|
|
41
48
|
ocpVersions: OpenshiftVersionOptionType[];
|
|
42
49
|
allVersions: OpenshiftVersionOptionType[];
|
|
50
|
+
storageClasses: StorageClassK8sResource[];
|
|
43
51
|
};
|
|
@@ -2,6 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
// import { getErrorMessage } from '../../../../common/utils';
|
|
3
3
|
import { ClusterImageSetK8sResource, ConfigMapK8sResource } from '../../../types';
|
|
4
4
|
import { getOCPVersions } from '../../helpers';
|
|
5
|
+
import { TFunction } from 'i18next';
|
|
5
6
|
|
|
6
7
|
export const getSupportedCM = (configMaps: ConfigMapK8sResource[]) =>
|
|
7
8
|
configMaps.find(
|
|
@@ -10,11 +11,12 @@ export const getSupportedCM = (configMaps: ConfigMapK8sResource[]) =>
|
|
|
10
11
|
|
|
11
12
|
export const useSupportedOCPVersions = (
|
|
12
13
|
clusterImages: ClusterImageSetK8sResource[],
|
|
14
|
+
t: TFunction,
|
|
13
15
|
supportedVersionsCM?: ConfigMapK8sResource,
|
|
14
16
|
extended?: boolean,
|
|
15
17
|
) => {
|
|
16
18
|
return React.useMemo(() => {
|
|
17
|
-
const ocpVersions = getOCPVersions(clusterImages, false, undefined, extended);
|
|
19
|
+
const ocpVersions = getOCPVersions(clusterImages, t, false, undefined, extended);
|
|
18
20
|
const supportedVersionsString = supportedVersionsCM?.data?.['supported-versions'];
|
|
19
21
|
if (supportedVersionsString) {
|
|
20
22
|
try {
|
|
@@ -26,5 +28,5 @@ export const useSupportedOCPVersions = (
|
|
|
26
28
|
}
|
|
27
29
|
}
|
|
28
30
|
return ocpVersions;
|
|
29
|
-
}, [clusterImages, extended, supportedVersionsCM?.data]);
|
|
31
|
+
}, [clusterImages, extended, supportedVersionsCM?.data, t]);
|
|
30
32
|
};
|
|
@@ -18,7 +18,7 @@ import { AddBmcHostModal, AddBmcHostYamlModal, AddHostModal } from '../modals';
|
|
|
18
18
|
import { AddHostDropdownProps } from './types';
|
|
19
19
|
import './AddHostDropdown.css';
|
|
20
20
|
import { Trans } from 'react-i18next';
|
|
21
|
-
import { Link } from 'react-router
|
|
21
|
+
import { Link } from 'react-router';
|
|
22
22
|
import { OutlinedQuestionCircleIcon } from '@patternfly/react-icons/dist/js/icons/outlined-question-circle-icon';
|
|
23
23
|
|
|
24
24
|
type ModalType = 'iso' | 'bmc' | 'yaml' | 'ipxe' | undefined;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { Alert, AlertVariant, ModalBody } from '@patternfly/react-core';
|
|
2
3
|
import { getFailingResourceConditions } from '../helpers';
|
|
3
4
|
import { InfraEnvK8sResource } from '../../types';
|
|
4
5
|
import { SingleResourceAlerts } from '../common/ResourceAlerts';
|
|
5
|
-
import { Alert, AlertVariant } from '@patternfly/react-core';
|
|
6
6
|
import { getInfraEnvDocs } from '../common/constants';
|
|
7
7
|
import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
|
|
8
8
|
|
|
@@ -25,8 +25,8 @@ export const EnvironmentErrors: React.FC<EnvironmentErrorsProps> = ({
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
return (
|
|
28
|
-
|
|
29
|
-
{!infraEnv.status
|
|
28
|
+
<ModalBody>
|
|
29
|
+
{!infraEnv.status ? (
|
|
30
30
|
<Alert
|
|
31
31
|
title={t('ai:Central infrastructure management is not running')}
|
|
32
32
|
variant={AlertVariant.warning}
|
|
@@ -42,11 +42,12 @@ export const EnvironmentErrors: React.FC<EnvironmentErrorsProps> = ({
|
|
|
42
42
|
'ai:It seems the Central infrastructure management is not configured which will prevent its features to be used. Please refer to the documentation for the first time setup steps.',
|
|
43
43
|
)}
|
|
44
44
|
</Alert>
|
|
45
|
+
) : (
|
|
46
|
+
<SingleResourceAlerts
|
|
47
|
+
title={t('ai:Failing infrastructure environment')}
|
|
48
|
+
conditions={infraEnvAlerts}
|
|
49
|
+
/>
|
|
45
50
|
)}
|
|
46
|
-
|
|
47
|
-
title={t('ai:Failing infrastructure environment')}
|
|
48
|
-
conditions={infraEnvAlerts}
|
|
49
|
-
/>
|
|
50
|
-
</>
|
|
51
|
+
</ModalBody>
|
|
51
52
|
);
|
|
52
53
|
};
|
|
@@ -66,7 +66,6 @@ const InfraEnvAgentTable: React.FC<InfraEnvAgentTableProps> = ({
|
|
|
66
66
|
getClusterDeploymentLink,
|
|
67
67
|
bareMetalHosts,
|
|
68
68
|
infraEnv,
|
|
69
|
-
nmStates,
|
|
70
69
|
onChangeHostname,
|
|
71
70
|
onChangeBMHHostname,
|
|
72
71
|
onMassDeleteHost,
|
|
@@ -287,7 +286,6 @@ const InfraEnvAgentTable: React.FC<InfraEnvAgentTableProps> = ({
|
|
|
287
286
|
agents={selectedAgents}
|
|
288
287
|
bmhs={selectedBMHs}
|
|
289
288
|
infraEnv={infraEnv}
|
|
290
|
-
nmStates={nmStates}
|
|
291
289
|
onDelete={onMassDeleteHost}
|
|
292
290
|
onClose={() => setMassDeleteOpen(false)}
|
|
293
291
|
/>
|
|
@@ -86,7 +86,7 @@ const CpuArchitectureDropdown = ({
|
|
|
86
86
|
id={fieldId}
|
|
87
87
|
ref={toggleRef}
|
|
88
88
|
onClick={() => setCpuArchOpen(!cpuArchOpen)}
|
|
89
|
-
|
|
89
|
+
isFullWidth
|
|
90
90
|
>
|
|
91
91
|
{value ? architectureData[value].label : t('ai:CPU architecture')}
|
|
92
92
|
</MenuToggle>
|
|
@@ -94,6 +94,7 @@ const CpuArchitectureDropdown = ({
|
|
|
94
94
|
isOpen={cpuArchOpen}
|
|
95
95
|
onSelect={onCpuArchSelect}
|
|
96
96
|
onOpenChange={() => setCpuArchOpen(!cpuArchOpen)}
|
|
97
|
+
shouldFocusToggleOnSelect
|
|
97
98
|
>
|
|
98
99
|
{dropdownItems}
|
|
99
100
|
</Dropdown>
|
|
@@ -172,6 +172,11 @@ export const getClusterProperties = (
|
|
|
172
172
|
const serviceNetworks = agentClusterInstall.spec?.networking?.serviceNetwork;
|
|
173
173
|
const clusterNetworks = agentClusterInstall.spec?.networking?.clusterNetwork;
|
|
174
174
|
|
|
175
|
+
const apiIPs = agentClusterInstall.spec?.apiVIPs || [agentClusterInstall.spec?.apiVIP];
|
|
176
|
+
const ingressIPs = agentClusterInstall.spec?.ingressVIPs || [
|
|
177
|
+
agentClusterInstall.spec?.ingressVIP,
|
|
178
|
+
];
|
|
179
|
+
|
|
175
180
|
return {
|
|
176
181
|
// TODO: we should translate following keys since they are used "as it is" in AcmDescriptionList.tsx / List component of the stolostron project
|
|
177
182
|
name: {
|
|
@@ -191,12 +196,12 @@ export const getClusterProperties = (
|
|
|
191
196
|
value: clusterDeployment.spec?.baseDomain,
|
|
192
197
|
},
|
|
193
198
|
apiVip: {
|
|
194
|
-
key: 'API IP',
|
|
195
|
-
value:
|
|
199
|
+
key: apiIPs.length > 1 ? 'API IPs' : 'API IP',
|
|
200
|
+
value: apiIPs.join(', '),
|
|
196
201
|
},
|
|
197
202
|
ingressVip: {
|
|
198
|
-
key: 'Ingress IP',
|
|
199
|
-
value:
|
|
203
|
+
key: ingressIPs.length > 1 ? 'Ingress IPs' : 'Ingress IP',
|
|
204
|
+
value: ingressIPs.join(', '),
|
|
200
205
|
},
|
|
201
206
|
clusterNetworkCidr: {
|
|
202
207
|
key: (clusterNetworks?.length || 0) > 1 ? 'Cluster network CIDRs' : 'Cluster network CIDR',
|
|
@@ -1,22 +1,21 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TFunction } from 'i18next';
|
|
2
2
|
import { Cluster, Host } from '@openshift-assisted/types/assisted-installer-service';
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
import {
|
|
4
|
+
AgentClusterInstallK8sResource,
|
|
5
|
+
AgentK8sResource,
|
|
6
|
+
BareMetalHostK8sResource,
|
|
7
|
+
StatusCondition,
|
|
8
|
+
} from '../../types';
|
|
9
|
+
import { HostStatusDef } from '../../../common';
|
|
7
10
|
import {
|
|
8
11
|
areOnlySoftValidationsOfWizardStepFailing,
|
|
9
12
|
getWizardStepHostStatus,
|
|
10
13
|
getWizardStepHostValidationsInfo,
|
|
11
14
|
} from '../../../common/components/clusterWizard/validationsInfoUtils';
|
|
12
|
-
import {
|
|
13
|
-
ClusterWizardStepsType,
|
|
14
|
-
wizardStepsValidationsMap,
|
|
15
|
-
} from '../ClusterDeployment/wizardTransition';
|
|
16
|
-
import { HostStatusDef } from '../../../common';
|
|
17
|
-
import { agentStatus } from './agentStatus';
|
|
18
|
-
import { TFunction } from 'i18next';
|
|
15
|
+
import { ValidationsInfo } from '../../../common/types/hosts';
|
|
19
16
|
import { HostStatus } from '../../../common/components/hosts/types';
|
|
17
|
+
import { wizardStepsValidationsMap, ClusterDeploymentWizardStepsType } from '../ClusterDeployment';
|
|
18
|
+
import { agentStatus } from './agentStatus';
|
|
20
19
|
|
|
21
20
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
22
21
|
const conditionsByTypeReducer = <K>(
|
|
@@ -82,7 +81,7 @@ export const getAgentStatus = (
|
|
|
82
81
|
|
|
83
82
|
export const getWizardStepAgentStatus = (
|
|
84
83
|
agent: AgentK8sResource,
|
|
85
|
-
wizardStepId:
|
|
84
|
+
wizardStepId: ClusterDeploymentWizardStepsType,
|
|
86
85
|
t: TFunction,
|
|
87
86
|
excludeDiscovered = false,
|
|
88
87
|
): { status: HostStatusDef; validationsInfo: ValidationsInfo } => {
|