@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
@@ -16,6 +16,11 @@ import ServiceMeshCheckbox from './ServicemeshCheckbox';
16
16
  import NvidiaGpuCheckbox from './NvidiaGpuCheckbox';
17
17
  import AmdGpuCheckbox from './AmdGpuCheckbox';
18
18
  import KmmCheckbox from './KmmCheckbox';
19
+ import NodeHealthcheckCheckbox from './NodeHealthcheckCheckbox';
20
+ import SelfNodeRemediationCheckbox from './SelfNodeRemediationCheckbox';
21
+ import FenceAgentsRemediationCheckbox from './FenceAgentsRemediationCheckbox';
22
+ import NodeMaintenanceCheckbox from './NodeMaintenanceOperatorCheckbox';
23
+ import KubeDeschedulerCheckbox from './KubeDeschedulerCheckbox';
19
24
  import {
20
25
  FeatureId,
21
26
  OPERATOR_NAME_AMD_GPU,
@@ -35,6 +40,11 @@ import {
35
40
  OPERATOR_NAME_PIPELINES,
36
41
  OPERATOR_NAME_SERVERLESS,
37
42
  OPERATOR_NAME_SERVICEMESH,
43
+ OPERATOR_NAME_NODE_HEALTHCHECK,
44
+ OPERATOR_NAME_SELF_NODE_REMEDIATION,
45
+ OPERATOR_NAME_FENCE_AGENTS_REMEDIATION,
46
+ OPERATOR_NAME_NODE_MAINTENANCE,
47
+ OPERATOR_NAME_KUBE_DESCHEDULER,
38
48
  } from '../../../../common';
39
49
  import { SupportLevel } from '@openshift-assisted/types/./assisted-installer-service';
40
50
 
@@ -72,6 +82,11 @@ export const operatorComponentMap: Record<string, (props: OperatorProps) => JSX.
72
82
  'nvidia-gpu': (props) => <NvidiaGpuCheckbox {...props} />,
73
83
  'amd-gpu': (props) => <AmdGpuCheckbox {...props} />,
74
84
  kmm: (props) => <KmmCheckbox {...props} />,
85
+ 'node-healthcheck': (props) => <NodeHealthcheckCheckbox {...props} />,
86
+ 'self-node-remediation': (props) => <SelfNodeRemediationCheckbox {...props} />,
87
+ 'fence-agents-remediation': (props) => <FenceAgentsRemediationCheckbox {...props} />,
88
+ 'node-maintenance': (props) => <NodeMaintenanceCheckbox {...props} />,
89
+ 'kube-descheduler': (props) => <KubeDeschedulerCheckbox {...props} />,
75
90
  };
76
91
 
77
92
  export const mapOperatorsToFieldIds: { [key: string]: string } = {
@@ -92,6 +107,11 @@ export const mapOperatorsToFieldIds: { [key: string]: string } = {
92
107
  [OPERATOR_NAME_NVIDIA_GPU]: 'useNvidiaGpu',
93
108
  [OPERATOR_NAME_AMD_GPU]: 'useAmdGpu',
94
109
  [OPERATOR_NAME_KMM]: 'useKmm',
110
+ [OPERATOR_NAME_NODE_HEALTHCHECK]: 'useNodeHealthcheck',
111
+ [OPERATOR_NAME_SELF_NODE_REMEDIATION]: 'useSelfNodeRemediation',
112
+ [OPERATOR_NAME_FENCE_AGENTS_REMEDIATION]: 'useFenceAgentsRemediation',
113
+ [OPERATOR_NAME_NODE_MAINTENANCE]: 'useNodeMaintenance',
114
+ [OPERATOR_NAME_KUBE_DESCHEDULER]: 'useKubeDescheduler',
95
115
  };
96
116
 
97
117
  export const mapOperatorIdToFeatureId: { [key: string]: FeatureId } = {
@@ -112,4 +132,9 @@ export const mapOperatorIdToFeatureId: { [key: string]: FeatureId } = {
112
132
  [OPERATOR_NAME_NVIDIA_GPU]: 'NVIDIA_GPU',
113
133
  [OPERATOR_NAME_AMD_GPU]: 'AMD_GPU',
114
134
  [OPERATOR_NAME_KMM]: 'KMM',
135
+ [OPERATOR_NAME_NODE_HEALTHCHECK]: 'NODE_HEALTHCHECK',
136
+ [OPERATOR_NAME_SELF_NODE_REMEDIATION]: 'SELF_NODE_REMEDIATION',
137
+ [OPERATOR_NAME_FENCE_AGENTS_REMEDIATION]: 'FENCE_AGENTS_REMEDIATION',
138
+ [OPERATOR_NAME_NODE_MAINTENANCE]: 'NODE_MAINTENANCE',
139
+ [OPERATOR_NAME_KUBE_DESCHEDULER]: 'KUBE_DESCHEDULER',
115
140
  };
@@ -12,12 +12,21 @@ const VirtualizationRequirements = () => {
12
12
  Each control plane node requires an additional 1024 MiB of memory and 3 CPUs.
13
13
  </ListItem>
14
14
  <ListItem>Each worker node requires an additional 1024 MiB of memory and 5 CPUs.</ListItem>
15
+ <ListItem>
16
+ Additional resources may be required to support the selected storage operator.
17
+ </ListItem>
15
18
  </List>
16
19
  Bundle operators:
17
20
  <List>
18
21
  <ListItem>OpenShift Virtualization</ListItem>
19
22
  <ListItem>Migration Toolkit for Virtualization</ListItem>
20
23
  <ListItem>Nmstate</ListItem>
24
+ <ListItem>Storage operator (either LSO/LVMS)</ListItem>
25
+ <ListItem>Node Healthcheck</ListItem>
26
+ <ListItem>Self Node Remediation</ListItem>
27
+ <ListItem>Fence Agents Remediation</ListItem>
28
+ <ListItem>Node Maintenance</ListItem>
29
+ <ListItem>Kube Descheduler</ListItem>
21
30
  </List>
22
31
  </>
23
32
  );
@@ -20,11 +20,13 @@ import {
20
20
  import { ExternalPlaformIds, ExternalPlatformLabels, ExternalPlatformLinks } from './constants';
21
21
  import { PlatformType, SupportLevel } from '@openshift-assisted/types/assisted-installer-service';
22
22
  import {
23
- NewFeatureSupportLevelData,
23
+ GetFeatureDisabledReason,
24
+ GetFeatureSupportLevel,
24
25
  NewFeatureSupportLevelMap,
25
26
  useNewFeatureSupportLevel,
26
27
  } from '../../../../common/components/newFeatureSupportLevels';
27
28
  import NewFeatureSupportLevelBadge from '../../../../common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge';
29
+ import { useFeature } from '../../../hooks/use-feature';
28
30
 
29
31
  const INPUT_NAME = 'platform';
30
32
  const fieldId = getFieldId(INPUT_NAME, 'input');
@@ -45,7 +47,7 @@ export type ExternalPlatformInfo = {
45
47
 
46
48
  const getDisabledReasonForExternalPlatform = (
47
49
  isSNO: boolean,
48
- newFeatureSupportLevelContext: NewFeatureSupportLevelData,
50
+ getFeatureDisabledReason: GetFeatureDisabledReason,
49
51
  platform: PlatformType,
50
52
  featureSupportLevelData?: NewFeatureSupportLevelMap | null,
51
53
  cpuArchitecture?: SupportedCpuArchitecture,
@@ -58,7 +60,7 @@ const getDisabledReasonForExternalPlatform = (
58
60
  ) {
59
61
  return `Plaform integration is not supported for Single-Node OpenShift with the selected CPU architecture.`;
60
62
  } else {
61
- return newFeatureSupportLevelContext.getFeatureDisabledReason(
63
+ return getFeatureDisabledReason(
62
64
  ExternalPlaformIds[platform] as FeatureId,
63
65
  featureSupportLevelData ?? undefined,
64
66
  cpuArchitecture,
@@ -66,35 +68,47 @@ const getDisabledReasonForExternalPlatform = (
66
68
  }
67
69
  };
68
70
 
71
+ const isAvailablePlatform = (platform: PlatformType, isDisconnected?: boolean) => {
72
+ if (isDisconnected && platform === 'nutanix') {
73
+ return false;
74
+ }
75
+ return platform !== undefined;
76
+ };
77
+
69
78
  const getExternalPlatformTypes = (
70
79
  isSNO: boolean,
71
- newFeatureSupportLevelContext: NewFeatureSupportLevelData,
80
+ getFeatureSupportLevel: GetFeatureSupportLevel,
81
+ getFeatureDisabledReason: GetFeatureDisabledReason,
72
82
  featureSupportLevelData?: NewFeatureSupportLevelMap | null,
73
83
  cpuArchitecture?: SupportedCpuArchitecture,
84
+ isDisconnected?: boolean,
74
85
  ): Partial<{ [key in PlatformType]: ExternalPlatformInfo }> => {
75
86
  const platforms = ['none', 'nutanix', 'external', 'vsphere'] as PlatformType[];
76
87
 
77
- return platforms.filter(Boolean).reduce(
78
- (a, platform) => ({
79
- ...a,
80
- [platform]: {
81
- label: ExternalPlatformLabels[platform],
82
- href: ExternalPlatformLinks[platform],
83
- disabledReason: getDisabledReasonForExternalPlatform(
84
- isSNO,
85
- newFeatureSupportLevelContext,
86
- platform,
87
- featureSupportLevelData ?? undefined,
88
- cpuArchitecture,
89
- ),
90
- supportLevel: newFeatureSupportLevelContext.getFeatureSupportLevel(
91
- ExternalPlaformIds[platform] as FeatureId,
92
- featureSupportLevelData ?? undefined,
93
- ),
94
- },
95
- }),
96
- {},
97
- );
88
+ const newPlatform = platforms
89
+ .filter((platform) => isAvailablePlatform(platform, isDisconnected))
90
+ .reduce(
91
+ (a, platform) => ({
92
+ ...a,
93
+ [platform]: {
94
+ label: ExternalPlatformLabels[platform],
95
+ href: ExternalPlatformLinks[platform],
96
+ disabledReason: getDisabledReasonForExternalPlatform(
97
+ isSNO,
98
+ getFeatureDisabledReason,
99
+ platform,
100
+ featureSupportLevelData ?? undefined,
101
+ cpuArchitecture,
102
+ ),
103
+ supportLevel: getFeatureSupportLevel(
104
+ ExternalPlaformIds[platform] as FeatureId,
105
+ featureSupportLevelData ?? undefined,
106
+ ),
107
+ },
108
+ }),
109
+ {},
110
+ );
111
+ return newPlatform;
98
112
  };
99
113
 
100
114
  export const areAllExternalPlatformIntegrationDisabled = (
@@ -124,30 +138,41 @@ export const ExternalPlatformDropdown = ({
124
138
  const [externalPlatformTypes, setExternalPlatformTypes] = React.useState<
125
139
  Partial<{ [key in PlatformType]: ExternalPlatformInfo }>
126
140
  >({});
141
+ const isSingleClusterFeatureEnabled = useFeature('ASSISTED_INSTALLER_SINGLE_CLUSTER_FEATURE');
127
142
 
128
143
  const tooltipDropdownDisabled = getReasonForDropdownDisabled(
129
144
  isSNO,
130
145
  cpuArchitecture ? architectureData[cpuArchitecture].label : '',
131
146
  );
132
147
 
133
- const handleClick = (event: MouseEvent<HTMLButtonElement>, href: string) => {
148
+ const handleClick = (event: MouseEvent<HTMLButtonElement>, href: string): void => {
134
149
  event.stopPropagation(); // Stop event propagation here
135
150
  window.open(href, '_blank');
136
151
  };
137
- const newFeatureSupportLevelContext = useNewFeatureSupportLevel();
152
+
153
+ const { getFeatureSupportLevel, getFeatureDisabledReason } = useNewFeatureSupportLevel();
154
+
138
155
  React.useEffect(() => {
139
156
  // Calculate updated externalPlatformTypes based on the dependencies
140
157
  const updatedExternalPlatformTypes = getExternalPlatformTypes(
141
158
  isSNO,
142
- newFeatureSupportLevelContext,
159
+ getFeatureSupportLevel,
160
+ getFeatureDisabledReason,
143
161
  featureSupportLevelData,
144
162
  cpuArchitecture,
163
+ isSingleClusterFeatureEnabled,
145
164
  );
146
165
 
147
166
  // Update the state with the new externalPlatformTypes
148
167
  setExternalPlatformTypes(updatedExternalPlatformTypes);
149
- // eslint-disable-next-line react-hooks/exhaustive-deps
150
- }, [featureSupportLevelData, cpuArchitecture, isSNO]);
168
+ }, [
169
+ featureSupportLevelData,
170
+ cpuArchitecture,
171
+ isSNO,
172
+ isSingleClusterFeatureEnabled,
173
+ getFeatureSupportLevel,
174
+ getFeatureDisabledReason,
175
+ ]);
151
176
 
152
177
  const dropdownIsDisabled = React.useMemo(() => {
153
178
  return areAllExternalPlatformIntegrationDisabled(externalPlatformTypes);
@@ -22,7 +22,7 @@ import {
22
22
  UiIcon,
23
23
  } from '../../../../common';
24
24
  import { useClusterWizardContext } from '../../clusterWizard/ClusterWizardContext';
25
- import { useOpenshiftVersionsContext } from '../../clusterWizard/OpenshiftVersionsContext';
25
+ import { useOpenShiftVersionsContext } from '../../clusterWizard/OpenShiftVersionsContext';
26
26
  import { wizardStepNames } from '../../clusterWizard/constants';
27
27
  import {
28
28
  ClusterWizardStepsType,
@@ -118,7 +118,7 @@ const getCheckIcon = (validationStatuses: string[]) => {
118
118
  const PreflightChecksDetailCollapsed = ({ cluster }: { cluster: Cluster }) => {
119
119
  const { t } = useTranslation();
120
120
  const featureSupportLevelData = useNewFeatureSupportLevel();
121
- const { isSupportedOpenShiftVersion } = useOpenshiftVersionsContext();
121
+ const { isSupportedOpenShiftVersion } = useOpenShiftVersionsContext();
122
122
 
123
123
  const { isFullySupported } = React.useMemo<SupportLevelMemo>(
124
124
  () => getSupportLevelInfo(cluster, featureSupportLevelData, isSupportedOpenShiftVersion, t),
@@ -234,7 +234,7 @@ export const getIpIsNotNetworkOrBroadcastAddressSchema = (
234
234
  (value) => {
235
235
  const subnetAddr = getAddressObject(subnet, protocolVersion);
236
236
  if (!subnetAddr) {
237
- return false;
237
+ return true;
238
238
  } else {
239
239
  const subnetStart = subnetAddr?.startAddress().correctForm();
240
240
  const subnetEnd = subnetAddr?.endAddress().correctForm();
@@ -11,7 +11,7 @@ const bondsList = [
11
11
  { value: 'balance-rr', label: 'Balance-rr (0)', default: false },
12
12
  { value: 'active-backup', label: 'Active-Backup (1)', default: true },
13
13
  { value: 'balance-xor', label: 'Balance-xor (2)', default: false },
14
- { value: 'broadcast', label: 'Broadcast (3)', default: false },
14
+ { value: 'broadcase', label: 'Broadcase (3)', default: false },
15
15
  { value: '802.3ad', label: '802.3ad (4)', default: false },
16
16
  { value: 'balance-tlb', label: 'Balance-tlb (5)', default: false },
17
17
  { value: 'balance-alb', label: 'Balance-alb (6)', default: false },
@@ -18,11 +18,22 @@ const AutosaveWithParentUpdate = <StaticIpFormValues extends object>({
18
18
  }) => {
19
19
  // eslint-disable-next-line react-hooks/exhaustive-deps
20
20
  const emptyValues = React.useMemo(() => getEmptyValues(), []);
21
- const { isSubmitting, isValid, touched, errors, values } = useFormikContext<StaticIpFormValues>();
21
+ const { isSubmitting, isValid, touched, errors, values, initialValues, submitForm } =
22
+ useFormikContext<StaticIpFormValues>();
23
+
22
24
  const isEmpty = React.useMemo<boolean>(() => {
23
25
  return isEqual(values, emptyValues);
24
26
  }, [values, emptyValues]);
27
+
25
28
  const isAutoSaveRunning = useFormikAutoSave();
29
+
30
+ React.useEffect(() => {
31
+ if (!isEqual(emptyValues, initialValues)) {
32
+ void submitForm();
33
+ }
34
+ // eslint-disable-next-line react-hooks/exhaustive-deps
35
+ }, []);
36
+
26
37
  React.useEffect(() => {
27
38
  onFormStateChange({ isSubmitting, isAutoSaveRunning, isValid, touched, errors, isEmpty });
28
39
  // eslint-disable-next-line react-hooks/exhaustive-deps
@@ -89,13 +100,7 @@ export const StaticIpForm = <StaticIpFormValues extends object>({
89
100
 
90
101
  const onSubmit = isViewerMode ? () => Promise.resolve() : handleSubmit;
91
102
  return (
92
- <Formik
93
- initialValues={initialValues}
94
- onSubmit={onSubmit}
95
- validate={validate}
96
- validateOnMount
97
- enableReinitialize
98
- >
103
+ <Formik initialValues={initialValues} onSubmit={onSubmit} validate={validate} validateOnMount>
99
104
  <Form>
100
105
  {children}
101
106
  <AutosaveWithParentUpdate<StaticIpFormValues>
@@ -28,7 +28,7 @@ import { NewFeatureSupportLevelProvider } from '../featureSupportLevels';
28
28
  import { usePullSecret } from '../../hooks';
29
29
  import { Cluster } from '@openshift-assisted/types/assisted-installer-service';
30
30
  import { useFeatureDetection } from '../../hooks/use-feature-detection';
31
- import { OpenshiftVersionsContextProvider } from '../clusterWizard/OpenshiftVersionsContext';
31
+ import { OpenShiftVersionsContextProvider } from '../clusterWizard/OpenShiftVersionsContext';
32
32
  import {
33
33
  unstable_HistoryRouter as HistoryRouter,
34
34
  HistoryRouterProps,
@@ -147,7 +147,7 @@ const AssistedInstallerDetailCard = ({
147
147
 
148
148
  const clusterDetailCard = (
149
149
  <AlertsContextProvider>
150
- <OpenshiftVersionsContextProvider>
150
+ <OpenShiftVersionsContextProvider>
151
151
  <SentryErrorMonitorContextProvider>
152
152
  <ModalDialogsContextProvider>
153
153
  <ClusterDefaultConfigurationProvider
@@ -170,7 +170,7 @@ const AssistedInstallerDetailCard = ({
170
170
  </ClusterDefaultConfigurationProvider>
171
171
  </ModalDialogsContextProvider>
172
172
  </SentryErrorMonitorContextProvider>
173
- </OpenshiftVersionsContextProvider>
173
+ </OpenShiftVersionsContextProvider>
174
174
  </AlertsContextProvider>
175
175
  );
176
176
 
@@ -11,7 +11,7 @@ import useInfraEnv from '../../hooks/useInfraEnv';
11
11
  import { usePullSecret } from '../../hooks';
12
12
  import { selectCurrentClusterState } from '../../store/slices/current-cluster/selectors';
13
13
  import { useFeatureDetection } from '../../hooks/use-feature-detection';
14
- import { OpenshiftVersionsContextProvider } from '../clusterWizard/OpenshiftVersionsContext';
14
+ import { OpenShiftVersionsContextProvider } from '../clusterWizard/OpenShiftVersionsContext';
15
15
 
16
16
  type AssistedInstallerExtraDetailCardProps = {
17
17
  allEnabledFeatures: FeatureListType;
@@ -58,9 +58,9 @@ const Wrapper: React.FC<AssistedInstallerExtraDetailCardProps> = (props) => {
58
58
  return (
59
59
  <Provider store={storeDay1}>
60
60
  <AlertsContextProvider>
61
- <OpenshiftVersionsContextProvider>
61
+ <OpenShiftVersionsContextProvider>
62
62
  <AssistedInstallerExtraDetailCard {...props} />
63
- </OpenshiftVersionsContextProvider>
63
+ </OpenShiftVersionsContextProvider>
64
64
  </AlertsContextProvider>
65
65
  </Provider>
66
66
  );
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { UiIcon, getOpenshiftVersionText } from '../../../common';
3
- import { useOpenshiftVersionsContext } from '../clusterWizard/OpenshiftVersionsContext';
3
+ import { useOpenShiftVersionsContext } from '../clusterWizard/OpenShiftVersionsContext';
4
4
  import { ExclamationTriangleIcon } from '@patternfly/react-icons/dist/js/icons/exclamation-triangle-icon';
5
5
  import { Popover, Text, TextContent, TextVariants } from '@patternfly/react-core';
6
6
  import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
@@ -28,7 +28,7 @@ const UnsupportedVersion = ({ version }: { version: string }) => {
28
28
 
29
29
  const OpenShiftVersionDetail = ({ cluster }: { cluster: Cluster }) => {
30
30
  const { openshiftVersion } = cluster;
31
- const { isSupportedOpenShiftVersion, latestVersions: versions } = useOpenshiftVersionsContext();
31
+ const { isSupportedOpenShiftVersion, latestVersions: versions } = useOpenShiftVersionsContext();
32
32
  const isSupported = isSupportedOpenShiftVersion(openshiftVersion);
33
33
 
34
34
  const version = React.useMemo(() => {
@@ -8,7 +8,7 @@ import { setServerUpdateError, updateCluster } from '../../store/slices/current-
8
8
  import { useClusterWizardContext } from './ClusterWizardContext';
9
9
  import { canNextClusterDetails, ClusterWizardFlowStateNew } from './wizardTransition';
10
10
  import { useManagedDomains, useUsedClusterNames } from '../../hooks';
11
- import { useOpenshiftVersionsContext } from './OpenshiftVersionsContext';
11
+ import { useOpenShiftVersionsContext } from './OpenShiftVersionsContext';
12
12
  import ClusterDetailsForm from './ClusterDetailsForm';
13
13
  import ClusterWizardNavigation from './ClusterWizardNavigation';
14
14
  import {
@@ -36,7 +36,7 @@ const ClusterDetails = ({ cluster, infraEnv }: ClusterDetailsProps) => {
36
36
  error: errorOCPVersions,
37
37
  loading: loadingOCPVersions,
38
38
  latestVersions: versions,
39
- } = useOpenshiftVersionsContext();
39
+ } = useOpenShiftVersionsContext();
40
40
  const location = useLocation();
41
41
 
42
42
  const handleClusterUpdate = React.useCallback(
@@ -31,6 +31,7 @@ import {
31
31
  InfraEnv,
32
32
  ManagedDomain,
33
33
  } from '@openshift-assisted/types/assisted-installer-service';
34
+ import { useFeature } from '../../hooks/use-feature';
34
35
 
35
36
  type ClusterDetailsFormProps = {
36
37
  cluster?: Cluster;
@@ -67,6 +68,7 @@ const ClusterDetailsForm = (props: ClusterDetailsFormProps) => {
67
68
  const { search } = useLocation();
68
69
  const { isViewerMode } = useSelector(selectCurrentClusterPermissionsState);
69
70
  const { clearAlerts } = useAlerts();
71
+ const isSingleClusterFeatureEnabled = useFeature('ASSISTED_INSTALLER_SINGLE_CLUSTER_FEATURE');
70
72
 
71
73
  const handleSubmit = React.useCallback(
72
74
  async (values: OcmClusterDetailsValues) => {
@@ -175,7 +177,11 @@ const ClusterDetailsForm = (props: ClusterDetailsFormProps) => {
175
177
  <GridItem span={12} lg={10} xl={9} xl2={7}>
176
178
  <OcmClusterDetailsFormFields
177
179
  versions={ocpVersions}
178
- forceOpenshiftVersion={cluster?.openshiftVersion}
180
+ forceOpenshiftVersion={
181
+ isSingleClusterFeatureEnabled
182
+ ? ocpVersions[0].version
183
+ : cluster?.openshiftVersion
184
+ }
179
185
  isPullSecretSet={!!cluster?.pullSecretSet}
180
186
  defaultPullSecret={pullSecret}
181
187
  isOcm={isInOcm}
@@ -16,6 +16,7 @@ import {
16
16
  InfraEnv,
17
17
  InfraEnvUpdateParams,
18
18
  } from '@openshift-assisted/types/assisted-installer-service';
19
+ import KubeconfigDownload from './KubeconfigDownload';
19
20
 
20
21
  type ClusterWizardProps = {
21
22
  cluster: Cluster;
@@ -44,6 +45,8 @@ const ClusterWizard = ({ cluster, infraEnv, updateInfraEnv }: ClusterWizardProps
44
45
  case 'static-ip-network-wide-configurations':
45
46
  case 'static-ip-yaml-view':
46
47
  return <StaticIp cluster={cluster} infraEnv={infraEnv} updateInfraEnv={updateInfraEnv} />;
48
+ case 'kubeconfig-download':
49
+ return <KubeconfigDownload cluster={cluster} />;
47
50
  case 'cluster-details':
48
51
  default:
49
52
  return <ClusterDetails cluster={cluster} infraEnv={infraEnv} />;
@@ -69,8 +69,7 @@ const getWizardStepIds = (
69
69
  stepsCopy = removeStepFromClusterWizard(stepsCopy, 'custom-manifests', 1);
70
70
  }
71
71
  if (isSingleClusterFeatureEnabled) {
72
- // tentatively removed, proper waiting on support by backend
73
- stepsCopy = removeStepFromClusterWizard(stepsCopy, 'operators', 1);
72
+ stepsCopy = addStepToClusterWizard(stepsCopy, 'networking', ['kubeconfig-download']);
74
73
  }
75
74
 
76
75
  return stepsCopy;
@@ -15,6 +15,8 @@ import ClusterWizardStepValidationsAlert from '../../../common/components/cluste
15
15
  import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
16
16
  import { onFetchEvents } from '../fetching/fetchEvents';
17
17
  import { Cluster } from '@openshift-assisted/types/assisted-installer-service';
18
+ import { useFeature } from '../../hooks/use-feature';
19
+ import { useModalDialogsContext } from '../hosts/ModalDialogsContext';
18
20
 
19
21
  type ClusterValidationSectionProps = {
20
22
  cluster?: Cluster;
@@ -82,9 +84,16 @@ const ClusterWizardFooter = ({
82
84
  }: ClusterWizardFooterProps) => {
83
85
  const { alerts } = useAlerts();
84
86
  const navigate = useNavigate();
87
+ const isSingleClusterFeatureEnabled = useFeature('ASSISTED_INSTALLER_SINGLE_CLUSTER_FEATURE');
88
+ const { currentStepId } = useClusterWizardContext();
89
+ const { resetSingleClusterDialog } = useModalDialogsContext();
85
90
 
86
91
  const handleCancel = React.useCallback(() => navigate('/cluster-list'), [navigate]);
87
92
 
93
+ const handleReset = React.useCallback(() => {
94
+ resetSingleClusterDialog.open({ cluster });
95
+ }, [resetSingleClusterDialog, cluster]);
96
+
88
97
  const alertsSection = alerts.length ? <Alerts /> : undefined;
89
98
 
90
99
  const errorsSection = (
@@ -100,7 +109,12 @@ const ClusterWizardFooter = ({
100
109
  <WizardFooter
101
110
  alerts={alertsSection}
102
111
  errors={errorsSection}
103
- onCancel={onCancel || handleCancel}
112
+ onCancel={isSingleClusterFeatureEnabled ? undefined : onCancel || handleCancel}
113
+ onReset={
114
+ isSingleClusterFeatureEnabled && currentStepId !== 'cluster-details'
115
+ ? handleReset
116
+ : undefined
117
+ }
104
118
  leftExtraActions={additionalActions}
105
119
  cluster={cluster}
106
120
  onFetchEvents={onFetchEvents}
@@ -0,0 +1,39 @@
1
+ import React from 'react';
2
+ import { ClusterWizardStep, ClusterWizardStepHeader } from '../../../common';
3
+ import { useClusterWizardContext } from './ClusterWizardContext';
4
+ import ClusterWizardFooter from './ClusterWizardFooter';
5
+ import ClusterWizardNavigation from './ClusterWizardNavigation';
6
+ import { WithErrorBoundary } from '../../../common/components/ErrorHandling/WithErrorBoundary';
7
+ import { Cluster } from '@openshift-assisted/types/assisted-installer-service';
8
+ import { Checkbox } from '@patternfly/react-core';
9
+
10
+ const KubeconfigDownload: React.FC<{ cluster: Cluster }> = ({ cluster }) => {
11
+ const [isChecked, setIsChecked] = React.useState<boolean>(false);
12
+ const clusterWizardContext = useClusterWizardContext();
13
+
14
+ const footer = (
15
+ <ClusterWizardFooter
16
+ cluster={cluster}
17
+ onNext={() => clusterWizardContext.moveNext()}
18
+ onBack={() => clusterWizardContext.moveBack()}
19
+ isNextDisabled={!isChecked}
20
+ nextButtonText="Download Kubeconfig"
21
+ />
22
+ );
23
+
24
+ return (
25
+ <ClusterWizardStep navigation={<ClusterWizardNavigation cluster={cluster} />} footer={footer}>
26
+ <WithErrorBoundary title="Failed to load Kubeconfig Download step">
27
+ <ClusterWizardStepHeader>Download Kubeconfig</ClusterWizardStepHeader>
28
+ <Checkbox
29
+ id="Kubeconfig-download-agreement"
30
+ isChecked={isChecked}
31
+ onChange={() => setIsChecked(!isChecked)}
32
+ label="I understand that I need to download Kubeconfig file prior of proceeding with the cluster installation."
33
+ />
34
+ </WithErrorBoundary>
35
+ </ClusterWizardStep>
36
+ );
37
+ };
38
+
39
+ export default KubeconfigDownload;
@@ -8,7 +8,7 @@ import { getKeys } from '../../../common/utils';
8
8
  const supportedVersionLevels = ['production', 'maintenance'];
9
9
 
10
10
  type OpenShiftVersion = Cluster['openshiftVersion'];
11
- type OpenshiftVersionsContextType = {
11
+ type OpenShiftVersionsContextType = {
12
12
  allVersions: OpenshiftVersionOptionType[];
13
13
  latestVersions: OpenshiftVersionOptionType[];
14
14
  isSupportedOpenShiftVersion: (version: OpenShiftVersion) => boolean;
@@ -17,9 +17,9 @@ type OpenshiftVersionsContextType = {
17
17
  loading: boolean;
18
18
  };
19
19
 
20
- const OpenshiftVersionsContext = createContext<OpenshiftVersionsContextType | null>(null);
20
+ const OpenShiftVersionsContext = createContext<OpenShiftVersionsContextType | null>(null);
21
21
 
22
- export const OpenshiftVersionsContextProvider = ({ children }: { children: React.ReactNode }) => {
22
+ export const OpenShiftVersionsContextProvider = ({ children }: { children: React.ReactNode }) => {
23
23
  const [allVersions, setAllVersions] = React.useState<OpenshiftVersionOptionType[]>([]);
24
24
  const [latestVersions, setLatestVersions] = React.useState<OpenshiftVersionOptionType[]>([]);
25
25
  const [error, setError] = React.useState<{ title: string; message: string }>();
@@ -107,7 +107,7 @@ export const OpenshiftVersionsContextProvider = ({ children }: { children: React
107
107
  );
108
108
 
109
109
  return (
110
- <OpenshiftVersionsContext.Provider
110
+ <OpenShiftVersionsContext.Provider
111
111
  value={{
112
112
  allVersions,
113
113
  latestVersions,
@@ -118,14 +118,14 @@ export const OpenshiftVersionsContextProvider = ({ children }: { children: React
118
118
  }}
119
119
  >
120
120
  {children}
121
- </OpenshiftVersionsContext.Provider>
121
+ </OpenShiftVersionsContext.Provider>
122
122
  );
123
123
  };
124
124
 
125
- export const useOpenshiftVersionsContext = () => {
126
- const context = React.useContext(OpenshiftVersionsContext);
125
+ export const useOpenShiftVersionsContext = () => {
126
+ const context = React.useContext(OpenShiftVersionsContext);
127
127
  if (!context) {
128
- throw new Error('useOpenshiftVersionsContext must be used within OpenshiftVersionsContext');
128
+ throw new Error('useOpenShiftVersionsContext must be used within OpenShiftVersionsContext');
129
129
  }
130
130
  return context;
131
131
  };
@@ -22,6 +22,11 @@ import {
22
22
  OPERATOR_NAME_PIPELINES,
23
23
  OPERATOR_NAME_SERVERLESS,
24
24
  OPERATOR_NAME_SERVICEMESH,
25
+ OPERATOR_NAME_NODE_HEALTHCHECK,
26
+ OPERATOR_NAME_SELF_NODE_REMEDIATION,
27
+ OPERATOR_NAME_FENCE_AGENTS_REMEDIATION,
28
+ OPERATOR_NAME_NODE_MAINTENANCE,
29
+ OPERATOR_NAME_KUBE_DESCHEDULER,
25
30
  OperatorsValues,
26
31
  selectMonitoredOperators,
27
32
  useAlerts,
@@ -60,6 +65,11 @@ export const getOperatorsInitialValues = (
60
65
  useNvidiaGpu: isOperatorEnabled([OPERATOR_NAME_NVIDIA_GPU]),
61
66
  useAmdGpu: isOperatorEnabled([OPERATOR_NAME_AMD_GPU]),
62
67
  useKmm: isOperatorEnabled([OPERATOR_NAME_KMM]),
68
+ useNodeHealthcheck: isOperatorEnabled([OPERATOR_NAME_NODE_HEALTHCHECK]),
69
+ useSelfNodeRemediation: isOperatorEnabled([OPERATOR_NAME_SELF_NODE_REMEDIATION]),
70
+ useFenceAgentsRemediation: isOperatorEnabled([OPERATOR_NAME_FENCE_AGENTS_REMEDIATION]),
71
+ useNodeMaintenance: isOperatorEnabled([OPERATOR_NAME_NODE_MAINTENANCE]),
72
+ useKubeDescheduler: isOperatorEnabled([OPERATOR_NAME_KUBE_DESCHEDULER]),
63
73
  };
64
74
  };
65
75