@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
@@ -18,6 +18,7 @@ export const wizardStepNames = (
18
18
  'hosts-selection': t('ai:Cluster hosts'),
19
19
  'hosts-discovery': t('ai:Cluster hosts'),
20
20
  networking: t('ai:Networking'),
21
+ 'custom-manifests': t('ai:Custom manifests'),
21
22
  review: t('ai:Review and create'),
22
23
  });
23
24
 
@@ -0,0 +1,128 @@
1
+ import React from 'react';
2
+ import * as Yup from 'yup';
3
+ import { Formik } from 'formik';
4
+ import { k8sPatch, Patch } from '@openshift-console/dynamic-plugin-sdk';
5
+ import {
6
+ Alert,
7
+ AlertActionLink,
8
+ Content,
9
+ ContentVariants,
10
+ Grid,
11
+ GridItem,
12
+ } from '@patternfly/react-core';
13
+ import ExternalLinkAltIcon from '@patternfly/react-icons/dist/js/icons/external-link-alt-icon';
14
+ import { ClusterWizardStepHeader, useTranslation } from '../../../../common';
15
+ import { AgentClusterInstallK8sResource, AgentClusterInstallModel } from '../../../types';
16
+ import { ConfigMapForm, CustomManifestFormType } from './ConfigMapForm';
17
+ import { appendPatch } from '../../../utils';
18
+
19
+ export const ClusterDeploymentCustomManifestsStep = ({
20
+ agentClusterInstall,
21
+ }: {
22
+ agentClusterInstall: AgentClusterInstallK8sResource;
23
+ }) => {
24
+ const { t } = useTranslation();
25
+
26
+ const initialValues: CustomManifestFormType = {
27
+ configMaps:
28
+ agentClusterInstall.spec?.manifestsConfigMapRefs?.map(({ name }) => ({
29
+ name,
30
+ valid: false,
31
+ })) || [],
32
+ };
33
+
34
+ const validationSchema = Yup.lazy((values: CustomManifestFormType) =>
35
+ Yup.object<CustomManifestFormType>({
36
+ configMaps: Yup.array()
37
+ .of(
38
+ Yup.object().shape({
39
+ name: Yup.string().required(t('ai:Config map name is required')),
40
+ valid: Yup.boolean().isTrue(t('ai:Config map not found')),
41
+ manifestNames: Yup.array()
42
+ .of(Yup.string())
43
+ .test(
44
+ 'unique-manifests',
45
+ t(
46
+ 'ai:Manifest names in each config map should be unique across all referenced config maps.',
47
+ ),
48
+ (value) =>
49
+ // check if another config map has any manifests with the same names as this one
50
+ values.configMaps
51
+ .flatMap(({ manifestNames }) => manifestNames)
52
+ .filter((v) => value?.includes(v)).length === value?.length,
53
+ ),
54
+ }),
55
+ )
56
+ .min(
57
+ agentClusterInstall.spec?.platformType === 'External' ? 1 : 0,
58
+ t('ai:At least one config map is required'),
59
+ ),
60
+ }),
61
+ );
62
+
63
+ const onSubmit = async (values: CustomManifestFormType) => {
64
+ const patches: Patch[] = [];
65
+ appendPatch(
66
+ patches,
67
+ '/spec/manifestsConfigMapRefs',
68
+ values.configMaps.map(({ name }) => ({ name })),
69
+ agentClusterInstall.spec?.manifestsConfigMapRefs,
70
+ );
71
+
72
+ if (patches.length > 0) {
73
+ await k8sPatch({
74
+ model: AgentClusterInstallModel,
75
+ resource: agentClusterInstall,
76
+ data: patches,
77
+ });
78
+ }
79
+ };
80
+
81
+ return (
82
+ <Grid hasGutter>
83
+ <GridItem>
84
+ <ClusterWizardStepHeader>{t('ai:Custom manifests')}</ClusterWizardStepHeader>
85
+ </GridItem>
86
+ <GridItem>
87
+ <Alert
88
+ variant="info"
89
+ isInline
90
+ title={t('ai:Add custom manifests')}
91
+ actionLinks={[
92
+ <AlertActionLink
93
+ key="define-config-map"
94
+ component={'a'}
95
+ href={`/k8s/ns/${
96
+ agentClusterInstall.metadata?.namespace as string
97
+ }/core~v1~ConfigMap`}
98
+ target="_blank"
99
+ rel="noopener noreferrer"
100
+ >
101
+ {t('ai:Define a config map')} <ExternalLinkAltIcon />
102
+ </AlertActionLink>,
103
+ ]}
104
+ >
105
+ <Content component={ContentVariants.p}>
106
+ {t(
107
+ 'ai:Define a config map with your custom manifests and select it in the form below.',
108
+ )}
109
+ </Content>
110
+ <Content component={ContentVariants.p}>
111
+ {t(
112
+ 'ai:Manifest names in each config map should be unique across all referenced config maps.',
113
+ )}
114
+ </Content>
115
+ </Alert>
116
+ </GridItem>
117
+ <GridItem>
118
+ <Formik
119
+ initialValues={initialValues}
120
+ onSubmit={onSubmit}
121
+ validationSchema={validationSchema}
122
+ >
123
+ <ConfigMapForm namespace={agentClusterInstall.metadata?.namespace as string} />
124
+ </Formik>
125
+ </GridItem>
126
+ </Grid>
127
+ );
128
+ };
@@ -0,0 +1,191 @@
1
+ import React from 'react';
2
+ import {
3
+ Alert,
4
+ Bullseye,
5
+ Button,
6
+ CodeBlock,
7
+ CodeBlockCode,
8
+ Content,
9
+ ContentVariants,
10
+ DescriptionList,
11
+ DescriptionListDescription,
12
+ DescriptionListGroup,
13
+ DescriptionListTerm,
14
+ Divider,
15
+ ExpandableSectionToggle,
16
+ Flex,
17
+ FlexItem,
18
+ Grid,
19
+ GridItem,
20
+ Label,
21
+ Spinner,
22
+ } from '@patternfly/react-core';
23
+ import { ExternalLink, useTranslation } from '../../../../common';
24
+ import { MinusCircleIcon } from '@patternfly/react-icons/dist/js/icons/minus-circle-icon';
25
+ import InfoCircleIcon from '@patternfly/react-icons/dist/js/icons/info-circle-icon';
26
+ import { ConfigMapK8sResource } from '../../../types';
27
+ import { useField } from 'formik';
28
+
29
+ const ExpandedConfigMap = ({
30
+ index,
31
+ configMap,
32
+ }: {
33
+ index: number;
34
+ configMap?: ConfigMapK8sResource;
35
+ }) => {
36
+ const { t } = useTranslation();
37
+ const [, { error: isValidError }] = useField<boolean>(`configMaps.${index}.valid`);
38
+ const [, { error: manifestNamesError }] = useField<string[]>(`configMaps.${index}.manifestNames`);
39
+
40
+ return isValidError ? (
41
+ <GridItem>
42
+ <Label variant="outline" icon={<InfoCircleIcon />} color="red">
43
+ {isValidError}
44
+ </Label>
45
+ </GridItem>
46
+ ) : (
47
+ <>
48
+ <GridItem>
49
+ <DescriptionList>
50
+ <DescriptionListGroup>
51
+ <DescriptionListTerm>{t('ai:Name')}</DescriptionListTerm>
52
+ <DescriptionListDescription>{configMap?.metadata?.name}</DescriptionListDescription>
53
+ </DescriptionListGroup>
54
+
55
+ <DescriptionListGroup>
56
+ <DescriptionListTerm>{t('ai:Namespace')}</DescriptionListTerm>
57
+ <DescriptionListDescription>
58
+ {configMap?.metadata?.namespace}
59
+ </DescriptionListDescription>
60
+ </DescriptionListGroup>
61
+
62
+ <DescriptionListGroup>
63
+ <DescriptionListTerm>{t('ai:Data')}</DescriptionListTerm>
64
+ <DescriptionListDescription>
65
+ <Grid hasGutter>
66
+ <GridItem>
67
+ <ExternalLink
68
+ href={`/k8s/ns/${configMap?.metadata?.namespace || ''}/configmaps/${
69
+ configMap?.metadata?.name || ''
70
+ }/form`}
71
+ >
72
+ {t('ai:Edit config map data')}
73
+ </ExternalLink>
74
+ </GridItem>
75
+
76
+ {Object.entries(configMap?.data || {}).map(([key, val]) => (
77
+ <GridItem key={key}>
78
+ <Content component={ContentVariants.h4}>{key}</Content>
79
+ <CodeBlock>
80
+ <CodeBlockCode>{val}</CodeBlockCode>
81
+ </CodeBlock>
82
+ </GridItem>
83
+ ))}
84
+ </Grid>
85
+ </DescriptionListDescription>
86
+ </DescriptionListGroup>
87
+ </DescriptionList>
88
+ </GridItem>
89
+
90
+ {manifestNamesError && (
91
+ <GridItem>
92
+ <Alert title={manifestNamesError} variant="danger" isInline />
93
+ </GridItem>
94
+ )}
95
+ </>
96
+ );
97
+ };
98
+
99
+ const CollapsedConfigMap = ({
100
+ index,
101
+ configMap,
102
+ }: {
103
+ index: number;
104
+ configMap?: ConfigMapK8sResource;
105
+ }) => {
106
+ const [, { error: isValidError }] = useField<boolean>(`configMaps.${index}.valid`);
107
+ const [, { error: manifestNamesError }] = useField<string[]>(`configMaps.${index}.manifestNames`);
108
+
109
+ const { t } = useTranslation();
110
+
111
+ return (
112
+ <GridItem>
113
+ {isValidError || manifestNamesError ? (
114
+ <Label variant="outline" icon={<InfoCircleIcon />} color="red">
115
+ {isValidError || manifestNamesError}
116
+ </Label>
117
+ ) : (
118
+ <Label variant="outline" icon={<InfoCircleIcon />}>
119
+ {t('ai:{{count}} entry', { count: Object.entries(configMap?.data || {}).length })}
120
+ </Label>
121
+ )}
122
+ </GridItem>
123
+ );
124
+ };
125
+
126
+ export const ConfigMapDetail = ({
127
+ index,
128
+ configMapName,
129
+ configMap,
130
+ onRemove,
131
+ isLoading,
132
+ }: {
133
+ index: number;
134
+ configMapName: string;
135
+ configMap?: ConfigMapK8sResource;
136
+ onRemove: () => void;
137
+ isLoading: boolean;
138
+ }) => {
139
+ const [isExpanded, setIsExpanded] = React.useState(false);
140
+ const [showRemoveButton, setShowRemoveButton] = React.useState(false);
141
+
142
+ return (
143
+ <GridItem>
144
+ <Grid
145
+ onMouseEnter={() => setShowRemoveButton(true)}
146
+ onMouseLeave={() => setShowRemoveButton(false)}
147
+ hasGutter
148
+ >
149
+ <GridItem>
150
+ <Flex>
151
+ <FlexItem>
152
+ <ExpandableSectionToggle
153
+ isExpanded={isExpanded}
154
+ onToggle={() => setIsExpanded(!isExpanded)}
155
+ direction="down"
156
+ >
157
+ {configMapName}
158
+ </ExpandableSectionToggle>
159
+ </FlexItem>
160
+ <FlexItem align={{ default: 'alignRight' }}>
161
+ <Button
162
+ aria-label="remove config map"
163
+ style={{ visibility: showRemoveButton ? 'visible' : 'hidden' }}
164
+ variant="plain"
165
+ onClick={onRemove}
166
+ >
167
+ <MinusCircleIcon />
168
+ </Button>
169
+ </FlexItem>
170
+ </Flex>
171
+ </GridItem>
172
+
173
+ {isLoading ? (
174
+ <GridItem>
175
+ <Bullseye>
176
+ <Spinner size="lg" />
177
+ </Bullseye>
178
+ </GridItem>
179
+ ) : isExpanded ? (
180
+ <ExpandedConfigMap configMap={configMap} index={index} />
181
+ ) : (
182
+ <CollapsedConfigMap configMap={configMap} index={index} />
183
+ )}
184
+
185
+ <GridItem>
186
+ <Divider />
187
+ </GridItem>
188
+ </Grid>
189
+ </GridItem>
190
+ );
191
+ };
@@ -0,0 +1,247 @@
1
+ import React from 'react';
2
+ import Fuse from 'fuse.js';
3
+ import { FieldArray, useFormikContext } from 'formik';
4
+ import {
5
+ Stack,
6
+ StackItem,
7
+ Grid,
8
+ WizardFooter,
9
+ useWizardContext,
10
+ useWizardFooter,
11
+ SelectOptionProps,
12
+ GridItem,
13
+ AlertVariant,
14
+ Alert,
15
+ } from '@patternfly/react-core';
16
+ import { Alerts, SelectFieldWithSearch, useAlerts, useTranslation } from '../../../../common';
17
+ import { ClusterDeploymentWizardContext } from '../ClusterDeploymentWizardContext';
18
+ import { ValidationSection } from '../components/ValidationSection';
19
+ import { ConfigMapDetail } from './ConfigMapDetail';
20
+ import { useConfigMaps } from '../../../hooks';
21
+
22
+ const NO_RESULTS = 'no_results';
23
+
24
+ export type CustomManifestFormType = {
25
+ configMaps: {
26
+ name: string;
27
+ valid: boolean;
28
+ manifestNames?: string[];
29
+ }[];
30
+ };
31
+
32
+ export const ConfigMapForm = ({ namespace }: { namespace: string }) => {
33
+ const { t } = useTranslation();
34
+ const { syncError } = React.useContext(ClusterDeploymentWizardContext);
35
+ const { alerts, addAlert, clearAlerts } = useAlerts();
36
+ const [isSubmitting, setSubmitting] = React.useState(false);
37
+ const { activeStep, goToPrevStep, goToNextStep, close } = useWizardContext();
38
+
39
+ const { values, errors, isValid, setFieldValue, submitForm } =
40
+ useFormikContext<CustomManifestFormType>();
41
+ const [filter, setFilter] = React.useState<string>('');
42
+ const [configMaps, setConfigMaps] = React.useState<SelectOptionProps[]>([]);
43
+ const [data, loaded, isError] = useConfigMaps({
44
+ namespace,
45
+ isList: true,
46
+ });
47
+
48
+ React.useEffect(() => {
49
+ if (data && loaded && !isError) {
50
+ setConfigMaps(
51
+ data.map((configMap) => ({
52
+ value: {
53
+ name: configMap.metadata?.name as string,
54
+ valid: true,
55
+ manifestNames: Object.keys(configMap.data || {}),
56
+ },
57
+ children: configMap.metadata?.name as string,
58
+ })),
59
+ );
60
+ }
61
+ }, [data, isError, loaded]);
62
+
63
+ React.useEffect(() => {
64
+ if (loaded && !isError) {
65
+ const newConfigMaps = values.configMaps.map((configMap) => {
66
+ const map = data.find((item) => item.metadata?.name === configMap.name);
67
+ if (map) {
68
+ return { ...configMap, valid: true, manifestNames: Object.keys(map.data || {}) };
69
+ }
70
+ return { ...configMap, valid: false, manifestNames: [] };
71
+ });
72
+
73
+ setFieldValue('configMaps', newConfigMaps);
74
+ }
75
+ // eslint-disable-next-line react-hooks/exhaustive-deps
76
+ }, [data, isError, loaded, setFieldValue]);
77
+
78
+ const placeholder = React.useMemo(() => {
79
+ if (values.configMaps.length > 0) {
80
+ return `${values.configMaps.length} config map${
81
+ values.configMaps.length !== 1 ? 's' : ''
82
+ } selected`;
83
+ }
84
+
85
+ return 'No config map selected';
86
+ }, [values.configMaps]);
87
+
88
+ const fuse = React.useMemo(
89
+ () =>
90
+ new Fuse(Object.values(configMaps), {
91
+ includeScore: true,
92
+ ignoreLocation: true,
93
+ threshold: 0.3,
94
+ keys: ['value.name'],
95
+ }),
96
+ [configMaps],
97
+ );
98
+
99
+ const selectOptions = React.useMemo(() => {
100
+ if (filter) {
101
+ const newSelectOptions = fuse
102
+ .search(filter)
103
+ .sort((a, b) => (a.score || 0) - (b.score || 0))
104
+ .map(({ item }) => item);
105
+
106
+ if (!newSelectOptions.length) {
107
+ return [
108
+ {
109
+ isAriaDisabled: true,
110
+ children: t('ai:No results found for {{filter}}', { filter }),
111
+ value: NO_RESULTS,
112
+ hasCheckbox: false,
113
+ },
114
+ ];
115
+ }
116
+ return newSelectOptions;
117
+ }
118
+ return configMaps;
119
+ }, [filter, configMaps, fuse, t]);
120
+
121
+ const submittingText = React.useMemo(() => {
122
+ if (isSubmitting) {
123
+ return t('ai:Saving changes...');
124
+ }
125
+ return undefined;
126
+ }, [isSubmitting, t]);
127
+
128
+ const onNext = React.useCallback(async () => {
129
+ try {
130
+ clearAlerts();
131
+ setSubmitting(true);
132
+
133
+ await submitForm();
134
+ await goToNextStep();
135
+ } catch (error) {
136
+ addAlert({
137
+ title: t('ai:Failed to save ClusterDeployment'),
138
+ message: error instanceof Error ? error.message : undefined,
139
+ });
140
+ } finally {
141
+ setSubmitting(false);
142
+ }
143
+ }, [addAlert, clearAlerts, goToNextStep, submitForm, t]);
144
+
145
+ const footer = React.useMemo(
146
+ () => (
147
+ <WizardFooter
148
+ activeStep={activeStep}
149
+ onNext={onNext}
150
+ nextButtonProps={{ isLoading: !!submittingText }}
151
+ nextButtonText={submittingText || t('ai:Next')}
152
+ isNextDisabled={!isValid || !loaded}
153
+ onBack={goToPrevStep}
154
+ onClose={close}
155
+ />
156
+ ),
157
+ [activeStep, onNext, submittingText, t, isValid, loaded, goToPrevStep, close],
158
+ );
159
+
160
+ useWizardFooter(footer);
161
+
162
+ const errorAlert =
163
+ typeof errors.configMaps === 'string' ? (
164
+ <GridItem>
165
+ <Alert variant={AlertVariant.danger} title={errors.configMaps} isInline />
166
+ </GridItem>
167
+ ) : (
168
+ <GridItem>
169
+ <Alert
170
+ variant={AlertVariant.danger}
171
+ title={t('ai:Some config map items are invalid')}
172
+ isInline
173
+ />
174
+ </GridItem>
175
+ );
176
+
177
+ return (
178
+ <Grid hasGutter>
179
+ <GridItem>
180
+ <Stack hasGutter>
181
+ <StackItem>
182
+ <SelectFieldWithSearch
183
+ name={'configMaps'}
184
+ label={t('ai:Config maps')}
185
+ isMultiSelect
186
+ isRequired
187
+ isLoading={!loaded}
188
+ selectOptions={selectOptions}
189
+ filterValue={filter}
190
+ setFilterValue={setFilter}
191
+ placeholder={placeholder}
192
+ helperText={t(
193
+ 'ai:Select config maps from the list or use the type ahead to narrow down the list.',
194
+ )}
195
+ />
196
+ </StackItem>
197
+ <StackItem>
198
+ <Grid hasGutter>
199
+ <FieldArray name="configMaps">
200
+ {({ remove }) =>
201
+ values.configMaps.map((configMap, index) => (
202
+ <ConfigMapDetail
203
+ index={index}
204
+ key={configMap.name}
205
+ configMapName={configMap.name}
206
+ configMap={data.find((item) => item.metadata?.name === configMap.name)}
207
+ onRemove={() => remove(index)}
208
+ isLoading={!loaded}
209
+ />
210
+ ))
211
+ }
212
+ </FieldArray>
213
+ </Grid>
214
+ </StackItem>
215
+ </Stack>
216
+ </GridItem>
217
+
218
+ {!isValid && errorAlert}
219
+
220
+ {isError && (
221
+ <GridItem>
222
+ <Alert
223
+ variant={AlertVariant.danger}
224
+ title={t('ai:An error occurred while fetching config maps')}
225
+ isInline
226
+ />
227
+ </GridItem>
228
+ )}
229
+
230
+ {!!alerts.length && (
231
+ <GridItem>
232
+ <Alerts />
233
+ </GridItem>
234
+ )}
235
+
236
+ {syncError && (
237
+ <GridItem>
238
+ <ValidationSection currentStepId={'custom-manifests'} hosts={[]}>
239
+ <Alert variant={AlertVariant.danger} title={t('ai:An error occurred')} isInline>
240
+ {syncError}
241
+ </Alert>
242
+ </ValidationSection>
243
+ </GridItem>
244
+ )}
245
+ </Grid>
246
+ );
247
+ };
@@ -0,0 +1 @@
1
+ export * from './ClusterDeploymentCustomManifestsStep';
@@ -6,34 +6,36 @@ import {
6
6
  agentStatusColumn,
7
7
  useAgentsTable,
8
8
  canChangeHostname,
9
- } from '../Agent/tableUtils';
9
+ } from '../../Agent/tableUtils';
10
10
  import HostsTable, {
11
11
  DefaultExpandComponent,
12
12
  HostsTableEmptyState,
13
- } from '../../../common/components/hosts/HostsTable';
13
+ } from '../../../../common/components/hosts/HostsTable';
14
14
  import {
15
15
  cpuCoresColumn,
16
16
  discoveredAtColumn,
17
17
  disksColumn,
18
+ gpusColumn,
18
19
  hostnameColumn,
20
+ labelsColumn,
19
21
  memoryColumn,
20
22
  roleColumn,
21
- } from '../../../common/components/hosts/tableUtils';
23
+ } from '../../../../common/components/hosts/tableUtils';
22
24
  import {
23
25
  DiscoveryTroubleshootingModal,
24
26
  ChangeHostnameAction,
25
27
  MassChangeHostnameModal,
26
28
  TableToolbar,
27
- } from '../../../common';
28
- import { ClusterDeploymentHostDiscoveryTableProps } from '../ClusterDeployment/types';
29
- import MassApproveAgentModal from '../modals/MassApproveAgentModal';
30
- import MassApproveAction from '../modals/MassApproveAction';
31
- import { usePagination } from '../../../common/components/hosts/usePagination';
32
- import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
33
- import { ExpandComponent } from '../Agent/AgentsSelectionTable';
34
- import { HostsTableDetailContextProvider } from '../../../common/components/hosts/HostsTableDetailContext';
35
- import { agentStatus, bmhStatus } from '../helpers/agentStatus';
36
- import { onAgentChangeHostname } from '../helpers';
29
+ } from '../../../../common';
30
+ import { ClusterDeploymentHostDiscoveryTableProps } from '../types';
31
+ import MassApproveAgentModal from '../../modals/MassApproveAgentModal';
32
+ import MassApproveAction from '../../modals/MassApproveAction';
33
+ import { usePagination } from '../../../../common/components/hosts/usePagination';
34
+ import { useTranslation } from '../../../../common/hooks/use-translation-wrapper';
35
+ import { ExpandComponent } from '../../Agent/AgentsSelectionTable';
36
+ import { HostsTableDetailContextProvider } from '../../../../common/components/hosts/HostsTableDetailContext';
37
+ import { agentStatus, bmhStatus } from '../../helpers/agentStatus';
38
+ import { onAgentChangeHostname } from '../../helpers';
37
39
 
38
40
  const ClusterDeploymentHostDiscoveryTable: React.FC<ClusterDeploymentHostDiscoveryTableProps> = ({
39
41
  agents,
@@ -93,7 +95,14 @@ const ClusterDeploymentHostDiscoveryTable: React.FC<ClusterDeploymentHostDiscove
93
95
  }),
94
96
  roleColumn(t, hostActions.canEditRole, hostActions.onEditRole),
95
97
  ...(addAll
96
- ? [discoveredAtColumn(t), cpuCoresColumn(t), memoryColumn(t), disksColumn(t)]
98
+ ? [
99
+ discoveredAtColumn(t),
100
+ cpuCoresColumn(t),
101
+ gpusColumn(t),
102
+ memoryColumn(t),
103
+ disksColumn(t),
104
+ labelsColumn(t),
105
+ ]
97
106
  : []),
98
107
  ],
99
108
  [
@@ -6,15 +6,15 @@ import {
6
6
  FormatDiskWarning,
7
7
  HostsNotShowingLink,
8
8
  VMRebootConfigurationInfo,
9
- } from '../../../common';
10
- import { getIsSNOCluster, onAgentChangeHostname } from '../helpers';
11
- import MinimalHWRequirements from '../Agent/MinimalHWRequirements';
12
- import { ClusterDeploymentHostsDiscoveryProps } from './types';
13
- import { EditBMHModal, EditAgentModal } from '../modals';
14
- import { AgentK8sResource, BareMetalHostK8sResource } from '../../types';
9
+ } from '../../../../common';
10
+ import { getIsSNOCluster, onAgentChangeHostname } from '../../helpers';
11
+ import MinimalHWRequirements from '../../Agent/MinimalHWRequirements';
12
+ import { ClusterDeploymentHostsDiscoveryProps } from '../types';
13
+ import { EditBMHModal, EditAgentModal } from '../../modals';
14
+ import { AgentK8sResource, BareMetalHostK8sResource } from '../../../types';
15
15
  import ClusterDeploymentHostDiscoveryTable from './ClusterDeploymentHostDiscoveryTable';
16
- import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
17
- import AddHostDropdown from '../InfraEnv/AddHostDropdown';
16
+ import { useTranslation } from '../../../../common/hooks/use-translation-wrapper';
17
+ import AddHostDropdown from '../../InfraEnv/AddHostDropdown';
18
18
 
19
19
  const DiscoveryInstructions = () => {
20
20
  const { t } = useTranslation();