@openshift-assisted/ui-lib 2.15.3-cim → 2.16.0-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.
Files changed (622) hide show
  1. package/build/@types/cim/components/Agent/tableUtils.d.ts +1 -1
  2. package/build/@types/cim/components/Agent/tableUtils.d.ts.map +1 -1
  3. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizard.d.ts.map +1 -1
  4. package/build/@types/cim/components/ClusterDeployment/{ACMClusterDeploymentDetailsStep.d.ts → clusterDetails/ACMClusterDeploymentDetailsStep.d.ts} +5 -5
  5. package/build/@types/cim/components/ClusterDeployment/clusterDetails/ACMClusterDeploymentDetailsStep.d.ts.map +1 -0
  6. package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentDetailsForm.d.ts → clusterDetails/ClusterDeploymentDetailsForm.d.ts} +4 -4
  7. package/build/@types/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsForm.d.ts.map +1 -0
  8. package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentDetailsStep.d.ts → clusterDetails/ClusterDeploymentDetailsStep.d.ts} +5 -5
  9. package/build/@types/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsStep.d.ts.map +1 -0
  10. package/build/@types/cim/components/ClusterDeployment/{ClusterDetailsFormFields.d.ts → clusterDetails/ClusterDetailsFormFields.d.ts} +1 -1
  11. package/build/@types/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.d.ts.map +1 -0
  12. package/build/@types/cim/components/ClusterDeployment/clusterDetails/index.d.ts +5 -0
  13. package/build/@types/cim/components/ClusterDeployment/clusterDetails/index.d.ts.map +1 -0
  14. package/build/@types/cim/components/ClusterDeployment/components/AdditionalNTPSourcesDialogToggle.d.ts.map +1 -0
  15. package/build/@types/cim/components/ClusterDeployment/components/index.d.ts +2 -0
  16. package/build/@types/cim/components/ClusterDeployment/components/index.d.ts.map +1 -0
  17. package/build/@types/cim/components/ClusterDeployment/constants.d.ts +1 -0
  18. package/build/@types/cim/components/ClusterDeployment/constants.d.ts.map +1 -1
  19. package/build/@types/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.d.ts +6 -0
  20. package/build/@types/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.d.ts.map +1 -0
  21. package/build/@types/cim/components/ClusterDeployment/customManifests/ConfigMapDetail.d.ts +10 -0
  22. package/build/@types/cim/components/ClusterDeployment/customManifests/ConfigMapDetail.d.ts.map +1 -0
  23. package/build/@types/cim/components/ClusterDeployment/customManifests/ConfigMapForm.d.ts +12 -0
  24. package/build/@types/cim/components/ClusterDeployment/customManifests/ConfigMapForm.d.ts.map +1 -0
  25. package/build/@types/cim/components/ClusterDeployment/customManifests/index.d.ts +2 -0
  26. package/build/@types/cim/components/ClusterDeployment/customManifests/index.d.ts.map +1 -0
  27. package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentHostDiscoveryTable.d.ts → hostDiscovery/ClusterDeploymentHostDiscoveryTable.d.ts} +1 -1
  28. package/build/@types/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostDiscoveryTable.d.ts.map +1 -0
  29. package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentHostsDiscovery.d.ts → hostDiscovery/ClusterDeploymentHostsDiscovery.d.ts} +1 -1
  30. package/build/@types/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscovery.d.ts.map +1 -0
  31. package/build/@types/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscoveryStep.d.ts +4 -0
  32. package/build/@types/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscoveryStep.d.ts.map +1 -0
  33. package/build/@types/cim/components/ClusterDeployment/hostDiscovery/index.d.ts +2 -0
  34. package/build/@types/cim/components/ClusterDeployment/hostDiscovery/index.d.ts.map +1 -0
  35. package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentHostSelectionStep.d.ts → hostSelection/ClusterDeploymentHostSelectionStep.d.ts} +4 -4
  36. package/build/@types/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.d.ts.map +1 -0
  37. package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelection.d.ts → hostSelection/ClusterDeploymentHostsSelection.d.ts} +1 -1
  38. package/build/@types/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelection.d.ts.map +1 -0
  39. package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelectionAdvanced.d.ts → hostSelection/ClusterDeploymentHostsSelectionAdvanced.d.ts} +6 -6
  40. package/build/@types/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelectionAdvanced.d.ts.map +1 -0
  41. package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelectionBasic.d.ts → hostSelection/ClusterDeploymentHostsSelectionBasic.d.ts} +1 -1
  42. package/build/@types/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelectionBasic.d.ts.map +1 -0
  43. package/build/@types/cim/components/ClusterDeployment/hostSelection/index.d.ts +3 -0
  44. package/build/@types/cim/components/ClusterDeployment/hostSelection/index.d.ts.map +1 -0
  45. package/build/@types/cim/components/ClusterDeployment/index.d.ts +2 -2
  46. package/build/@types/cim/components/ClusterDeployment/index.d.ts.map +1 -1
  47. package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentHostsNetworkTable.d.ts → networking/ClusterDeploymentHostsNetworkTable.d.ts} +2 -2
  48. package/build/@types/cim/components/ClusterDeployment/networking/ClusterDeploymentHostsNetworkTable.d.ts.map +1 -0
  49. package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentNetworkingForm.d.ts → networking/ClusterDeploymentNetworkingForm.d.ts} +2 -4
  50. package/build/@types/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingForm.d.ts.map +1 -0
  51. package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentNetworkingStep.d.ts → networking/ClusterDeploymentNetworkingStep.d.ts} +4 -4
  52. package/build/@types/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingStep.d.ts.map +1 -0
  53. package/build/@types/cim/components/ClusterDeployment/networking/index.d.ts +2 -0
  54. package/build/@types/cim/components/ClusterDeployment/networking/index.d.ts.map +1 -0
  55. package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentReviewStep.d.ts → review/ClusterDeploymentReviewStep.d.ts} +3 -3
  56. package/build/@types/cim/components/ClusterDeployment/review/ClusterDeploymentReviewStep.d.ts.map +1 -0
  57. package/build/@types/cim/components/ClusterDeployment/review/ReviewConfigMapsTable.d.ts +6 -0
  58. package/build/@types/cim/components/ClusterDeployment/review/ReviewConfigMapsTable.d.ts.map +1 -0
  59. package/build/@types/cim/components/ClusterDeployment/review/index.d.ts +2 -0
  60. package/build/@types/cim/components/ClusterDeployment/review/index.d.ts.map +1 -0
  61. package/build/@types/cim/components/ClusterDeployment/types.d.ts +1 -1
  62. package/build/@types/cim/components/ClusterDeployment/types.d.ts.map +1 -1
  63. package/build/@types/cim/components/ClusterDeployment/wizardTransition.d.ts +2 -2
  64. package/build/@types/cim/components/ClusterDeployment/wizardTransition.d.ts.map +1 -1
  65. package/build/@types/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.d.ts.map +1 -1
  66. package/build/@types/cim/components/Hypershift/HostedClusterWizard/DetailsStep/types.d.ts +1 -1
  67. package/build/@types/cim/components/Hypershift/HostedClusterWizard/DetailsStep/types.d.ts.map +1 -1
  68. package/build/@types/cim/components/Hypershift/HostedClusterWizard/HostsStep/NodePoolForm.d.ts.map +1 -1
  69. package/build/@types/cim/components/Hypershift/forms/NodePoolAgentsForm.d.ts.map +1 -1
  70. package/build/@types/cim/components/helpers/toAssisted.d.ts.map +1 -1
  71. package/build/@types/cim/components/helpers/versions.d.ts.map +1 -1
  72. package/build/@types/cim/hooks/index.d.ts +2 -0
  73. package/build/@types/cim/hooks/index.d.ts.map +1 -0
  74. package/build/@types/cim/hooks/types.d.ts +4 -0
  75. package/build/@types/cim/hooks/types.d.ts.map +1 -0
  76. package/build/@types/cim/hooks/useConfigMaps.d.ts +4 -0
  77. package/build/@types/cim/hooks/useConfigMaps.d.ts.map +1 -0
  78. package/build/@types/cim/hooks/useK8sWatchResource.d.ts +8 -0
  79. package/build/@types/cim/hooks/useK8sWatchResource.d.ts.map +1 -0
  80. package/build/@types/cim/types/index.d.ts +1 -0
  81. package/build/@types/cim/types/index.d.ts.map +1 -1
  82. package/build/@types/cim/types/k8s/agent-cluster-install.d.ts +3 -0
  83. package/build/@types/cim/types/k8s/agent-cluster-install.d.ts.map +1 -1
  84. package/build/@types/cim/types/models.d.ts +3 -0
  85. package/build/@types/cim/types/models.d.ts.map +1 -0
  86. package/build/@types/cim/utils.d.ts +2 -0
  87. package/build/@types/cim/utils.d.ts.map +1 -1
  88. package/build/@types/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionControlGroup.d.ts.map +1 -1
  89. package/build/@types/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionValues.d.ts +1 -0
  90. package/build/@types/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionValues.d.ts.map +1 -1
  91. package/build/@types/common/components/clusterConfiguration/ExternalPlatformsDropdown.d.ts +14 -0
  92. package/build/@types/common/components/clusterConfiguration/ExternalPlatformsDropdown.d.ts.map +1 -0
  93. package/build/@types/common/components/clusterConfiguration/index.d.ts +1 -2
  94. package/build/@types/common/components/clusterConfiguration/index.d.ts.map +1 -1
  95. package/build/@types/common/components/clusterWizard/clusterDetailsValidation.d.ts +1 -4
  96. package/build/@types/common/components/clusterWizard/clusterDetailsValidation.d.ts.map +1 -1
  97. package/build/@types/common/components/clusterWizard/types.d.ts +2 -4
  98. package/build/@types/common/components/clusterWizard/types.d.ts.map +1 -1
  99. package/build/@types/common/components/hosts/DiskRole.d.ts.map +1 -1
  100. package/build/@types/common/components/hosts/TableToolbar.d.ts.map +1 -1
  101. package/build/@types/common/components/hosts/types.d.ts +1 -1
  102. package/build/@types/common/components/hosts/types.d.ts.map +1 -1
  103. package/build/@types/common/components/hosts/utils.d.ts +1 -1
  104. package/build/@types/common/components/hosts/utils.d.ts.map +1 -1
  105. package/build/@types/common/components/newFeatureSupportLevels/types.d.ts +1 -1
  106. package/build/@types/common/components/newFeatureSupportLevels/types.d.ts.map +1 -1
  107. package/build/@types/common/components/operators/operatorDescriptions.d.ts +27 -0
  108. package/build/@types/common/components/operators/operatorDescriptions.d.ts.map +1 -0
  109. package/build/@types/common/components/operators/operatorSpecs.d.ts +34 -4
  110. package/build/@types/common/components/operators/operatorSpecs.d.ts.map +1 -1
  111. package/build/@types/common/components/ui/ClusterEventsToolbar.d.ts.map +1 -1
  112. package/build/@types/common/components/ui/OpenShiftSelectWithSearch.d.ts +1 -2
  113. package/build/@types/common/components/ui/OpenShiftSelectWithSearch.d.ts.map +1 -1
  114. package/build/@types/common/components/ui/OpenShiftVersionDropdown.d.ts +3 -3
  115. package/build/@types/common/components/ui/OpenShiftVersionDropdown.d.ts.map +1 -1
  116. package/build/@types/common/components/ui/OpenShiftVersionModal.d.ts.map +1 -1
  117. package/build/@types/common/components/ui/SimpleDropdown.d.ts.map +1 -1
  118. package/build/@types/common/components/ui/formik/SelectFieldWithSearch.d.ts +16 -0
  119. package/build/@types/common/components/ui/formik/SelectFieldWithSearch.d.ts.map +1 -0
  120. package/build/@types/common/components/ui/formik/TextAreaField.d.ts.map +1 -1
  121. package/build/@types/common/components/ui/formik/index.d.ts +1 -1
  122. package/build/@types/common/components/ui/formik/index.d.ts.map +1 -1
  123. package/build/@types/common/config/constants.d.ts +19 -2
  124. package/build/@types/common/config/constants.d.ts.map +1 -1
  125. package/build/@types/common/config/docs_links.d.ts +9 -6
  126. package/build/@types/common/config/docs_links.d.ts.map +1 -1
  127. package/build/@types/common/selectors/clusterSelectors.d.ts +1 -1
  128. package/build/@types/common/selectors/clusterSelectors.d.ts.map +1 -1
  129. package/build/@types/common/types/cpuArchitecture.d.ts.map +1 -1
  130. package/build/@types/common/types/ui-settings.d.ts +1 -0
  131. package/build/@types/common/types/ui-settings.d.ts.map +1 -1
  132. package/build/@types/common/utils.d.ts +9 -0
  133. package/build/@types/common/utils.d.ts.map +1 -1
  134. package/build/@types/ocm/components/Routes.d.ts +7 -4
  135. package/build/@types/ocm/components/Routes.d.ts.map +1 -1
  136. package/build/@types/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts +2 -0
  137. package/build/@types/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts.map +1 -1
  138. package/build/@types/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.d.ts.map +1 -1
  139. package/build/@types/ocm/components/clusterConfiguration/OcmOpenShiftVersion.d.ts +3 -3
  140. package/build/@types/ocm/components/clusterConfiguration/OcmOpenShiftVersion.d.ts.map +1 -1
  141. package/build/@types/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.d.ts.map +1 -1
  142. package/build/@types/ocm/components/clusterConfiguration/OcmSNODisclaimer.d.ts +1 -4
  143. package/build/@types/ocm/components/clusterConfiguration/OcmSNODisclaimer.d.ts.map +1 -1
  144. package/build/@types/ocm/components/clusterConfiguration/OcmTNADisclaimer.d.ts +4 -0
  145. package/build/@types/ocm/components/clusterConfiguration/OcmTNADisclaimer.d.ts.map +1 -0
  146. package/build/@types/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.d.ts +1 -1
  147. package/build/@types/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.d.ts.map +1 -1
  148. package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.d.ts.map +1 -1
  149. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.d.ts.map +1 -1
  150. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.d.ts.map +1 -1
  151. package/build/@types/ocm/components/clusterConfiguration/operators/OperatorCheckbox.d.ts +2 -1
  152. package/build/@types/ocm/components/clusterConfiguration/operators/OperatorCheckbox.d.ts.map +1 -1
  153. package/build/@types/ocm/components/clusterConfiguration/operators/utils.d.ts.map +1 -1
  154. package/build/@types/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.d.ts.map +1 -1
  155. package/build/@types/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.d.ts.map +1 -1
  156. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/formViewNetworkWideValidationSchema.d.ts.map +1 -1
  157. package/build/@types/ocm/components/clusterWizard/ClusterDetails.d.ts.map +1 -1
  158. package/build/@types/ocm/components/clusterWizard/ClusterDetailsForm.d.ts +0 -1
  159. package/build/@types/ocm/components/clusterWizard/ClusterDetailsForm.d.ts.map +1 -1
  160. package/build/@types/ocm/components/clusterWizard/ClusterWizardContext.d.ts +4 -2
  161. package/build/@types/ocm/components/clusterWizard/ClusterWizardContext.d.ts.map +1 -1
  162. package/build/@types/ocm/components/clusterWizard/ClusterWizardContextProvider.d.ts.map +1 -1
  163. package/build/@types/ocm/components/clusterWizard/CredentialsDownload.d.ts.map +1 -1
  164. package/build/@types/ocm/components/clusterWizard/NewClusterWizard.d.ts.map +1 -1
  165. package/build/@types/ocm/components/clusterWizard/Operators.d.ts.map +1 -1
  166. package/build/@types/ocm/components/clusterWizard/OperatorsBundle.d.ts +2 -1
  167. package/build/@types/ocm/components/clusterWizard/OperatorsBundle.d.ts.map +1 -1
  168. package/build/@types/ocm/components/clusterWizard/OperatorsSelect.d.ts +2 -1
  169. package/build/@types/ocm/components/clusterWizard/OperatorsSelect.d.ts.map +1 -1
  170. package/build/@types/ocm/components/clusterWizard/OperatorsStep.d.ts.map +1 -1
  171. package/build/@types/ocm/components/clusterWizard/constants.d.ts.map +1 -1
  172. package/build/@types/ocm/components/clusterWizard/disconnected/BasicStep.d.ts +4 -0
  173. package/build/@types/ocm/components/clusterWizard/disconnected/BasicStep.d.ts.map +1 -0
  174. package/build/@types/ocm/components/clusterWizard/disconnected/InstallDisconnectedSwitch.d.ts +6 -0
  175. package/build/@types/ocm/components/clusterWizard/disconnected/InstallDisconnectedSwitch.d.ts.map +1 -0
  176. package/build/@types/ocm/components/clusterWizard/disconnected/ReviewStep.d.ts +4 -0
  177. package/build/@types/ocm/components/clusterWizard/disconnected/ReviewStep.d.ts.map +1 -0
  178. package/build/@types/ocm/components/clusterWizard/wizardTransition.d.ts +3 -2
  179. package/build/@types/ocm/components/clusterWizard/wizardTransition.d.ts.map +1 -1
  180. package/build/@types/ocm/components/clusters/AssistedInstallerHeader.d.ts.map +1 -1
  181. package/build/@types/ocm/components/clusters/ClusterPage.d.ts.map +1 -1
  182. package/build/@types/ocm/components/clusters/Clusters.d.ts.map +1 -1
  183. package/build/@types/ocm/components/clusters/NewClusterPage.d.ts.map +1 -1
  184. package/build/@types/ocm/components/clusters/clusterPolling.d.ts.map +1 -1
  185. package/build/@types/ocm/components/featureSupportLevels/featureStateUtils.d.ts.map +1 -1
  186. package/build/@types/ocm/components/hosts/use-hosts-table.d.ts +1 -1
  187. package/build/@types/ocm/components/hosts/use-hosts-table.d.ts.map +1 -1
  188. package/build/@types/ocm/services/DiskEncryptionService.d.ts +1 -1
  189. package/build/@types/ocm/services/DiskEncryptionService.d.ts.map +1 -1
  190. package/build/@types/ocm/store/slices/current-cluster/selectors.d.ts.map +1 -1
  191. package/build/@types/ocm/store/slices/current-cluster/slice.d.ts +2 -2
  192. package/build/cjs/cim/components/Agent/AgentStatus.js +2 -2
  193. package/build/cjs/cim/components/Agent/AgentStatus.js.map +1 -1
  194. package/build/cjs/cim/components/Agent/tableUtils.js.map +1 -1
  195. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizard.js +12 -9
  196. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizard.js.map +1 -1
  197. package/build/cjs/cim/components/ClusterDeployment/ScaleUpForm.js +2 -2
  198. package/build/cjs/cim/components/ClusterDeployment/ScaleUpForm.js.map +1 -1
  199. package/build/cjs/cim/components/ClusterDeployment/{ACMClusterDeploymentDetailsStep.js → clusterDetails/ACMClusterDeploymentDetailsStep.js} +6 -5
  200. package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ACMClusterDeploymentDetailsStep.js.map +1 -0
  201. package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentDetailsForm.js → clusterDetails/ClusterDeploymentDetailsForm.js} +8 -8
  202. package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsForm.js.map +1 -0
  203. package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentDetailsStep.js → clusterDetails/ClusterDeploymentDetailsStep.js} +9 -12
  204. package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsStep.js.map +1 -0
  205. package/build/cjs/cim/components/ClusterDeployment/{ClusterDetailsFormFields.js → clusterDetails/ClusterDetailsFormFields.js} +16 -20
  206. package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.js.map +1 -0
  207. package/build/cjs/cim/components/ClusterDeployment/clusterDetails/index.js +8 -0
  208. package/build/cjs/cim/components/ClusterDeployment/clusterDetails/index.js.map +1 -0
  209. package/build/cjs/cim/components/ClusterDeployment/{AdditionalNTPSourcesDialogToggle.js → components/AdditionalNTPSourcesDialogToggle.js} +1 -1
  210. package/build/cjs/cim/components/ClusterDeployment/components/AdditionalNTPSourcesDialogToggle.js.map +1 -0
  211. package/build/cjs/cim/components/ClusterDeployment/components/index.js +5 -0
  212. package/build/cjs/cim/components/ClusterDeployment/components/index.js.map +1 -0
  213. package/build/cjs/cim/components/ClusterDeployment/constants.js +1 -0
  214. package/build/cjs/cim/components/ClusterDeployment/constants.js.map +1 -1
  215. package/build/cjs/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.js +71 -0
  216. package/build/cjs/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.js.map +1 -0
  217. package/build/cjs/cim/components/ClusterDeployment/customManifests/ConfigMapDetail.js +64 -0
  218. package/build/cjs/cim/components/ClusterDeployment/customManifests/ConfigMapDetail.js.map +1 -0
  219. package/build/cjs/cim/components/ClusterDeployment/customManifests/ConfigMapForm.js +134 -0
  220. package/build/cjs/cim/components/ClusterDeployment/customManifests/ConfigMapForm.js.map +1 -0
  221. package/build/cjs/cim/components/ClusterDeployment/customManifests/index.js +5 -0
  222. package/build/cjs/cim/components/ClusterDeployment/customManifests/index.js.map +1 -0
  223. package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentHostDiscoveryTable.js → hostDiscovery/ClusterDeploymentHostDiscoveryTable.js} +12 -12
  224. package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostDiscoveryTable.js.map +1 -0
  225. package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentHostsDiscovery.js → hostDiscovery/ClusterDeploymentHostsDiscovery.js} +6 -6
  226. package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscovery.js.map +1 -0
  227. package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentHostsDiscoveryStep.js → hostDiscovery/ClusterDeploymentHostsDiscoveryStep.js} +10 -9
  228. package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscoveryStep.js.map +1 -0
  229. package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/index.js +5 -0
  230. package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/index.js.map +1 -0
  231. package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentHostSelectionStep.js → hostSelection/ClusterDeploymentHostSelectionStep.js} +10 -10
  232. package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.js.map +1 -0
  233. package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelection.js → hostSelection/ClusterDeploymentHostsSelection.js} +7 -7
  234. package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelection.js.map +1 -0
  235. package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelectionAdvanced.js → hostSelection/ClusterDeploymentHostsSelectionAdvanced.js} +7 -6
  236. package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelectionAdvanced.js.map +1 -0
  237. package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelectionBasic.js → hostSelection/ClusterDeploymentHostsSelectionBasic.js} +7 -7
  238. package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelectionBasic.js.map +1 -0
  239. package/build/cjs/cim/components/ClusterDeployment/hostSelection/index.js +6 -0
  240. package/build/cjs/cim/components/ClusterDeployment/hostSelection/index.js.map +1 -0
  241. package/build/cjs/cim/components/ClusterDeployment/index.js +4 -4
  242. package/build/cjs/cim/components/ClusterDeployment/index.js.map +1 -1
  243. package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentHostsNetworkTable.js → networking/ClusterDeploymentHostsNetworkTable.js} +10 -10
  244. package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentHostsNetworkTable.js.map +1 -0
  245. package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentNetworkingForm.js → networking/ClusterDeploymentNetworkingForm.js} +6 -9
  246. package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingForm.js.map +1 -0
  247. package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentNetworkingStep.js → networking/ClusterDeploymentNetworkingStep.js} +10 -10
  248. package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingStep.js.map +1 -0
  249. package/build/cjs/cim/components/ClusterDeployment/networking/index.js +5 -0
  250. package/build/cjs/cim/components/ClusterDeployment/networking/index.js.map +1 -0
  251. package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentReviewStep.js → review/ClusterDeploymentReviewStep.js} +21 -16
  252. package/build/cjs/cim/components/ClusterDeployment/review/ClusterDeploymentReviewStep.js.map +1 -0
  253. package/build/cjs/cim/components/ClusterDeployment/review/ReviewConfigMapsTable.js +51 -0
  254. package/build/cjs/cim/components/ClusterDeployment/review/ReviewConfigMapsTable.js.map +1 -0
  255. package/build/cjs/cim/components/ClusterDeployment/review/index.js +5 -0
  256. package/build/cjs/cim/components/ClusterDeployment/review/index.js.map +1 -0
  257. package/build/cjs/cim/components/ClusterDeployment/use-networking-formik.js +1 -2
  258. package/build/cjs/cim/components/ClusterDeployment/use-networking-formik.js.map +1 -1
  259. package/build/cjs/cim/components/ClusterDeployment/wizardTransition.js +1 -0
  260. package/build/cjs/cim/components/ClusterDeployment/wizardTransition.js.map +1 -1
  261. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.js +7 -12
  262. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.js.map +1 -1
  263. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/NodePoolForm.js +0 -28
  264. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/NodePoolForm.js.map +1 -1
  265. package/build/cjs/cim/components/Hypershift/forms/NodePoolAgentsForm.js +8 -3
  266. package/build/cjs/cim/components/Hypershift/forms/NodePoolAgentsForm.js.map +1 -1
  267. package/build/cjs/cim/components/Hypershift/modals/AddNodePoolModal.js +1 -1
  268. package/build/cjs/cim/components/Hypershift/modals/AddNodePoolModal.js.map +1 -1
  269. package/build/cjs/cim/components/Hypershift/modals/ManageHostsModal.js +2 -2
  270. package/build/cjs/cim/components/Hypershift/modals/ManageHostsModal.js.map +1 -1
  271. package/build/cjs/cim/components/helpers/toAssisted.js +4 -1
  272. package/build/cjs/cim/components/helpers/toAssisted.js.map +1 -1
  273. package/build/cjs/cim/components/helpers/versions.js +5 -1
  274. package/build/cjs/cim/components/helpers/versions.js.map +1 -1
  275. package/build/cjs/cim/components/modals/EditProxyModal.js +1 -1
  276. package/build/cjs/cim/components/modals/EditProxyModal.js.map +1 -1
  277. package/build/cjs/cim/components/modals/EditSSHKeyModal.js +1 -1
  278. package/build/cjs/cim/components/modals/EditSSHKeyModal.js.map +1 -1
  279. package/build/cjs/cim/components/modals/MassApproveAgentModal.js +1 -1
  280. package/build/cjs/cim/components/modals/MassApproveAgentModal.js.map +1 -1
  281. package/build/cjs/cim/hooks/index.js +5 -0
  282. package/build/cjs/cim/hooks/index.js.map +1 -0
  283. package/build/cjs/cim/hooks/types.js +3 -0
  284. package/build/cjs/cim/hooks/types.js.map +1 -0
  285. package/build/cjs/cim/hooks/useConfigMaps.js +12 -0
  286. package/build/cjs/cim/hooks/useConfigMaps.js.map +1 -0
  287. package/build/cjs/cim/hooks/useK8sWatchResource.js +12 -0
  288. package/build/cjs/cim/hooks/useK8sWatchResource.js.map +1 -0
  289. package/build/cjs/cim/types/index.js +1 -0
  290. package/build/cjs/cim/types/index.js.map +1 -1
  291. package/build/cjs/cim/types/models.js +14 -0
  292. package/build/cjs/cim/types/models.js.map +1 -0
  293. package/build/cjs/cim/utils.js +12 -1
  294. package/build/cjs/cim/utils.js.map +1 -1
  295. package/build/cjs/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionControlGroup.js +11 -6
  296. package/build/cjs/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionControlGroup.js.map +1 -1
  297. package/build/cjs/common/components/clusterConfiguration/ExternalPlatformsDropdown.js +34 -0
  298. package/build/cjs/common/components/clusterConfiguration/ExternalPlatformsDropdown.js.map +1 -0
  299. package/build/cjs/common/components/clusterConfiguration/index.js +2 -5
  300. package/build/cjs/common/components/clusterConfiguration/index.js.map +1 -1
  301. package/build/cjs/common/components/clusterDetail/OperatorsProgressItem.js +1 -1
  302. package/build/cjs/common/components/clusterDetail/OperatorsProgressItem.js.map +1 -1
  303. package/build/cjs/common/components/clusterWizard/clusterDetailsValidation.js +6 -25
  304. package/build/cjs/common/components/clusterWizard/clusterDetailsValidation.js.map +1 -1
  305. package/build/cjs/common/components/fetching/EventListFetch.js +1 -1
  306. package/build/cjs/common/components/fetching/EventListFetch.js.map +1 -1
  307. package/build/cjs/common/components/hosts/DiskRole.js +1 -1
  308. package/build/cjs/common/components/hosts/DiskRole.js.map +1 -1
  309. package/build/cjs/common/components/hosts/TableToolbar.js +3 -3
  310. package/build/cjs/common/components/hosts/TableToolbar.js.map +1 -1
  311. package/build/cjs/common/components/hosts/tableUtils.js +1 -1
  312. package/build/cjs/common/components/hosts/tableUtils.js.map +1 -1
  313. package/build/cjs/common/components/hosts/utils.js +11 -1
  314. package/build/cjs/common/components/hosts/utils.js.map +1 -1
  315. package/build/cjs/common/components/operators/operatorDescriptions.js +30 -0
  316. package/build/cjs/common/components/operators/operatorDescriptions.js.map +1 -0
  317. package/build/cjs/common/components/operators/operatorSpecs.js +384 -189
  318. package/build/cjs/common/components/operators/operatorSpecs.js.map +1 -1
  319. package/build/cjs/common/components/ui/ClusterEventsToolbar.js +5 -5
  320. package/build/cjs/common/components/ui/ClusterEventsToolbar.js.map +1 -1
  321. package/build/cjs/common/components/ui/OpenShiftSelectWithSearch.js +20 -140
  322. package/build/cjs/common/components/ui/OpenShiftSelectWithSearch.js.map +1 -1
  323. package/build/cjs/common/components/ui/OpenShiftVersionDropdown.js +10 -15
  324. package/build/cjs/common/components/ui/OpenShiftVersionDropdown.js.map +1 -1
  325. package/build/cjs/common/components/ui/OpenShiftVersionModal.js +8 -12
  326. package/build/cjs/common/components/ui/OpenShiftVersionModal.js.map +1 -1
  327. package/build/cjs/common/components/ui/SimpleDropdown.js +1 -1
  328. package/build/cjs/common/components/ui/SimpleDropdown.js.map +1 -1
  329. package/build/cjs/common/components/ui/formik/SelectFieldWithSearch.js +153 -0
  330. package/build/cjs/common/components/ui/formik/SelectFieldWithSearch.js.map +1 -0
  331. package/build/cjs/common/components/ui/formik/TextAreaField.js +2 -1
  332. package/build/cjs/common/components/ui/formik/TextAreaField.js.map +1 -1
  333. package/build/cjs/common/components/ui/formik/index.js +3 -3
  334. package/build/cjs/common/components/ui/formik/index.js.map +1 -1
  335. package/build/cjs/common/config/constants.js +30 -5
  336. package/build/cjs/common/config/constants.js.map +1 -1
  337. package/build/cjs/common/config/docs_links.js +57 -29
  338. package/build/cjs/common/config/docs_links.js.map +1 -1
  339. package/build/cjs/common/selectors/clusterSelectors.js +1 -1
  340. package/build/cjs/common/selectors/clusterSelectors.js.map +1 -1
  341. package/build/cjs/common/types/cpuArchitecture.js +3 -5
  342. package/build/cjs/common/types/cpuArchitecture.js.map +1 -1
  343. package/build/cjs/common/utils.js +28 -1
  344. package/build/cjs/common/utils.js.map +1 -1
  345. package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.js +1 -1
  346. package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.js.map +1 -1
  347. package/build/cjs/ocm/components/Routes.js +10 -8
  348. package/build/cjs/ocm/components/Routes.js.map +1 -1
  349. package/build/cjs/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.js +27 -12
  350. package/build/cjs/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.js.map +1 -1
  351. package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js +16 -0
  352. package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js.map +1 -1
  353. package/build/cjs/ocm/components/clusterConfiguration/OcmOpenShiftVersion.js +14 -10
  354. package/build/cjs/ocm/components/clusterConfiguration/OcmOpenShiftVersion.js.map +1 -1
  355. package/build/cjs/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.js +10 -15
  356. package/build/cjs/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.js.map +1 -1
  357. package/build/cjs/ocm/components/clusterConfiguration/OcmOperatorProgressItem.js +1 -1
  358. package/build/cjs/ocm/components/clusterConfiguration/OcmOperatorProgressItem.js.map +1 -1
  359. package/build/cjs/ocm/components/clusterConfiguration/OcmSNODisclaimer.js +5 -21
  360. package/build/cjs/ocm/components/clusterConfiguration/OcmSNODisclaimer.js.map +1 -1
  361. package/build/cjs/ocm/components/clusterConfiguration/OcmTNADisclaimer.js +14 -0
  362. package/build/cjs/ocm/components/clusterConfiguration/OcmTNADisclaimer.js.map +1 -0
  363. package/build/cjs/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.js.map +1 -1
  364. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.js +1 -1
  365. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.js.map +1 -1
  366. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js +4 -1
  367. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js.map +1 -1
  368. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.js +14 -20
  369. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.js.map +1 -1
  370. package/build/cjs/ocm/components/clusterConfiguration/operators/OperatorCheckbox.js +4 -4
  371. package/build/cjs/ocm/components/clusterConfiguration/operators/OperatorCheckbox.js.map +1 -1
  372. package/build/cjs/ocm/components/clusterConfiguration/operators/utils.js +2 -1
  373. package/build/cjs/ocm/components/clusterConfiguration/operators/utils.js.map +1 -1
  374. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.js +1 -1
  375. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.js.map +1 -1
  376. package/build/cjs/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.js +5 -1
  377. package/build/cjs/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.js.map +1 -1
  378. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/FormViewNetworkWideFields.js +1 -1
  379. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/FormViewNetworkWideFields.js.map +1 -1
  380. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/formViewNetworkWideValidationSchema.js +0 -1
  381. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/formViewNetworkWideValidationSchema.js.map +1 -1
  382. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/staticIp.css +3 -3
  383. package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/formDataToInfraEnvField.js +1 -1
  384. package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/formDataToInfraEnvField.js.map +1 -1
  385. package/build/cjs/ocm/components/clusterDetail/ProgressBarAlerts.js +2 -2
  386. package/build/cjs/ocm/components/clusterDetail/ProgressBarAlerts.js.map +1 -1
  387. package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js +8 -5
  388. package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js.map +1 -1
  389. package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js +11 -13
  390. package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js.map +1 -1
  391. package/build/cjs/ocm/components/clusterWizard/ClusterWizardContext.js.map +1 -1
  392. package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js +17 -2
  393. package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js.map +1 -1
  394. package/build/cjs/ocm/components/clusterWizard/CredentialsDownload.js +2 -1
  395. package/build/cjs/ocm/components/clusterWizard/CredentialsDownload.js.map +1 -1
  396. package/build/cjs/ocm/components/clusterWizard/NewClusterWizard.js +15 -2
  397. package/build/cjs/ocm/components/clusterWizard/NewClusterWizard.js.map +1 -1
  398. package/build/cjs/ocm/components/clusterWizard/Operators.js +4 -1
  399. package/build/cjs/ocm/components/clusterWizard/Operators.js.map +1 -1
  400. package/build/cjs/ocm/components/clusterWizard/OperatorsBundle.js +22 -18
  401. package/build/cjs/ocm/components/clusterWizard/OperatorsBundle.js.map +1 -1
  402. package/build/cjs/ocm/components/clusterWizard/OperatorsSelect.js +36 -19
  403. package/build/cjs/ocm/components/clusterWizard/OperatorsSelect.js.map +1 -1
  404. package/build/cjs/ocm/components/clusterWizard/OperatorsStep.js +13 -3
  405. package/build/cjs/ocm/components/clusterWizard/OperatorsStep.js.map +1 -1
  406. package/build/cjs/ocm/components/clusterWizard/constants.js +2 -0
  407. package/build/cjs/ocm/components/clusterWizard/constants.js.map +1 -1
  408. package/build/cjs/ocm/components/clusterWizard/disconnected/BasicStep.js +40 -0
  409. package/build/cjs/ocm/components/clusterWizard/disconnected/BasicStep.js.map +1 -0
  410. package/build/cjs/ocm/components/clusterWizard/disconnected/InstallDisconnectedSwitch.js +15 -0
  411. package/build/cjs/ocm/components/clusterWizard/disconnected/InstallDisconnectedSwitch.js.map +1 -0
  412. package/build/cjs/ocm/components/clusterWizard/disconnected/ReviewStep.js +63 -0
  413. package/build/cjs/ocm/components/clusterWizard/disconnected/ReviewStep.js.map +1 -0
  414. package/build/cjs/ocm/components/clusterWizard/wizardTransition.js +15 -2
  415. package/build/cjs/ocm/components/clusterWizard/wizardTransition.js.map +1 -1
  416. package/build/cjs/ocm/components/clusters/AssistedInstallerHeader.js +3 -0
  417. package/build/cjs/ocm/components/clusters/AssistedInstallerHeader.js.map +1 -1
  418. package/build/cjs/ocm/components/clusters/ClusterPage.js +2 -0
  419. package/build/cjs/ocm/components/clusters/ClusterPage.js.map +1 -1
  420. package/build/cjs/ocm/components/clusters/Clusters.js +6 -0
  421. package/build/cjs/ocm/components/clusters/Clusters.js.map +1 -1
  422. package/build/cjs/ocm/components/clusters/ClustersListToolbar.js +1 -1
  423. package/build/cjs/ocm/components/clusters/ClustersListToolbar.js.map +1 -1
  424. package/build/cjs/ocm/components/clusters/NewClusterPage.js +6 -7
  425. package/build/cjs/ocm/components/clusters/NewClusterPage.js.map +1 -1
  426. package/build/cjs/ocm/components/clusters/clusterPolling.js +1 -1
  427. package/build/cjs/ocm/components/clusters/clusterPolling.js.map +1 -1
  428. package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js +5 -15
  429. package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js.map +1 -1
  430. package/build/cjs/ocm/components/hosts/use-hosts-table.js +18 -4
  431. package/build/cjs/ocm/components/hosts/use-hosts-table.js.map +1 -1
  432. package/build/cjs/ocm/services/DiskEncryptionService.js +12 -4
  433. package/build/cjs/ocm/services/DiskEncryptionService.js.map +1 -1
  434. package/build/cjs/ocm/store/slices/current-cluster/selectors.js +1 -1
  435. package/build/cjs/ocm/store/slices/current-cluster/selectors.js.map +1 -1
  436. package/lib/cim/components/Agent/AgentStatus.tsx +1 -1
  437. package/lib/cim/components/Agent/tableUtils.tsx +1 -1
  438. package/lib/cim/components/ClusterDeployment/ClusterDeploymentWizard.tsx +15 -5
  439. package/lib/cim/components/ClusterDeployment/ScaleUpForm.tsx +1 -1
  440. package/lib/cim/components/ClusterDeployment/{ACMClusterDeploymentDetailsStep.tsx → clusterDetails/ACMClusterDeploymentDetailsStep.tsx} +6 -8
  441. package/lib/cim/components/ClusterDeployment/{ClusterDeploymentDetailsForm.tsx → clusterDetails/ClusterDeploymentDetailsForm.tsx} +17 -11
  442. package/lib/cim/components/ClusterDeployment/{ClusterDeploymentDetailsStep.tsx → clusterDetails/ClusterDeploymentDetailsStep.tsx} +10 -15
  443. package/lib/cim/components/ClusterDeployment/{ClusterDetailsFormFields.tsx → clusterDetails/ClusterDetailsFormFields.tsx} +25 -23
  444. package/lib/cim/components/ClusterDeployment/clusterDetails/index.tsx +4 -0
  445. package/lib/cim/components/ClusterDeployment/{AdditionalNTPSourcesDialogToggle.tsx → components/AdditionalNTPSourcesDialogToggle.tsx} +1 -1
  446. package/lib/cim/components/ClusterDeployment/components/index.tsx +1 -0
  447. package/lib/cim/components/ClusterDeployment/constants.ts +1 -0
  448. package/lib/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.tsx +121 -0
  449. package/lib/cim/components/ClusterDeployment/customManifests/ConfigMapDetail.tsx +191 -0
  450. package/lib/cim/components/ClusterDeployment/customManifests/ConfigMapForm.tsx +247 -0
  451. package/lib/cim/components/ClusterDeployment/customManifests/index.tsx +1 -0
  452. package/lib/cim/components/ClusterDeployment/{ClusterDeploymentHostDiscoveryTable.tsx → hostDiscovery/ClusterDeploymentHostDiscoveryTable.tsx} +13 -13
  453. package/lib/cim/components/ClusterDeployment/{ClusterDeploymentHostsDiscovery.tsx → hostDiscovery/ClusterDeploymentHostsDiscovery.tsx} +8 -8
  454. package/lib/cim/components/ClusterDeployment/{ClusterDeploymentHostsDiscoveryStep.tsx → hostDiscovery/ClusterDeploymentHostsDiscoveryStep.tsx} +10 -11
  455. package/lib/cim/components/ClusterDeployment/hostDiscovery/index.tsx +1 -0
  456. package/lib/cim/components/ClusterDeployment/{ClusterDeploymentHostSelectionStep.tsx → hostSelection/ClusterDeploymentHostSelectionStep.tsx} +13 -16
  457. package/lib/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelection.tsx → hostSelection/ClusterDeploymentHostsSelection.tsx} +7 -7
  458. package/lib/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelectionAdvanced.tsx → hostSelection/ClusterDeploymentHostsSelectionAdvanced.tsx} +10 -12
  459. package/lib/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelectionBasic.tsx → hostSelection/ClusterDeploymentHostsSelectionBasic.tsx} +9 -9
  460. package/lib/cim/components/ClusterDeployment/hostSelection/index.tsx +2 -0
  461. package/lib/cim/components/ClusterDeployment/index.ts +2 -2
  462. package/lib/cim/components/ClusterDeployment/{ClusterDeploymentHostsNetworkTable.tsx → networking/ClusterDeploymentHostsNetworkTable.tsx} +12 -12
  463. package/lib/cim/components/ClusterDeployment/{ClusterDeploymentNetworkingForm.tsx → networking/ClusterDeploymentNetworkingForm.tsx} +8 -12
  464. package/lib/cim/components/ClusterDeployment/{ClusterDeploymentNetworkingStep.tsx → networking/ClusterDeploymentNetworkingStep.tsx} +11 -13
  465. package/lib/cim/components/ClusterDeployment/networking/index.tsx +1 -0
  466. package/lib/cim/components/ClusterDeployment/{ClusterDeploymentReviewStep.tsx → review/ClusterDeploymentReviewStep.tsx} +36 -15
  467. package/lib/cim/components/ClusterDeployment/review/ReviewConfigMapsTable.tsx +70 -0
  468. package/lib/cim/components/ClusterDeployment/review/index.tsx +1 -0
  469. package/lib/cim/components/ClusterDeployment/types.ts +1 -0
  470. package/lib/cim/components/ClusterDeployment/use-networking-formik.ts +2 -2
  471. package/lib/cim/components/ClusterDeployment/wizardTransition.ts +2 -0
  472. package/lib/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.tsx +7 -12
  473. package/lib/cim/components/Hypershift/HostedClusterWizard/DetailsStep/types.ts +1 -1
  474. package/lib/cim/components/Hypershift/HostedClusterWizard/HostsStep/NodePoolForm.tsx +1 -33
  475. package/lib/cim/components/Hypershift/forms/NodePoolAgentsForm.tsx +24 -12
  476. package/lib/cim/components/Hypershift/modals/AddNodePoolModal.tsx +1 -1
  477. package/lib/cim/components/Hypershift/modals/ManageHostsModal.tsx +2 -2
  478. package/lib/cim/components/helpers/toAssisted.ts +9 -1
  479. package/lib/cim/components/helpers/versions.ts +7 -3
  480. package/lib/cim/components/modals/EditProxyModal.tsx +1 -1
  481. package/lib/cim/components/modals/EditSSHKeyModal.tsx +1 -1
  482. package/lib/cim/components/modals/MassApproveAgentModal.tsx +1 -1
  483. package/lib/cim/hooks/index.tsx +1 -0
  484. package/lib/cim/hooks/types.tsx +8 -0
  485. package/lib/cim/hooks/useConfigMaps.tsx +14 -0
  486. package/lib/cim/hooks/useK8sWatchResource.tsx +27 -0
  487. package/lib/cim/types/index.ts +1 -0
  488. package/lib/cim/types/k8s/agent-cluster-install.ts +1 -0
  489. package/lib/cim/types/models.tsx +12 -0
  490. package/lib/cim/utils.ts +12 -0
  491. package/lib/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionControlGroup.tsx +20 -5
  492. package/lib/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionValues.ts +1 -0
  493. package/lib/common/components/clusterConfiguration/ExternalPlatformsDropdown.tsx +74 -0
  494. package/lib/common/components/clusterConfiguration/index.ts +1 -2
  495. package/lib/common/components/clusterDetail/OperatorsProgressItem.tsx +1 -1
  496. package/lib/common/components/clusterWizard/clusterDetailsValidation.ts +6 -34
  497. package/lib/common/components/clusterWizard/types.ts +2 -4
  498. package/lib/common/components/fetching/EventListFetch.tsx +2 -2
  499. package/lib/common/components/hosts/DiskRole.tsx +0 -1
  500. package/lib/common/components/hosts/TableToolbar.tsx +9 -10
  501. package/lib/common/components/hosts/tableUtils.tsx +1 -1
  502. package/lib/common/components/hosts/types.ts +1 -1
  503. package/lib/common/components/hosts/utils.ts +13 -2
  504. package/lib/common/components/newFeatureSupportLevels/types.ts +1 -0
  505. package/lib/common/components/operators/operatorDescriptions.tsx +70 -0
  506. package/lib/common/components/operators/operatorSpecs.tsx +505 -261
  507. package/lib/common/components/ui/ClusterEventsToolbar.tsx +6 -0
  508. package/lib/common/components/ui/OpenShiftSelectWithSearch.tsx +38 -239
  509. package/lib/common/components/ui/OpenShiftVersionDropdown.tsx +14 -23
  510. package/lib/common/components/ui/OpenShiftVersionModal.tsx +12 -16
  511. package/lib/common/components/ui/SimpleDropdown.tsx +0 -1
  512. package/lib/common/components/ui/formik/SelectFieldWithSearch.tsx +278 -0
  513. package/lib/common/components/ui/formik/TextAreaField.tsx +14 -7
  514. package/lib/common/components/ui/formik/index.tsx +1 -1
  515. package/lib/common/config/constants.ts +29 -4
  516. package/lib/common/config/docs_links.ts +76 -41
  517. package/lib/common/selectors/clusterSelectors.ts +1 -2
  518. package/lib/common/types/cpuArchitecture.ts +3 -9
  519. package/lib/common/types/ui-settings.ts +1 -0
  520. package/lib/common/utils.ts +30 -0
  521. package/lib/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.tsx +2 -2
  522. package/lib/ocm/components/Routes.tsx +22 -15
  523. package/lib/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.tsx +39 -24
  524. package/lib/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.tsx +33 -1
  525. package/lib/ocm/components/clusterConfiguration/OcmOpenShiftVersion.tsx +18 -11
  526. package/lib/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.tsx +13 -18
  527. package/lib/ocm/components/clusterConfiguration/OcmOperatorProgressItem.tsx +1 -1
  528. package/lib/ocm/components/clusterConfiguration/OcmSNODisclaimer.tsx +14 -60
  529. package/lib/ocm/components/clusterConfiguration/OcmTNADisclaimer.tsx +23 -0
  530. package/lib/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.tsx +1 -1
  531. package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.tsx +1 -0
  532. package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.tsx +6 -1
  533. package/lib/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.tsx +20 -26
  534. package/lib/ocm/components/clusterConfiguration/operators/OperatorCheckbox.tsx +6 -3
  535. package/lib/ocm/components/clusterConfiguration/operators/utils.tsx +2 -1
  536. package/lib/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.tsx +2 -1
  537. package/lib/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.tsx +5 -1
  538. package/lib/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/FormViewNetworkWideFields.tsx +2 -2
  539. package/lib/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/formViewNetworkWideValidationSchema.tsx +0 -1
  540. package/lib/ocm/components/clusterConfiguration/staticIp/components/staticIp.css +3 -3
  541. package/lib/ocm/components/clusterConfiguration/staticIp/data/formDataToInfraEnvField.ts +1 -1
  542. package/lib/ocm/components/clusterDetail/ProgressBarAlerts.tsx +2 -2
  543. package/lib/ocm/components/clusterWizard/ClusterDetails.tsx +15 -6
  544. package/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx +18 -15
  545. package/lib/ocm/components/clusterWizard/ClusterWizardContext.tsx +4 -2
  546. package/lib/ocm/components/clusterWizard/ClusterWizardContextProvider.tsx +18 -2
  547. package/lib/ocm/components/clusterWizard/CredentialsDownload.tsx +2 -1
  548. package/lib/ocm/components/clusterWizard/NewClusterWizard.tsx +17 -1
  549. package/lib/ocm/components/clusterWizard/Operators.tsx +5 -1
  550. package/lib/ocm/components/clusterWizard/OperatorsBundle.tsx +29 -23
  551. package/lib/ocm/components/clusterWizard/OperatorsSelect.tsx +68 -41
  552. package/lib/ocm/components/clusterWizard/OperatorsStep.tsx +30 -3
  553. package/lib/ocm/components/clusterWizard/constants.ts +2 -0
  554. package/lib/ocm/components/clusterWizard/disconnected/BasicStep.tsx +81 -0
  555. package/lib/ocm/components/clusterWizard/disconnected/InstallDisconnectedSwitch.tsx +32 -0
  556. package/lib/ocm/components/clusterWizard/disconnected/ReviewStep.tsx +123 -0
  557. package/lib/ocm/components/clusterWizard/wizardTransition.ts +18 -2
  558. package/lib/ocm/components/clusters/AssistedInstallerHeader.tsx +9 -1
  559. package/lib/ocm/components/clusters/ClusterPage.tsx +3 -0
  560. package/lib/ocm/components/clusters/Clusters.tsx +10 -0
  561. package/lib/ocm/components/clusters/ClustersListToolbar.tsx +1 -1
  562. package/lib/ocm/components/clusters/NewClusterPage.tsx +9 -13
  563. package/lib/ocm/components/clusters/clusterPolling.ts +2 -2
  564. package/lib/ocm/components/featureSupportLevels/featureStateUtils.ts +7 -18
  565. package/lib/ocm/components/hosts/use-hosts-table.tsx +18 -5
  566. package/lib/ocm/services/DiskEncryptionService.ts +8 -2
  567. package/lib/ocm/store/slices/current-cluster/selectors.ts +1 -1
  568. package/package.json +4 -4
  569. package/build/@types/cim/components/ClusterDeployment/ACMClusterDeploymentDetailsStep.d.ts.map +0 -1
  570. package/build/@types/cim/components/ClusterDeployment/AdditionalNTPSourcesDialogToggle.d.ts.map +0 -1
  571. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentDetailsForm.d.ts.map +0 -1
  572. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentDetailsStep.d.ts.map +0 -1
  573. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostDiscoveryTable.d.ts.map +0 -1
  574. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostSelectionStep.d.ts.map +0 -1
  575. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscovery.d.ts.map +0 -1
  576. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscoveryStep.d.ts +0 -5
  577. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscoveryStep.d.ts.map +0 -1
  578. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsNetworkTable.d.ts.map +0 -1
  579. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsSelection.d.ts.map +0 -1
  580. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsSelectionAdvanced.d.ts.map +0 -1
  581. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsSelectionBasic.d.ts.map +0 -1
  582. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentNetworkingForm.d.ts.map +0 -1
  583. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentNetworkingStep.d.ts.map +0 -1
  584. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentReviewStep.d.ts.map +0 -1
  585. package/build/@types/cim/components/ClusterDeployment/ClusterDetailsFormFields.d.ts.map +0 -1
  586. package/build/@types/common/components/clusterConfiguration/SNOControlGroup.d.ts +0 -10
  587. package/build/@types/common/components/clusterConfiguration/SNOControlGroup.d.ts.map +0 -1
  588. package/build/@types/common/components/clusterConfiguration/SNODisclaimer.d.ts +0 -10
  589. package/build/@types/common/components/clusterConfiguration/SNODisclaimer.d.ts.map +0 -1
  590. package/build/@types/common/components/ui/formik/SingleNodeCheckbox.d.ts +0 -9
  591. package/build/@types/common/components/ui/formik/SingleNodeCheckbox.d.ts.map +0 -1
  592. package/build/@types/ocm/components/clusterConfiguration/OcmSingleNodeCheckbox.d.ts +0 -11
  593. package/build/@types/ocm/components/clusterConfiguration/OcmSingleNodeCheckbox.d.ts.map +0 -1
  594. package/build/cjs/cim/components/ClusterDeployment/ACMClusterDeploymentDetailsStep.js.map +0 -1
  595. package/build/cjs/cim/components/ClusterDeployment/AdditionalNTPSourcesDialogToggle.js.map +0 -1
  596. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetailsForm.js.map +0 -1
  597. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetailsStep.js.map +0 -1
  598. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostDiscoveryTable.js.map +0 -1
  599. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostSelectionStep.js.map +0 -1
  600. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscovery.js.map +0 -1
  601. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscoveryStep.js.map +0 -1
  602. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsNetworkTable.js.map +0 -1
  603. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsSelection.js.map +0 -1
  604. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsSelectionAdvanced.js.map +0 -1
  605. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsSelectionBasic.js.map +0 -1
  606. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentNetworkingForm.js.map +0 -1
  607. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentNetworkingStep.js.map +0 -1
  608. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentReviewStep.js.map +0 -1
  609. package/build/cjs/cim/components/ClusterDeployment/ClusterDetailsFormFields.js.map +0 -1
  610. package/build/cjs/common/components/clusterConfiguration/SNOControlGroup.js +0 -20
  611. package/build/cjs/common/components/clusterConfiguration/SNOControlGroup.js.map +0 -1
  612. package/build/cjs/common/components/clusterConfiguration/SNODisclaimer.js +0 -31
  613. package/build/cjs/common/components/clusterConfiguration/SNODisclaimer.js.map +0 -1
  614. package/build/cjs/common/components/ui/formik/SingleNodeCheckbox.js +0 -45
  615. package/build/cjs/common/components/ui/formik/SingleNodeCheckbox.js.map +0 -1
  616. package/build/cjs/ocm/components/clusterConfiguration/OcmSingleNodeCheckbox.js +0 -51
  617. package/build/cjs/ocm/components/clusterConfiguration/OcmSingleNodeCheckbox.js.map +0 -1
  618. package/lib/common/components/clusterConfiguration/SNOControlGroup.tsx +0 -41
  619. package/lib/common/components/clusterConfiguration/SNODisclaimer.tsx +0 -79
  620. package/lib/common/components/ui/formik/SingleNodeCheckbox.tsx +0 -98
  621. package/lib/ocm/components/clusterConfiguration/OcmSingleNodeCheckbox.tsx +0 -107
  622. /package/build/@types/cim/components/ClusterDeployment/{AdditionalNTPSourcesDialogToggle.d.ts → components/AdditionalNTPSourcesDialogToggle.d.ts} +0 -0
@@ -0,0 +1,278 @@
1
+ import React from 'react';
2
+ import {
3
+ Select,
4
+ SelectOption,
5
+ SelectList,
6
+ SelectOptionProps,
7
+ MenuToggle,
8
+ MenuToggleElement,
9
+ TextInputGroup,
10
+ TextInputGroupMain,
11
+ TextInputGroupUtilities,
12
+ Button,
13
+ FormGroup,
14
+ Bullseye,
15
+ Spinner,
16
+ FormHelperText,
17
+ HelperText,
18
+ HelperTextItem,
19
+ Divider,
20
+ } from '@patternfly/react-core';
21
+ import TimesIcon from '@patternfly/react-icons/dist/esm/icons/times-icon';
22
+ import { useField } from 'formik';
23
+ import { isEqual } from 'lodash-es';
24
+ import { FieldProps } from './types';
25
+
26
+ const NO_RESULTS = 'no_results';
27
+
28
+ const createItemId = (val: string) => `select-multi-typeahead-${val.replace(' ', '-')}`;
29
+
30
+ const SelectFieldWithSearch = ({
31
+ name,
32
+ label,
33
+ isRequired,
34
+ selectOptions,
35
+ filterValue,
36
+ setFilterValue,
37
+ isMultiSelect = false,
38
+ isLoading = false,
39
+ placeholder,
40
+ helperText,
41
+ }: {
42
+ selectOptions: (SelectOptionProps & { showDivider?: boolean })[];
43
+ filterValue: string;
44
+ setFilterValue: (value: string) => void;
45
+ isMultiSelect?: boolean;
46
+ isLoading?: boolean;
47
+ placeholder?: string;
48
+ helperText?: React.ReactNode;
49
+ } & FieldProps) => {
50
+ const [isOpen, setIsOpen] = React.useState(false);
51
+ const [{ value }, , { setValue }] = useField<unknown | unknown[]>(name);
52
+
53
+ const [focusedItemIndex, setFocusedItemIndex] = React.useState<number | null>(null);
54
+ const [activeItemId, setActiveItemId] = React.useState<string | null>(null);
55
+ const textInputRef = React.useRef<HTMLInputElement>();
56
+
57
+ const setActiveAndFocusedItem = (itemIndex: number) => {
58
+ setFocusedItemIndex(itemIndex);
59
+ const focusedItem = selectOptions[itemIndex];
60
+ setActiveItemId(createItemId(focusedItem.value as string));
61
+ };
62
+
63
+ const resetActiveAndFocusedItem = () => {
64
+ setFocusedItemIndex(null);
65
+ setActiveItemId(null);
66
+ };
67
+
68
+ const closeMenu = () => {
69
+ setIsOpen(false);
70
+ resetActiveAndFocusedItem();
71
+ };
72
+
73
+ const onInputClick = () => {
74
+ if (!isOpen) {
75
+ setIsOpen(true);
76
+ } else if (!filterValue) {
77
+ closeMenu();
78
+ }
79
+ };
80
+
81
+ const handleMenuArrowKeys = (key: string) => {
82
+ let indexToFocus = 0;
83
+
84
+ if (!isOpen) {
85
+ setIsOpen(true);
86
+ }
87
+
88
+ if (selectOptions.every((option) => option.isDisabled)) {
89
+ return;
90
+ }
91
+
92
+ if (key === 'ArrowUp') {
93
+ // When no index is set or at the first index, focus to the last, otherwise decrement focus index
94
+ if (focusedItemIndex === null || focusedItemIndex === 0) {
95
+ indexToFocus = selectOptions.length - 1;
96
+ } else {
97
+ indexToFocus = focusedItemIndex - 1;
98
+ }
99
+
100
+ // Skip disabled options
101
+ while (selectOptions[indexToFocus].isDisabled) {
102
+ indexToFocus--;
103
+ if (indexToFocus === -1) {
104
+ indexToFocus = selectOptions.length - 1;
105
+ }
106
+ }
107
+ }
108
+
109
+ if (key === 'ArrowDown') {
110
+ // When no index is set or at the last index, focus to the first, otherwise increment focus index
111
+ if (focusedItemIndex === null || focusedItemIndex === selectOptions.length - 1) {
112
+ indexToFocus = 0;
113
+ } else {
114
+ indexToFocus = focusedItemIndex + 1;
115
+ }
116
+
117
+ // Skip disabled options
118
+ while (selectOptions[indexToFocus].isDisabled) {
119
+ indexToFocus++;
120
+ if (indexToFocus === selectOptions.length) {
121
+ indexToFocus = 0;
122
+ }
123
+ }
124
+ }
125
+
126
+ setActiveAndFocusedItem(indexToFocus);
127
+ };
128
+
129
+ const onInputKeyDown = (event: React.KeyboardEvent<HTMLInputElement>) => {
130
+ const focusedItem = focusedItemIndex !== null ? selectOptions[focusedItemIndex] : null;
131
+
132
+ switch (event.key) {
133
+ case 'Enter':
134
+ if (
135
+ isOpen &&
136
+ focusedItem &&
137
+ focusedItem.value !== NO_RESULTS &&
138
+ !focusedItem.isAriaDisabled
139
+ ) {
140
+ onSelect(focusedItem.value as string);
141
+ }
142
+
143
+ if (!isOpen) {
144
+ setIsOpen(true);
145
+ }
146
+
147
+ break;
148
+ case 'ArrowUp':
149
+ case 'ArrowDown':
150
+ event.preventDefault();
151
+ handleMenuArrowKeys(event.key);
152
+ break;
153
+ }
154
+ };
155
+
156
+ const onToggleClick = () => {
157
+ setIsOpen(!isOpen);
158
+ textInputRef?.current?.focus();
159
+ };
160
+
161
+ const onTextInputChange = (_event: React.FormEvent<HTMLInputElement>, value: string) => {
162
+ setFilterValue(value);
163
+ resetActiveAndFocusedItem();
164
+ };
165
+
166
+ const onSelect = React.useCallback(
167
+ (val) => {
168
+ if (val && val !== NO_RESULTS) {
169
+ if (isMultiSelect && Array.isArray(value)) {
170
+ setValue(
171
+ value.some((v) => isEqual(v, val))
172
+ ? value.filter((v) => !isEqual(v, val))
173
+ : [...(value as unknown[]), val],
174
+ );
175
+ } else {
176
+ setValue(val);
177
+ setFilterValue(selectOptions.find((option) => option.value === val)?.children as string);
178
+ }
179
+ }
180
+
181
+ textInputRef.current?.focus();
182
+ },
183
+ [isMultiSelect, setValue, setFilterValue, selectOptions, value],
184
+ );
185
+
186
+ const onClearButtonClick = () => {
187
+ setFilterValue('');
188
+ resetActiveAndFocusedItem();
189
+ textInputRef?.current?.focus();
190
+ };
191
+
192
+ const toggle = (toggleRef: React.Ref<MenuToggleElement>) => (
193
+ <MenuToggle
194
+ variant="typeahead"
195
+ aria-label="Multi typeahead checkbox menu toggle"
196
+ onClick={onToggleClick}
197
+ innerRef={toggleRef}
198
+ isExpanded={isOpen}
199
+ isFullWidth
200
+ >
201
+ <TextInputGroup isPlain>
202
+ <TextInputGroupMain
203
+ isExpanded={isOpen}
204
+ value={filterValue}
205
+ placeholder={placeholder}
206
+ onClick={onInputClick}
207
+ onChange={onTextInputChange}
208
+ onKeyDown={onInputKeyDown}
209
+ innerRef={textInputRef}
210
+ autoComplete="off"
211
+ role="combobox"
212
+ id="typeahead-select-input"
213
+ aria-controls="typeahead-select-listbox"
214
+ {...(activeItemId && { 'aria-activedescendant': activeItemId })}
215
+ />
216
+ <TextInputGroupUtilities {...(!filterValue ? { style: { display: 'none' } } : {})}>
217
+ <Button variant="plain" onClick={onClearButtonClick} aria-label="Clear input value">
218
+ <TimesIcon aria-hidden />
219
+ </Button>
220
+ </TextInputGroupUtilities>
221
+ </TextInputGroup>
222
+ </MenuToggle>
223
+ );
224
+
225
+ return (
226
+ <FormGroup label={label} isRequired={isRequired}>
227
+ <Select
228
+ role="menu"
229
+ id="typeahead-select"
230
+ isOpen={isOpen}
231
+ selected={value}
232
+ onSelect={(_event, selection) => onSelect(selection as string)}
233
+ onOpenChange={(isOpen) => {
234
+ !isOpen && closeMenu();
235
+ }}
236
+ toggle={toggle}
237
+ isScrollable
238
+ >
239
+ <SelectList isAriaMultiselectable id="select-typeahead-listbox">
240
+ {isLoading ? (
241
+ <SelectOption key={'loader'}>
242
+ <Bullseye>
243
+ <Spinner size="lg" />
244
+ </Bullseye>
245
+ </SelectOption>
246
+ ) : (
247
+ selectOptions.map((option, index) => (
248
+ <>
249
+ {option.showDivider && <Divider component="li" key={`divider-${index}`} />}
250
+ <SelectOption
251
+ hasCheckbox={isMultiSelect && !option.isAriaDisabled}
252
+ isSelected={
253
+ isMultiSelect && Array.isArray(value)
254
+ ? value.some((v) => isEqual(v, option.value))
255
+ : value === option.value
256
+ }
257
+ key={`option-${index}`}
258
+ isFocused={focusedItemIndex === index}
259
+ ref={null}
260
+ {...option}
261
+ />
262
+ </>
263
+ ))
264
+ )}
265
+ </SelectList>
266
+ </Select>
267
+ {helperText && (
268
+ <FormHelperText>
269
+ <HelperText>
270
+ <HelperTextItem>{helperText}</HelperTextItem>
271
+ </HelperText>
272
+ </FormHelperText>
273
+ )}
274
+ </FormGroup>
275
+ );
276
+ };
277
+
278
+ export default SelectFieldWithSearch;
@@ -60,13 +60,20 @@ const TextAreaField: React.FC<TextAreaFieldProps> = ({
60
60
  {(errorMessage || helperText) && (
61
61
  <FormHelperText>
62
62
  <HelperText>
63
- <HelperTextItem
64
- icon={errorMessage && <ExclamationCircleIcon />}
65
- variant={errorMessage ? 'error' : 'default'}
66
- id={errorMessage ? `${fieldId}-helper-error` : `${fieldId}-helper`}
67
- >
68
- {errorMessage ? errorMessage : helperText}
69
- </HelperTextItem>
63
+ {errorMessage && (
64
+ <HelperTextItem
65
+ icon={<ExclamationCircleIcon />}
66
+ variant={'error'}
67
+ id={`${fieldId}-helper-error`}
68
+ >
69
+ {errorMessage}
70
+ </HelperTextItem>
71
+ )}
72
+ {helperText && (
73
+ <HelperTextItem variant={'default'} id={`${fieldId}-helper`}>
74
+ {helperText}
75
+ </HelperTextItem>
76
+ )}
70
77
  </HelperText>
71
78
  </FormHelperText>
72
79
  )}
@@ -9,7 +9,6 @@ export { default as SwitchField } from './SwitchField';
9
9
  export { default as FormikAutoSave, useFormikAutoSave } from './FormikAutoSave';
10
10
  export { default as PullSecretField } from './PullSecretField';
11
11
  export { default as RadioField } from './RadioField';
12
- export { default as SingleNodeCheckbox } from './SingleNodeCheckbox';
13
12
  export { default as NumberInputField } from './NumberInputField';
14
13
  export { default as CodeField } from './CodeField';
15
14
  export { default as RichInputField } from './RichInputField';
@@ -18,6 +17,7 @@ export { default as RemovableField } from './RemovableField';
18
17
  export { default as AddButton } from './AddButton';
19
18
  export { default as PencilEditField } from './PencilEditField';
20
19
  export { default as AlertFormikError } from './AlertFormikError';
20
+ export { default as SelectFieldWithSearch } from './SelectFieldWithSearch';
21
21
 
22
22
  export * from './utils';
23
23
  export * from './PullSecretField';
@@ -5,13 +5,15 @@ import {
5
5
  ClusterValidationId,
6
6
  DiskRole,
7
7
  Event,
8
+ HostRoleUpdateParams,
8
9
  HostValidationId,
9
10
  } from '@openshift-assisted/types/assisted-installer-service';
10
11
  import { ValidationGroup as ClusterValidationGroup } from '../types/clusters';
11
12
  import buildManifest from '@openshift-assisted/ui-lib/package.json';
13
+ import { isInOcm } from '../api/axiosClient';
12
14
 
13
- export const POLLING_INTERVAL = 10 * 1000;
14
- export const EVENTS_POLLING_INTERVAL = 10 * 1000 * 6;
15
+ export const DEFAULT_POLLING_INTERVAL = 10 * 1000;
16
+ export const REDUCED_POLLING_INTERVAL = 10 * 1000 * 6;
15
17
 
16
18
  export const hostRoles = (t: TFunction): HostRole[] => [
17
19
  {
@@ -33,6 +35,15 @@ export const hostRoles = (t: TFunction): HostRole[] => [
33
35
  'ai:Runs application workloads. Connect at least 5 hosts to enable dedicated workers.',
34
36
  ),
35
37
  },
38
+ ...(isInOcm
39
+ ? [
40
+ {
41
+ value: 'arbiter' as HostRoleUpdateParams,
42
+ label: t('ai:Arbiter'),
43
+ description: t('ai:Prevents split-brain scenarios and maintains quorum.'),
44
+ },
45
+ ]
46
+ : []),
36
47
  ];
37
48
 
38
49
  export const clusterStatusLabels = (t: TFunction): { [key in Cluster['status']]: string } => ({
@@ -59,7 +70,6 @@ export const clusterFieldLabels = (t: TFunction): { [key in string]: string } =>
59
70
  ingressVips: t('ai:Ingress IP'),
60
71
  pullSecret: t('ai:Pull secret'),
61
72
  sshPublicKey: t('ai:SSH public key'),
62
- SNODisclaimer: t('ai:Single Node OpenShift disclaimer'),
63
73
  diskEncryptionTangServers: t("ai:Tang servers' URLs or thumbprints"),
64
74
  selectedHostIds: t('ai:Hosts selection'),
65
75
  httpProxy: t('ai:HTTP proxy'),
@@ -140,6 +150,10 @@ export const hostValidationLabels = (t: TFunction): { [key in HostValidationId]:
140
150
  'fence-agents-remediation-requirements-satisfied': t('ai:Fence Agents Remediation requirements'),
141
151
  'node-maintenance-requirements-satisfied': t('ai:Node Maintenance requirements'),
142
152
  'kube-descheduler-requirements-satisfied': t('ai:Kube Descheduler requirements'),
153
+ 'cluster-observability-requirements-satisfied': t('ai:Cluster Observability requirements'),
154
+ 'numa-resources-requirements-satisfied': t('ai:NUMA Resources requirements'),
155
+ 'oadp-requirements-satisfied': t('ai:OADP requirements'),
156
+ 'metallb-requirements-satisfied': t('ai:MetalLB requirements'),
143
157
  });
144
158
 
145
159
  export const hostValidationFailureHints = (
@@ -207,6 +221,10 @@ export const hostValidationFailureHints = (
207
221
  'fence-agents-remediation-requirements-satisfied': '',
208
222
  'node-maintenance-requirements-satisfied': '',
209
223
  'kube-descheduler-requirements-satisfied': '',
224
+ 'cluster-observability-requirements-satisfied': '',
225
+ 'numa-resources-requirements-satisfied': '',
226
+ 'oadp-requirements-satisfied': '',
227
+ 'metallb-requirements-satisfied': '',
210
228
  });
211
229
 
212
230
  export const clusterValidationLabels = (
@@ -236,6 +254,10 @@ export const clusterValidationLabels = (
236
254
  'cnv-requirements-satisfied': t('ai:CNV requirements'),
237
255
  'mce-requirements-satisfied': t('ai:MCE requirements'),
238
256
  'platform-requirements-satisfied': t('ai:Platform requirements'),
257
+ 'cluster-observability-requirements-satisfied': t('ai:Cluster Observability requirements'),
258
+ 'numa-resources-requirements-satisfied': t('ai:NUMA Resources requirements'),
259
+ 'oadp-requirements-satisfied': t('ai:OADP requirements'),
260
+ 'metallb-requirements-satisfied': t('ai:MetalLB requirements'),
239
261
  });
240
262
 
241
263
  export const clusterValidationGroupLabels = (
@@ -316,6 +338,10 @@ export const OPERATOR_NAME_SELF_NODE_REMEDIATION = 'self-node-remediation';
316
338
  export const OPERATOR_NAME_FENCE_AGENTS_REMEDIATION = 'fence-agents-remediation';
317
339
  export const OPERATOR_NAME_NODE_MAINTENANCE = 'node-maintenance';
318
340
  export const OPERATOR_NAME_KUBE_DESCHEDULER = 'kube-descheduler';
341
+ export const OPERATOR_NAME_CLUSTER_OBSERVABILITY = 'cluster-observability';
342
+ export const OPERATOR_NAME_NUMA_RESOURCES = 'numaresources';
343
+ export const OPERATOR_NAME_OADP = 'oadp';
344
+ export const OPERATOR_NAME_METALLB = 'metallb';
319
345
 
320
346
  export const singleClusterOperators = [
321
347
  OPERATOR_NAME_CNV,
@@ -324,7 +350,6 @@ export const singleClusterOperators = [
324
350
  OPERATOR_NAME_NODE_HEALTHCHECK,
325
351
  OPERATOR_NAME_NODE_MAINTENANCE,
326
352
  OPERATOR_NAME_FENCE_AGENTS_REMEDIATION,
327
- OPERATOR_NAME_SELF_NODE_REMEDIATION,
328
353
  OPERATOR_NAME_KUBE_DESCHEDULER,
329
354
  ];
330
355
 
@@ -1,14 +1,24 @@
1
- const DEFAULT_OPENSHIFT_DOCS_VERSION = 4.15;
1
+ import { isMajorMinorVersionEqualOrGreater } from '../utils';
2
2
 
3
- export const getShortOpenshiftVersion = (ocpVersion?: string) => {
3
+ const LATEST_OPENSHIFT_DOCS_VERSION = '4.19';
4
+ const MIN_OPENSHIFT_DOCS_VERSION = '4.14';
5
+
6
+ const getDocsOpenshiftVersion = (ocpVersion?: string): string => {
4
7
  if (!ocpVersion) {
5
- return DEFAULT_OPENSHIFT_DOCS_VERSION;
8
+ return LATEST_OPENSHIFT_DOCS_VERSION;
9
+ }
10
+ if (isMajorMinorVersionEqualOrGreater(MIN_OPENSHIFT_DOCS_VERSION, ocpVersion)) {
11
+ return MIN_OPENSHIFT_DOCS_VERSION;
6
12
  }
7
- const versionXY = Number(ocpVersion.split('.').slice(0, 2).join('.'));
8
- if (!Number.isFinite(versionXY)) {
9
- return DEFAULT_OPENSHIFT_DOCS_VERSION;
13
+ if (isMajorMinorVersionEqualOrGreater(ocpVersion, LATEST_OPENSHIFT_DOCS_VERSION)) {
14
+ return LATEST_OPENSHIFT_DOCS_VERSION;
10
15
  }
11
- return versionXY < 4.14 ? 4.14 : versionXY;
16
+
17
+ const versionParts = ocpVersion.split('.').slice(0, 2).map(Number);
18
+ if (versionParts.length < 2) {
19
+ return LATEST_OPENSHIFT_DOCS_VERSION;
20
+ }
21
+ return `${versionParts[0]}.${versionParts[1]}`;
12
22
  };
13
23
 
14
24
  export const getYearForAssistedInstallerDocumentationLink = () => {
@@ -31,19 +41,19 @@ export const CLUSTER_MANAGER_SITE_LINK = 'https://console.redhat.com/openshift/i
31
41
  export const PULL_SECRET_INFO_LINK = CLUSTER_MANAGER_SITE_LINK;
32
42
 
33
43
  export const getEncryptingDiskDuringInstallationDocsLink = (ocpVersion?: string) =>
34
- `https://docs.redhat.com/en/documentation/openshift_container_platform/${getShortOpenshiftVersion(
44
+ `https://docs.redhat.com/en/documentation/openshift_container_platform/${getDocsOpenshiftVersion(
35
45
  ocpVersion,
36
46
  )}/html/installation_configuration/installing-customizing#installation-special-config-encrypt-disk_installing-customizing`;
37
47
 
38
48
  //Networking page
39
- export const getOpenShiftNetworkingDocsLink = (ocpVersion?: string) =>
40
- `https://docs.redhat.com/en/documentation/openshift_container_platform/${getShortOpenshiftVersion(
49
+ export const getOpenShiftNetworkingDocsLink = (ocpVersion?: string) => {
50
+ const variant = isMajorMinorVersionEqualOrGreater(ocpVersion, '4.18')
51
+ ? 'user-provisioned-infrastructure'
52
+ : 'installing-bare-metal';
53
+ return `https://docs.redhat.com/en/documentation/openshift_container_platform/${getDocsOpenshiftVersion(
41
54
  ocpVersion,
42
- )}/html/installing_on_bare_metal/${
43
- getShortOpenshiftVersion(ocpVersion) > 4.17
44
- ? 'user-provisioned-infrastructure'
45
- : 'installing-bare-metal'
46
- }#installation-network-user-infra_installing-bare-metal`;
55
+ )}/html/installing_on_bare_metal/${variant}#installation-network-user-infra_installing-bare-metal`;
56
+ };
47
57
 
48
58
  export const SSH_GENERATION_DOC_LINK = 'https://www.redhat.com/sysadmin/configure-ssh-keygen';
49
59
 
@@ -52,7 +62,7 @@ export const getOcpConsoleNodesPage = (ocpConsoleUrl: string) =>
52
62
  `${ocpConsoleUrl}/k8s/cluster/nodes`;
53
63
 
54
64
  export const getApproveNodesInClLink = (ocpVersion?: string) =>
55
- `https://docs.redhat.com/en/documentation/openshift_container_platform/${getShortOpenshiftVersion(
65
+ `https://docs.redhat.com/en/documentation/openshift_container_platform/${getDocsOpenshiftVersion(
56
66
  ocpVersion,
57
67
  )}/html/installing_on_any_platform/installing-platform-agnostic#installation-approve-csrs_installing-platform-agnostic`;
58
68
 
@@ -90,18 +100,20 @@ export const OSC_REQUIREMENTS_LINK =
90
100
 
91
101
  export const CNV_LINK = 'https://cloud.redhat.com/learn/topics/virtualization/';
92
102
 
93
- export const KMM_LINK =
94
- 'https://docs.redhat.com/en/documentation/openshift_container_platform/4.12/html/specialized_hardware_and_driver_enablement/kernel-module-management-operator';
103
+ export const getKmmDocsLink = (ocpVersion?: string) =>
104
+ `https://docs.redhat.com/en/documentation/openshift_container_platform/${getDocsOpenshiftVersion(
105
+ ocpVersion,
106
+ )}/html/specialized_hardware_and_driver_enablement/kernel-module-management-operator`;
95
107
 
96
108
  export const ODF_LINK = 'https://www.redhat.com/en/resources/openshift-data-foundation-datasheet';
97
109
 
98
110
  export const getMceDocsLink = (ocpVersion?: string) =>
99
- `https://docs.redhat.com/en/documentation/openshift_container_platform/${getShortOpenshiftVersion(
111
+ `https://docs.redhat.com/en/documentation/openshift_container_platform/${getDocsOpenshiftVersion(
100
112
  ocpVersion,
101
113
  )}/html/architecture/about-the-multicluster-engine-for-kubernetes-operator`;
102
114
 
103
115
  export const getLvmsDocsLink = (ocpVersion?: string) =>
104
- `https://docs.redhat.com/en/documentation/openshift_container_platform/${getShortOpenshiftVersion(
116
+ `https://docs.redhat.com/en/documentation/openshift_container_platform/${getDocsOpenshiftVersion(
105
117
  ocpVersion,
106
118
  )}/html/storage/configuring-persistent-storage#overview-of-lvm-storage-functionality_ways-to-provision-local-storage`;
107
119
 
@@ -118,7 +130,7 @@ export const NODE_MAINTENANCE_LINK =
118
130
  'https://docs.redhat.com/en/documentation/workload_availability_for_red_hat_openshift/latest/html/remediation_fencing_and_maintenance/node-maintenance-operator';
119
131
 
120
132
  export const getKubeDeschedulerLink = (ocpVersion?: string) =>
121
- `https://docs.redhat.com/en/documentation/openshift_container_platform/${getShortOpenshiftVersion(
133
+ `https://docs.redhat.com/en/documentation/openshift_container_platform/${getDocsOpenshiftVersion(
122
134
  ocpVersion,
123
135
  )}/html/nodes/controlling-pod-placement-onto-nodes-scheduling#descheduler`;
124
136
 
@@ -146,42 +158,65 @@ export const OPENSHIFT_AI_LINK =
146
158
  export const OSC_LINK = 'https://docs.redhat.com/en/documentation/openshift_sandboxed_containers';
147
159
 
148
160
  export const getMtuLink = (ocpVersion?: string) =>
149
- `https://docs.redhat.com/en/documentation/openshift_container_platform/${getShortOpenshiftVersion(
161
+ `https://docs.redhat.com/en/documentation/openshift_container_platform/${getDocsOpenshiftVersion(
150
162
  ocpVersion,
151
163
  )}/html/networking/changing-cluster-network-mtu#nw-cluster-mtu-change-about_changing-cluster-network-mtu`;
152
164
 
153
- export const AUTHORINO_OPERATOR_LINK = 'https://github.com/Kuadrant/authorino-operator';
165
+ export const AUTHORINO_OPERATOR_LINK =
166
+ 'https://github.com/Kuadrant/authorino-operator/blob/main/README.md';
154
167
 
155
- export const getLsoLink = (ocpVersion?: string) =>
156
- `https://docs.openshift.com/container-platform/${getShortOpenshiftVersion(
157
- ocpVersion,
158
- )}/storage/persistent_storage/persistent_storage_local/ways-to-provision-local-storage.html`;
168
+ export const getLsoLink = (ocpVersion?: string) => {
169
+ const version = getDocsOpenshiftVersion(ocpVersion);
170
+ return isMajorMinorVersionEqualOrGreater(ocpVersion, '4.19')
171
+ ? `https://docs.redhat.com/en/documentation/openshift_container_platform/${version}/html/storage/configuring-persistent-storage#persistent-storage-using-local-storage`
172
+ : `https://docs.openshift.com/container-platform/${version}/storage/persistent_storage/persistent_storage_local/ways-to-provision-local-storage.html`;
173
+ };
159
174
 
160
175
  export const getNmstateLink = (ocpVersion?: string) =>
161
- `https://docs.openshift.com/container-platform/${getShortOpenshiftVersion(
176
+ `https://docs.redhat.com/en/documentation/openshift_container_platform/${getDocsOpenshiftVersion(
162
177
  ocpVersion,
163
- )}/networking/networking_operators/k8s-nmstate-about-the-k8s-nmstate-operator.html`;
178
+ )}/html/networking/networking-operators#k8s-nmstate-about-the-k8s-nmstate-operator`;
164
179
 
165
180
  export const getNodeFeatureDiscoveryLink = (ocpVersion?: string) =>
166
- `https://docs.openshift.com/container-platform/${getShortOpenshiftVersion(
181
+ `https://docs.redhat.com/en/documentation/openshift_container_platform/${getDocsOpenshiftVersion(
167
182
  ocpVersion,
168
- )}/hardware_enablement/psap-node-feature-discovery-operator.html`;
183
+ )}/html/specialized_hardware_and_driver_enablement/psap-node-feature-discovery-operator`;
169
184
 
170
- export const getNvidiaGpuLink = (ocpVersion?: string) =>
171
- `https://docs.openshift.com/container-platform/${getShortOpenshiftVersion(
172
- ocpVersion,
173
- )}/virt/virtual_machines/advanced_vm_management/virt-configuring-virtual-gpus.html`;
185
+ export const getNvidiaGpuLink = (ocpVersion?: string) => {
186
+ const version = getDocsOpenshiftVersion(ocpVersion);
187
+ return isMajorMinorVersionEqualOrGreater(ocpVersion, '4.18')
188
+ ? `https://docs.redhat.com/en/documentation/openshift_container_platform/${version}/html/virtualization/managing-vms#virt-configuring-virtual-gpus`
189
+ : `https://docs.openshift.com/container-platform/${version}/virt/virtual_machines/advanced_vm_management/virt-configuring-virtual-gpus.html`;
190
+ };
174
191
 
175
192
  export const PIPELINES_OPERATOR_LINK =
176
- 'https://docs.openshift.com/pipelines/1.17/install_config/installing-pipelines.html';
193
+ 'https://docs.redhat.com/en/documentation/red_hat_openshift_pipelines/1.18/html/installing_and_configuring/installing-pipelines';
177
194
 
178
- export const getServiceMeshLink = (ocpVersion?: string) =>
179
- `https://docs.openshift.com/container-platform/${getShortOpenshiftVersion(
180
- ocpVersion,
181
- )}/service_mesh/v1x/preparing-ossm-installation.html`;
195
+ export const SERVICE_MESH_OPERATOR_LINK =
196
+ 'https://docs.redhat.com/en/documentation/red_hat_openshift_service_mesh/3.0/html/installing/ossm-installing-service-mesh';
182
197
 
183
198
  export const SERVERLESS_OPERATOR_LINK =
184
- 'https://docs.openshift.com/serverless/1.28/install/install-serverless-operator.html#serverless-install-web-console_install-serverless-operator';
199
+ 'https://docs.redhat.com/en/documentation/red_hat_openshift_serverless/1.36/html/installing_openshift_serverless/install-serverless-operator#serverless-install-web-console_install-serverless-operator';
185
200
 
186
201
  export const KUBECONFIG_INFO_LINK =
187
202
  'https://docs.redhat.com/en/documentation/openshift_container_platform/4.18/html/cli_tools/openshift-cli-oc#about-switches-between-cli-profiles_managing-cli-profiles';
203
+
204
+ export const getOadpLink = (ocpVersion?: string) =>
205
+ `https://docs.redhat.com/en/documentation/openshift_container_platform/${getDocsOpenshiftVersion(
206
+ ocpVersion,
207
+ )}/html/backup_and_restore/oadp-application-backup-and-restore`;
208
+
209
+ export const getMetalLbLink = (ocpVersion?: string) =>
210
+ `https://docs.redhat.com/en/documentation/openshift_container_platform/${getDocsOpenshiftVersion(
211
+ ocpVersion,
212
+ )}/html/networking_operators/metallb-operator`;
213
+
214
+ export const getClusterObservabilityLink = (ocpVersion?: string) =>
215
+ `https://docs.redhat.com/en/documentation/openshift_container_platform/${getDocsOpenshiftVersion(
216
+ ocpVersion,
217
+ )}/html/cluster_observability_operator/cluster-observability-operator-overview`;
218
+
219
+ export const getNumaResourcesLink = (ocpVersion?: string) =>
220
+ `https://docs.redhat.com/en/documentation/openshift_container_platform/${getDocsOpenshiftVersion(
221
+ ocpVersion,
222
+ )}/html/scalability_and_performance/cnf-numa-aware-scheduling`;
@@ -56,8 +56,7 @@ export const isCompact = (cluster: Pick<Cluster, 'hosts'>) => {
56
56
  return !cluster.hosts || cluster.hosts.length <= 3;
57
57
  };
58
58
 
59
- export const isSNO = ({ highAvailabilityMode }: Partial<Cluster>) =>
60
- highAvailabilityMode === 'None';
59
+ export const isSNO = ({ controlPlaneCount }: Partial<Cluster>) => controlPlaneCount === 1;
61
60
 
62
61
  export const selectClusterValidationsInfo = ({
63
62
  validationsInfo,
@@ -76,18 +76,12 @@ export const getSupportedCpuArchitectures = (
76
76
  day1CpuArchitecture?: SupportedCpuArchitecture,
77
77
  ): SupportedCpuArchitecture[] => {
78
78
  const newSupportedCpuArchs: SupportedCpuArchitecture[] = [];
79
- //Power/Z clusters can be only homogeneous clusters
80
- if (
81
- day1CpuArchitecture === CpuArchitecture.ppc64le ||
82
- day1CpuArchitecture === CpuArchitecture.s390x
83
- ) {
79
+ //Power clusters can be only homogeneous clusters
80
+ if (day1CpuArchitecture === CpuArchitecture.ppc64le) {
84
81
  newSupportedCpuArchs.push(day1CpuArchitecture);
85
82
  } else {
86
83
  cpuArchitectures.forEach((cpuArch) => {
87
- if (
88
- day1CpuArchitecture === undefined &&
89
- (cpuArch === CpuArchitecture.ppc64le || cpuArch === CpuArchitecture.s390x)
90
- ) {
84
+ if (day1CpuArchitecture === undefined && cpuArch === CpuArchitecture.ppc64le) {
91
85
  newSupportedCpuArchs.push(cpuArch);
92
86
  } else if (
93
87
  cpuArch !== CpuArchitecture.MULTI &&
@@ -3,4 +3,5 @@ export type UISettingsValues = {
3
3
  customManifestsAdded?: boolean;
4
4
  customManifestsUpdated?: boolean;
5
5
  bundlesSelected?: string[];
6
+ isAssistedMigration?: boolean;
6
7
  };