@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
|
@@ -18,6 +18,7 @@ import {
|
|
|
18
18
|
} from '../common/constants';
|
|
19
19
|
import { getAgentProgress, getAgentRole, getInfraEnvNameOfAgent } from './agents';
|
|
20
20
|
import { getClusterDeploymentCpuArchitecture } from './clusterDeployment';
|
|
21
|
+
import { getVersionFromReleaseString } from './versions';
|
|
21
22
|
|
|
22
23
|
export const getAIHosts = (
|
|
23
24
|
agents: AgentK8sResource[],
|
|
@@ -118,18 +119,6 @@ export const getAIHosts = (
|
|
|
118
119
|
return [...hosts, ...restBmhs];
|
|
119
120
|
};
|
|
120
121
|
|
|
121
|
-
const extractVersionFromImageSetRef = (imageSetRefName?: string): string | undefined => {
|
|
122
|
-
if (!imageSetRefName) {
|
|
123
|
-
return undefined;
|
|
124
|
-
}
|
|
125
|
-
// Match pattern like "4.19.18" or "4.19" in strings like "img4.19.18-multi-appsub"
|
|
126
|
-
const versionMatch = imageSetRefName.match(/(\d+\.\d+)(?:\.\d+)?/);
|
|
127
|
-
if (versionMatch && versionMatch[1]) {
|
|
128
|
-
return versionMatch[1];
|
|
129
|
-
}
|
|
130
|
-
return undefined;
|
|
131
|
-
};
|
|
132
|
-
|
|
133
122
|
export const getAICluster = ({
|
|
134
123
|
clusterDeployment,
|
|
135
124
|
agentClusterInstall,
|
|
@@ -142,12 +131,13 @@ export const getAICluster = ({
|
|
|
142
131
|
infraEnv?: InfraEnvK8sResource;
|
|
143
132
|
}): Cluster => {
|
|
144
133
|
const imageSetRefName = agentClusterInstall?.spec?.imageSetRef?.name;
|
|
145
|
-
const extractedVersion =
|
|
134
|
+
const extractedVersion = getVersionFromReleaseString(imageSetRefName);
|
|
146
135
|
|
|
147
136
|
const installVersion =
|
|
148
137
|
clusterDeployment.status?.installVersion ||
|
|
149
138
|
clusterDeployment.metadata?.labels?.[OCP_VERSION_MAJOR_MINOR] ||
|
|
150
139
|
extractedVersion;
|
|
140
|
+
|
|
151
141
|
const [status, statusInfo] = getClusterStatus(agentClusterInstall);
|
|
152
142
|
const aiCluster: Cluster = {
|
|
153
143
|
id: clusterDeployment.metadata?.uid || '',
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { describe, expect, test } from 'vitest';
|
|
2
|
+
import { TFunction } from 'react-i18next';
|
|
2
3
|
import { CpuArchitecture } from '../../../common/types/cpuArchitecture';
|
|
3
4
|
import { ClusterImageSetK8sResource } from '../../types/k8s/cluster-image-set';
|
|
4
5
|
import { AgentClusterInstallK8sResource } from '../../types/k8s/agent-cluster-install';
|
|
@@ -13,6 +14,8 @@ import {
|
|
|
13
14
|
} from './versions';
|
|
14
15
|
import { OpenshiftVersionOptionType } from '../../../common/types/versions';
|
|
15
16
|
|
|
17
|
+
const t: TFunction = (t: string) => t;
|
|
18
|
+
|
|
16
19
|
const ClusterImageSetApiVersion = 'hive.openshift.io/v1';
|
|
17
20
|
const ClusterImageSetKind = 'ClusterImageSet';
|
|
18
21
|
|
|
@@ -86,7 +89,7 @@ describe('getOCPVersions', () => {
|
|
|
86
89
|
},
|
|
87
90
|
spec: { releaseImage: 'quay.io/ocp/release:4.16.1-x86_64' },
|
|
88
91
|
});
|
|
89
|
-
expect(getOCPVersions([hidden])).toEqual([]);
|
|
92
|
+
expect(getOCPVersions([hidden], t)).toEqual([]);
|
|
90
93
|
});
|
|
91
94
|
|
|
92
95
|
test('includes image sets without visible true when extended is true', () => {
|
|
@@ -97,7 +100,7 @@ describe('getOCPVersions', () => {
|
|
|
97
100
|
},
|
|
98
101
|
spec: { releaseImage: 'quay.io/ocp/release:4.16.2-x86_64' },
|
|
99
102
|
});
|
|
100
|
-
const result = getOCPVersions([hidden], undefined, undefined, true);
|
|
103
|
+
const result = getOCPVersions([hidden], t, undefined, undefined, true);
|
|
101
104
|
expect(result).toHaveLength(1);
|
|
102
105
|
expect(result[0]?.version).toBe('4.16.2');
|
|
103
106
|
expect(result[0]?.default).toBe(true);
|
|
@@ -118,7 +121,7 @@ describe('getOCPVersions', () => {
|
|
|
118
121
|
},
|
|
119
122
|
spec: { releaseImage: 'quay.io/ocp/release:4.21.0-x86_64' },
|
|
120
123
|
});
|
|
121
|
-
const result = getOCPVersions([a, b]);
|
|
124
|
+
const result = getOCPVersions([a, b], t);
|
|
122
125
|
expect(result.map((v) => v.version)).toEqual(['4.21.0', '4.15.0']);
|
|
123
126
|
});
|
|
124
127
|
|
|
@@ -137,7 +140,7 @@ describe('getOCPVersions', () => {
|
|
|
137
140
|
},
|
|
138
141
|
spec: { releaseImage: 'quay.io/ocp/release:4.16.0-x86_64' },
|
|
139
142
|
});
|
|
140
|
-
const result = getOCPVersions([first, second]);
|
|
143
|
+
const result = getOCPVersions([first, second], t);
|
|
141
144
|
expect(result[0]?.default).toBe(true);
|
|
142
145
|
expect(result[1]?.default).toBe(false);
|
|
143
146
|
});
|
|
@@ -164,7 +167,7 @@ describe('getOCPVersions', () => {
|
|
|
164
167
|
},
|
|
165
168
|
spec: { releaseImage: 'quay.io/ocp/release:4.16.0-x86_64' },
|
|
166
169
|
});
|
|
167
|
-
const result = getOCPVersions([dupA, dupB, other]);
|
|
170
|
+
const result = getOCPVersions([dupA, dupB, other], t);
|
|
168
171
|
expect(result.map((v) => v.value)).toEqual(['dup-a', 'other']);
|
|
169
172
|
expect(result.map((v) => v.version)).toEqual(['4.17.0', '4.16.0']);
|
|
170
173
|
});
|
|
@@ -184,7 +187,7 @@ describe('getOCPVersions', () => {
|
|
|
184
187
|
},
|
|
185
188
|
spec: { releaseImage: 'quay.io/ocp/release:4.16.1-multi' },
|
|
186
189
|
});
|
|
187
|
-
const result = getOCPVersions([x86, multi], true);
|
|
190
|
+
const result = getOCPVersions([x86, multi], t, true);
|
|
188
191
|
expect(result.map((v) => v.value)).toEqual(['nut-x86']);
|
|
189
192
|
});
|
|
190
193
|
|
|
@@ -196,7 +199,7 @@ describe('getOCPVersions', () => {
|
|
|
196
199
|
},
|
|
197
200
|
spec: { releaseImage: 'quay.io/ocp/release:4.16.2-multi' },
|
|
198
201
|
});
|
|
199
|
-
const result = getOCPVersions([cis], true);
|
|
202
|
+
const result = getOCPVersions([cis], t, true);
|
|
200
203
|
expect(result).toHaveLength(1);
|
|
201
204
|
expect(result[0]?.value).toBe('nut-label');
|
|
202
205
|
});
|
|
@@ -217,7 +220,7 @@ describe('getOCPVersions', () => {
|
|
|
217
220
|
spec: { releaseImage: 'quay.io/ocp/release:4.19.0-x86_64' },
|
|
218
221
|
});
|
|
219
222
|
const osImages = [makeOsImage({ openshiftVersion: '4.18' })];
|
|
220
|
-
const result = getOCPVersions([inRange, outRange], false, osImages);
|
|
223
|
+
const result = getOCPVersions([inRange, outRange], t, false, osImages);
|
|
221
224
|
expect(result.map((v) => v.value)).toEqual(['in']);
|
|
222
225
|
});
|
|
223
226
|
|
|
@@ -229,7 +232,7 @@ describe('getOCPVersions', () => {
|
|
|
229
232
|
},
|
|
230
233
|
spec: { releaseImage: 'quay.io/ocp/release:4.17.0-multi' },
|
|
231
234
|
});
|
|
232
|
-
const result = getOCPVersions([cis]);
|
|
235
|
+
const result = getOCPVersions([cis], t);
|
|
233
236
|
expect(result[0]?.cpuArchitectures).toEqual([CpuArchitecture.x86]);
|
|
234
237
|
});
|
|
235
238
|
|
|
@@ -241,7 +244,7 @@ describe('getOCPVersions', () => {
|
|
|
241
244
|
},
|
|
242
245
|
spec: { releaseImage: 'quay.io/ocp/release:4.17.0-multi' },
|
|
243
246
|
});
|
|
244
|
-
const result = getOCPVersions([cis]);
|
|
247
|
+
const result = getOCPVersions([cis], t);
|
|
245
248
|
expect(result[0]?.cpuArchitectures).toEqual([CpuArchitecture.ARM]);
|
|
246
249
|
});
|
|
247
250
|
|
|
@@ -253,7 +256,7 @@ describe('getOCPVersions', () => {
|
|
|
253
256
|
},
|
|
254
257
|
spec: { releaseImage: 'quay.io/ocp/release:4.17.0-multi' },
|
|
255
258
|
});
|
|
256
|
-
const result = getOCPVersions([cis]);
|
|
259
|
+
const result = getOCPVersions([cis], t);
|
|
257
260
|
expect(result[0]?.cpuArchitectures).toEqual([CpuArchitecture.MULTI]);
|
|
258
261
|
});
|
|
259
262
|
|
|
@@ -265,7 +268,7 @@ describe('getOCPVersions', () => {
|
|
|
265
268
|
},
|
|
266
269
|
spec: { releaseImage: 'quay.io/ocp/release:4.17.0-multi' },
|
|
267
270
|
});
|
|
268
|
-
const result = getOCPVersions([cis]);
|
|
271
|
+
const result = getOCPVersions([cis], t);
|
|
269
272
|
expect(result[0]?.cpuArchitectures).toEqual([CpuArchitecture.s390x]);
|
|
270
273
|
});
|
|
271
274
|
|
|
@@ -280,7 +283,7 @@ describe('getOCPVersions', () => {
|
|
|
280
283
|
},
|
|
281
284
|
spec: { releaseImage: 'quay.io/ocp/release:4.17.1-x86-64' },
|
|
282
285
|
});
|
|
283
|
-
const result = getOCPVersions([cis]);
|
|
286
|
+
const result = getOCPVersions([cis], t);
|
|
284
287
|
expect(result[0]?.cpuArchitectures).toEqual([CpuArchitecture.x86]);
|
|
285
288
|
});
|
|
286
289
|
|
|
@@ -296,7 +299,7 @@ describe('getOCPVersions', () => {
|
|
|
296
299
|
},
|
|
297
300
|
spec: { releaseImage: 'quay.io/ocp/release:4.19.0-multi' },
|
|
298
301
|
});
|
|
299
|
-
const result = getOCPVersions([cis]);
|
|
302
|
+
const result = getOCPVersions([cis], t);
|
|
300
303
|
expect(result[0]?.cpuArchitectures).toEqual([CpuArchitecture.x86]);
|
|
301
304
|
});
|
|
302
305
|
|
|
@@ -308,7 +311,7 @@ describe('getOCPVersions', () => {
|
|
|
308
311
|
},
|
|
309
312
|
spec: { releaseImage: 'quay.io/ocp/release:4.17.0' },
|
|
310
313
|
});
|
|
311
|
-
const result = getOCPVersions([cis]);
|
|
314
|
+
const result = getOCPVersions([cis], t);
|
|
312
315
|
expect(result[0]?.cpuArchitectures).toBeUndefined();
|
|
313
316
|
});
|
|
314
317
|
});
|
|
@@ -328,7 +331,7 @@ describe('getSelectedVersion', () => {
|
|
|
328
331
|
metadata: { name: 'aci', namespace: 'ns' },
|
|
329
332
|
spec: { imageSetRef: { name: 'my-imageset' } },
|
|
330
333
|
} as AgentClusterInstallK8sResource;
|
|
331
|
-
expect(getSelectedVersion([cis], aci)).toBe('4.18.10');
|
|
334
|
+
expect(getSelectedVersion([cis], aci, t)).toBe('4.18.10');
|
|
332
335
|
});
|
|
333
336
|
|
|
334
337
|
test('returns imageSetRef name when no cluster image matches', () => {
|
|
@@ -338,7 +341,7 @@ describe('getSelectedVersion', () => {
|
|
|
338
341
|
metadata: { name: 'aci', namespace: 'ns' },
|
|
339
342
|
spec: { imageSetRef: { name: 'missing' } },
|
|
340
343
|
} as AgentClusterInstallK8sResource;
|
|
341
|
-
expect(getSelectedVersion([], aci)).toBe('missing');
|
|
344
|
+
expect(getSelectedVersion([], aci, t)).toBe('missing');
|
|
342
345
|
});
|
|
343
346
|
|
|
344
347
|
test('returns undefined when imageSetRef is missing', () => {
|
|
@@ -348,7 +351,7 @@ describe('getSelectedVersion', () => {
|
|
|
348
351
|
metadata: { name: 'aci', namespace: 'ns' },
|
|
349
352
|
spec: {},
|
|
350
353
|
} as AgentClusterInstallK8sResource;
|
|
351
|
-
expect(getSelectedVersion([], aci)).toBeUndefined();
|
|
354
|
+
expect(getSelectedVersion([], aci, t)).toBeUndefined();
|
|
352
355
|
});
|
|
353
356
|
});
|
|
354
357
|
|
|
@@ -8,6 +8,7 @@ import {
|
|
|
8
8
|
} from '../../types';
|
|
9
9
|
import { CpuArchitecture, OpenshiftVersionOptionType } from '../../../common';
|
|
10
10
|
import { getComparableVersionInt } from '../../../common/utils';
|
|
11
|
+
import { TFunction } from 'i18next';
|
|
11
12
|
|
|
12
13
|
export const getVersionFromReleaseString = (value = '') => {
|
|
13
14
|
const match = /(\d+\.\d+(?:\.\d+)?(?:-\w+)?)/gm.exec(value);
|
|
@@ -78,12 +79,13 @@ const extractMajorMinor = (version: string): string => {
|
|
|
78
79
|
// Converts a ClusterImageSet to an OpenshiftVersionOptionType
|
|
79
80
|
const toVersionOption = (
|
|
80
81
|
clusterImageSet: ClusterImageSetK8sResource,
|
|
82
|
+
t: TFunction,
|
|
81
83
|
): OpenshiftVersionOptionType => {
|
|
82
84
|
const version = getVersionFromClusterImageSet(clusterImageSet);
|
|
83
85
|
const cpuArch = getCPUArchFromClusterImageSet(clusterImageSet);
|
|
84
86
|
|
|
85
87
|
return {
|
|
86
|
-
label:
|
|
88
|
+
label: `${t('ai:OpenShift')} ${version}`,
|
|
87
89
|
version,
|
|
88
90
|
value: clusterImageSet.metadata?.name as string,
|
|
89
91
|
default: false,
|
|
@@ -109,6 +111,7 @@ const supportedNutanixPlatforms = ['x86_64', 'x86-64'];
|
|
|
109
111
|
|
|
110
112
|
export const getOCPVersions = (
|
|
111
113
|
clusterImageSets: ClusterImageSetK8sResource[],
|
|
114
|
+
t: TFunction,
|
|
112
115
|
isNutanix?: boolean,
|
|
113
116
|
osImages?: OsImage[],
|
|
114
117
|
extended?: boolean,
|
|
@@ -118,7 +121,7 @@ export const getOCPVersions = (
|
|
|
118
121
|
|
|
119
122
|
const versions = clusterImageSets
|
|
120
123
|
.filter((clusterImageSet) => isValidImageSet(clusterImageSet, architectures, extended))
|
|
121
|
-
.map(toVersionOption)
|
|
124
|
+
.map((clusterImageSet) => toVersionOption(clusterImageSet, t))
|
|
122
125
|
.filter((v) => hasMatchingOsImage(v, osImageVersions))
|
|
123
126
|
.sort((a, b) => b.label.localeCompare(a.label));
|
|
124
127
|
|
|
@@ -131,13 +134,14 @@ export const getOCPVersions = (
|
|
|
131
134
|
export const getSelectedVersion = (
|
|
132
135
|
clusterImages: ClusterImageSetK8sResource[],
|
|
133
136
|
agentClusterInstall: AgentClusterInstallK8sResource,
|
|
137
|
+
t: TFunction,
|
|
134
138
|
) => {
|
|
135
139
|
const selectedClusterImage = clusterImages.find(
|
|
136
140
|
(ci) => ci.metadata?.name === agentClusterInstall?.spec?.imageSetRef?.name,
|
|
137
141
|
);
|
|
138
142
|
|
|
139
143
|
return selectedClusterImage
|
|
140
|
-
? getOCPVersions([selectedClusterImage], undefined, undefined, true)?.[0]?.version
|
|
144
|
+
? getOCPVersions([selectedClusterImage], t, undefined, undefined, true)?.[0]?.version
|
|
141
145
|
: agentClusterInstall?.spec?.imageSetRef?.name;
|
|
142
146
|
};
|
|
143
147
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { useNavigate } from 'react-router
|
|
2
|
+
import { useNavigate } from 'react-router';
|
|
3
3
|
import {
|
|
4
4
|
Alert,
|
|
5
5
|
AlertVariant,
|
|
@@ -69,7 +69,7 @@ export const CimConfigProgressAlert: React.FC<CimConfigProgressAlertProps> = ({
|
|
|
69
69
|
variant={ButtonVariant.link}
|
|
70
70
|
isInline
|
|
71
71
|
key="assisted-service-deployment"
|
|
72
|
-
onClick={() => navigate(assistedServiceDeploymentUrl)}
|
|
72
|
+
onClick={() => void navigate(assistedServiceDeploymentUrl)}
|
|
73
73
|
>
|
|
74
74
|
{t('ai:Troubleshoot in the assisted service deployment')}
|
|
75
75
|
</Button>
|
|
@@ -161,7 +161,7 @@ export const CimConfigurationFormFields = ({
|
|
|
161
161
|
<PopoverIcon
|
|
162
162
|
noVerticalAlign
|
|
163
163
|
bodyContent={t(
|
|
164
|
-
'ai:Specify how much storage to allocate for the images of the clusters. There must be 1G of image storage for each instance of Red Hat Enterprise Linux CoreOS that is running. Recommended is
|
|
164
|
+
'ai:Specify how much storage to allocate for the images of the clusters. There must be 1G of image storage for each instance of Red Hat Enterprise Linux CoreOS that is running. Recommended is 100Gi or more. The value can not be updated later.',
|
|
165
165
|
)}
|
|
166
166
|
aria-label={t('ai:More info for image storage')}
|
|
167
167
|
>
|
|
@@ -118,7 +118,7 @@ export const CimConfigurationModal: React.FC<CimConfigurationModalProps> = ({
|
|
|
118
118
|
agentServiceConfig?.spec?.filesystemStorage?.resources?.requests?.storage,
|
|
119
119
|
),
|
|
120
120
|
imgVolSize: getStorageSizeGiB(
|
|
121
|
-
|
|
121
|
+
100,
|
|
122
122
|
agentServiceConfig?.spec?.imageStorage?.resources?.requests?.storage,
|
|
123
123
|
),
|
|
124
124
|
configureLoadBalancer: platform === 'AWS',
|
|
@@ -134,7 +134,7 @@ export const CimConfigurationModal: React.FC<CimConfigurationModalProps> = ({
|
|
|
134
134
|
.min(MIN_FS_VOL_SIZE, t('ai:Minimal value is 1Gi'))
|
|
135
135
|
.required(t('ai:Required field')),
|
|
136
136
|
imgVolSize: Yup.number()
|
|
137
|
-
.min(MIN_IMG_VOL_SIZE, t('ai:Minimal value is
|
|
137
|
+
.min(MIN_IMG_VOL_SIZE, t('ai:Minimal value is 50Gi'))
|
|
138
138
|
.required(t('ai:Required field')),
|
|
139
139
|
configureLoadBalancer: Yup.boolean(),
|
|
140
140
|
addCiscoIntersightURL: Yup.boolean(),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { useNavigate } from 'react-router
|
|
2
|
+
import { useNavigate } from 'react-router';
|
|
3
3
|
import { Alert, AlertActionLink, AlertVariant } from '@patternfly/react-core';
|
|
4
4
|
import { ExternalLinkAltIcon } from '@patternfly/react-icons/dist/js/icons/external-link-alt-icon';
|
|
5
5
|
|
|
@@ -20,10 +20,16 @@ export const CimStorageMissingAlert: React.FC<{
|
|
|
20
20
|
);
|
|
21
21
|
|
|
22
22
|
const actionLinks: React.ReactNode[] = [
|
|
23
|
-
<AlertActionLink
|
|
23
|
+
<AlertActionLink
|
|
24
|
+
key="install-storage-operator"
|
|
25
|
+
onClick={() => void navigate(storageOperatorUrl)}
|
|
26
|
+
>
|
|
24
27
|
{t('ai:Install storage operator')}
|
|
25
28
|
</AlertActionLink>,
|
|
26
|
-
<AlertActionLink
|
|
29
|
+
<AlertActionLink
|
|
30
|
+
key="storage-class"
|
|
31
|
+
onClick={() => window.open(docStorageUrl, '_blank', 'noopener,noreferrer')}
|
|
32
|
+
>
|
|
27
33
|
{contentWorkaround as unknown as string}
|
|
28
34
|
</AlertActionLink>,
|
|
29
35
|
];
|
|
@@ -2,7 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
import { TFunction } from 'i18next';
|
|
3
3
|
import { Button, Flex, FlexItem, Icon, Popover } from '@patternfly/react-core';
|
|
4
4
|
import { InfoCircleIcon } from '@patternfly/react-icons/dist/js/icons/info-circle-icon';
|
|
5
|
-
import { Link } from 'react-router
|
|
5
|
+
import { Link } from 'react-router';
|
|
6
6
|
|
|
7
7
|
import { Host } from '@openshift-assisted/types/assisted-installer-service';
|
|
8
8
|
import {
|
|
@@ -12,12 +12,7 @@ import {
|
|
|
12
12
|
} from '../../../common';
|
|
13
13
|
import { TableRow } from '../../../common/components/hosts/AITable';
|
|
14
14
|
import HostsTable from '../../../common/components/hosts/HostsTable';
|
|
15
|
-
import {
|
|
16
|
-
AgentK8sResource,
|
|
17
|
-
BareMetalHostK8sResource,
|
|
18
|
-
InfraEnvK8sResource,
|
|
19
|
-
NMStateK8sResource,
|
|
20
|
-
} from '../../types';
|
|
15
|
+
import { AgentK8sResource, BareMetalHostK8sResource, InfraEnvK8sResource } from '../../types';
|
|
21
16
|
import { useAgentsTable } from '../Agent/tableUtils';
|
|
22
17
|
import { AGENT_BMH_NAME_LABEL_KEY } from '../common/constants';
|
|
23
18
|
import AgentStatus from '../Agent/AgentStatus';
|
|
@@ -142,13 +137,8 @@ type MassDeleteAgentModalProps = {
|
|
|
142
137
|
onClose: VoidFunction;
|
|
143
138
|
agents: AgentK8sResource[];
|
|
144
139
|
bmhs: BareMetalHostK8sResource[];
|
|
145
|
-
nmStates: NMStateK8sResource[];
|
|
146
140
|
// eslint-disable-next-line
|
|
147
|
-
onDelete: (
|
|
148
|
-
agent?: AgentK8sResource,
|
|
149
|
-
bmh?: BareMetalHostK8sResource,
|
|
150
|
-
nmStates?: NMStateK8sResource[],
|
|
151
|
-
) => Promise<unknown>;
|
|
141
|
+
onDelete: (agent?: AgentK8sResource, bmh?: BareMetalHostK8sResource) => Promise<unknown>;
|
|
152
142
|
infraEnv: InfraEnvK8sResource;
|
|
153
143
|
};
|
|
154
144
|
|
|
@@ -159,7 +149,6 @@ const MassDeleteAgentModal: React.FC<MassDeleteAgentModalProps> = ({
|
|
|
159
149
|
agents,
|
|
160
150
|
bmhs,
|
|
161
151
|
infraEnv,
|
|
162
|
-
nmStates,
|
|
163
152
|
}) => {
|
|
164
153
|
const [hosts] = useAgentsTable({ agents, bmhs, infraEnv });
|
|
165
154
|
const onClick = async (host: Host) => {
|
|
@@ -175,7 +164,7 @@ const MassDeleteAgentModal: React.FC<MassDeleteAgentModalProps> = ({
|
|
|
175
164
|
);
|
|
176
165
|
}
|
|
177
166
|
if (!agent?.spec?.clusterDeploymentName?.name) {
|
|
178
|
-
return onDelete(agent, bmh
|
|
167
|
+
return onDelete(agent, bmh);
|
|
179
168
|
}
|
|
180
169
|
};
|
|
181
170
|
const { t } = useTranslation();
|
package/lib/cim/hooks/index.tsx
CHANGED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { useK8sWatchResource } from './useK8sWatchResource';
|
|
2
|
+
import { AgentK8sResource } from '../types';
|
|
3
|
+
import { K8sWatchHookProps } from './types';
|
|
4
|
+
|
|
5
|
+
export const useAgents = (props: K8sWatchHookProps) =>
|
|
6
|
+
useK8sWatchResource<AgentK8sResource[]>(
|
|
7
|
+
{
|
|
8
|
+
groupVersionKind: {
|
|
9
|
+
group: 'agent-install.openshift.io',
|
|
10
|
+
kind: 'Agent',
|
|
11
|
+
version: 'v1beta1',
|
|
12
|
+
},
|
|
13
|
+
},
|
|
14
|
+
props,
|
|
15
|
+
);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { useK8sWatchResource } from './useK8sWatchResource';
|
|
2
|
+
import { StorageClassK8sResource } from '../types';
|
|
3
|
+
import { K8sWatchHookProps } from './types';
|
|
4
|
+
|
|
5
|
+
export const useStorageClasses = (props: K8sWatchHookProps) =>
|
|
6
|
+
useK8sWatchResource<StorageClassK8sResource[]>(
|
|
7
|
+
{
|
|
8
|
+
groupVersionKind: {
|
|
9
|
+
group: 'storage.k8s.io',
|
|
10
|
+
kind: 'StorageClass',
|
|
11
|
+
version: 'v1',
|
|
12
|
+
},
|
|
13
|
+
},
|
|
14
|
+
props,
|
|
15
|
+
);
|
package/lib/cim/index.ts
CHANGED
|
@@ -10,7 +10,6 @@ export * as Reducers from '../common/reducers';
|
|
|
10
10
|
export * from '../common/api';
|
|
11
11
|
export * from '../common/utils';
|
|
12
12
|
export * from '../common/types';
|
|
13
|
-
export * from '../common/features';
|
|
14
13
|
|
|
15
14
|
export * from '../common/components/ui';
|
|
16
15
|
export * from '../common/components/AlertsContextProvider';
|
|
@@ -3,6 +3,7 @@ import {
|
|
|
3
3
|
Cluster,
|
|
4
4
|
ClusterCreateParams,
|
|
5
5
|
ClusterDefaultConfig,
|
|
6
|
+
DisconnectedClusterCreateParams,
|
|
6
7
|
V2ClusterUpdateParams,
|
|
7
8
|
Credentials,
|
|
8
9
|
Host,
|
|
@@ -142,6 +143,13 @@ const ClustersAPI = {
|
|
|
142
143
|
);
|
|
143
144
|
},
|
|
144
145
|
|
|
146
|
+
registerDisconnected(params: DisconnectedClusterCreateParams) {
|
|
147
|
+
return client.post<Cluster, AxiosResponse<Cluster>, DisconnectedClusterCreateParams>(
|
|
148
|
+
`${ClustersAPI.makeBaseURI()}disconnected`,
|
|
149
|
+
params,
|
|
150
|
+
);
|
|
151
|
+
},
|
|
152
|
+
|
|
145
153
|
update(clusterId: Cluster['id'], params: V2ClusterUpdateParams) {
|
|
146
154
|
return client.patch<Cluster, AxiosResponse<Cluster>, V2ClusterUpdateParams>(
|
|
147
155
|
`${ClustersAPI.makeBaseURI(clusterId)}`,
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
import { clientWithoutCaseConverter } from '../../api/axiosClient';
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
import { ArchitectureSupportLevelMap, NewFeatureSupportLevelMap } from '../../components';
|
|
3
|
+
|
|
4
|
+
export interface ArchitecturesSupportsLevel {
|
|
5
|
+
architectures: ArchitectureSupportLevelMap;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export interface FeaturesSupportsLevel {
|
|
9
|
+
features: NewFeatureSupportLevelMap;
|
|
10
|
+
}
|
|
6
11
|
|
|
7
12
|
const NewFeatureSupportLevelsAPI = {
|
|
8
13
|
makeBaseURI() {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import {
|
|
3
3
|
FormGroup,
|
|
4
|
-
Tooltip,
|
|
5
4
|
Dropdown,
|
|
6
5
|
DropdownItem,
|
|
7
6
|
MenuToggle,
|
|
@@ -63,22 +62,21 @@ const ControlPlaneNodesDropdown = ({
|
|
|
63
62
|
}
|
|
64
63
|
}, [allowHighlyAvailable, selectedValue, setValue]);
|
|
65
64
|
|
|
65
|
+
const disabledReason = t('ai:This option is not available with the selected OpenShift version');
|
|
66
66
|
const dropdownItems = options.map(({ value, label }) => {
|
|
67
67
|
const isEnabled = isItemEnabled(value, allowHighlyAvailable, allowTNA);
|
|
68
68
|
|
|
69
|
-
const disabledReason = t('ai:This option is not available with the selected OpenShift version');
|
|
70
69
|
return (
|
|
71
70
|
<DropdownItem
|
|
72
71
|
key={value}
|
|
73
72
|
id={value.toString()}
|
|
74
|
-
isAriaDisabled={!
|
|
75
|
-
|
|
73
|
+
isAriaDisabled={!isEnabled}
|
|
74
|
+
disabled={!isEnabled}
|
|
76
75
|
selected={selectedValue === value}
|
|
77
76
|
value={value}
|
|
77
|
+
tooltipProps={{ hidden: isEnabled, content: disabledReason, position: 'top' }}
|
|
78
78
|
>
|
|
79
|
-
|
|
80
|
-
<div>{label}</div>
|
|
81
|
-
</Tooltip>
|
|
79
|
+
{label}
|
|
82
80
|
</DropdownItem>
|
|
83
81
|
);
|
|
84
82
|
});
|
|
@@ -46,7 +46,9 @@ export const StaticIPInfo = ({ docVersion }: { docVersion?: string }) => {
|
|
|
46
46
|
icon={<ExternalLinkAltIcon />}
|
|
47
47
|
iconPosition="right"
|
|
48
48
|
isInline
|
|
49
|
-
onClick={() =>
|
|
49
|
+
onClick={() =>
|
|
50
|
+
window.open(getOCPStaticIPDocLink(docVersion), '_blank', 'noopener,noreferrer')
|
|
51
|
+
}
|
|
50
52
|
>
|
|
51
53
|
{t('ai:View documentation')}
|
|
52
54
|
</Button>
|
|
@@ -29,6 +29,7 @@ const hasFilledTangServers = (tangServers: TangServer[]): boolean => {
|
|
|
29
29
|
export interface DiskEncryptionControlGroupProps {
|
|
30
30
|
values: DiskEncryptionValues;
|
|
31
31
|
isSNO: boolean;
|
|
32
|
+
isArbiterEncryptionAvailable?: boolean;
|
|
32
33
|
isDisabled?: boolean;
|
|
33
34
|
docVersion?: string;
|
|
34
35
|
}
|
|
@@ -36,6 +37,7 @@ export interface DiskEncryptionControlGroupProps {
|
|
|
36
37
|
const DiskEncryptionControlGroup = ({
|
|
37
38
|
values,
|
|
38
39
|
isSNO = false,
|
|
40
|
+
isArbiterEncryptionAvailable = true,
|
|
39
41
|
isDisabled = false,
|
|
40
42
|
docVersion,
|
|
41
43
|
}: DiskEncryptionControlGroupProps) => {
|
|
@@ -77,6 +79,12 @@ const DiskEncryptionControlGroup = ({
|
|
|
77
79
|
setFieldValue('enableDiskEncryptionOnWorkers', false);
|
|
78
80
|
}
|
|
79
81
|
}, [isSNO, setFieldValue]);
|
|
82
|
+
|
|
83
|
+
React.useEffect(() => {
|
|
84
|
+
if (!isArbiterEncryptionAvailable) {
|
|
85
|
+
setFieldValue('enableDiskEncryptionOnArbiters', false);
|
|
86
|
+
}
|
|
87
|
+
}, [isArbiterEncryptionAvailable, setFieldValue]);
|
|
80
88
|
const { t } = useTranslation();
|
|
81
89
|
const disableMessage = t('ai:This option is not editable after the draft cluster is created');
|
|
82
90
|
const tooltipProps = {
|
|
@@ -105,14 +113,16 @@ const DiskEncryptionControlGroup = ({
|
|
|
105
113
|
/>
|
|
106
114
|
</StackItem>
|
|
107
115
|
</RenderIf>
|
|
108
|
-
<
|
|
109
|
-
<
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
+
<RenderIf condition={isArbiterEncryptionAvailable}>
|
|
117
|
+
<StackItem>
|
|
118
|
+
<SwitchField
|
|
119
|
+
tooltipProps={tooltipProps}
|
|
120
|
+
name="enableDiskEncryptionOnArbiters"
|
|
121
|
+
label={t('ai:Arbiter')}
|
|
122
|
+
isDisabled={isDisabled}
|
|
123
|
+
/>
|
|
124
|
+
</StackItem>
|
|
125
|
+
</RenderIf>
|
|
116
126
|
<RenderIf
|
|
117
127
|
condition={
|
|
118
128
|
enableDiskEncryptionOnMasters ||
|
|
@@ -45,7 +45,7 @@ const DownloadIso = ({
|
|
|
45
45
|
|
|
46
46
|
const openCiscoIntersightHostsLink = (downloadUrl: string) => {
|
|
47
47
|
updateTagsForCiscoIntersight ? updateTagsForCiscoIntersight() : '';
|
|
48
|
-
window.open(getCiscoIntersightLink(downloadUrl, ciscoUrl), '_blank', 'noopener');
|
|
48
|
+
window.open(getCiscoIntersightLink(downloadUrl, ciscoUrl), '_blank', 'noopener,noreferrer');
|
|
49
49
|
};
|
|
50
50
|
|
|
51
51
|
return (
|
|
@@ -75,11 +75,13 @@ export const ExternalPlatformsDropdown = ({ isDisabled }: { isDisabled: boolean
|
|
|
75
75
|
<Dropdown
|
|
76
76
|
isOpen={isOpen}
|
|
77
77
|
toggle={(toggleRef) => (
|
|
78
|
-
<MenuToggle ref={toggleRef}
|
|
78
|
+
<MenuToggle ref={toggleRef} onClick={() => setIsOpen(!isOpen)} isFullWidth>
|
|
79
79
|
{value ? platforms[value] : t('ai:Integrate with external partner platforms')}
|
|
80
80
|
</MenuToggle>
|
|
81
81
|
)}
|
|
82
82
|
onSelect={onSelect}
|
|
83
|
+
onOpenChange={() => setIsOpen(!isOpen)}
|
|
84
|
+
shouldFocusToggleOnSelect
|
|
83
85
|
>
|
|
84
86
|
{options}
|
|
85
87
|
</Dropdown>
|