@openshift-assisted/ui-lib 2.48.6 → 2.49.0

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 (464) hide show
  1. package/build/@types/cim/components/Agent/tableUtils.d.ts +4 -1
  2. package/build/@types/cim/components/Agent/tableUtils.d.ts.map +1 -1
  3. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizard.d.ts.map +1 -1
  4. package/build/@types/cim/components/ClusterDeployment/{ACMClusterDeploymentDetailsStep.d.ts → clusterDetails/ACMClusterDeploymentDetailsStep.d.ts} +5 -5
  5. package/build/@types/cim/components/ClusterDeployment/clusterDetails/ACMClusterDeploymentDetailsStep.d.ts.map +1 -0
  6. package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentDetailsForm.d.ts → clusterDetails/ClusterDeploymentDetailsForm.d.ts} +4 -4
  7. package/build/@types/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsForm.d.ts.map +1 -0
  8. package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentDetailsStep.d.ts → clusterDetails/ClusterDeploymentDetailsStep.d.ts} +5 -5
  9. package/build/@types/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsStep.d.ts.map +1 -0
  10. package/build/@types/cim/components/ClusterDeployment/{ClusterDetailsFormFields.d.ts → clusterDetails/ClusterDetailsFormFields.d.ts} +1 -1
  11. package/build/@types/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.d.ts.map +1 -0
  12. package/build/@types/cim/components/ClusterDeployment/clusterDetails/index.d.ts +5 -0
  13. package/build/@types/cim/components/ClusterDeployment/clusterDetails/index.d.ts.map +1 -0
  14. package/build/@types/cim/components/ClusterDeployment/components/AdditionalNTPSourcesDialogToggle.d.ts.map +1 -0
  15. package/build/@types/cim/components/ClusterDeployment/components/index.d.ts +2 -0
  16. package/build/@types/cim/components/ClusterDeployment/components/index.d.ts.map +1 -0
  17. package/build/@types/cim/components/ClusterDeployment/constants.d.ts +1 -0
  18. package/build/@types/cim/components/ClusterDeployment/constants.d.ts.map +1 -1
  19. package/build/@types/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.d.ts +6 -0
  20. package/build/@types/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.d.ts.map +1 -0
  21. package/build/@types/cim/components/ClusterDeployment/customManifests/ConfigMapDetail.d.ts +10 -0
  22. package/build/@types/cim/components/ClusterDeployment/customManifests/ConfigMapDetail.d.ts.map +1 -0
  23. package/build/@types/cim/components/ClusterDeployment/customManifests/ConfigMapForm.d.ts +12 -0
  24. package/build/@types/cim/components/ClusterDeployment/customManifests/ConfigMapForm.d.ts.map +1 -0
  25. package/build/@types/cim/components/ClusterDeployment/customManifests/index.d.ts +2 -0
  26. package/build/@types/cim/components/ClusterDeployment/customManifests/index.d.ts.map +1 -0
  27. package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentHostDiscoveryTable.d.ts → hostDiscovery/ClusterDeploymentHostDiscoveryTable.d.ts} +1 -1
  28. package/build/@types/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostDiscoveryTable.d.ts.map +1 -0
  29. package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentHostsDiscovery.d.ts → hostDiscovery/ClusterDeploymentHostsDiscovery.d.ts} +1 -1
  30. package/build/@types/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscovery.d.ts.map +1 -0
  31. package/build/@types/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscoveryStep.d.ts +4 -0
  32. package/build/@types/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscoveryStep.d.ts.map +1 -0
  33. package/build/@types/cim/components/ClusterDeployment/hostDiscovery/index.d.ts +2 -0
  34. package/build/@types/cim/components/ClusterDeployment/hostDiscovery/index.d.ts.map +1 -0
  35. package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentHostSelectionStep.d.ts → hostSelection/ClusterDeploymentHostSelectionStep.d.ts} +4 -4
  36. package/build/@types/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.d.ts.map +1 -0
  37. package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelection.d.ts → hostSelection/ClusterDeploymentHostsSelection.d.ts} +1 -1
  38. package/build/@types/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelection.d.ts.map +1 -0
  39. package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelectionAdvanced.d.ts → hostSelection/ClusterDeploymentHostsSelectionAdvanced.d.ts} +6 -6
  40. package/build/@types/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelectionAdvanced.d.ts.map +1 -0
  41. package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelectionBasic.d.ts → hostSelection/ClusterDeploymentHostsSelectionBasic.d.ts} +1 -1
  42. package/build/@types/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelectionBasic.d.ts.map +1 -0
  43. package/build/@types/cim/components/ClusterDeployment/hostSelection/index.d.ts +3 -0
  44. package/build/@types/cim/components/ClusterDeployment/hostSelection/index.d.ts.map +1 -0
  45. package/build/@types/cim/components/ClusterDeployment/index.d.ts +2 -2
  46. package/build/@types/cim/components/ClusterDeployment/index.d.ts.map +1 -1
  47. package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentHostsNetworkTable.d.ts → networking/ClusterDeploymentHostsNetworkTable.d.ts} +2 -2
  48. package/build/@types/cim/components/ClusterDeployment/networking/ClusterDeploymentHostsNetworkTable.d.ts.map +1 -0
  49. package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentNetworkingForm.d.ts → networking/ClusterDeploymentNetworkingForm.d.ts} +2 -4
  50. package/build/@types/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingForm.d.ts.map +1 -0
  51. package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentNetworkingStep.d.ts → networking/ClusterDeploymentNetworkingStep.d.ts} +4 -4
  52. package/build/@types/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingStep.d.ts.map +1 -0
  53. package/build/@types/cim/components/ClusterDeployment/networking/index.d.ts +2 -0
  54. package/build/@types/cim/components/ClusterDeployment/networking/index.d.ts.map +1 -0
  55. package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentReviewStep.d.ts → review/ClusterDeploymentReviewStep.d.ts} +3 -3
  56. package/build/@types/cim/components/ClusterDeployment/review/ClusterDeploymentReviewStep.d.ts.map +1 -0
  57. package/build/@types/cim/components/ClusterDeployment/review/ReviewConfigMapsTable.d.ts +6 -0
  58. package/build/@types/cim/components/ClusterDeployment/review/ReviewConfigMapsTable.d.ts.map +1 -0
  59. package/build/@types/cim/components/ClusterDeployment/review/index.d.ts +2 -0
  60. package/build/@types/cim/components/ClusterDeployment/review/index.d.ts.map +1 -0
  61. package/build/@types/cim/components/ClusterDeployment/types.d.ts +2 -1
  62. package/build/@types/cim/components/ClusterDeployment/types.d.ts.map +1 -1
  63. package/build/@types/cim/components/ClusterDeployment/wizardTransition.d.ts +1 -1
  64. package/build/@types/cim/components/ClusterDeployment/wizardTransition.d.ts.map +1 -1
  65. package/build/@types/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.d.ts.map +1 -1
  66. package/build/@types/cim/components/Hypershift/HostedClusterWizard/DetailsStep/types.d.ts +1 -1
  67. package/build/@types/cim/components/Hypershift/HostedClusterWizard/DetailsStep/types.d.ts.map +1 -1
  68. package/build/@types/cim/components/InfraEnv/InfraEnvAgentTable.d.ts.map +1 -1
  69. package/build/@types/cim/components/InfraEnv/InfraTableToolbar.d.ts +5 -0
  70. package/build/@types/cim/components/InfraEnv/InfraTableToolbar.d.ts.map +1 -1
  71. package/build/@types/cim/components/helpers/agentClusterInstall.d.ts +1 -0
  72. package/build/@types/cim/components/helpers/agentClusterInstall.d.ts.map +1 -1
  73. package/build/@types/cim/components/helpers/agents.d.ts +1 -1
  74. package/build/@types/cim/components/helpers/agents.d.ts.map +1 -1
  75. package/build/@types/cim/components/helpers/toAssisted.d.ts.map +1 -1
  76. package/build/@types/cim/components/helpers/versions.d.ts.map +1 -1
  77. package/build/@types/cim/components/modals/AddHostModal.d.ts.map +1 -1
  78. package/build/@types/cim/components/modals/CimConfiguration/CimConfigurationFormFields.d.ts +4 -0
  79. package/build/@types/cim/components/modals/CimConfiguration/CimConfigurationFormFields.d.ts.map +1 -0
  80. package/build/@types/cim/components/modals/CimConfiguration/CimConfigurationModal.d.ts +0 -1
  81. package/build/@types/cim/components/modals/CimConfiguration/CimConfigurationModal.d.ts.map +1 -1
  82. package/build/@types/cim/components/modals/CimConfiguration/persist.d.ts +4 -7
  83. package/build/@types/cim/components/modals/CimConfiguration/persist.d.ts.map +1 -1
  84. package/build/@types/cim/components/modals/CimConfiguration/types.d.ts +7 -16
  85. package/build/@types/cim/components/modals/CimConfiguration/types.d.ts.map +1 -1
  86. package/build/@types/cim/hooks/index.d.ts +3 -0
  87. package/build/@types/cim/hooks/index.d.ts.map +1 -0
  88. package/build/@types/cim/hooks/types.d.ts +4 -0
  89. package/build/@types/cim/hooks/types.d.ts.map +1 -0
  90. package/build/@types/cim/hooks/useAgentServiceConfig.d.ts +4 -0
  91. package/build/@types/cim/hooks/useAgentServiceConfig.d.ts.map +1 -0
  92. package/build/@types/cim/hooks/useConfigMaps.d.ts +4 -0
  93. package/build/@types/cim/hooks/useConfigMaps.d.ts.map +1 -0
  94. package/build/@types/cim/hooks/useK8sWatchResource.d.ts +8 -0
  95. package/build/@types/cim/hooks/useK8sWatchResource.d.ts.map +1 -0
  96. package/build/@types/cim/types/index.d.ts +1 -1
  97. package/build/@types/cim/types/index.d.ts.map +1 -1
  98. package/build/@types/cim/types/k8s/agent-cluster-install.d.ts +3 -0
  99. package/build/@types/cim/types/k8s/agent-cluster-install.d.ts.map +1 -1
  100. package/build/@types/cim/types/models.d.ts +7 -0
  101. package/build/@types/cim/types/models.d.ts.map +1 -0
  102. package/build/@types/cim/utils.d.ts +2 -0
  103. package/build/@types/cim/utils.d.ts.map +1 -1
  104. package/build/@types/common/api/assisted-service/HostsAPI.d.ts +0 -1
  105. package/build/@types/common/api/assisted-service/HostsAPI.d.ts.map +1 -1
  106. package/build/@types/common/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts.map +1 -1
  107. package/build/@types/common/components/clusterConfiguration/DownloadIso.d.ts +2 -1
  108. package/build/@types/common/components/clusterConfiguration/DownloadIso.d.ts.map +1 -1
  109. package/build/@types/common/components/clusterConfiguration/ExternalPlatformsDropdown.d.ts +14 -0
  110. package/build/@types/common/components/clusterConfiguration/ExternalPlatformsDropdown.d.ts.map +1 -0
  111. package/build/@types/common/components/clusterConfiguration/SecurityFields.d.ts +3 -1
  112. package/build/@types/common/components/clusterConfiguration/SecurityFields.d.ts.map +1 -1
  113. package/build/@types/common/components/clusterConfiguration/index.d.ts +1 -0
  114. package/build/@types/common/components/clusterConfiguration/index.d.ts.map +1 -1
  115. package/build/@types/common/components/clusterWizard/types.d.ts +1 -2
  116. package/build/@types/common/components/clusterWizard/types.d.ts.map +1 -1
  117. package/build/@types/common/components/hosts/status.d.ts.map +1 -1
  118. package/build/@types/common/components/hosts/tableUtils.d.ts +2 -0
  119. package/build/@types/common/components/hosts/tableUtils.d.ts.map +1 -1
  120. package/build/@types/common/components/hosts/utils.d.ts +3 -0
  121. package/build/@types/common/components/hosts/utils.d.ts.map +1 -1
  122. package/build/@types/common/components/ui/OpenShiftSelectWithSearch.d.ts +1 -2
  123. package/build/@types/common/components/ui/OpenShiftSelectWithSearch.d.ts.map +1 -1
  124. package/build/@types/common/components/ui/OpenShiftVersionDropdown.d.ts +3 -3
  125. package/build/@types/common/components/ui/OpenShiftVersionDropdown.d.ts.map +1 -1
  126. package/build/@types/common/components/ui/OpenShiftVersionModal.d.ts.map +1 -1
  127. package/build/@types/common/components/ui/formik/InputField.d.ts.map +1 -1
  128. package/build/@types/common/components/ui/formik/SelectFieldWithSearch.d.ts +16 -0
  129. package/build/@types/common/components/ui/formik/SelectFieldWithSearch.d.ts.map +1 -0
  130. package/build/@types/common/components/ui/formik/index.d.ts +1 -0
  131. package/build/@types/common/components/ui/formik/index.d.ts.map +1 -1
  132. package/build/@types/common/components/ui/formik/types.d.ts +2 -2
  133. package/build/@types/common/components/ui/formik/types.d.ts.map +1 -1
  134. package/build/@types/common/components/ui/formik/validationSchemas.d.ts.map +1 -1
  135. package/build/@types/common/config/docs_links.d.ts +1 -1
  136. package/build/@types/common/config/docs_links.d.ts.map +1 -1
  137. package/build/@types/common/utils.d.ts +1 -0
  138. package/build/@types/common/utils.d.ts.map +1 -1
  139. package/build/@types/ocm/components/Routes.d.ts +6 -4
  140. package/build/@types/ocm/components/Routes.d.ts.map +1 -1
  141. package/build/@types/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.d.ts.map +1 -1
  142. package/build/@types/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.d.ts.map +1 -1
  143. package/build/@types/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.d.ts +1 -1
  144. package/build/@types/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.d.ts.map +1 -1
  145. package/build/@types/ocm/components/clusterWizard/disconnected/BasicStep.d.ts.map +1 -1
  146. package/build/@types/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.d.ts +1 -1
  147. package/build/@types/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.d.ts.map +1 -1
  148. package/build/@types/ocm/services/HostsService.d.ts +0 -1
  149. package/build/@types/ocm/services/HostsService.d.ts.map +1 -1
  150. package/build/cjs/cim/components/Agent/AgentStatus.js +2 -2
  151. package/build/cjs/cim/components/Agent/AgentStatus.js.map +1 -1
  152. package/build/cjs/cim/components/Agent/tableUtils.js +31 -12
  153. package/build/cjs/cim/components/Agent/tableUtils.js.map +1 -1
  154. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizard.js +12 -9
  155. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizard.js.map +1 -1
  156. package/build/cjs/cim/components/ClusterDeployment/ScaleUpForm.js +2 -2
  157. package/build/cjs/cim/components/ClusterDeployment/ScaleUpForm.js.map +1 -1
  158. package/build/cjs/cim/components/ClusterDeployment/{ACMClusterDeploymentDetailsStep.js → clusterDetails/ACMClusterDeploymentDetailsStep.js} +6 -5
  159. package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ACMClusterDeploymentDetailsStep.js.map +1 -0
  160. package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentDetailsForm.js → clusterDetails/ClusterDeploymentDetailsForm.js} +8 -8
  161. package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsForm.js.map +1 -0
  162. package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentDetailsStep.js → clusterDetails/ClusterDeploymentDetailsStep.js} +8 -8
  163. package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsStep.js.map +1 -0
  164. package/build/cjs/cim/components/ClusterDeployment/{ClusterDetailsFormFields.js → clusterDetails/ClusterDetailsFormFields.js} +20 -25
  165. package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.js.map +1 -0
  166. package/build/cjs/cim/components/ClusterDeployment/clusterDetails/index.js +8 -0
  167. package/build/cjs/cim/components/ClusterDeployment/clusterDetails/index.js.map +1 -0
  168. package/build/cjs/cim/components/ClusterDeployment/{AdditionalNTPSourcesDialogToggle.js → components/AdditionalNTPSourcesDialogToggle.js} +1 -1
  169. package/build/cjs/cim/components/ClusterDeployment/components/AdditionalNTPSourcesDialogToggle.js.map +1 -0
  170. package/build/cjs/cim/components/ClusterDeployment/components/index.js +5 -0
  171. package/build/cjs/cim/components/ClusterDeployment/components/index.js.map +1 -0
  172. package/build/cjs/cim/components/ClusterDeployment/constants.js +1 -0
  173. package/build/cjs/cim/components/ClusterDeployment/constants.js.map +1 -1
  174. package/build/cjs/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.js +71 -0
  175. package/build/cjs/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.js.map +1 -0
  176. package/build/cjs/cim/components/ClusterDeployment/customManifests/ConfigMapDetail.js +64 -0
  177. package/build/cjs/cim/components/ClusterDeployment/customManifests/ConfigMapDetail.js.map +1 -0
  178. package/build/cjs/cim/components/ClusterDeployment/customManifests/ConfigMapForm.js +134 -0
  179. package/build/cjs/cim/components/ClusterDeployment/customManifests/ConfigMapForm.js.map +1 -0
  180. package/build/cjs/cim/components/ClusterDeployment/customManifests/index.js +5 -0
  181. package/build/cjs/cim/components/ClusterDeployment/customManifests/index.js.map +1 -0
  182. package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentHostDiscoveryTable.js → hostDiscovery/ClusterDeploymentHostDiscoveryTable.js} +20 -13
  183. package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostDiscoveryTable.js.map +1 -0
  184. package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentHostsDiscovery.js → hostDiscovery/ClusterDeploymentHostsDiscovery.js} +6 -6
  185. package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscovery.js.map +1 -0
  186. package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentHostsDiscoveryStep.js → hostDiscovery/ClusterDeploymentHostsDiscoveryStep.js} +10 -9
  187. package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscoveryStep.js.map +1 -0
  188. package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/index.js +5 -0
  189. package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/index.js.map +1 -0
  190. package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentHostSelectionStep.js → hostSelection/ClusterDeploymentHostSelectionStep.js} +15 -14
  191. package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.js.map +1 -0
  192. package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelection.js → hostSelection/ClusterDeploymentHostsSelection.js} +23 -14
  193. package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelection.js.map +1 -0
  194. package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelectionAdvanced.js → hostSelection/ClusterDeploymentHostsSelectionAdvanced.js} +7 -6
  195. package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelectionAdvanced.js.map +1 -0
  196. package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelectionBasic.js → hostSelection/ClusterDeploymentHostsSelectionBasic.js} +7 -7
  197. package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelectionBasic.js.map +1 -0
  198. package/build/cjs/cim/components/ClusterDeployment/hostSelection/index.js +6 -0
  199. package/build/cjs/cim/components/ClusterDeployment/hostSelection/index.js.map +1 -0
  200. package/build/cjs/cim/components/ClusterDeployment/index.js +4 -4
  201. package/build/cjs/cim/components/ClusterDeployment/index.js.map +1 -1
  202. package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentHostsNetworkTable.js → networking/ClusterDeploymentHostsNetworkTable.js} +10 -10
  203. package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentHostsNetworkTable.js.map +1 -0
  204. package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentNetworkingForm.js → networking/ClusterDeploymentNetworkingForm.js} +7 -10
  205. package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingForm.js.map +1 -0
  206. package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentNetworkingStep.js → networking/ClusterDeploymentNetworkingStep.js} +10 -10
  207. package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingStep.js.map +1 -0
  208. package/build/cjs/cim/components/ClusterDeployment/networking/index.js +5 -0
  209. package/build/cjs/cim/components/ClusterDeployment/networking/index.js.map +1 -0
  210. package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentReviewStep.js → review/ClusterDeploymentReviewStep.js} +21 -16
  211. package/build/cjs/cim/components/ClusterDeployment/review/ClusterDeploymentReviewStep.js.map +1 -0
  212. package/build/cjs/cim/components/ClusterDeployment/review/ReviewConfigMapsTable.js +51 -0
  213. package/build/cjs/cim/components/ClusterDeployment/review/ReviewConfigMapsTable.js.map +1 -0
  214. package/build/cjs/cim/components/ClusterDeployment/review/index.js +5 -0
  215. package/build/cjs/cim/components/ClusterDeployment/review/index.js.map +1 -0
  216. package/build/cjs/cim/components/ClusterDeployment/use-networking-formik.js +2 -3
  217. package/build/cjs/cim/components/ClusterDeployment/use-networking-formik.js.map +1 -1
  218. package/build/cjs/cim/components/ClusterDeployment/wizardTransition.js +1 -0
  219. package/build/cjs/cim/components/ClusterDeployment/wizardTransition.js.map +1 -1
  220. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.js +7 -12
  221. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.js.map +1 -1
  222. package/build/cjs/cim/components/Hypershift/modals/ManageHostsModal.js +2 -2
  223. package/build/cjs/cim/components/Hypershift/modals/ManageHostsModal.js.map +1 -1
  224. package/build/cjs/cim/components/InfraEnv/InfraEnvAgentTable.js +5 -2
  225. package/build/cjs/cim/components/InfraEnv/InfraEnvAgentTable.js.map +1 -1
  226. package/build/cjs/cim/components/InfraEnv/InfraTableToolbar.js +25 -3
  227. package/build/cjs/cim/components/InfraEnv/InfraTableToolbar.js.map +1 -1
  228. package/build/cjs/cim/components/helpers/agentClusterInstall.js +7 -1
  229. package/build/cjs/cim/components/helpers/agentClusterInstall.js.map +1 -1
  230. package/build/cjs/cim/components/helpers/agents.js +4 -1
  231. package/build/cjs/cim/components/helpers/agents.js.map +1 -1
  232. package/build/cjs/cim/components/helpers/toAssisted.js +43 -25
  233. package/build/cjs/cim/components/helpers/toAssisted.js.map +1 -1
  234. package/build/cjs/cim/components/helpers/versions.js +5 -1
  235. package/build/cjs/cim/components/helpers/versions.js.map +1 -1
  236. package/build/cjs/cim/components/modals/AddHostModal.js +10 -5
  237. package/build/cjs/cim/components/modals/AddHostModal.js.map +1 -1
  238. package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationFormFields.js +91 -0
  239. package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationFormFields.js.map +1 -0
  240. package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationModal.js +77 -121
  241. package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationModal.js.map +1 -1
  242. package/build/cjs/cim/components/modals/CimConfiguration/persist.js +44 -95
  243. package/build/cjs/cim/components/modals/CimConfiguration/persist.js.map +1 -1
  244. package/build/cjs/cim/components/modals/EditProxyModal.js +1 -1
  245. package/build/cjs/cim/components/modals/EditProxyModal.js.map +1 -1
  246. package/build/cjs/cim/components/modals/EditSSHKeyModal.js +1 -1
  247. package/build/cjs/cim/components/modals/EditSSHKeyModal.js.map +1 -1
  248. package/build/cjs/cim/components/modals/MassApproveAgentModal.js +3 -3
  249. package/build/cjs/cim/components/modals/MassApproveAgentModal.js.map +1 -1
  250. package/build/cjs/cim/hooks/index.js +6 -0
  251. package/build/cjs/cim/hooks/index.js.map +1 -0
  252. package/build/cjs/cim/hooks/types.js +3 -0
  253. package/build/cjs/cim/hooks/types.js.map +1 -0
  254. package/build/cjs/cim/hooks/useAgentServiceConfig.js +13 -0
  255. package/build/cjs/cim/hooks/useAgentServiceConfig.js.map +1 -0
  256. package/build/cjs/cim/hooks/useConfigMaps.js +12 -0
  257. package/build/cjs/cim/hooks/useConfigMaps.js.map +1 -0
  258. package/build/cjs/cim/hooks/useK8sWatchResource.js +12 -0
  259. package/build/cjs/cim/hooks/useK8sWatchResource.js.map +1 -0
  260. package/build/cjs/cim/types/index.js +1 -1
  261. package/build/cjs/cim/types/index.js.map +1 -1
  262. package/build/cjs/cim/types/models.js +54 -0
  263. package/build/cjs/cim/types/models.js.map +1 -0
  264. package/build/cjs/cim/utils.js +12 -1
  265. package/build/cjs/cim/utils.js.map +1 -1
  266. package/build/cjs/common/api/assisted-service/HostsAPI.js +0 -3
  267. package/build/cjs/common/api/assisted-service/HostsAPI.js.map +1 -1
  268. package/build/cjs/common/components/clusterConfiguration/ControlPlaneNodesDropdown.js +10 -1
  269. package/build/cjs/common/components/clusterConfiguration/ControlPlaneNodesDropdown.js.map +1 -1
  270. package/build/cjs/common/components/clusterConfiguration/DownloadIso.js +2 -2
  271. package/build/cjs/common/components/clusterConfiguration/DownloadIso.js.map +1 -1
  272. package/build/cjs/common/components/clusterConfiguration/ExternalPlatformsDropdown.js +49 -0
  273. package/build/cjs/common/components/clusterConfiguration/ExternalPlatformsDropdown.js.map +1 -0
  274. package/build/cjs/common/components/clusterConfiguration/SecurityFields.js +7 -5
  275. package/build/cjs/common/components/clusterConfiguration/SecurityFields.js.map +1 -1
  276. package/build/cjs/common/components/clusterConfiguration/index.js +1 -0
  277. package/build/cjs/common/components/clusterConfiguration/index.js.map +1 -1
  278. package/build/cjs/common/components/clusterWizard/clusterDetailsValidation.js +7 -7
  279. package/build/cjs/common/components/clusterWizard/clusterDetailsValidation.js.map +1 -1
  280. package/build/cjs/common/components/hosts/status.js +1 -2
  281. package/build/cjs/common/components/hosts/status.js.map +1 -1
  282. package/build/cjs/common/components/hosts/tableUtils.js +41 -1
  283. package/build/cjs/common/components/hosts/tableUtils.js.map +1 -1
  284. package/build/cjs/common/components/hosts/utils.js +5 -1
  285. package/build/cjs/common/components/hosts/utils.js.map +1 -1
  286. package/build/cjs/common/components/ui/OpenShiftSelectWithSearch.js +20 -139
  287. package/build/cjs/common/components/ui/OpenShiftSelectWithSearch.js.map +1 -1
  288. package/build/cjs/common/components/ui/OpenShiftVersionDropdown.js +10 -15
  289. package/build/cjs/common/components/ui/OpenShiftVersionDropdown.js.map +1 -1
  290. package/build/cjs/common/components/ui/OpenShiftVersionModal.js +8 -12
  291. package/build/cjs/common/components/ui/OpenShiftVersionModal.js.map +1 -1
  292. package/build/cjs/common/components/ui/formik/InputField.js +4 -5
  293. package/build/cjs/common/components/ui/formik/InputField.js.map +1 -1
  294. package/build/cjs/common/components/ui/formik/SelectFieldWithSearch.js +153 -0
  295. package/build/cjs/common/components/ui/formik/SelectFieldWithSearch.js.map +1 -0
  296. package/build/cjs/common/components/ui/formik/index.js +3 -1
  297. package/build/cjs/common/components/ui/formik/index.js.map +1 -1
  298. package/build/cjs/common/components/ui/formik/validationSchemas.js +4 -8
  299. package/build/cjs/common/components/ui/formik/validationSchemas.js.map +1 -1
  300. package/build/cjs/common/config/docs_links.js +9 -3
  301. package/build/cjs/common/config/docs_links.js.map +1 -1
  302. package/build/cjs/common/utils.js +4 -3
  303. package/build/cjs/common/utils.js.map +1 -1
  304. package/build/cjs/ocm/components/Routes.js.map +1 -1
  305. package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js +2 -1
  306. package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js.map +1 -1
  307. package/build/cjs/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.js +1 -1
  308. package/build/cjs/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.js.map +1 -1
  309. package/build/cjs/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.js +10 -15
  310. package/build/cjs/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.js.map +1 -1
  311. package/build/cjs/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.js.map +1 -1
  312. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.js +1 -1
  313. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.js.map +1 -1
  314. package/build/cjs/ocm/components/clusterWizard/disconnected/BasicStep.js +2 -1
  315. package/build/cjs/ocm/components/clusterWizard/disconnected/BasicStep.js.map +1 -1
  316. package/build/cjs/ocm/components/clusters/AssistedInstallerHeader.js +1 -1
  317. package/build/cjs/ocm/components/clusters/AssistedInstallerHeader.js.map +1 -1
  318. package/build/cjs/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.js +14 -4
  319. package/build/cjs/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.js.map +1 -1
  320. package/build/cjs/ocm/services/HostsService.js +0 -6
  321. package/build/cjs/ocm/services/HostsService.js.map +1 -1
  322. package/lib/cim/components/Agent/AgentStatus.tsx +1 -1
  323. package/lib/cim/components/Agent/tableUtils.tsx +43 -13
  324. package/lib/cim/components/ClusterDeployment/ClusterDeploymentWizard.tsx +15 -5
  325. package/lib/cim/components/ClusterDeployment/ScaleUpForm.tsx +1 -1
  326. package/lib/cim/components/ClusterDeployment/{ACMClusterDeploymentDetailsStep.tsx → clusterDetails/ACMClusterDeploymentDetailsStep.tsx} +6 -8
  327. package/lib/cim/components/ClusterDeployment/{ClusterDeploymentDetailsForm.tsx → clusterDetails/ClusterDeploymentDetailsForm.tsx} +17 -11
  328. package/lib/cim/components/ClusterDeployment/{ClusterDeploymentDetailsStep.tsx → clusterDetails/ClusterDeploymentDetailsStep.tsx} +9 -10
  329. package/lib/cim/components/ClusterDeployment/{ClusterDetailsFormFields.tsx → clusterDetails/ClusterDetailsFormFields.tsx} +22 -24
  330. package/lib/cim/components/ClusterDeployment/clusterDetails/index.tsx +4 -0
  331. package/lib/cim/components/ClusterDeployment/{AdditionalNTPSourcesDialogToggle.tsx → components/AdditionalNTPSourcesDialogToggle.tsx} +1 -1
  332. package/lib/cim/components/ClusterDeployment/components/index.tsx +1 -0
  333. package/lib/cim/components/ClusterDeployment/constants.ts +1 -0
  334. package/lib/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.tsx +128 -0
  335. package/lib/cim/components/ClusterDeployment/customManifests/ConfigMapDetail.tsx +191 -0
  336. package/lib/cim/components/ClusterDeployment/customManifests/ConfigMapForm.tsx +247 -0
  337. package/lib/cim/components/ClusterDeployment/customManifests/index.tsx +1 -0
  338. package/lib/cim/components/ClusterDeployment/{ClusterDeploymentHostDiscoveryTable.tsx → hostDiscovery/ClusterDeploymentHostDiscoveryTable.tsx} +23 -14
  339. package/lib/cim/components/ClusterDeployment/{ClusterDeploymentHostsDiscovery.tsx → hostDiscovery/ClusterDeploymentHostsDiscovery.tsx} +8 -8
  340. package/lib/cim/components/ClusterDeployment/{ClusterDeploymentHostsDiscoveryStep.tsx → hostDiscovery/ClusterDeploymentHostsDiscoveryStep.tsx} +10 -11
  341. package/lib/cim/components/ClusterDeployment/hostDiscovery/index.tsx +1 -0
  342. package/lib/cim/components/ClusterDeployment/{ClusterDeploymentHostSelectionStep.tsx → hostSelection/ClusterDeploymentHostSelectionStep.tsx} +17 -16
  343. package/lib/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelection.tsx → hostSelection/ClusterDeploymentHostsSelection.tsx} +33 -17
  344. package/lib/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelectionAdvanced.tsx → hostSelection/ClusterDeploymentHostsSelectionAdvanced.tsx} +10 -12
  345. package/lib/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelectionBasic.tsx → hostSelection/ClusterDeploymentHostsSelectionBasic.tsx} +9 -9
  346. package/lib/cim/components/ClusterDeployment/hostSelection/index.tsx +2 -0
  347. package/lib/cim/components/ClusterDeployment/index.ts +2 -2
  348. package/lib/cim/components/ClusterDeployment/{ClusterDeploymentHostsNetworkTable.tsx → networking/ClusterDeploymentHostsNetworkTable.tsx} +12 -12
  349. package/lib/cim/components/ClusterDeployment/{ClusterDeploymentNetworkingForm.tsx → networking/ClusterDeploymentNetworkingForm.tsx} +9 -13
  350. package/lib/cim/components/ClusterDeployment/{ClusterDeploymentNetworkingStep.tsx → networking/ClusterDeploymentNetworkingStep.tsx} +11 -13
  351. package/lib/cim/components/ClusterDeployment/networking/index.tsx +1 -0
  352. package/lib/cim/components/ClusterDeployment/{ClusterDeploymentReviewStep.tsx → review/ClusterDeploymentReviewStep.tsx} +36 -15
  353. package/lib/cim/components/ClusterDeployment/review/ReviewConfigMapsTable.tsx +70 -0
  354. package/lib/cim/components/ClusterDeployment/review/index.tsx +1 -0
  355. package/lib/cim/components/ClusterDeployment/types.ts +2 -0
  356. package/lib/cim/components/ClusterDeployment/use-networking-formik.ts +4 -4
  357. package/lib/cim/components/ClusterDeployment/wizardTransition.ts +2 -0
  358. package/lib/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.tsx +7 -12
  359. package/lib/cim/components/Hypershift/HostedClusterWizard/DetailsStep/types.ts +1 -1
  360. package/lib/cim/components/Hypershift/modals/ManageHostsModal.tsx +2 -2
  361. package/lib/cim/components/InfraEnv/InfraEnvAgentTable.tsx +11 -0
  362. package/lib/cim/components/InfraEnv/InfraTableToolbar.tsx +77 -1
  363. package/lib/cim/components/helpers/agentClusterInstall.ts +4 -0
  364. package/lib/cim/components/helpers/agents.ts +5 -1
  365. package/lib/cim/components/helpers/toAssisted.ts +27 -2
  366. package/lib/cim/components/helpers/versions.ts +7 -3
  367. package/lib/cim/components/modals/AddHostModal.tsx +13 -1
  368. package/lib/cim/components/modals/CimConfiguration/CimConfigurationFormFields.tsx +259 -0
  369. package/lib/cim/components/modals/CimConfiguration/CimConfigurationModal.tsx +170 -193
  370. package/lib/cim/components/modals/CimConfiguration/persist.ts +62 -125
  371. package/lib/cim/components/modals/CimConfiguration/types.ts +7 -22
  372. package/lib/cim/components/modals/EditProxyModal.tsx +1 -1
  373. package/lib/cim/components/modals/EditSSHKeyModal.tsx +1 -1
  374. package/lib/cim/components/modals/MassApproveAgentModal.tsx +2 -2
  375. package/lib/cim/hooks/index.tsx +2 -0
  376. package/lib/cim/hooks/types.tsx +8 -0
  377. package/lib/cim/hooks/useAgentServiceConfig.tsx +15 -0
  378. package/lib/cim/hooks/useConfigMaps.tsx +14 -0
  379. package/lib/cim/hooks/useK8sWatchResource.tsx +27 -0
  380. package/lib/cim/types/index.ts +1 -1
  381. package/lib/cim/types/k8s/agent-cluster-install.ts +1 -0
  382. package/lib/cim/types/models.tsx +56 -0
  383. package/lib/cim/utils.ts +12 -0
  384. package/lib/common/api/assisted-service/HostsAPI.ts +0 -5
  385. package/lib/common/components/clusterConfiguration/ControlPlaneNodesDropdown.tsx +10 -1
  386. package/lib/common/components/clusterConfiguration/DownloadIso.tsx +3 -1
  387. package/lib/common/components/clusterConfiguration/ExternalPlatformsDropdown.tsx +88 -0
  388. package/lib/common/components/clusterConfiguration/SecurityFields.tsx +13 -6
  389. package/lib/common/components/clusterConfiguration/index.ts +1 -0
  390. package/lib/common/components/clusterWizard/clusterDetailsValidation.ts +7 -7
  391. package/lib/common/components/clusterWizard/types.ts +1 -2
  392. package/lib/common/components/hosts/status.tsx +1 -2
  393. package/lib/common/components/hosts/tableUtils.tsx +48 -0
  394. package/lib/common/components/hosts/utils.ts +4 -0
  395. package/lib/common/components/ui/OpenShiftSelectWithSearch.tsx +38 -239
  396. package/lib/common/components/ui/OpenShiftVersionDropdown.tsx +14 -23
  397. package/lib/common/components/ui/OpenShiftVersionModal.tsx +12 -16
  398. package/lib/common/components/ui/formik/InputField.tsx +16 -12
  399. package/lib/common/components/ui/formik/SelectFieldWithSearch.tsx +278 -0
  400. package/lib/common/components/ui/formik/index.tsx +1 -0
  401. package/lib/common/components/ui/formik/types.ts +2 -2
  402. package/lib/common/components/ui/formik/validationSchemas.ts +7 -9
  403. package/lib/common/config/docs_links.ts +9 -6
  404. package/lib/common/utils.ts +1 -1
  405. package/lib/ocm/components/Routes.tsx +9 -7
  406. package/lib/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.tsx +17 -16
  407. package/lib/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.tsx +2 -2
  408. package/lib/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.tsx +13 -18
  409. package/lib/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.tsx +1 -1
  410. package/lib/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.ts +2 -2
  411. package/lib/ocm/components/clusterWizard/disconnected/BasicStep.tsx +4 -2
  412. package/lib/ocm/components/clusterWizard/disconnected/ReviewStep.tsx +1 -1
  413. package/lib/ocm/components/clusters/AssistedInstallerHeader.tsx +2 -2
  414. package/lib/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.tsx +23 -4
  415. package/lib/ocm/services/HostsService.ts +0 -8
  416. package/package.json +5 -5
  417. package/build/@types/cim/components/ClusterDeployment/ACMClusterDeploymentDetailsStep.d.ts.map +0 -1
  418. package/build/@types/cim/components/ClusterDeployment/AdditionalNTPSourcesDialogToggle.d.ts.map +0 -1
  419. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentDetailsForm.d.ts.map +0 -1
  420. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentDetailsStep.d.ts.map +0 -1
  421. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostDiscoveryTable.d.ts.map +0 -1
  422. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostSelectionStep.d.ts.map +0 -1
  423. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscovery.d.ts.map +0 -1
  424. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscoveryStep.d.ts +0 -5
  425. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscoveryStep.d.ts.map +0 -1
  426. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsNetworkTable.d.ts.map +0 -1
  427. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsSelection.d.ts.map +0 -1
  428. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsSelectionAdvanced.d.ts.map +0 -1
  429. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsSelectionBasic.d.ts.map +0 -1
  430. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentNetworkingForm.d.ts.map +0 -1
  431. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentNetworkingStep.d.ts.map +0 -1
  432. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentReviewStep.d.ts.map +0 -1
  433. package/build/@types/cim/components/ClusterDeployment/ClusterDetailsFormFields.d.ts.map +0 -1
  434. package/build/@types/cim/components/modals/CimConfiguration/CimConfigurationForm.d.ts +0 -5
  435. package/build/@types/cim/components/modals/CimConfiguration/CimConfigurationForm.d.ts.map +0 -1
  436. package/build/@types/cim/types/resources.d.ts +0 -45
  437. package/build/@types/cim/types/resources.d.ts.map +0 -1
  438. package/build/cjs/cim/components/ClusterDeployment/ACMClusterDeploymentDetailsStep.js.map +0 -1
  439. package/build/cjs/cim/components/ClusterDeployment/AdditionalNTPSourcesDialogToggle.js.map +0 -1
  440. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetailsForm.js.map +0 -1
  441. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetailsStep.js.map +0 -1
  442. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostDiscoveryTable.js.map +0 -1
  443. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostSelectionStep.js.map +0 -1
  444. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscovery.js.map +0 -1
  445. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscoveryStep.js.map +0 -1
  446. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsNetworkTable.js.map +0 -1
  447. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsSelection.js.map +0 -1
  448. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsSelectionAdvanced.js.map +0 -1
  449. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsSelectionBasic.js.map +0 -1
  450. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentNetworkingForm.js.map +0 -1
  451. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentNetworkingStep.js.map +0 -1
  452. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentReviewStep.js.map +0 -1
  453. package/build/cjs/cim/components/ClusterDeployment/ClusterDetailsFormFields.js.map +0 -1
  454. package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationForm.css +0 -23
  455. package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationForm.js +0 -85
  456. package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationForm.js.map +0 -1
  457. package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationModal.css +0 -3
  458. package/build/cjs/cim/types/resources.js +0 -10
  459. package/build/cjs/cim/types/resources.js.map +0 -1
  460. package/lib/cim/components/modals/CimConfiguration/CimConfigurationForm.css +0 -23
  461. package/lib/cim/components/modals/CimConfiguration/CimConfigurationForm.tsx +0 -290
  462. package/lib/cim/components/modals/CimConfiguration/CimConfigurationModal.css +0 -3
  463. package/lib/cim/types/resources.ts +0 -50
  464. /package/build/@types/cim/components/ClusterDeployment/{AdditionalNTPSourcesDialogToggle.d.ts → components/AdditionalNTPSourcesDialogToggle.d.ts} +0 -0
@@ -12,17 +12,17 @@ import {
12
12
  useWizardContext,
13
13
  } from '@patternfly/react-core';
14
14
 
15
- import { Alerts, ClusterWizardStepHeader } from '../../../common';
16
- import { ClusterDeploymentHostsDiscoveryStepProps } from './types';
15
+ import { Alerts, ClusterWizardStepHeader } from '../../../../common';
16
+ import { ClusterDeploymentHostsDiscoveryStepProps } from '../types';
17
17
  import ClusterDeploymentHostsDiscovery from './ClusterDeploymentHostsDiscovery';
18
- import { getAgentsHostsNames, isAgentOfInfraEnv } from './helpers';
19
- import { getIsSNOCluster, getWizardStepAgentStatus } from '../helpers';
20
- import { canNextFromHostDiscoveryStep } from './wizardTransition';
21
- import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
22
- import { ValidationSection } from './components/ValidationSection';
23
- import { ClusterDeploymentWizardContext } from './ClusterDeploymentWizardContext';
18
+ import { getAgentsHostsNames, isAgentOfInfraEnv } from '../helpers';
19
+ import { getIsSNOCluster, getWizardStepAgentStatus } from '../../helpers';
20
+ import { canNextFromHostDiscoveryStep } from '../wizardTransition';
21
+ import { useTranslation } from '../../../../common/hooks/use-translation-wrapper';
22
+ import { ValidationSection } from '../components/ValidationSection';
23
+ import { ClusterDeploymentWizardContext } from '../ClusterDeploymentWizardContext';
24
24
 
25
- const ClusterDeploymentHostsDiscoveryStep = ({
25
+ export const ClusterDeploymentHostsDiscoveryStep = ({
26
26
  agentClusterInstall,
27
27
  agents: allAgents,
28
28
  infraEnv,
@@ -174,7 +174,7 @@ const ClusterDeploymentHostsDiscoveryStep = ({
174
174
  {!!syncError && (
175
175
  <GridItem>
176
176
  <ValidationSection currentStepId={'hosts-selection'} hosts={[]}>
177
- <Alert variant={AlertVariant.danger} title={t('ai:An error occured')} isInline>
177
+ <Alert variant={AlertVariant.danger} title={t('ai:An error occurred')} isInline>
178
178
  {syncError}
179
179
  </Alert>
180
180
  </ValidationSection>
@@ -183,4 +183,3 @@ const ClusterDeploymentHostsDiscoveryStep = ({
183
183
  </Grid>
184
184
  );
185
185
  };
186
- export default ClusterDeploymentHostsDiscoveryStep;
@@ -0,0 +1 @@
1
+ export * from './ClusterDeploymentHostsDiscoveryStep';
@@ -10,28 +10,28 @@ import {
10
10
  useWizardFooter,
11
11
  WizardFooter,
12
12
  } from '@patternfly/react-core';
13
- import { Alerts, ClusterWizardStepHeader, useAlerts } from '../../../common';
13
+ import { Alerts, ClusterWizardStepHeader, useAlerts } from '../../../../common';
14
14
  import {
15
15
  AgentClusterInstallK8sResource,
16
16
  AgentK8sResource,
17
17
  ClusterDeploymentK8sResource,
18
- } from '../../types';
18
+ } from '../../../types';
19
19
  import ClusterDeploymentHostsSelection from './ClusterDeploymentHostsSelection';
20
20
  import {
21
21
  ClusterDeploymentHostSelectionStepProps,
22
22
  ClusterDeploymentHostsSelectionValues,
23
- } from './types';
24
- import { hostCountValidationSchema } from './validationSchemas';
23
+ } from '../types';
24
+ import { hostCountValidationSchema } from '../validationSchemas';
25
25
  import {
26
26
  getAgentSelectorFieldsFromAnnotations,
27
27
  getIsSNOCluster,
28
28
  getWizardStepAgentStatus,
29
- } from '../helpers';
30
- import { canNextFromHostSelectionStep } from './wizardTransition';
31
- import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
29
+ } from '../../helpers';
30
+ import { canNextFromHostSelectionStep } from '../wizardTransition';
31
+ import { useTranslation } from '../../../../common/hooks/use-translation-wrapper';
32
32
  import { TFunction } from 'i18next';
33
- import { ValidationSection } from './components/ValidationSection';
34
- import { ClusterDeploymentWizardContext } from './ClusterDeploymentWizardContext';
33
+ import { ValidationSection } from '../components/ValidationSection';
34
+ import { ClusterDeploymentWizardContext } from '../ClusterDeploymentWizardContext';
35
35
 
36
36
  const getInitialValues = ({
37
37
  agents,
@@ -45,9 +45,12 @@ const getInitialValues = ({
45
45
  const isSNOCluster = getIsSNOCluster(agentClusterInstall);
46
46
  const cdName = clusterDeployment?.metadata?.name;
47
47
  const cdNamespace = clusterDeployment?.metadata?.namespace;
48
+
48
49
  let hostCount =
49
50
  (agentClusterInstall?.spec?.provisionRequirements?.controlPlaneAgents || 0) +
51
+ (agentClusterInstall?.spec?.provisionRequirements?.arbiterAgents || 0) +
50
52
  (agentClusterInstall?.spec?.provisionRequirements?.workerAgents || 0);
53
+
51
54
  if (isSNOCluster) {
52
55
  hostCount = 1;
53
56
  } else if (hostCount === 2 || hostCount === 0) {
@@ -255,7 +258,7 @@ const HostSelectionForm: React.FC<HostSelectionFormProps> = ({
255
258
  const errorsSection = (
256
259
  <ValidationSection currentStepId={'cluster-details'} hosts={[]}>
257
260
  {syncError && (
258
- <Alert variant={AlertVariant.danger} title={t('ai:An error occured')} isInline>
261
+ <Alert variant={AlertVariant.danger} title={t('ai:An error occurred')} isInline>
259
262
  {syncError}
260
263
  </Alert>
261
264
  )}
@@ -310,6 +313,7 @@ const HostSelectionForm: React.FC<HostSelectionFormProps> = ({
310
313
  onAutoSelectChange={onAutoSelectChange}
311
314
  onHostSelect={onHostSelect}
312
315
  isNutanix={isNutanix}
316
+ hostsBinding={nextRequested && !showClusterErrors}
313
317
  />
314
318
  </GridItem>
315
319
  {(showClusterErrors || showFormErrors) && !!alerts.length && (
@@ -334,10 +338,9 @@ const HostSelectionForm: React.FC<HostSelectionFormProps> = ({
334
338
  );
335
339
  };
336
340
 
337
- const ClusterDeploymentHostSelectionStep: React.FC<ClusterDeploymentHostSelectionStepProps> = ({
338
- onSaveHostsSelection,
339
- ...rest
340
- }) => {
341
+ export const ClusterDeploymentHostSelectionStep: React.FC<
342
+ ClusterDeploymentHostSelectionStepProps
343
+ > = ({ onSaveHostsSelection, ...rest }) => {
341
344
  const { t } = useTranslation();
342
345
 
343
346
  const { addAlert } = useAlerts();
@@ -377,5 +380,3 @@ const ClusterDeploymentHostSelectionStep: React.FC<ClusterDeploymentHostSelectio
377
380
  </Formik>
378
381
  );
379
382
  };
380
-
381
- export default ClusterDeploymentHostSelectionStep;
@@ -1,21 +1,36 @@
1
1
  import React from 'react';
2
2
  import { useFormikContext } from 'formik';
3
3
  import { Grid, GridItem, Content, Form } from '@patternfly/react-core';
4
- import { SwitchField } from '../../../common';
4
+ import { SwitchField } from '../../../../common';
5
5
  import {
6
6
  ClusterDeploymentHostsSelectionProps,
7
7
  ClusterDeploymentHostsSelectionValues,
8
- } from './types';
8
+ } from '../types';
9
9
  import ClusterDeploymentHostsSelectionBasic from './ClusterDeploymentHostsSelectionBasic';
10
- import ClusterDeploymentHostsSelectionAdvanced from './ClusterDeploymentHostsSelectionAdvanced';
10
+ import { ClusterDeploymentHostsSelectionAdvanced } from './ClusterDeploymentHostsSelectionAdvanced';
11
11
  import {
12
12
  getAgentsForSelection,
13
13
  getClusterDeploymentCpuArchitecture,
14
14
  getIsSNOCluster,
15
- } from '../helpers';
16
- import MinimalHWRequirements from '../Agent/MinimalHWRequirements';
17
- import NoAgentsAlert from '../Agent/NoAgentsAlert';
18
- import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
15
+ getIsTNACluster,
16
+ } from '../../helpers';
17
+ import MinimalHWRequirements from '../../Agent/MinimalHWRequirements';
18
+ import NoAgentsAlert from '../../Agent/NoAgentsAlert';
19
+ import { useTranslation } from '../../../../common/hooks/use-translation-wrapper';
20
+ import { TFunction } from 'i18next';
21
+
22
+ const getHostRequirementText = (isSNO: boolean, isTNA: boolean, t: TFunction) => {
23
+ if (isSNO) {
24
+ return t(
25
+ 'ai:Exactly 1 host is required, capable of functioning both as control plane and worker node.',
26
+ );
27
+ } else if (isTNA) {
28
+ return t(
29
+ 'ai:Exactly 2 hosts capable of functioning as control plane nodes, and one arbiter, are required.',
30
+ );
31
+ }
32
+ return t('ai:At least 3 hosts are required, capable of functioning as control plane nodes.');
33
+ };
19
34
 
20
35
  const ClusterDeploymentHostsSelection: React.FC<ClusterDeploymentHostsSelectionProps> = ({
21
36
  agentClusterInstall,
@@ -27,17 +42,20 @@ const ClusterDeploymentHostsSelection: React.FC<ClusterDeploymentHostsSelectionP
27
42
  onHostSelect,
28
43
  onSetInstallationDiskId,
29
44
  isNutanix,
45
+ hostsBinding,
30
46
  }) => {
47
+ const { t } = useTranslation();
31
48
  const { values } = useFormikContext<ClusterDeploymentHostsSelectionValues>();
32
49
  const { autoSelectHosts } = values;
33
50
  const isSNOCluster = getIsSNOCluster(agentClusterInstall);
51
+ const isTNA = getIsTNACluster(agentClusterInstall);
34
52
 
35
53
  const cdName = clusterDeployment?.metadata?.name;
36
54
  const cdNamespace = clusterDeployment?.metadata?.namespace;
37
55
  const cpuArchitecture = getClusterDeploymentCpuArchitecture(clusterDeployment);
38
56
 
39
57
  const availableAgents = React.useMemo(() => {
40
- const filtered = getAgentsForSelection(agents).filter(
58
+ const filtered = getAgentsForSelection(agents, hostsBinding).filter(
41
59
  (agent) =>
42
60
  (agent.spec.clusterDeploymentName?.name === cdName &&
43
61
  agent.spec.clusterDeploymentName?.namespace === cdNamespace) ||
@@ -45,22 +63,20 @@ const ClusterDeploymentHostsSelection: React.FC<ClusterDeploymentHostsSelectionP
45
63
  !agent.spec.clusterDeploymentName?.namespace &&
46
64
  agent.status?.inventory.cpu?.architecture === cpuArchitecture),
47
65
  );
66
+
48
67
  return isNutanix
49
68
  ? filtered.filter((a) => a.status?.inventory?.systemVendor?.manufacturer === 'Nutanix')
50
69
  : filtered;
51
- }, [agents, cdNamespace, cdName, cpuArchitecture, isNutanix]);
52
- const { t } = useTranslation();
70
+ }, [agents, hostsBinding, isNutanix, cdName, cdNamespace, cpuArchitecture]);
71
+
72
+ const hostRequirementText = getHostRequirementText(isSNOCluster, isTNA, t);
73
+
53
74
  return (
54
75
  <Grid hasGutter>
55
76
  <GridItem>
56
- <Content>
57
- {isSNOCluster
58
- ? t(
59
- 'ai:Exactly 1 host is required, capable of functioning both as control plane and worker node.',
60
- )
61
- : t('ai:At least 3 hosts are required, capable of functioning as control plane nodes.')}
62
- </Content>
77
+ <Content>{hostRequirementText}</Content>
63
78
  </GridItem>
79
+
64
80
  {aiConfigMap && (
65
81
  <GridItem>
66
82
  <MinimalHWRequirements aiConfigMap={aiConfigMap} isSNOCluster={isSNOCluster} />
@@ -4,15 +4,15 @@ import React from 'react';
4
4
  import Measure from 'react-measure';
5
5
  import { Alert, AlertVariant, Grid, GridItem } from '@patternfly/react-core';
6
6
 
7
- import { AgentK8sResource } from '../../types';
8
- import { AGENT_LOCATION_LABEL_KEY, AGENT_NOLOCATION_VALUE } from '../common';
9
- import LocationsSelector from './LocationsSelector';
10
- import { ClusterDeploymentHostsSelectionValues, ScaleUpFormValues } from './types';
11
- import LabelsSelector, { infraEnvLabelKeys } from './LabelsSelector';
12
- import AgentsSelectionTable from '../Agent/AgentsSelectionTable';
13
- import { AgentTableActions } from './types';
14
- import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
15
- import { CpuArchitecture } from '../../../common';
7
+ import { AgentK8sResource } from '../../../types';
8
+ import { AGENT_LOCATION_LABEL_KEY, AGENT_NOLOCATION_VALUE } from '../../common';
9
+ import LocationsSelector from '../LocationsSelector';
10
+ import { ClusterDeploymentHostsSelectionValues, ScaleUpFormValues } from '../types';
11
+ import LabelsSelector, { infraEnvLabelKeys } from '../LabelsSelector';
12
+ import AgentsSelectionTable from '../../Agent/AgentsSelectionTable';
13
+ import { AgentTableActions } from '../types';
14
+ import { useTranslation } from '../../../../common/hooks/use-translation-wrapper';
15
+ import { CpuArchitecture } from '../../../../common';
16
16
 
17
17
  type ClusterDeploymentHostsSelectionAdvancedProps = {
18
18
  availableAgents: AgentK8sResource[];
@@ -25,7 +25,7 @@ type ClusterDeploymentHostsSelectionAdvancedProps = {
25
25
 
26
26
  type FormValues = ClusterDeploymentHostsSelectionValues | ScaleUpFormValues;
27
27
 
28
- const ClusterDeploymentHostsSelectionAdvanced = <T extends FormValues>({
28
+ export const ClusterDeploymentHostsSelectionAdvanced = <T extends FormValues>({
29
29
  availableAgents,
30
30
  onEditRole,
31
31
  onSetInstallationDiskId,
@@ -103,5 +103,3 @@ const ClusterDeploymentHostsSelectionAdvanced = <T extends FormValues>({
103
103
  </>
104
104
  );
105
105
  };
106
-
107
- export default ClusterDeploymentHostsSelectionAdvanced;
@@ -1,15 +1,15 @@
1
1
  import React from 'react';
2
2
  import { Grid, GridItem } from '@patternfly/react-core';
3
- import { CheckboxField, NumberInputField } from '../../../common';
4
- import { HOSTS_MAX_COUNT, HOSTS_MIN_COUNT } from './constants';
3
+ import { CheckboxField, NumberInputField } from '../../../../common';
4
+ import { HOSTS_MAX_COUNT, HOSTS_MIN_COUNT } from '../constants';
5
5
  import { useFormikContext } from 'formik';
6
- import { ClusterDeploymentHostsSelectionValues } from './types';
7
- import LocationsSelector from './LocationsSelector';
8
- import { AgentK8sResource } from '../../types';
9
- import AgentsSelectionHostCountAlerts from '../Agent/AgentsSelectionHostCountAlerts';
10
- import AgentsSelectionHostCountLabelIcon from '../Agent/AgentsSelectionHostCountLabelIcon';
11
- import { useAgentsAutoSelection } from '../Agent/AgentsSelectionUtils';
12
- import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
6
+ import { ClusterDeploymentHostsSelectionValues } from '../types';
7
+ import LocationsSelector from '../LocationsSelector';
8
+ import { AgentK8sResource } from '../../../types';
9
+ import AgentsSelectionHostCountAlerts from '../../Agent/AgentsSelectionHostCountAlerts';
10
+ import AgentsSelectionHostCountLabelIcon from '../../Agent/AgentsSelectionHostCountLabelIcon';
11
+ import { useAgentsAutoSelection } from '../../Agent/AgentsSelectionUtils';
12
+ import { useTranslation } from '../../../../common/hooks/use-translation-wrapper';
13
13
 
14
14
  type ClusterDeploymentHostsSelectionBasicProps = {
15
15
  availableAgents: AgentK8sResource[];
@@ -0,0 +1,2 @@
1
+ export * from './ClusterDeploymentHostSelectionStep';
2
+ export * from './ClusterDeploymentHostsSelectionAdvanced';
@@ -1,6 +1,6 @@
1
1
  export * from './types';
2
2
  export * from './helpers';
3
- export * from './AdditionalNTPSourcesDialogToggle';
3
+ export * from './components';
4
4
  export * from './LogsDownloadButton';
5
5
  export * from './wizardTransition';
6
6
  export * from './networkConfigurationValidation';
@@ -13,6 +13,6 @@ export { default as ClusterDeploymentCredentials } from './ClusterDeploymentCred
13
13
  export { default as ClusterDeploymentKubeconfigDownload } from './ClusterDeploymentKubeconfigDownload';
14
14
  export { default as ClusterInstallationError } from './ClusterInstallationError';
15
15
  export { default as NetworkConfiguration } from './NetworkConfiguration';
16
- export { default as ACMClusterDeploymentDetailsStep } from './ACMClusterDeploymentDetailsStep';
17
16
 
18
17
  export { getTotalCompute } from './ShortCapacitySummary';
18
+ export { ACMClusterDeploymentDetailsStep } from './clusterDetails';
@@ -1,26 +1,26 @@
1
1
  import * as React from 'react';
2
2
  import { ConnectedIcon } from '@patternfly/react-icons/dist/js/icons/connected-icon';
3
- import { EmptyState } from '../../../common';
4
- import { AgentTableActions } from './types';
3
+ import { EmptyState } from '../../../../common';
4
+ import { AgentTableActions } from '../types';
5
5
  import {
6
6
  AgentClusterInstallK8sResource,
7
7
  AgentK8sResource,
8
8
  ClusterDeploymentK8sResource,
9
- } from '../../types';
10
- import { getAICluster, getIsSNOCluster } from '../helpers';
11
- import { AdditionalNTPSourcesDialogToggle } from './AdditionalNTPSourcesDialogToggle';
12
- import { agentStatusColumn, useAgentsTable } from '../Agent/tableUtils';
13
- import HostsTable from '../../../common/components/hosts/HostsTable';
14
- import { HostDetail } from '../../../common/components/hosts/HostRowDetail';
9
+ } from '../../../types';
10
+ import { getAICluster, getIsSNOCluster } from '../../helpers';
11
+ import { AdditionalNTPSourcesDialogToggle } from '../components/AdditionalNTPSourcesDialogToggle';
12
+ import { agentStatusColumn, useAgentsTable } from '../../Agent/tableUtils';
13
+ import HostsTable from '../../../../common/components/hosts/HostsTable';
14
+ import { HostDetail } from '../../../../common/components/hosts/HostRowDetail';
15
15
  import {
16
16
  activeNICColumn,
17
17
  hostnameColumn,
18
18
  roleColumn,
19
- } from '../../../common/components/hosts/tableUtils';
20
- import { usePagination } from '../../../common/components/hosts/usePagination';
21
- import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
19
+ } from '../../../../common/components/hosts/tableUtils';
20
+ import { usePagination } from '../../../../common/components/hosts/usePagination';
21
+ import { useTranslation } from '../../../../common/hooks/use-translation-wrapper';
22
22
  import { Host } from '@openshift-assisted/types/assisted-installer-service';
23
- import { agentStatus } from '../helpers/agentStatus';
23
+ import { agentStatus } from '../../helpers/agentStatus';
24
24
 
25
25
  type ExpandComponentContextType = {
26
26
  onSetInstallationDiskId?: ClusterDeploymentHostsNetworkTableProps['onSetInstallationDiskId'];
@@ -19,25 +19,21 @@ import {
19
19
  SecurityFields,
20
20
  ProxyFields,
21
21
  ProxyInputFields,
22
- } from '../../../common';
23
- import NetworkConfiguration from './NetworkConfiguration';
22
+ } from '../../../../common';
23
+ import NetworkConfiguration from '../NetworkConfiguration';
24
24
  import ClusterDeploymentHostsNetworkTable from './ClusterDeploymentHostsNetworkTable';
25
- import { getAICluster, getIsSNOCluster } from '../helpers';
25
+ import { getAICluster, getIsSNOCluster } from '../../helpers';
26
26
  import {
27
27
  AgentClusterInstallK8sResource,
28
28
  AgentK8sResource,
29
29
  ClusterDeploymentK8sResource,
30
30
  InfraEnvK8sResource,
31
- } from '../../types';
32
- import { AgentTableActions, ClusterDeploymentNetworkingValues } from './types';
31
+ } from '../../../types';
32
+ import { AgentTableActions, ClusterDeploymentNetworkingValues } from '../types';
33
33
  import { useFormikContext } from 'formik';
34
- import { getGridSpans } from './helpers';
35
- import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
34
+ import { getGridSpans } from '../helpers';
35
+ import { useTranslation } from '../../../../common/hooks/use-translation-wrapper';
36
36
  import { Trans } from 'react-i18next';
37
- import { ClusterDefaultConfig } from '@openshift-assisted/types/assisted-installer-service';
38
-
39
- // TODO(mlibra): So far a constant. Should be queried from somewhere.
40
- export const defaultNetworkSettings: ClusterDefaultConfig = CLUSTER_DEFAULT_NETWORK_SETTINGS_IPV4;
41
37
 
42
38
  type ClusterDeploymentNetworkingFormProps = {
43
39
  clusterDeployment: ClusterDeploymentK8sResource;
@@ -137,7 +133,7 @@ const ClusterDeploymentNetworkingForm: React.FC<ClusterDeploymentNetworkingFormP
137
133
  cluster={cluster}
138
134
  hostSubnets={hostSubnets}
139
135
  isVipDhcpAllocationDisabled
140
- defaultNetworkSettings={defaultNetworkSettings}
136
+ defaultNetworkSettings={CLUSTER_DEFAULT_NETWORK_SETTINGS_IPV4}
141
137
  hideManagedNetworking={getIsSNOCluster(agentClusterInstall) || isNutanix}
142
138
  />
143
139
  </GridItem>
@@ -158,7 +154,7 @@ const ClusterDeploymentNetworkingForm: React.FC<ClusterDeploymentNetworkingFormP
158
154
  )}
159
155
  </StackItem>
160
156
  <StackItem>
161
- <SecurityFields clusterSshKey={cluster.sshPublicKey} />
157
+ <SecurityFields clusterSshKey={cluster.sshPublicKey} allowMultipleKeys={true} />
162
158
  </StackItem>
163
159
  <StackItem>
164
160
  <Content component="h2">{t('ai:Host inventory')}</Content>
@@ -17,21 +17,21 @@ import {
17
17
  getFormikErrorFields,
18
18
  clusterFieldLabels,
19
19
  Alerts,
20
- } from '../../../common';
20
+ } from '../../../../common';
21
21
 
22
22
  import {
23
23
  ClusterDeploymentDetailsNetworkingProps,
24
24
  AgentTableActions,
25
25
  ClusterDeploymentNetworkingValues,
26
- } from './types';
26
+ } from '../types';
27
27
  import ClusterDeploymentNetworkingForm from './ClusterDeploymentNetworkingForm';
28
- import { isAgentOfCluster } from './helpers';
29
- import { useInfraEnvProxies, useNetworkingFormik } from './use-networking-formik';
30
- import { canNextFromNetworkingStep } from './wizardTransition';
31
- import { AgentK8sResource } from '../../types';
32
- import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
33
- import { ValidationSection } from './components/ValidationSection';
34
- import { ClusterDeploymentWizardContext } from './ClusterDeploymentWizardContext';
28
+ import { isAgentOfCluster } from '../helpers';
29
+ import { useInfraEnvProxies, useNetworkingFormik } from '../use-networking-formik';
30
+ import { canNextFromNetworkingStep } from '../wizardTransition';
31
+ import { AgentK8sResource } from '../../../types';
32
+ import { useTranslation } from '../../../../common/hooks/use-translation-wrapper';
33
+ import { ValidationSection } from '../components/ValidationSection';
34
+ import { ClusterDeploymentWizardContext } from '../ClusterDeploymentWizardContext';
35
35
 
36
36
  type NetworkingFormProps = {
37
37
  clusterDeployment: ClusterDeploymentDetailsNetworkingProps['clusterDeployment'];
@@ -200,7 +200,7 @@ export const NetworkingForm = ({
200
200
  {syncError && (
201
201
  <GridItem>
202
202
  <ValidationSection currentStepId={'networking'} hosts={[]}>
203
- <Alert variant={AlertVariant.danger} title={t('ai:An error occured')} isInline>
203
+ <Alert variant={AlertVariant.danger} title={t('ai:An error occurred')} isInline>
204
204
  {syncError}
205
205
  </Alert>
206
206
  </ValidationSection>
@@ -212,7 +212,7 @@ export const NetworkingForm = ({
212
212
  );
213
213
  };
214
214
 
215
- const ClusterDeploymentNetworkingStep = ({
215
+ export const ClusterDeploymentNetworkingStep = ({
216
216
  clusterDeployment,
217
217
  agentClusterInstall,
218
218
  agents,
@@ -261,5 +261,3 @@ const ClusterDeploymentNetworkingStep = ({
261
261
  </Formik>
262
262
  );
263
263
  };
264
-
265
- export default ClusterDeploymentNetworkingStep;
@@ -0,0 +1 @@
1
+ export * from './ClusterDeploymentNetworkingStep';
@@ -8,14 +8,14 @@ import {
8
8
  WizardFooter,
9
9
  } from '@patternfly/react-core';
10
10
  import * as React from 'react';
11
- import { canNextFromReviewStep } from './wizardTransition';
11
+ import { canNextFromReviewStep } from '../wizardTransition';
12
12
  import {
13
13
  AgentClusterInstallK8sResource,
14
14
  AgentK8sResource,
15
15
  ClusterDeploymentK8sResource,
16
16
  ClusterImageSetK8sResource,
17
17
  InfraEnvK8sResource,
18
- } from '../../types';
18
+ } from '../../../types';
19
19
  import {
20
20
  ClusterWizardStepHeader,
21
21
  DetailList,
@@ -24,18 +24,25 @@ import {
24
24
  ClusterValidations,
25
25
  HostsValidations,
26
26
  useAlerts,
27
- } from '../../../common';
28
- import { getSelectedVersion, getAICluster, getClusterDeploymentCpuArchitecture } from '../helpers';
29
- import { isAgentOfCluster } from './helpers';
30
- import { wizardStepNames } from './constants';
27
+ getPlatforms,
28
+ } from '../../../../common';
29
+ import {
30
+ getSelectedVersion,
31
+ getAICluster,
32
+ getClusterDeploymentCpuArchitecture,
33
+ } from '../../helpers';
34
+ import { isAgentOfCluster } from '../helpers';
35
+ import { wizardStepNames } from '../constants';
31
36
  import {
32
37
  wizardStepsValidationsMap,
33
38
  ClusterWizardStepsType,
34
39
  allClusterWizardSoftValidationIds,
35
- } from './wizardTransition';
36
- import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
37
- import { ClusterDeploymentWizardContext } from './ClusterDeploymentWizardContext';
38
- import { ValidationSection } from './components/ValidationSection';
40
+ } from '../wizardTransition';
41
+ import { useTranslation } from '../../../../common/hooks/use-translation-wrapper';
42
+ import { ClusterDeploymentWizardContext } from '../ClusterDeploymentWizardContext';
43
+ import { ReviewConfigMapsTable } from './ReviewConfigMapsTable';
44
+ import { ValidationSection } from '../components/ValidationSection';
45
+ import { PlatformType } from '@openshift-assisted/types/assisted-installer-service';
39
46
 
40
47
  type ClusterDeploymentReviewStepProps = {
41
48
  clusterDeployment: ClusterDeploymentK8sResource;
@@ -47,7 +54,7 @@ type ClusterDeploymentReviewStepProps = {
47
54
  infraEnv?: InfraEnvK8sResource;
48
55
  };
49
56
 
50
- const ClusterDeploymentReviewStep = ({
57
+ export const ClusterDeploymentReviewStep = ({
51
58
  agentClusterInstall,
52
59
  agents,
53
60
  onFinish,
@@ -77,7 +84,7 @@ const ClusterDeploymentReviewStep = ({
77
84
  await onFinish();
78
85
  } catch (err) {
79
86
  const error = err as Error;
80
- addAlert({ title: error.message || t('ai:An error occured while starting installation.') });
87
+ addAlert({ title: error.message || t('ai:An error occurred while starting installation.') });
81
88
  } finally {
82
89
  setSubmitting(false);
83
90
  }
@@ -97,6 +104,10 @@ const ClusterDeploymentReviewStep = ({
97
104
  useWizardFooter(footer);
98
105
 
99
106
  const openShiftVersion = getSelectedVersion(clusterImages, agentClusterInstall);
107
+ const platform =
108
+ getPlatforms(t)[
109
+ (agentClusterInstall?.spec?.platformType?.toLowerCase() || 'baremetal') as PlatformType
110
+ ];
100
111
 
101
112
  const cluster = React.useMemo(
102
113
  () => getAICluster({ clusterDeployment, agentClusterInstall, agents: clusterAgents }),
@@ -127,6 +138,11 @@ const ClusterDeploymentReviewStep = ({
127
138
  value={cpuArchitecture}
128
139
  testId="cpu-architecture"
129
140
  />
141
+ <DetailItem
142
+ title={t('ai:External partner platform')}
143
+ value={platform}
144
+ testId="platform-type"
145
+ />
130
146
  <DetailItem
131
147
  title={t('ai:API IP')}
132
148
  value={agentClusterInstall?.status?.apiVIP || agentClusterInstall?.spec?.apiVIP}
@@ -143,6 +159,13 @@ const ClusterDeploymentReviewStep = ({
143
159
  value={<ReviewHostsInventory hosts={cluster.hosts} />}
144
160
  />
145
161
 
162
+ {!!agentClusterInstall.spec?.manifestsConfigMapRefs?.length ? (
163
+ <DetailItem
164
+ title={t('ai:Custom manifests')}
165
+ value={<ReviewConfigMapsTable agentClusterInstall={agentClusterInstall} />}
166
+ />
167
+ ) : undefined}
168
+
146
169
  <DetailItem
147
170
  title={t('ai:Cluster validations')}
148
171
  value={
@@ -173,7 +196,7 @@ const ClusterDeploymentReviewStep = ({
173
196
  {syncError && (
174
197
  <GridItem>
175
198
  <ValidationSection currentStepId={'review'} hosts={[]}>
176
- <Alert variant={AlertVariant.danger} title={t('ai:An error occured')} isInline>
199
+ <Alert variant={AlertVariant.danger} title={t('ai:An error occurred')} isInline>
177
200
  {syncError}
178
201
  </Alert>
179
202
  </ValidationSection>
@@ -182,5 +205,3 @@ const ClusterDeploymentReviewStep = ({
182
205
  </Grid>
183
206
  );
184
207
  };
185
-
186
- export default ClusterDeploymentReviewStep;
@@ -0,0 +1,70 @@
1
+ import React from 'react';
2
+ import { useConfigMaps } from '../../../hooks';
3
+ import { Table, TableVariant, Tbody, Td, Tr } from '@patternfly/react-table';
4
+ import { genericTableRowKey, LoadingState } from '../../../../common';
5
+ import { AgentClusterInstallK8sResource } from '../../../types';
6
+
7
+ export const ReviewConfigMapsTable = ({
8
+ agentClusterInstall,
9
+ }: {
10
+ agentClusterInstall: AgentClusterInstallK8sResource;
11
+ }) => {
12
+ const [configMaps, loaded] = useConfigMaps({
13
+ namespace: agentClusterInstall.metadata?.namespace,
14
+ isList: true,
15
+ });
16
+
17
+ const customManifests = React.useMemo(() => {
18
+ const maps = configMaps.filter((configMap) =>
19
+ agentClusterInstall.spec?.manifestsConfigMapRefs
20
+ ?.flatMap((ref) => ref.name)
21
+ .includes(configMap.metadata?.name || ''),
22
+ );
23
+
24
+ return maps
25
+ .map((map, index) => [
26
+ {
27
+ rowId: `config-map-${index}`,
28
+ cells: [{ title: map.metadata?.name as string, isExpanded: true, level: 1, posInset: 1 }],
29
+ },
30
+ ...Object.keys(map.data || {}).map((key) => ({
31
+ rowId: `config-map-${index}-${key}`,
32
+ cells: [
33
+ {
34
+ title: (
35
+ <>
36
+ <span style={{ width: '1rem', display: 'inline-block' }} />
37
+ {key}
38
+ </>
39
+ ),
40
+ posInset: 2,
41
+ level: 2,
42
+ },
43
+ ],
44
+ })),
45
+ ])
46
+ .flat();
47
+ }, [agentClusterInstall.spec?.manifestsConfigMapRefs, configMaps]);
48
+
49
+ return loaded ? (
50
+ <Table
51
+ variant={TableVariant.compact}
52
+ borders={false}
53
+ data-testid="review-custom-manifests-table"
54
+ >
55
+ <Tbody>
56
+ {customManifests.map((row, i) => (
57
+ <Tr key={genericTableRowKey(row.rowId)}>
58
+ {row.cells.map(({ title, ...props }, j) => (
59
+ <Td key={`cell-${i}-${j}`} {...props}>
60
+ {title}
61
+ </Td>
62
+ ))}
63
+ </Tr>
64
+ ))}
65
+ </Tbody>
66
+ </Table>
67
+ ) : (
68
+ <LoadingState />
69
+ );
70
+ };