@openshift-assisted/ui-lib 2.38.5 → 2.39.1

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 (525) hide show
  1. package/build/@types/cim/components/ClusterDeployment/ACMClusterDeploymentDetailsStep.d.ts +2 -3
  2. package/build/@types/cim/components/ClusterDeployment/ACMClusterDeploymentDetailsStep.d.ts.map +1 -1
  3. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentDetailsForm.d.ts +3 -0
  4. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentDetailsForm.d.ts.map +1 -1
  5. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentDetailsStep.d.ts.map +1 -1
  6. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostDiscoveryTable.d.ts.map +1 -1
  7. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostSelectionStep.d.ts.map +1 -1
  8. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscovery.d.ts.map +1 -1
  9. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscoveryStep.d.ts +1 -1
  10. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscoveryStep.d.ts.map +1 -1
  11. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentNetworkingStep.d.ts +15 -2
  12. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentNetworkingStep.d.ts.map +1 -1
  13. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentReviewStep.d.ts +1 -2
  14. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentReviewStep.d.ts.map +1 -1
  15. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizard.d.ts +1 -2
  16. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizard.d.ts.map +1 -1
  17. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizardContext.d.ts +8 -7
  18. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizardContext.d.ts.map +1 -1
  19. package/build/@types/cim/components/ClusterDeployment/ClusterDetailsFormFields.d.ts +4 -2
  20. package/build/@types/cim/components/ClusterDeployment/ClusterDetailsFormFields.d.ts.map +1 -1
  21. package/build/@types/cim/components/ClusterDeployment/components/ClusterDeploymentHostsSelectionAdvanced.d.ts +17 -0
  22. package/build/@types/cim/components/ClusterDeployment/components/ClusterDeploymentHostsSelectionAdvanced.d.ts.map +1 -0
  23. package/build/@types/cim/components/ClusterDeployment/components/ClusterScaleUpAutoHostsSelection.d.ts +8 -0
  24. package/build/@types/cim/components/ClusterDeployment/components/ClusterScaleUpAutoHostsSelection.d.ts.map +1 -0
  25. package/build/@types/cim/components/ClusterDeployment/components/ValidationSection.d.ts +16 -0
  26. package/build/@types/cim/components/ClusterDeployment/components/ValidationSection.d.ts.map +1 -0
  27. package/build/@types/cim/components/ClusterDeployment/constants.d.ts +2 -0
  28. package/build/@types/cim/components/ClusterDeployment/constants.d.ts.map +1 -1
  29. package/build/@types/cim/components/ClusterDeployment/index.d.ts +1 -2
  30. package/build/@types/cim/components/ClusterDeployment/index.d.ts.map +1 -1
  31. package/build/@types/cim/components/ClusterDeployment/networkConfigurationValidation.d.ts +1 -11
  32. package/build/@types/cim/components/ClusterDeployment/networkConfigurationValidation.d.ts.map +1 -1
  33. package/build/@types/cim/components/ClusterDeployment/types.d.ts +7 -9
  34. package/build/@types/cim/components/ClusterDeployment/types.d.ts.map +1 -1
  35. package/build/@types/cim/components/ClusterDeployment/use-networking-formik.d.ts +8 -2
  36. package/build/@types/cim/components/ClusterDeployment/use-networking-formik.d.ts.map +1 -1
  37. package/build/@types/cim/components/ClusterDeployment/wizardTransition.d.ts +1 -1
  38. package/build/@types/cim/components/ClusterDeployment/wizardTransition.d.ts.map +1 -1
  39. package/build/@types/cim/components/Hypershift/DetailsPage/HypershiftKubeconfigDownload.d.ts.map +1 -1
  40. package/build/@types/cim/components/Hypershift/types.d.ts +6 -3
  41. package/build/@types/cim/components/Hypershift/types.d.ts.map +1 -1
  42. package/build/@types/cim/components/InfraEnv/InfraEnvAgentTable.d.ts.map +1 -1
  43. package/build/@types/cim/components/InfraEnv/InfraEnvOpenShiftVersionDropdown.d.ts +7 -0
  44. package/build/@types/cim/components/InfraEnv/InfraEnvOpenShiftVersionDropdown.d.ts.map +1 -0
  45. package/build/@types/cim/components/common/CpuArchitectureDropdown.d.ts +2 -1
  46. package/build/@types/cim/components/common/CpuArchitectureDropdown.d.ts.map +1 -1
  47. package/build/@types/cim/components/helpers/agents.d.ts +3 -0
  48. package/build/@types/cim/components/helpers/agents.d.ts.map +1 -1
  49. package/build/@types/cim/components/helpers/clusterDeployment.d.ts +1 -1
  50. package/build/@types/cim/components/helpers/toAssisted.d.ts.map +1 -1
  51. package/build/@types/cim/components/helpers/versions.d.ts +2 -2
  52. package/build/@types/cim/components/helpers/versions.d.ts.map +1 -1
  53. package/build/@types/cim/components/modals/EditAgentModal.d.ts.map +1 -1
  54. package/build/@types/cim/components/modals/ScaleUpModal.d.ts +3 -0
  55. package/build/@types/cim/components/modals/ScaleUpModal.d.ts.map +1 -1
  56. package/build/@types/common/api/index.d.ts +1 -0
  57. package/build/@types/common/api/index.d.ts.map +1 -1
  58. package/build/@types/common/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts +2 -2
  59. package/build/@types/common/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts.map +1 -1
  60. package/build/@types/common/components/clusterDetail/index.d.ts +1 -0
  61. package/build/@types/common/components/clusterDetail/index.d.ts.map +1 -1
  62. package/build/@types/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.d.ts.map +1 -1
  63. package/build/@types/common/components/hosts/EditHostForm.d.ts.map +1 -1
  64. package/build/@types/common/components/hosts/HostPropertyValidationPopover.d.ts.map +1 -1
  65. package/build/@types/common/components/newFeatureSupportLevels/types.d.ts +4 -2
  66. package/build/@types/common/components/newFeatureSupportLevels/types.d.ts.map +1 -1
  67. package/build/@types/common/components/storage/DisksTable.d.ts.map +1 -1
  68. package/build/@types/common/components/ui/DeveloperPreview.d.ts.map +1 -1
  69. package/build/@types/common/components/ui/{OpenshiftSelectWithSearch.d.ts → OpenShiftSelectWithSearch.d.ts} +3 -3
  70. package/build/@types/common/components/ui/OpenShiftSelectWithSearch.d.ts.map +1 -0
  71. package/build/@types/common/components/ui/OpenShiftVersionDropdown.d.ts +2 -2
  72. package/build/@types/common/components/ui/OpenShiftVersionDropdown.d.ts.map +1 -1
  73. package/build/@types/common/components/ui/OpenShiftVersionModal.d.ts +12 -0
  74. package/build/@types/common/components/ui/OpenShiftVersionModal.d.ts.map +1 -0
  75. package/build/@types/common/components/ui/WizardFooter.d.ts +1 -0
  76. package/build/@types/common/components/ui/WizardFooter.d.ts.map +1 -1
  77. package/build/@types/common/components/ui/formik/RichInputField.d.ts.map +1 -1
  78. package/build/@types/common/components/ui/formik/validationSchemas.d.ts +1 -1
  79. package/build/@types/common/components/ui/formik/validationSchemas.d.ts.map +1 -1
  80. package/build/@types/common/components/ui/index.d.ts +2 -0
  81. package/build/@types/common/components/ui/index.d.ts.map +1 -1
  82. package/build/@types/common/config/constants.d.ts +20 -0
  83. package/build/@types/common/config/constants.d.ts.map +1 -1
  84. package/build/@types/common/config/docs_links.d.ts +8 -1
  85. package/build/@types/common/config/docs_links.d.ts.map +1 -1
  86. package/build/@types/common/hooks/index.d.ts +1 -0
  87. package/build/@types/common/hooks/index.d.ts.map +1 -1
  88. package/build/@types/common/index.d.ts +1 -0
  89. package/build/@types/common/index.d.ts.map +1 -1
  90. package/build/@types/common/types/clusters.d.ts +5 -0
  91. package/build/@types/common/types/clusters.d.ts.map +1 -1
  92. package/build/@types/ocm/components/clusterConfiguration/HostInventory.d.ts.map +1 -1
  93. package/build/@types/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.d.ts.map +1 -1
  94. package/build/@types/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.d.ts.map +1 -1
  95. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.d.ts +1 -1
  96. package/build/@types/ocm/components/clusterConfiguration/operators/AmdGpuCheckbox.d.ts.map +1 -1
  97. package/build/@types/ocm/components/clusterConfiguration/operators/AuthorinoCheckbox.d.ts.map +1 -1
  98. package/build/@types/ocm/components/clusterConfiguration/operators/FenceAgentsRemediationCheckbox.d.ts +8 -0
  99. package/build/@types/ocm/components/clusterConfiguration/operators/FenceAgentsRemediationCheckbox.d.ts.map +1 -0
  100. package/build/@types/ocm/components/clusterConfiguration/operators/KmmCheckbox.d.ts.map +1 -1
  101. package/build/@types/ocm/components/clusterConfiguration/operators/KubeDeschedulerCheckbox.d.ts +8 -0
  102. package/build/@types/ocm/components/clusterConfiguration/operators/KubeDeschedulerCheckbox.d.ts.map +1 -0
  103. package/build/@types/ocm/components/clusterConfiguration/operators/LsoCheckbox.d.ts.map +1 -1
  104. package/build/@types/ocm/components/clusterConfiguration/operators/MtvOperatorCheckbox.d.ts.map +1 -1
  105. package/build/@types/ocm/components/clusterConfiguration/operators/NodeFeatureDiscoveryCheckbox.d.ts.map +1 -1
  106. package/build/@types/ocm/components/clusterConfiguration/operators/NodeHealthcheckCheckbox.d.ts +8 -0
  107. package/build/@types/ocm/components/clusterConfiguration/operators/NodeHealthcheckCheckbox.d.ts.map +1 -0
  108. package/build/@types/ocm/components/clusterConfiguration/operators/NodeMaintenanceOperatorCheckbox.d.ts +8 -0
  109. package/build/@types/ocm/components/clusterConfiguration/operators/NodeMaintenanceOperatorCheckbox.d.ts.map +1 -0
  110. package/build/@types/ocm/components/clusterConfiguration/operators/NvidiaGpuCheckbox.d.ts.map +1 -1
  111. package/build/@types/ocm/components/clusterConfiguration/operators/PipelinesChekbox.d.ts.map +1 -1
  112. package/build/@types/ocm/components/clusterConfiguration/operators/SelfNodeRemediationCheckbox.d.ts +8 -0
  113. package/build/@types/ocm/components/clusterConfiguration/operators/SelfNodeRemediationCheckbox.d.ts.map +1 -0
  114. package/build/@types/ocm/components/clusterConfiguration/operators/ServerlessCheckbox.d.ts.map +1 -1
  115. package/build/@types/ocm/components/clusterConfiguration/operators/ServicemeshCheckbox.d.ts.map +1 -1
  116. package/build/@types/ocm/components/clusterConfiguration/operators/SupportedOperators.d.ts.map +1 -1
  117. package/build/@types/ocm/components/clusterConfiguration/operators/VirtualizationRequirements.d.ts.map +1 -1
  118. package/build/@types/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.d.ts.map +1 -1
  119. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.d.ts.map +1 -1
  120. package/build/@types/ocm/components/clusterWizard/ClusterDetailsForm.d.ts.map +1 -1
  121. package/build/@types/ocm/components/clusterWizard/ClusterWizard.d.ts.map +1 -1
  122. package/build/@types/ocm/components/clusterWizard/ClusterWizardContextProvider.d.ts.map +1 -1
  123. package/build/@types/ocm/components/clusterWizard/ClusterWizardFooter.d.ts.map +1 -1
  124. package/build/@types/ocm/components/clusterWizard/KubeconfigDownload.d.ts +7 -0
  125. package/build/@types/ocm/components/clusterWizard/KubeconfigDownload.d.ts.map +1 -0
  126. package/build/@types/ocm/components/clusterWizard/{OpenshiftVersionsContext.d.ts → OpenShiftVersionsContext.d.ts} +4 -4
  127. package/build/@types/ocm/components/clusterWizard/{OpenshiftVersionsContext.d.ts.map → OpenShiftVersionsContext.d.ts.map} +1 -1
  128. package/build/@types/ocm/components/clusterWizard/Operators.d.ts.map +1 -1
  129. package/build/@types/ocm/components/clusterWizard/OperatorsStep.d.ts.map +1 -1
  130. package/build/@types/ocm/components/clusterWizard/constants.d.ts.map +1 -1
  131. package/build/@types/ocm/components/clusterWizard/index.d.ts +2 -0
  132. package/build/@types/ocm/components/clusterWizard/index.d.ts.map +1 -1
  133. package/build/@types/ocm/components/clusterWizard/wizardTransition.d.ts +2 -2
  134. package/build/@types/ocm/components/clusterWizard/wizardTransition.d.ts.map +1 -1
  135. package/build/@types/ocm/components/clusters/ClusterPage.d.ts +2 -1
  136. package/build/@types/ocm/components/clusters/ClusterPage.d.ts.map +1 -1
  137. package/build/@types/ocm/components/clusters/index.d.ts +3 -0
  138. package/build/@types/ocm/components/clusters/index.d.ts.map +1 -1
  139. package/build/@types/ocm/components/featureSupportLevels/featureStateUtils.d.ts +1 -0
  140. package/build/@types/ocm/components/featureSupportLevels/featureStateUtils.d.ts.map +1 -1
  141. package/build/@types/ocm/components/hosts/ModalDialogsContext.d.ts +5 -1
  142. package/build/@types/ocm/components/hosts/ModalDialogsContext.d.ts.map +1 -1
  143. package/build/@types/ocm/components/index.d.ts +2 -0
  144. package/build/@types/ocm/components/index.d.ts.map +1 -1
  145. package/build/@types/ocm/hooks/index.d.ts +2 -0
  146. package/build/@types/ocm/hooks/index.d.ts.map +1 -1
  147. package/build/@types/ocm/index.d.ts +1 -0
  148. package/build/@types/ocm/index.d.ts.map +1 -1
  149. package/build/@types/ocm/services/OperatorsService.d.ts +1 -1
  150. package/build/@types/ocm/services/OperatorsService.d.ts.map +1 -1
  151. package/build/cjs/cim/components/ClusterDeployment/ACMClusterDeploymentDetailsStep.js +9 -7
  152. package/build/cjs/cim/components/ClusterDeployment/ACMClusterDeploymentDetailsStep.js.map +1 -1
  153. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetailsForm.js +40 -14
  154. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetailsForm.js.map +1 -1
  155. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetailsStep.js +13 -29
  156. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetailsStep.js.map +1 -1
  157. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostDiscoveryTable.js +2 -12
  158. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostDiscoveryTable.js.map +1 -1
  159. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostSelectionStep.js +50 -26
  160. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostSelectionStep.js.map +1 -1
  161. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscovery.js +3 -3
  162. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscovery.js.map +1 -1
  163. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscoveryStep.js +39 -21
  164. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscoveryStep.js.map +1 -1
  165. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentNetworkingStep.js +58 -27
  166. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentNetworkingStep.js.map +1 -1
  167. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentReviewStep.js +24 -24
  168. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentReviewStep.js.map +1 -1
  169. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizard.js +26 -42
  170. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizard.js.map +1 -1
  171. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizardContext.js +12 -8
  172. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizardContext.js.map +1 -1
  173. package/build/cjs/cim/components/ClusterDeployment/ClusterDetailsFormFields.js +24 -9
  174. package/build/cjs/cim/components/ClusterDeployment/ClusterDetailsFormFields.js.map +1 -1
  175. package/build/cjs/cim/components/ClusterDeployment/NetworkConfiguration.js +5 -5
  176. package/build/cjs/cim/components/ClusterDeployment/NetworkConfiguration.js.map +1 -1
  177. package/build/cjs/cim/components/ClusterDeployment/components/ClusterDeploymentHostsSelectionAdvanced.js +50 -0
  178. package/build/cjs/cim/components/ClusterDeployment/components/ClusterDeploymentHostsSelectionAdvanced.js.map +1 -0
  179. package/build/cjs/cim/components/ClusterDeployment/components/ClusterScaleUpAutoHostsSelection.js +24 -0
  180. package/build/cjs/cim/components/ClusterDeployment/components/ClusterScaleUpAutoHostsSelection.js.map +1 -0
  181. package/build/cjs/cim/components/ClusterDeployment/components/ValidationSection.js +17 -0
  182. package/build/cjs/cim/components/ClusterDeployment/components/ValidationSection.js.map +1 -0
  183. package/build/cjs/cim/components/ClusterDeployment/constants.js +2 -0
  184. package/build/cjs/cim/components/ClusterDeployment/constants.js.map +1 -1
  185. package/build/cjs/cim/components/ClusterDeployment/index.js +2 -5
  186. package/build/cjs/cim/components/ClusterDeployment/index.js.map +1 -1
  187. package/build/cjs/cim/components/ClusterDeployment/networkConfigurationValidation.js +1 -14
  188. package/build/cjs/cim/components/ClusterDeployment/networkConfigurationValidation.js.map +1 -1
  189. package/build/cjs/cim/components/ClusterDeployment/use-networking-formik.js +2 -2
  190. package/build/cjs/cim/components/ClusterDeployment/use-networking-formik.js.map +1 -1
  191. package/build/cjs/cim/components/Hypershift/DetailsPage/HypershiftKubeconfigDownload.js +6 -4
  192. package/build/cjs/cim/components/Hypershift/DetailsPage/HypershiftKubeconfigDownload.js.map +1 -1
  193. package/build/cjs/cim/components/InfraEnv/InfraEnvAgentTable.js +2 -12
  194. package/build/cjs/cim/components/InfraEnv/InfraEnvAgentTable.js.map +1 -1
  195. package/build/cjs/cim/components/InfraEnv/InfraEnvFormPage.js +2 -2
  196. package/build/cjs/cim/components/InfraEnv/InfraEnvFormPage.js.map +1 -1
  197. package/build/cjs/cim/components/InfraEnv/{OpenshiftVersionDropdown.js → InfraEnvOpenShiftVersionDropdown.js} +3 -3
  198. package/build/cjs/cim/components/InfraEnv/InfraEnvOpenShiftVersionDropdown.js.map +1 -0
  199. package/build/cjs/cim/components/common/CpuArchitectureDropdown.js +14 -19
  200. package/build/cjs/cim/components/common/CpuArchitectureDropdown.js.map +1 -1
  201. package/build/cjs/cim/components/helpers/agents.js +19 -1
  202. package/build/cjs/cim/components/helpers/agents.js.map +1 -1
  203. package/build/cjs/cim/components/helpers/toAssisted.js +25 -23
  204. package/build/cjs/cim/components/helpers/toAssisted.js.map +1 -1
  205. package/build/cjs/cim/components/helpers/versions.js +19 -11
  206. package/build/cjs/cim/components/helpers/versions.js.map +1 -1
  207. package/build/cjs/cim/components/modals/EditAgentModal.js +2 -2
  208. package/build/cjs/cim/components/modals/EditAgentModal.js.map +1 -1
  209. package/build/cjs/cim/components/modals/ScaleUpModal.js +3 -2
  210. package/build/cjs/cim/components/modals/ScaleUpModal.js.map +1 -1
  211. package/build/cjs/common/api/index.js +1 -0
  212. package/build/cjs/common/api/index.js.map +1 -1
  213. package/build/cjs/common/components/clusterConfiguration/ControlPlaneNodesDropdown.js +11 -9
  214. package/build/cjs/common/components/clusterConfiguration/ControlPlaneNodesDropdown.js.map +1 -1
  215. package/build/cjs/common/components/clusterDetail/index.js +3 -1
  216. package/build/cjs/common/components/clusterDetail/index.js.map +1 -1
  217. package/build/cjs/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.js +14 -18
  218. package/build/cjs/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.js.map +1 -1
  219. package/build/cjs/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.js +4 -4
  220. package/build/cjs/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.js.map +1 -1
  221. package/build/cjs/common/components/hosts/EditHostForm.js +3 -3
  222. package/build/cjs/common/components/hosts/EditHostForm.js.map +1 -1
  223. package/build/cjs/common/components/hosts/HostPropertyValidationPopover.js +12 -9
  224. package/build/cjs/common/components/hosts/HostPropertyValidationPopover.js.map +1 -1
  225. package/build/cjs/common/components/storage/DisksTable.js +0 -2
  226. package/build/cjs/common/components/storage/DisksTable.js.map +1 -1
  227. package/build/cjs/common/components/ui/DeveloperPreview.js +2 -1
  228. package/build/cjs/common/components/ui/DeveloperPreview.js.map +1 -1
  229. package/build/cjs/common/components/ui/{OpenshiftSelectWithSearch.js → OpenShiftSelectWithSearch.js} +6 -6
  230. package/build/cjs/common/components/ui/{OpenshiftSelectWithSearch.js.map → OpenShiftSelectWithSearch.js.map} +1 -1
  231. package/build/cjs/common/components/ui/OpenShiftVersionDropdown.css +9 -0
  232. package/build/cjs/common/components/ui/OpenShiftVersionDropdown.js +2 -2
  233. package/build/cjs/common/components/ui/OpenShiftVersionDropdown.js.map +1 -1
  234. package/build/cjs/{ocm/components/clusterConfiguration → common/components/ui}/OpenShiftVersionModal.js +4 -6
  235. package/build/cjs/common/components/ui/OpenShiftVersionModal.js.map +1 -0
  236. package/build/cjs/common/components/ui/WizardFooter.js +5 -3
  237. package/build/cjs/common/components/ui/WizardFooter.js.map +1 -1
  238. package/build/cjs/common/components/ui/formik/RichInputField.js +3 -2
  239. package/build/cjs/common/components/ui/formik/RichInputField.js.map +1 -1
  240. package/build/cjs/common/components/ui/formik/validationSchemas.js +18 -15
  241. package/build/cjs/common/components/ui/formik/validationSchemas.js.map +1 -1
  242. package/build/cjs/common/components/ui/index.js +2 -0
  243. package/build/cjs/common/components/ui/index.js.map +1 -1
  244. package/build/cjs/common/config/constants.js +33 -2
  245. package/build/cjs/common/config/constants.js.map +1 -1
  246. package/build/cjs/common/config/docs_links.js +22 -9
  247. package/build/cjs/common/config/docs_links.js.map +1 -1
  248. package/build/cjs/common/hooks/index.js +3 -1
  249. package/build/cjs/common/hooks/index.js.map +1 -1
  250. package/build/cjs/common/index.js +1 -0
  251. package/build/cjs/common/index.js.map +1 -1
  252. package/build/cjs/common/types/clusters.js.map +1 -1
  253. package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2ClusterDetails.js +2 -2
  254. package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.js +2 -2
  255. package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabMock.js +2 -2
  256. package/build/cjs/ocm/components/clusterConfiguration/HostInventory.js.map +1 -1
  257. package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js +3 -4
  258. package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js.map +1 -1
  259. package/build/cjs/ocm/components/clusterConfiguration/OcmOpenShiftVersion.js +1 -1
  260. package/build/cjs/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.js +5 -6
  261. package/build/cjs/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.js.map +1 -1
  262. package/build/cjs/ocm/components/clusterConfiguration/operators/AmdGpuCheckbox.js +2 -2
  263. package/build/cjs/ocm/components/clusterConfiguration/operators/AmdGpuCheckbox.js.map +1 -1
  264. package/build/cjs/ocm/components/clusterConfiguration/operators/AuthorinoCheckbox.js +1 -2
  265. package/build/cjs/ocm/components/clusterConfiguration/operators/AuthorinoCheckbox.js.map +1 -1
  266. package/build/cjs/ocm/components/clusterConfiguration/operators/CnvCheckbox.js +1 -1
  267. package/build/cjs/ocm/components/clusterConfiguration/operators/CnvCheckbox.js.map +1 -1
  268. package/build/cjs/ocm/components/clusterConfiguration/operators/FenceAgentsRemediationCheckbox.js +34 -0
  269. package/build/cjs/ocm/components/clusterConfiguration/operators/FenceAgentsRemediationCheckbox.js.map +1 -0
  270. package/build/cjs/ocm/components/clusterConfiguration/operators/KmmCheckbox.js +9 -3
  271. package/build/cjs/ocm/components/clusterConfiguration/operators/KmmCheckbox.js.map +1 -1
  272. package/build/cjs/ocm/components/clusterConfiguration/operators/KubeDeschedulerCheckbox.js +34 -0
  273. package/build/cjs/ocm/components/clusterConfiguration/operators/KubeDeschedulerCheckbox.js.map +1 -0
  274. package/build/cjs/ocm/components/clusterConfiguration/operators/LsoCheckbox.js +1 -2
  275. package/build/cjs/ocm/components/clusterConfiguration/operators/LsoCheckbox.js.map +1 -1
  276. package/build/cjs/ocm/components/clusterConfiguration/operators/LvmCheckbox.js +0 -1
  277. package/build/cjs/ocm/components/clusterConfiguration/operators/LvmCheckbox.js.map +1 -1
  278. package/build/cjs/ocm/components/clusterConfiguration/operators/MceCheckbox.js +1 -1
  279. package/build/cjs/ocm/components/clusterConfiguration/operators/MceCheckbox.js.map +1 -1
  280. package/build/cjs/ocm/components/clusterConfiguration/operators/MtvOperatorCheckbox.js +2 -2
  281. package/build/cjs/ocm/components/clusterConfiguration/operators/MtvOperatorCheckbox.js.map +1 -1
  282. package/build/cjs/ocm/components/clusterConfiguration/operators/NmstateCheckbox.js +1 -1
  283. package/build/cjs/ocm/components/clusterConfiguration/operators/NmstateCheckbox.js.map +1 -1
  284. package/build/cjs/ocm/components/clusterConfiguration/operators/NodeFeatureDiscoveryCheckbox.js +1 -2
  285. package/build/cjs/ocm/components/clusterConfiguration/operators/NodeFeatureDiscoveryCheckbox.js.map +1 -1
  286. package/build/cjs/ocm/components/clusterConfiguration/operators/NodeHealthcheckCheckbox.js +34 -0
  287. package/build/cjs/ocm/components/clusterConfiguration/operators/NodeHealthcheckCheckbox.js.map +1 -0
  288. package/build/cjs/ocm/components/clusterConfiguration/operators/NodeMaintenanceOperatorCheckbox.js +34 -0
  289. package/build/cjs/ocm/components/clusterConfiguration/operators/NodeMaintenanceOperatorCheckbox.js.map +1 -0
  290. package/build/cjs/ocm/components/clusterConfiguration/operators/NvidiaGpuCheckbox.js +2 -2
  291. package/build/cjs/ocm/components/clusterConfiguration/operators/NvidiaGpuCheckbox.js.map +1 -1
  292. package/build/cjs/ocm/components/clusterConfiguration/operators/OdfCheckbox.js +1 -1
  293. package/build/cjs/ocm/components/clusterConfiguration/operators/OdfCheckbox.js.map +1 -1
  294. package/build/cjs/ocm/components/clusterConfiguration/operators/OpenShiftAICheckbox.js +1 -1
  295. package/build/cjs/ocm/components/clusterConfiguration/operators/OpenShiftAICheckbox.js.map +1 -1
  296. package/build/cjs/ocm/components/clusterConfiguration/operators/OpenshiftAIAmdRequirements.js +1 -1
  297. package/build/cjs/ocm/components/clusterConfiguration/operators/OpenshiftAINvidiaRequirements.js +1 -1
  298. package/build/cjs/ocm/components/clusterConfiguration/operators/OscCheckbox.js +1 -1
  299. package/build/cjs/ocm/components/clusterConfiguration/operators/OscCheckbox.js.map +1 -1
  300. package/build/cjs/ocm/components/clusterConfiguration/operators/PipelinesChekbox.js +1 -2
  301. package/build/cjs/ocm/components/clusterConfiguration/operators/PipelinesChekbox.js.map +1 -1
  302. package/build/cjs/ocm/components/clusterConfiguration/operators/SelfNodeRemediationCheckbox.js +34 -0
  303. package/build/cjs/ocm/components/clusterConfiguration/operators/SelfNodeRemediationCheckbox.js.map +1 -0
  304. package/build/cjs/ocm/components/clusterConfiguration/operators/ServerlessCheckbox.js +1 -2
  305. package/build/cjs/ocm/components/clusterConfiguration/operators/ServerlessCheckbox.js.map +1 -1
  306. package/build/cjs/ocm/components/clusterConfiguration/operators/ServicemeshCheckbox.js +1 -2
  307. package/build/cjs/ocm/components/clusterConfiguration/operators/ServicemeshCheckbox.js.map +1 -1
  308. package/build/cjs/ocm/components/clusterConfiguration/operators/SupportedOperators.js +20 -0
  309. package/build/cjs/ocm/components/clusterConfiguration/operators/SupportedOperators.js.map +1 -1
  310. package/build/cjs/ocm/components/clusterConfiguration/operators/VirtualizationRequirements.js +9 -2
  311. package/build/cjs/ocm/components/clusterConfiguration/operators/VirtualizationRequirements.js.map +1 -1
  312. package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.js +27 -10
  313. package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.js.map +1 -1
  314. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.js +2 -2
  315. package/build/cjs/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.js +1 -1
  316. package/build/cjs/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.js.map +1 -1
  317. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/BondsSelect.js +1 -1
  318. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.js +8 -2
  319. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.js.map +1 -1
  320. package/build/cjs/ocm/components/clusterDetail/AssistedInstallerDetailCard.js +2 -2
  321. package/build/cjs/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.js +2 -2
  322. package/build/cjs/ocm/components/clusterDetail/OpenShiftVersionDetail.js +2 -2
  323. package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js +2 -2
  324. package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js +5 -1
  325. package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js.map +1 -1
  326. package/build/cjs/ocm/components/clusterWizard/ClusterWizard.js +3 -0
  327. package/build/cjs/ocm/components/clusterWizard/ClusterWizard.js.map +1 -1
  328. package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js +1 -2
  329. package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js.map +1 -1
  330. package/build/cjs/ocm/components/clusterWizard/ClusterWizardFooter.js +11 -1
  331. package/build/cjs/ocm/components/clusterWizard/ClusterWizardFooter.js.map +1 -1
  332. package/build/cjs/ocm/components/clusterWizard/KubeconfigDownload.js +21 -0
  333. package/build/cjs/ocm/components/clusterWizard/KubeconfigDownload.js.map +1 -0
  334. package/build/cjs/ocm/components/clusterWizard/{OpenshiftVersionsContext.js → OpenShiftVersionsContext.js} +10 -10
  335. package/build/cjs/ocm/components/clusterWizard/{OpenshiftVersionsContext.js.map → OpenShiftVersionsContext.js.map} +1 -1
  336. package/build/cjs/ocm/components/clusterWizard/Operators.js +5 -0
  337. package/build/cjs/ocm/components/clusterWizard/Operators.js.map +1 -1
  338. package/build/cjs/ocm/components/clusterWizard/OperatorsStep.js +24 -15
  339. package/build/cjs/ocm/components/clusterWizard/OperatorsStep.js.map +1 -1
  340. package/build/cjs/ocm/components/clusterWizard/constants.js +1 -0
  341. package/build/cjs/ocm/components/clusterWizard/constants.js.map +1 -1
  342. package/build/cjs/ocm/components/clusterWizard/index.js +5 -1
  343. package/build/cjs/ocm/components/clusterWizard/index.js.map +1 -1
  344. package/build/cjs/ocm/components/clusterWizard/wizardTransition.js +3 -0
  345. package/build/cjs/ocm/components/clusterWizard/wizardTransition.js.map +1 -1
  346. package/build/cjs/ocm/components/clusters/ClusterPage.js +7 -9
  347. package/build/cjs/ocm/components/clusters/ClusterPage.js.map +1 -1
  348. package/build/cjs/ocm/components/clusters/NewClusterPage.js +2 -2
  349. package/build/cjs/ocm/components/clusters/index.js +7 -1
  350. package/build/cjs/ocm/components/clusters/index.js.map +1 -1
  351. package/build/cjs/ocm/components/featureSupportLevels/FeatureSupportLevelProvider.js +2 -2
  352. package/build/cjs/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.js +2 -2
  353. package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js +10 -4
  354. package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js.map +1 -1
  355. package/build/cjs/ocm/components/hosts/ModalDialogsContext.js +1 -0
  356. package/build/cjs/ocm/components/hosts/ModalDialogsContext.js.map +1 -1
  357. package/build/cjs/ocm/components/index.js +2 -0
  358. package/build/cjs/ocm/components/index.js.map +1 -1
  359. package/build/cjs/ocm/hooks/index.js +5 -1
  360. package/build/cjs/ocm/hooks/index.js.map +1 -1
  361. package/build/cjs/ocm/hooks/useInfraEnv.js +2 -2
  362. package/build/cjs/ocm/hooks/useInfraEnv.js.map +1 -1
  363. package/build/cjs/ocm/index.js +1 -0
  364. package/build/cjs/ocm/index.js.map +1 -1
  365. package/build/cjs/ocm/services/OperatorsService.js +7 -2
  366. package/build/cjs/ocm/services/OperatorsService.js.map +1 -1
  367. package/lib/cim/components/ClusterDeployment/ACMClusterDeploymentDetailsStep.tsx +11 -9
  368. package/lib/cim/components/ClusterDeployment/ClusterDeploymentDetailsForm.tsx +85 -19
  369. package/lib/cim/components/ClusterDeployment/ClusterDeploymentDetailsStep.tsx +25 -53
  370. package/lib/cim/components/ClusterDeployment/ClusterDeploymentHostDiscoveryTable.tsx +7 -16
  371. package/lib/cim/components/ClusterDeployment/ClusterDeploymentHostSelectionStep.tsx +102 -59
  372. package/lib/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscovery.tsx +16 -10
  373. package/lib/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscoveryStep.tsx +84 -48
  374. package/lib/cim/components/ClusterDeployment/ClusterDeploymentNetworkingStep.tsx +106 -54
  375. package/lib/cim/components/ClusterDeployment/ClusterDeploymentReviewStep.tsx +96 -85
  376. package/lib/cim/components/ClusterDeployment/ClusterDeploymentWizard.tsx +109 -119
  377. package/lib/cim/components/ClusterDeployment/ClusterDeploymentWizardContext.tsx +27 -14
  378. package/lib/cim/components/ClusterDeployment/ClusterDetailsFormFields.tsx +54 -13
  379. package/lib/cim/components/ClusterDeployment/NetworkConfiguration.tsx +5 -5
  380. package/lib/cim/components/ClusterDeployment/components/ClusterDeploymentHostsSelectionAdvanced.tsx +107 -0
  381. package/lib/cim/components/ClusterDeployment/components/ClusterScaleUpAutoHostsSelection.tsx +49 -0
  382. package/lib/cim/components/ClusterDeployment/components/ValidationSection.tsx +41 -0
  383. package/lib/cim/components/ClusterDeployment/constants.ts +3 -1
  384. package/lib/cim/components/ClusterDeployment/index.ts +1 -3
  385. package/lib/cim/components/ClusterDeployment/networkConfigurationValidation.ts +1 -26
  386. package/lib/cim/components/ClusterDeployment/types.ts +7 -10
  387. package/lib/cim/components/ClusterDeployment/use-networking-formik.ts +3 -3
  388. package/lib/cim/components/Hypershift/DetailsPage/HypershiftKubeconfigDownload.tsx +4 -2
  389. package/lib/cim/components/Hypershift/types.ts +6 -3
  390. package/lib/cim/components/InfraEnv/InfraEnvAgentTable.tsx +7 -16
  391. package/lib/cim/components/InfraEnv/InfraEnvFormPage.tsx +2 -2
  392. package/lib/cim/components/InfraEnv/{OpenshiftVersionDropdown.tsx → InfraEnvOpenShiftVersionDropdown.tsx} +2 -2
  393. package/lib/cim/components/common/CpuArchitectureDropdown.tsx +51 -40
  394. package/lib/cim/components/helpers/agents.ts +30 -1
  395. package/lib/cim/components/helpers/toAssisted.ts +12 -8
  396. package/lib/cim/components/helpers/versions.ts +20 -6
  397. package/lib/cim/components/modals/EditAgentModal.tsx +2 -1
  398. package/lib/cim/components/modals/ScaleUpModal.tsx +12 -2
  399. package/lib/common/api/index.ts +1 -0
  400. package/lib/common/components/clusterConfiguration/ControlPlaneNodesDropdown.tsx +14 -14
  401. package/lib/common/components/clusterDetail/index.ts +1 -0
  402. package/lib/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.tsx +50 -61
  403. package/lib/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.tsx +4 -4
  404. package/lib/common/components/hosts/EditHostForm.tsx +16 -6
  405. package/lib/common/components/hosts/HostPropertyValidationPopover.tsx +10 -4
  406. package/lib/common/components/newFeatureSupportLevels/types.ts +14 -10
  407. package/lib/common/components/storage/DisksTable.tsx +0 -2
  408. package/lib/common/components/ui/DeveloperPreview.tsx +2 -0
  409. package/lib/common/components/ui/{OpenshiftSelectWithSearch.tsx → OpenShiftSelectWithSearch.tsx} +4 -4
  410. package/lib/common/components/ui/OpenShiftVersionDropdown.css +9 -0
  411. package/lib/common/components/ui/OpenShiftVersionDropdown.tsx +3 -3
  412. package/lib/{ocm/components/clusterConfiguration → common/components/ui}/OpenShiftVersionModal.tsx +9 -9
  413. package/lib/common/components/ui/WizardFooter.tsx +26 -10
  414. package/lib/common/components/ui/formik/RichInputField.tsx +4 -2
  415. package/lib/common/components/ui/formik/validationSchemas.ts +13 -10
  416. package/lib/common/components/ui/index.ts +3 -0
  417. package/lib/common/config/constants.ts +31 -1
  418. package/lib/common/config/docs_links.ts +37 -7
  419. package/lib/common/hooks/index.ts +1 -0
  420. package/lib/common/index.ts +1 -0
  421. package/lib/common/types/clusters.ts +5 -0
  422. package/lib/ocm/components/AddHosts/day2Wizard/Day2ClusterDetails.tsx +2 -2
  423. package/lib/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.tsx +3 -3
  424. package/lib/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabMock.tsx +3 -3
  425. package/lib/ocm/components/clusterConfiguration/HostInventory.tsx +0 -1
  426. package/lib/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.tsx +9 -13
  427. package/lib/ocm/components/clusterConfiguration/OcmOpenShiftVersion.tsx +1 -1
  428. package/lib/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.tsx +9 -5
  429. package/lib/ocm/components/clusterConfiguration/operators/AmdGpuCheckbox.tsx +2 -1
  430. package/lib/ocm/components/clusterConfiguration/operators/AuthorinoCheckbox.tsx +3 -7
  431. package/lib/ocm/components/clusterConfiguration/operators/CnvCheckbox.tsx +1 -1
  432. package/lib/ocm/components/clusterConfiguration/operators/FenceAgentsRemediationCheckbox.tsx +71 -0
  433. package/lib/ocm/components/clusterConfiguration/operators/KmmCheckbox.tsx +9 -8
  434. package/lib/ocm/components/clusterConfiguration/operators/KubeDeschedulerCheckbox.tsx +66 -0
  435. package/lib/ocm/components/clusterConfiguration/operators/LsoCheckbox.tsx +2 -7
  436. package/lib/ocm/components/clusterConfiguration/operators/LvmCheckbox.tsx +1 -1
  437. package/lib/ocm/components/clusterConfiguration/operators/MceCheckbox.tsx +1 -1
  438. package/lib/ocm/components/clusterConfiguration/operators/MtvOperatorCheckbox.tsx +3 -4
  439. package/lib/ocm/components/clusterConfiguration/operators/NmstateCheckbox.tsx +1 -1
  440. package/lib/ocm/components/clusterConfiguration/operators/NodeFeatureDiscoveryCheckbox.tsx +2 -7
  441. package/lib/ocm/components/clusterConfiguration/operators/NodeHealthcheckCheckbox.tsx +66 -0
  442. package/lib/ocm/components/clusterConfiguration/operators/NodeMaintenanceOperatorCheckbox.tsx +66 -0
  443. package/lib/ocm/components/clusterConfiguration/operators/NvidiaGpuCheckbox.tsx +2 -1
  444. package/lib/ocm/components/clusterConfiguration/operators/OdfCheckbox.tsx +1 -1
  445. package/lib/ocm/components/clusterConfiguration/operators/OpenShiftAICheckbox.tsx +1 -1
  446. package/lib/ocm/components/clusterConfiguration/operators/OpenshiftAIAmdRequirements.tsx +1 -1
  447. package/lib/ocm/components/clusterConfiguration/operators/OpenshiftAINvidiaRequirements.tsx +1 -1
  448. package/lib/ocm/components/clusterConfiguration/operators/OscCheckbox.tsx +1 -1
  449. package/lib/ocm/components/clusterConfiguration/operators/PipelinesChekbox.tsx +2 -7
  450. package/lib/ocm/components/clusterConfiguration/operators/SelfNodeRemediationCheckbox.tsx +68 -0
  451. package/lib/ocm/components/clusterConfiguration/operators/ServerlessCheckbox.tsx +2 -7
  452. package/lib/ocm/components/clusterConfiguration/operators/ServicemeshCheckbox.tsx +2 -7
  453. package/lib/ocm/components/clusterConfiguration/operators/SupportedOperators.tsx +25 -0
  454. package/lib/ocm/components/clusterConfiguration/operators/VirtualizationRequirements.tsx +9 -0
  455. package/lib/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.tsx +55 -30
  456. package/lib/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.tsx +2 -2
  457. package/lib/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.tsx +1 -1
  458. package/lib/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/BondsSelect.tsx +1 -1
  459. package/lib/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.tsx +13 -8
  460. package/lib/ocm/components/clusterDetail/AssistedInstallerDetailCard.tsx +3 -3
  461. package/lib/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.tsx +3 -3
  462. package/lib/ocm/components/clusterDetail/OpenShiftVersionDetail.tsx +2 -2
  463. package/lib/ocm/components/clusterWizard/ClusterDetails.tsx +2 -2
  464. package/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx +7 -1
  465. package/lib/ocm/components/clusterWizard/ClusterWizard.tsx +3 -0
  466. package/lib/ocm/components/clusterWizard/ClusterWizardContextProvider.tsx +1 -2
  467. package/lib/ocm/components/clusterWizard/ClusterWizardFooter.tsx +15 -1
  468. package/lib/ocm/components/clusterWizard/KubeconfigDownload.tsx +39 -0
  469. package/lib/ocm/components/clusterWizard/{OpenshiftVersionsContext.tsx → OpenShiftVersionsContext.tsx} +8 -8
  470. package/lib/ocm/components/clusterWizard/Operators.tsx +10 -0
  471. package/lib/ocm/components/clusterWizard/OperatorsStep.tsx +25 -15
  472. package/lib/ocm/components/clusterWizard/constants.ts +1 -0
  473. package/lib/ocm/components/clusterWizard/index.ts +2 -0
  474. package/lib/ocm/components/clusterWizard/wizardTransition.ts +6 -1
  475. package/lib/ocm/components/clusters/ClusterPage.tsx +16 -13
  476. package/lib/ocm/components/clusters/NewClusterPage.tsx +3 -3
  477. package/lib/ocm/components/clusters/index.ts +3 -0
  478. package/lib/ocm/components/featureSupportLevels/FeatureSupportLevelProvider.tsx +2 -2
  479. package/lib/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.tsx +2 -2
  480. package/lib/ocm/components/featureSupportLevels/featureStateUtils.ts +9 -4
  481. package/lib/ocm/components/hosts/ModalDialogsContext.tsx +8 -1
  482. package/lib/ocm/components/index.ts +2 -0
  483. package/lib/ocm/hooks/index.ts +2 -0
  484. package/lib/ocm/hooks/useInfraEnv.ts +1 -1
  485. package/lib/ocm/index.ts +1 -0
  486. package/lib/ocm/services/OperatorsService.tsx +12 -2
  487. package/package.json +4 -3
  488. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentCreateProgress.d.ts +0 -10
  489. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentCreateProgress.d.ts.map +0 -1
  490. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizardFooter.d.ts +0 -13
  491. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizardFooter.d.ts.map +0 -1
  492. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizardNavigation.d.ts +0 -4
  493. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizardNavigation.d.ts.map +0 -1
  494. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizardStep.d.ts +0 -7
  495. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizardStep.d.ts.map +0 -1
  496. package/build/@types/cim/components/InfraEnv/OpenshiftVersionDropdown.d.ts +0 -7
  497. package/build/@types/cim/components/InfraEnv/OpenshiftVersionDropdown.d.ts.map +0 -1
  498. package/build/@types/common/components/ui/OpenshiftSelectWithSearch.d.ts.map +0 -1
  499. package/build/@types/ocm/components/clusterConfiguration/OpenShiftVersionModal.d.ts +0 -10
  500. package/build/@types/ocm/components/clusterConfiguration/OpenShiftVersionModal.d.ts.map +0 -1
  501. package/build/@types/ocm/components/clusterDetail/RebootNodeZeroModal.d.ts +0 -7
  502. package/build/@types/ocm/components/clusterDetail/RebootNodeZeroModal.d.ts.map +0 -1
  503. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentCreateProgress.js +0 -31
  504. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentCreateProgress.js.map +0 -1
  505. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizardFooter.js +0 -50
  506. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizardFooter.js.map +0 -1
  507. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizardNavigation.js +0 -35
  508. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizardNavigation.js.map +0 -1
  509. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizardStep.js +0 -9
  510. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizardStep.js.map +0 -1
  511. package/build/cjs/cim/components/InfraEnv/OpenshiftVersionDropdown.js.map +0 -1
  512. package/build/cjs/common/components/ui/OpenshiftVersionDropdown.css +0 -4
  513. package/build/cjs/ocm/components/clusterConfiguration/OpenShiftVersionModal.js.map +0 -1
  514. package/build/cjs/ocm/components/clusterDetail/RebootNodeZeroModal.css +0 -7
  515. package/build/cjs/ocm/components/clusterDetail/RebootNodeZeroModal.js +0 -35
  516. package/build/cjs/ocm/components/clusterDetail/RebootNodeZeroModal.js.map +0 -1
  517. package/lib/cim/components/ClusterDeployment/ClusterDeploymentCreateProgress.tsx +0 -79
  518. package/lib/cim/components/ClusterDeployment/ClusterDeploymentWizardFooter.tsx +0 -128
  519. package/lib/cim/components/ClusterDeployment/ClusterDeploymentWizardNavigation.tsx +0 -81
  520. package/lib/cim/components/ClusterDeployment/ClusterDeploymentWizardStep.tsx +0 -13
  521. package/lib/common/components/ui/OpenshiftVersionDropdown.css +0 -4
  522. package/lib/ocm/components/clusterDetail/RebootNodeZeroModal.css +0 -7
  523. package/lib/ocm/components/clusterDetail/RebootNodeZeroModal.tsx +0 -69
  524. /package/build/cjs/{ocm/components/clusterConfiguration/OpenshiftVersionModal.css → common/components/ui/OpenShiftVersionModal.css} +0 -0
  525. /package/lib/{ocm/components/clusterConfiguration/OpenshiftVersionModal.css → common/components/ui/OpenShiftVersionModal.css} +0 -0
@@ -1,7 +1,7 @@
1
1
  import { AgentStatus, getAgentStatusKey } from './status';
2
2
  import { Host } from '@openshift-assisted/types/assisted-installer-service';
3
3
  import { AgentK8sResource, BareMetalHostK8sResource } from '../../types';
4
- import { INFRAENV_AGENTINSTALL_LABEL_KEY } from '../common/constants';
4
+ import { AGENT_BMH_NAME_LABEL_KEY, INFRAENV_AGENTINSTALL_LABEL_KEY } from '../common/constants';
5
5
 
6
6
  const AGENT_FOR_SELECTION_STATUSES: AgentStatus[] = [
7
7
  'known',
@@ -33,3 +33,32 @@ export const getInfraEnvNameOfAgent = (resource?: AgentK8sResource | BareMetalHo
33
33
 
34
34
  export const getClusterNameOfAgent = (agent?: AgentK8sResource) =>
35
35
  agent?.spec?.clusterDeploymentName?.name;
36
+
37
+ type OnAgentChangeHostname<A = AgentK8sResource, B = BareMetalHostK8sResource> = (
38
+ agents: A[],
39
+ bmhs: B[],
40
+ onChangeHostname: (agent: A, hostname: string) => Promise<unknown>,
41
+ onChangeBMHHostname: (bmh: B, hostname: string) => Promise<unknown>,
42
+ ) => (host: Host, hostname: string) => Promise<unknown>;
43
+
44
+ export const onAgentChangeHostname: OnAgentChangeHostname<
45
+ AgentK8sResource,
46
+ BareMetalHostK8sResource
47
+ > = (agents, bmhs, onChangeHostname, onChangeBMHHostname) => (host, hostname) => {
48
+ const agent = agents.find((a) => a.metadata?.uid === host.id);
49
+ let bmh: BareMetalHostK8sResource | undefined;
50
+ if (agent) {
51
+ const bmhName = agent.metadata?.labels?.[AGENT_BMH_NAME_LABEL_KEY];
52
+ if (!bmhName) {
53
+ return onChangeHostname(agent, hostname);
54
+ }
55
+ // If Agent is backed by BMH, we need to update hostname on BMH
56
+ bmh = bmhs.find(
57
+ (bmh) =>
58
+ bmh.metadata?.namespace === agent.metadata?.namespace && bmh.metadata?.name === bmhName,
59
+ );
60
+ } else {
61
+ bmh = bmhs.find((bmh) => bmh.metadata?.uid === host.id);
62
+ }
63
+ return bmh ? onChangeBMHHostname(bmh, hostname) : Promise.resolve(undefined);
64
+ };
@@ -135,14 +135,18 @@ export const getAICluster = ({
135
135
  name: clusterDeployment.spec?.clusterName,
136
136
  baseDnsDomain: clusterDeployment.spec?.baseDomain,
137
137
  openshiftVersion: installVersion,
138
- apiVips: [
139
- {
140
- ip: agentClusterInstall?.status?.apiVIP || agentClusterInstall?.spec?.apiVIP,
141
- },
142
- ],
143
- ingressVips: [
144
- { ip: agentClusterInstall?.status?.ingressVIP || agentClusterInstall?.spec?.apiVIP },
145
- ],
138
+ apiVips:
139
+ agentClusterInstall?.status?.apiVIP || agentClusterInstall?.spec?.apiVIP
140
+ ? [
141
+ {
142
+ ip: agentClusterInstall?.status?.apiVIP || agentClusterInstall?.spec?.apiVIP,
143
+ },
144
+ ]
145
+ : [],
146
+ ingressVips:
147
+ agentClusterInstall?.status?.ingressVIP || agentClusterInstall?.spec?.ingressVIP
148
+ ? [{ ip: agentClusterInstall?.status?.ingressVIP || agentClusterInstall?.spec?.ingressVIP }]
149
+ : [],
146
150
  highAvailabilityMode:
147
151
  agentClusterInstall?.spec?.provisionRequirements?.controlPlaneAgents === 1 ? 'None' : 'Full',
148
152
  status,
@@ -6,11 +6,18 @@ import {
6
6
  ClusterVersionK8sResource,
7
7
  OsImage,
8
8
  } from '../../types';
9
- import { OpenshiftVersionOptionType } from '../../../common';
9
+ import { CpuArchitecture, OpenshiftVersionOptionType } from '../../../common';
10
10
  import { OpenshiftVersion } from '@openshift-assisted/types/assisted-installer-service';
11
11
 
12
12
  export const getVersionFromReleaseImage = (releaseImage = '') => {
13
- const match = /.+:(.*)-/gm.exec(releaseImage);
13
+ const match = /.+:(.*)/gm.exec(releaseImage);
14
+ if (match && match.length > 1 && match[1]) {
15
+ return match[1];
16
+ }
17
+ };
18
+
19
+ const getCPUArchFromReleaseImage = (releaseImage = '') => {
20
+ const match = /.+:.*-(.*)/gm.exec(releaseImage);
14
21
  if (match && match.length > 1 && match[1]) {
15
22
  return match[1];
16
23
  }
@@ -37,8 +44,12 @@ const getSupportLevelFromChannel = (
37
44
 
38
45
  export const supportedNutanixPlatforms = ['x86_64', 'x86-64'];
39
46
 
40
- export const isValidImageSet = (cis: ClusterImageSetK8sResource, architectures?: string[]) => {
41
- if (cis.metadata?.labels?.visible !== 'true') {
47
+ export const isValidImageSet = (
48
+ cis: ClusterImageSetK8sResource,
49
+ architectures?: string[],
50
+ extended?: boolean,
51
+ ) => {
52
+ if (!extended && cis.metadata?.labels?.visible !== 'true') {
42
53
  return false;
43
54
  }
44
55
  if (!architectures) {
@@ -53,6 +64,7 @@ export const getOCPVersions = (
53
64
  clusterImageSets: ClusterImageSetK8sResource[],
54
65
  isNutanix?: boolean | undefined,
55
66
  osImages?: OsImage[],
67
+ extended?: boolean,
56
68
  ): OpenshiftVersionOptionType[] => {
57
69
  const ocpImageVersions = Array.from(
58
70
  new Set(osImages?.map((osImage) => osImage.openshiftVersion)),
@@ -60,10 +72,11 @@ export const getOCPVersions = (
60
72
 
61
73
  const versions = clusterImageSets
62
74
  .filter((clusterImageSet) =>
63
- isValidImageSet(clusterImageSet, isNutanix ? supportedNutanixPlatforms : undefined),
75
+ isValidImageSet(clusterImageSet, isNutanix ? supportedNutanixPlatforms : undefined, extended),
64
76
  )
65
77
  .map((clusterImageSet): OpenshiftVersionOptionType => {
66
78
  const version = getVersionFromReleaseImage(clusterImageSet.spec?.releaseImage);
79
+ const cpuArch = getCPUArchFromReleaseImage(clusterImageSet.spec?.releaseImage);
67
80
  return {
68
81
  label: `OpenShift ${version ? version : (clusterImageSet.metadata?.name as string)}`,
69
82
  version: version || clusterImageSet.metadata?.name || '',
@@ -71,6 +84,7 @@ export const getOCPVersions = (
71
84
  default: false,
72
85
  // (rawagner) ACM does not have the warning so changing to 'production'
73
86
  supportLevel: 'production', // getSupportLevelFromChannel(clusterImageSet.metadata?.labels?.channel),
87
+ cpuArchitectures: cpuArch ? [cpuArch as CpuArchitecture] : undefined,
74
88
  };
75
89
  })
76
90
  .filter((ocpVersion) => {
@@ -99,7 +113,7 @@ export const getSelectedVersion = (
99
113
  );
100
114
 
101
115
  return selectedClusterImage
102
- ? getOCPVersions([selectedClusterImage])?.[0]?.version
116
+ ? getOCPVersions([selectedClusterImage], undefined, undefined, true)?.[0]?.version
103
117
  : agentClusterInstall?.spec?.imageSetRef?.name;
104
118
  };
105
119
 
@@ -7,11 +7,12 @@ const EditAgentModal: React.FC<EditAgentModalProps> = ({ agent, onSave, ...rest
7
7
  const [host] = agent ? getAIHosts([agent]) : [];
8
8
  return (
9
9
  <EditHostModal
10
+ isOpen
10
11
  host={host}
11
12
  inventory={agent?.status?.inventory}
12
13
  {...rest}
13
14
  onSave={async ({ hostname }) => {
14
- agent && (await onSave(agent, hostname));
15
+ agent && (await onSave(host, hostname));
15
16
  rest.onClose();
16
17
  }}
17
18
  />
@@ -25,6 +25,8 @@ import EditAgentModal from './EditAgentModal';
25
25
  import { getAgentsHostsNames } from '../ClusterDeployment/helpers';
26
26
  import { getErrorMessage } from '../../../common/utils';
27
27
  import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
28
+ import { onAgentChangeHostname } from '../helpers';
29
+ import { BareMetalHostK8sResource } from '../../types';
28
30
 
29
31
  const getAgentsToAdd = (
30
32
  selectedHostIds: ScaleUpFormValues['selectedHostIds'] | ScaleUpFormValues['autoSelectedHostIds'],
@@ -56,7 +58,9 @@ type ScaleUpModalProps = {
56
58
  addHostsToCluster: (agentsToAdd: AgentK8sResource[]) => Promise<void>;
57
59
  clusterDeployment: ClusterDeploymentK8sResource;
58
60
  agents: AgentK8sResource[];
61
+ bareMetalHosts: BareMetalHostK8sResource[];
59
62
  onChangeHostname: (agent: AgentK8sResource, hostname: string) => Promise<AgentK8sResource>;
63
+ onChangeBMHHostname: (bmh: BareMetalHostK8sResource, hostname: string) => Promise<unknown>;
60
64
  onSetInstallationDiskId: AgentTableActions['onSetInstallationDiskId'];
61
65
  isNutanix: boolean;
62
66
  };
@@ -67,7 +71,9 @@ const ScaleUpModal: React.FC<ScaleUpModalProps> = ({
67
71
  addHostsToCluster,
68
72
  clusterDeployment,
69
73
  agents,
74
+ bareMetalHosts,
70
75
  onChangeHostname,
76
+ onChangeBMHHostname,
71
77
  onSetInstallationDiskId,
72
78
  isNutanix,
73
79
  }) => {
@@ -176,9 +182,13 @@ const ScaleUpModal: React.FC<ScaleUpModalProps> = ({
176
182
  {editAgent && (
177
183
  <EditAgentModal
178
184
  agent={editAgent}
179
- isOpen
180
185
  onClose={() => setEditAgent(undefined)}
181
- onSave={onChangeHostname}
186
+ onSave={onAgentChangeHostname(
187
+ agents,
188
+ bareMetalHosts,
189
+ onChangeHostname,
190
+ onChangeBMHHostname,
191
+ )}
182
192
  usedHostnames={getAgentsHostsNames(clusterAgents)}
183
193
  />
184
194
  )}
@@ -1,2 +1,3 @@
1
1
  export * from './axiosClient';
2
2
  export * from './utils';
3
+ export * from './assisted-service';
@@ -11,21 +11,17 @@ interface ControlPlaneNodesOption {
11
11
  label: string;
12
12
  }
13
13
 
14
- const isDropdownItemEnabled = (controlPlaneNodeCount: number, isNutanix?: boolean): boolean => {
15
- return (controlPlaneNodeCount === 1 && !isNutanix) || controlPlaneNodeCount !== 1;
16
- };
17
-
18
14
  const ControlPlaneNodesDropdown = ({
19
15
  isDisabled = false,
20
- isNutanix,
16
+ allowHighlyAvailable,
21
17
  }: {
22
18
  isDisabled?: boolean;
23
- isNutanix?: boolean;
19
+ allowHighlyAvailable?: boolean;
24
20
  }) => {
25
21
  const { t } = useTranslation();
26
- const [{ name, value: selectedValue }, , { setValue }] = useField<number | 3>(
27
- 'controlPlaneCount',
28
- );
22
+ const [{ name, value: selectedValue }, , { setValue }] = useField<number>('controlPlaneCount');
23
+ const [controlPlanelOpen, setControlPlanelOpen] = React.useState(false);
24
+ const fieldId = getFieldId(name, 'input');
29
25
 
30
26
  const options: ControlPlaneNodesOption[] = [
31
27
  { value: 1, label: t('ai:1 (Single Node OpenShift - not highly available cluster)') },
@@ -34,14 +30,21 @@ const ControlPlaneNodesDropdown = ({
34
30
  { value: 5, label: t('ai:5 (highly available cluster++)') },
35
31
  ];
36
32
 
33
+ React.useEffect(() => {
34
+ if (!allowHighlyAvailable && [4, 5].includes(selectedValue)) {
35
+ setValue(3);
36
+ }
37
+ }, [allowHighlyAvailable, selectedValue, setValue]);
38
+
37
39
  const dropdownItems = options.map(({ value, label }) => {
38
- const isItemEnabled = isDropdownItemEnabled(value, isNutanix);
39
- const disabledReason = t('ai:This option is not available for Nutanix platform');
40
+ const isItemEnabled = [1, 3].includes(value) || allowHighlyAvailable;
41
+ const disabledReason = t('ai:This option is not available with the selected OpenShift version');
40
42
  return (
41
43
  <DropdownItem
42
44
  key={value}
43
45
  id={value.toString()}
44
46
  isAriaDisabled={!isItemEnabled}
47
+ isDisabled={!isItemEnabled}
45
48
  selected={selectedValue === value}
46
49
  value={value}
47
50
  >
@@ -52,9 +55,6 @@ const ControlPlaneNodesDropdown = ({
52
55
  );
53
56
  });
54
57
 
55
- const [controlPlanelOpen, setControlPlanelOpen] = React.useState(false);
56
- const fieldId = getFieldId(name, 'input');
57
-
58
58
  const onControlPlaneSelect = (e?: React.SyntheticEvent<HTMLDivElement>) => {
59
59
  const val = e?.currentTarget.id as string;
60
60
  setValue(toNumber(val));
@@ -3,3 +3,4 @@ export { default as ClusterProgress } from './ClusterProgress';
3
3
  export { default as ClusterCredentials } from './ClusterCredentials';
4
4
  export { default as KubeconfigDownload } from './KubeconfigDownload';
5
5
  export { default as PostInstallAlert } from './PostInstallAlert';
6
+ export { TroubleshootingOpenshiftConsoleButton } from './ConsoleModal';
@@ -1,68 +1,11 @@
1
1
  import React from 'react';
2
2
  import { Alert, AlertActionLink, AlertVariant, Popover } from '@patternfly/react-core';
3
- import { HostSubnet, HostSubnets } from '../../../types/clusters';
4
- import { Cluster, Host } from '@openshift-assisted/types/assisted-installer-service';
3
+ import { HostSubnets } from '../../../types/clusters';
4
+ import { Host } from '@openshift-assisted/types/assisted-installer-service';
5
5
  import { SelectField } from '../../ui';
6
6
  import { NO_SUBNET_SET } from '../../../config';
7
7
  import { useTranslation } from '../../../hooks/use-translation-wrapper';
8
8
 
9
- interface SubnetHelperTextProps {
10
- matchingSubnet: HostSubnet;
11
- hosts: Cluster['hosts'];
12
- }
13
-
14
- const SubnetHelperText = ({ matchingSubnet, hosts }: SubnetHelperTextProps) => {
15
- const { t } = useTranslation();
16
- const excludedHosts =
17
- hosts?.filter(
18
- (host) =>
19
- !['disabled', 'disconnected'].includes(host.status) &&
20
- !matchingSubnet.hostIDs.includes(host.requestedHostname || ''),
21
- ) || [];
22
-
23
- // Workaround for bug in CIM backend. hostIDs are empty
24
- if (excludedHosts.length === 0 || !matchingSubnet.hostIDs.length) {
25
- return null;
26
- }
27
-
28
- const actionLinks = (
29
- <Popover
30
- position="right"
31
- bodyContent={
32
- <ul>
33
- {excludedHosts
34
- .sort(
35
- (hostA, hostB) =>
36
- hostA.requestedHostname?.localeCompare(hostB.requestedHostname || '') || 0,
37
- )
38
- .map((host) => (
39
- <li key={host.id}>{host.requestedHostname || host.id}</li>
40
- ))}
41
- </ul>
42
- }
43
- minWidth="30rem"
44
- maxWidth="50rem"
45
- >
46
- <AlertActionLink id="form-input-hostSubnet-field-helper-view-excluded">
47
- {t('ai:View {{count}} affected host', {
48
- count: excludedHosts.length,
49
- })}
50
- </AlertActionLink>
51
- </Popover>
52
- );
53
-
54
- return (
55
- <Alert
56
- title={t('ai:This subnet range is not available on all hosts')}
57
- variant={AlertVariant.warning}
58
- actionLinks={actionLinks}
59
- isInline
60
- >
61
- {t('ai:Hosts outside of this range will not be included in the new cluster.')}
62
- </Alert>
63
- );
64
- };
65
-
66
9
  export interface AvailableSubnetsControlProps {
67
10
  hostSubnets: HostSubnets;
68
11
  hosts: Host[];
@@ -79,14 +22,60 @@ export const AvailableSubnetsControl = ({
79
22
  const { t } = useTranslation();
80
23
  const getHelperText = (value: string) => {
81
24
  const matchingSubnet = hostSubnets.find((hn) => hn.subnet === value);
82
- if (matchingSubnet) {
25
+ if (matchingSubnet && isMultiNodeCluster) {
26
+ const excludedHosts =
27
+ hosts?.filter(
28
+ (host) =>
29
+ !['disabled', 'disconnected'].includes(host.status) &&
30
+ !matchingSubnet.hostIDs.includes(host.requestedHostname || ''),
31
+ ) || [];
32
+
33
+ // Workaround for bug in CIM backend. hostIDs are empty
34
+ if (excludedHosts.length === 0 || !matchingSubnet.hostIDs.length) {
35
+ return undefined;
36
+ }
37
+
38
+ const actionLinks = (
39
+ <Popover
40
+ position="right"
41
+ bodyContent={
42
+ <ul>
43
+ {excludedHosts
44
+ .sort(
45
+ (hostA, hostB) =>
46
+ hostA.requestedHostname?.localeCompare(hostB.requestedHostname || '') || 0,
47
+ )
48
+ .map((host) => (
49
+ <li key={host.id}>{host.requestedHostname || host.id}</li>
50
+ ))}
51
+ </ul>
52
+ }
53
+ minWidth="30rem"
54
+ maxWidth="50rem"
55
+ >
56
+ <AlertActionLink id="form-input-hostSubnet-field-helper-view-excluded">
57
+ {t('ai:View {{count}} affected host', {
58
+ count: excludedHosts.length,
59
+ })}
60
+ </AlertActionLink>
61
+ </Popover>
62
+ );
63
+
83
64
  return (
84
- isMultiNodeCluster && <SubnetHelperText matchingSubnet={matchingSubnet} hosts={hosts} />
65
+ <Alert
66
+ title={t('ai:This subnet range is not available on all hosts')}
67
+ variant={AlertVariant.warning}
68
+ actionLinks={actionLinks}
69
+ isInline
70
+ >
71
+ {t('ai:Hosts outside of this range will not be included in the new cluster.')}
72
+ </Alert>
85
73
  );
86
74
  }
87
75
 
88
76
  return undefined;
89
77
  };
78
+
90
79
  const hostSubnetLength = hostSubnets.length;
91
80
  return (
92
81
  <SelectField
@@ -122,7 +122,7 @@ export const VirtualIPControlGroup = ({
122
122
  <>
123
123
  <FormikStaticField
124
124
  label={t('ai:API IP')}
125
- name="apiVip"
125
+ name="apiVips.0.ip"
126
126
  helperText={apiVipHelperText}
127
127
  value={selectApiVip(cluster)}
128
128
  isValid={!apiVipFailedValidationMessage}
@@ -136,7 +136,7 @@ export const VirtualIPControlGroup = ({
136
136
  </FormikStaticField>
137
137
  <FormikStaticField
138
138
  label={t('ai:Ingress IP')}
139
- name="ingressVip"
139
+ name="ingressVips.0.ip"
140
140
  helperText={ingressVipHelperText}
141
141
  value={selectIngressVip(cluster)}
142
142
  isValid={!ingressVipFailedValidationMessage}
@@ -153,13 +153,13 @@ export const VirtualIPControlGroup = ({
153
153
  <>
154
154
  <InputField
155
155
  label={t('ai:API IP')}
156
- name="apiVip"
156
+ name="apiVips.0.ip"
157
157
  helperText={apiVipHelperText}
158
158
  isRequired
159
159
  isDisabled={!hostSubnets.length || values.hostSubnet === NO_SUBNET_SET}
160
160
  />
161
161
  <InputField
162
- name="ingressVip"
162
+ name="ingressVips.0.ip"
163
163
  label={t('ai:Ingress IP')}
164
164
  helperText={ingressVipHelperText}
165
165
  isRequired
@@ -56,6 +56,7 @@ const EditHostForm = ({
56
56
  onHostSaveError,
57
57
  getEditErrorMessage,
58
58
  }: EditHostFormProps) => {
59
+ const { t } = useTranslation();
59
60
  const hostnameInputRef = React.useRef<HTMLInputElement>();
60
61
  const [isSaveInProgress, setIsSaveInProgress] = React.useState<boolean>(false);
61
62
 
@@ -71,7 +72,7 @@ const EditHostForm = ({
71
72
  hostId: host.id,
72
73
  hostname: requestedHostname || '',
73
74
  };
74
- const { t } = useTranslation();
75
+
75
76
  return (
76
77
  <Formik
77
78
  validateOnMount
@@ -110,11 +111,19 @@ const EditHostForm = ({
110
111
  status={status as StatusErrorType}
111
112
  onClose={() => setStatus({ error: null })}
112
113
  />
113
- <Alert
114
- variant={AlertVariant.info}
115
- title={t('ai:This name will replace the original discovered hostname.')}
116
- isInline
117
- />
114
+ {canHostnameBeChanged(host.status) ? (
115
+ <Alert
116
+ variant={AlertVariant.info}
117
+ title={t('ai:This name will replace the original discovered hostname.')}
118
+ isInline
119
+ />
120
+ ) : (
121
+ <Alert
122
+ variant={AlertVariant.warning}
123
+ title={t('ai:The hostname cannot be changed.')}
124
+ isInline
125
+ />
126
+ )}
118
127
  <StaticTextField name="discoveredHostname" label={t('ai:Discovered hostname')}>
119
128
  {hostname || ''}
120
129
  </StaticTextField>
@@ -134,6 +143,7 @@ const EditHostForm = ({
134
143
  data-testid="change-hostname-form__button-change"
135
144
  type={ButtonType.submit}
136
145
  isDisabled={isSubmitting || !isValid || !dirty}
146
+ isLoading={isSubmitting}
137
147
  >
138
148
  {t('ai:Change')}
139
149
  </Button>
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Button, ButtonVariant, Popover } from '@patternfly/react-core';
2
+ import { Button, ButtonVariant, Flex, Popover } from '@patternfly/react-core';
3
3
  import { CheckCircleIcon } from '@patternfly/react-icons/dist/js/icons/check-circle-icon';
4
4
  import { ExclamationCircleIcon } from '@patternfly/react-icons/dist/js/icons/exclamation-circle-icon';
5
5
  import { PendingIcon } from '@patternfly/react-icons/dist/js/icons/pending-icon';
@@ -60,21 +60,27 @@ const HostPropertyValidationPopover: React.FC<HostPropertyValidationPopoverProps
60
60
  if (showFailure && validation.status === 'failure') {
61
61
  return (
62
62
  <ValidationPopover validation={validation} actions={failureActions}>
63
- <ExclamationCircleIcon color={dangerColor.value} /> {children}
63
+ <Flex columnGap={{ default: 'columnGapSm' }} alignItems={{ default: 'alignItemsCenter' }}>
64
+ <ExclamationCircleIcon color={dangerColor.value} /> {children}
65
+ </Flex>
64
66
  </ValidationPopover>
65
67
  );
66
68
  }
67
69
  if (showPending && validation.status === 'pending') {
68
70
  return (
69
71
  <ValidationPopover validation={validation} actions={pendingActions}>
70
- <PendingIcon /> {children}
72
+ <Flex columnGap={{ default: 'columnGapSm' }} alignItems={{ default: 'alignItemsCenter' }}>
73
+ <PendingIcon /> {children}
74
+ </Flex>
71
75
  </ValidationPopover>
72
76
  );
73
77
  }
74
78
  if (showSuccess && validation.status === 'success') {
75
79
  return (
76
80
  <>
77
- <CheckCircleIcon color={successColor.value} /> {children}
81
+ <Flex columnGap={{ default: 'columnGapSm' }} alignItems={{ default: 'alignItemsCenter' }}>
82
+ <CheckCircleIcon color={successColor.value} /> {children}
83
+ </Flex>
78
84
  </>
79
85
  );
80
86
  }
@@ -14,19 +14,23 @@ export type ActiveFeatureConfiguration = {
14
14
  hasStaticIpNetworking: boolean;
15
15
  };
16
16
 
17
+ export type GetFeatureDisabledReason = (
18
+ featureId: FeatureId,
19
+ supportLevelData?: NewFeatureSupportLevelMap,
20
+ cpuArchitecture?: SupportedCpuArchitecture,
21
+ platformType?: PlatformType,
22
+ ) => string | undefined;
23
+
24
+ export type GetFeatureSupportLevel = (
25
+ featureId: FeatureId,
26
+ supportLevelData?: NewFeatureSupportLevelMap,
27
+ ) => SupportLevel | undefined;
28
+
17
29
  export type NewFeatureSupportLevelData = {
18
30
  getFeatureSupportLevels(): NewFeatureSupportLevelMap;
19
- getFeatureSupportLevel(
20
- featureId: FeatureId,
21
- supportLevelData?: NewFeatureSupportLevelMap,
22
- ): SupportLevel | undefined;
31
+ getFeatureSupportLevel: GetFeatureSupportLevel;
23
32
  isFeatureDisabled(featureId: FeatureId, supportLevelData?: NewFeatureSupportLevelMap): boolean;
24
- getFeatureDisabledReason(
25
- featureId: FeatureId,
26
- supportLevelData?: NewFeatureSupportLevelMap,
27
- cpuArchitecture?: SupportedCpuArchitecture,
28
- platformType?: PlatformType,
29
- ): string | undefined;
33
+ getFeatureDisabledReason: GetFeatureDisabledReason;
30
34
  isFeatureSupported(featureId: FeatureId, supportLevelData?: NewFeatureSupportLevelMap): boolean;
31
35
  activeFeatureConfiguration?: ActiveFeatureConfiguration;
32
36
  };
@@ -205,8 +205,6 @@ const DisksTable = ({
205
205
  cells: { title: string | React.ReactNode; props: object }[];
206
206
  };
207
207
  });
208
- // eslint-disable-next-line no-console
209
- console.log(rows);
210
208
  return (
211
209
  <Table data-testid={testId} variant={TableVariant.compact} aria-label="Host's disks table">
212
210
  <Thead>
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  import { useTranslation } from '../../hooks/use-translation-wrapper';
3
3
  import { PreviewBadge, PreviewBadgeProps } from './PreviewBadge';
4
+ import { DEVELOPER_SUPPORT_LEVEL_LINK } from '../../config/docs_links';
4
5
 
5
6
  export type DeveloperPreviewProps = Omit<PreviewBadgeProps, 'text' | 'popoverContent'>;
6
7
 
@@ -12,6 +13,7 @@ export const DeveloperPreview: React.FC<DeveloperPreviewProps> = (props) => {
12
13
  popoverContent={t(
13
14
  'ai:Developer preview features are not intended to be used in production environments. The clusters deployed with the developer preview features are considered to be development clusters and are not supported through the Red Hat Customer Portal case management system.',
14
15
  )}
16
+ externalLink={DEVELOPER_SUPPORT_LEVEL_LINK}
15
17
  {...props}
16
18
  />
17
19
  );
@@ -22,11 +22,11 @@ import { useTranslation } from '../../hooks/use-translation-wrapper';
22
22
 
23
23
  type OpenshiftSelectWithSearchProps = {
24
24
  versions: OpenshiftVersionOptionType[];
25
- getHelperText: HelperTextType;
25
+ getHelperText?: HelperTextType;
26
26
  setCustomOpenshiftSelect: Dispatch<SetStateAction<OpenshiftVersionOptionType | undefined>>;
27
27
  };
28
28
 
29
- export const OpenshiftSelectWithSearch: React.FunctionComponent<OpenshiftSelectWithSearchProps> = ({
29
+ export const OpenShiftSelectWithSearch: React.FunctionComponent<OpenshiftSelectWithSearchProps> = ({
30
30
  versions,
31
31
  getHelperText,
32
32
  setCustomOpenshiftSelect,
@@ -232,7 +232,7 @@ export const OpenshiftSelectWithSearch: React.FunctionComponent<OpenshiftSelectW
232
232
  </MenuToggle>
233
233
  );
234
234
 
235
- const helperText = getHelperText(selected, true);
235
+ const helperText = getHelperText && getHelperText(selected, true);
236
236
 
237
237
  return (
238
238
  <>
@@ -285,7 +285,7 @@ export const OpenshiftSelectWithSearch: React.FunctionComponent<OpenshiftSelectW
285
285
  <HelperText>
286
286
  <HelperTextItem variant="default">
287
287
  {helperText ??
288
- 'Select an Openshift version from the list or use the type ahead to narrow down the list.'}
288
+ 'Select an OpenShift version from the list or use the type ahead to narrow down the list.'}
289
289
  </HelperTextItem>
290
290
  </HelperText>
291
291
  </FormHelperText>
@@ -0,0 +1,9 @@
1
+ #form-input-openshiftVersion-field .pf-v5-c-dropdown__menu {
2
+ max-height: 22vh;
3
+ overflow: auto;
4
+ }
5
+
6
+ #form-input-openshiftVersion-field .pf-v5-c-dropdown__menu ul {
7
+ list-style: none;
8
+ padding-left: 0;
9
+ }
@@ -22,7 +22,7 @@ import { getFieldId } from './formik';
22
22
  import ExternalLink from './ExternalLink';
23
23
  import { OCP_RELEASES_PAGE } from '../../config';
24
24
  import { ClusterDetailsValues, ItemDropdown } from '../clusterWizard';
25
- import './OpenshiftVersionDropdown.css';
25
+ import './OpenShiftVersionDropdown.css';
26
26
 
27
27
  export type HelperTextType = (value: string | undefined, inModal?: boolean) => JSX.Element | null;
28
28
 
@@ -30,7 +30,7 @@ type OpenShiftVersionDropdownProps = {
30
30
  name: string;
31
31
  items: ItemDropdown;
32
32
  versions: OpenshiftVersionOptionType[];
33
- getHelperText: HelperTextType;
33
+ getHelperText?: HelperTextType;
34
34
  showReleasesLink: boolean;
35
35
  showOpenshiftVersionModal: () => void;
36
36
  customItems: ItemDropdown;
@@ -159,7 +159,7 @@ export const OpenShiftVersionDropdown = ({
159
159
  [setOpen, current, isDisabled],
160
160
  );
161
161
 
162
- const helperText = getHelperText(field.value);
162
+ const helperText = getHelperText && getHelperText(field.value);
163
163
 
164
164
  return (
165
165
  <FormGroup