@openshift-assisted/ui-lib 2.14.7-cim → 2.15.1-cim

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (602) hide show
  1. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscovery.d.ts.map +1 -1
  2. package/build/@types/cim/components/ClusterDeployment/LabelsSelector.d.ts.map +1 -1
  3. package/build/@types/cim/components/ClusterDeployment/wizardTransition.d.ts +1 -1
  4. package/build/@types/cim/components/ClusterDeployment/wizardTransition.d.ts.map +1 -1
  5. package/build/@types/cim/components/InfraEnv/AddHostDropdown.d.ts.map +1 -1
  6. package/build/@types/cim/components/InfraEnv/InfraEnvOpenShiftVersionDropdown.d.ts.map +1 -1
  7. package/build/@types/cim/components/InfraEnv/InfraTableToolbar.d.ts.map +1 -1
  8. package/build/@types/cim/components/common/CpuArchitectureDropdown.d.ts.map +1 -1
  9. package/build/@types/cim/components/featureSupportLevels/ACMFeatureSupportLevelProvider.d.ts.map +1 -1
  10. package/build/@types/cim/components/helpers/clusterDeployment.d.ts +1 -1
  11. package/build/@types/cim/components/helpers/versions.d.ts +0 -1
  12. package/build/@types/cim/components/helpers/versions.d.ts.map +1 -1
  13. package/build/@types/cim/index.d.ts +1 -0
  14. package/build/@types/cim/index.d.ts.map +1 -1
  15. package/build/@types/common/api/assisted-service/BundleAPI.d.ts +8 -0
  16. package/build/@types/common/api/assisted-service/BundleAPI.d.ts.map +1 -0
  17. package/build/@types/common/api/assisted-service/ClustersAPI.d.ts +1 -0
  18. package/build/@types/common/api/assisted-service/ClustersAPI.d.ts.map +1 -1
  19. package/build/@types/common/api/assisted-service/OperatorsAPI.d.ts +6 -0
  20. package/build/@types/common/api/assisted-service/OperatorsAPI.d.ts.map +1 -0
  21. package/build/@types/common/api/index.d.ts +1 -0
  22. package/build/@types/common/api/index.d.ts.map +1 -1
  23. package/build/@types/common/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts.map +1 -1
  24. package/build/@types/common/components/clusterConfiguration/DownloadIso.d.ts +2 -1
  25. package/build/@types/common/components/clusterConfiguration/DownloadIso.d.ts.map +1 -1
  26. package/build/@types/common/components/clusterDetail/ClusterCredentials.d.ts.map +1 -1
  27. package/build/@types/common/components/clusterDetail/ClusterProgressItems.d.ts.map +1 -1
  28. package/build/@types/common/components/clusterDetail/OperatorsProgressItem.d.ts +2 -3
  29. package/build/@types/common/components/clusterDetail/OperatorsProgressItem.d.ts.map +1 -1
  30. package/build/@types/common/components/clusterDetail/index.d.ts +1 -0
  31. package/build/@types/common/components/clusterDetail/index.d.ts.map +1 -1
  32. package/build/@types/common/components/clusterWizard/ClusterWizardStep.d.ts.map +1 -1
  33. package/build/@types/common/components/clusterWizard/clusterDetailsValidation.d.ts.map +1 -1
  34. package/build/@types/common/components/clusterWizard/types.d.ts +2 -2
  35. package/build/@types/common/components/clusterWizard/types.d.ts.map +1 -1
  36. package/build/@types/common/components/hosts/DiskRole.d.ts.map +1 -1
  37. package/build/@types/common/components/hosts/HostPropertyValidationPopover.d.ts.map +1 -1
  38. package/build/@types/common/components/hosts/HostRowDetail.d.ts.map +1 -1
  39. package/build/@types/common/components/hosts/HostStatus.d.ts.map +1 -1
  40. package/build/@types/common/components/hosts/HostValidationGroups.d.ts +2 -1
  41. package/build/@types/common/components/hosts/HostValidationGroups.d.ts.map +1 -1
  42. package/build/@types/common/components/hosts/TableToolbar.d.ts.map +1 -1
  43. package/build/@types/common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge.d.ts +1 -2
  44. package/build/@types/common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge.d.ts.map +1 -1
  45. package/build/@types/common/components/newFeatureSupportLevels/types.d.ts +5 -3
  46. package/build/@types/common/components/newFeatureSupportLevels/types.d.ts.map +1 -1
  47. package/build/@types/common/components/operators/operatorSpecs.d.ts +22 -0
  48. package/build/@types/common/components/operators/operatorSpecs.d.ts.map +1 -0
  49. package/build/@types/common/components/storage/DisksTable.d.ts.map +1 -1
  50. package/build/@types/common/components/ui/ClusterEventsToolbar.d.ts.map +1 -1
  51. package/build/@types/common/components/ui/DeveloperPreview.d.ts.map +1 -1
  52. package/build/@types/common/components/ui/OpenShiftVersionDropdown.d.ts +0 -1
  53. package/build/@types/common/components/ui/OpenShiftVersionDropdown.d.ts.map +1 -1
  54. package/build/@types/common/components/ui/SimpleDropdown.d.ts +2 -2
  55. package/build/@types/common/components/ui/SimpleDropdown.d.ts.map +1 -1
  56. package/build/@types/common/components/ui/WizardFooter.d.ts +2 -0
  57. package/build/@types/common/components/ui/WizardFooter.d.ts.map +1 -1
  58. package/build/@types/common/components/ui/WizardNavItem.d.ts +1 -1
  59. package/build/@types/common/components/ui/WizardNavItem.d.ts.map +1 -1
  60. package/build/@types/common/components/ui/formik/MultiSelectField.d.ts.map +1 -1
  61. package/build/@types/common/components/ui/formik/types.d.ts +2 -2
  62. package/build/@types/common/components/ui/formik/types.d.ts.map +1 -1
  63. package/build/@types/common/components/ui/formik/validationSchemas.d.ts +1 -1
  64. package/build/@types/common/components/ui/utils.d.ts +1 -1
  65. package/build/@types/common/components/ui/utils.d.ts.map +1 -1
  66. package/build/@types/common/config/constants.d.ts +45 -15
  67. package/build/@types/common/config/constants.d.ts.map +1 -1
  68. package/build/@types/common/config/docs_links.d.ts +21 -2
  69. package/build/@types/common/config/docs_links.d.ts.map +1 -1
  70. package/build/@types/common/hooks/index.d.ts +1 -0
  71. package/build/@types/common/hooks/index.d.ts.map +1 -1
  72. package/build/@types/common/index.d.ts +2 -3
  73. package/build/@types/common/index.d.ts.map +1 -1
  74. package/build/@types/common/selectors/clusterSelectors.d.ts +2 -2
  75. package/build/@types/common/selectors/clusterSelectors.d.ts.map +1 -1
  76. package/build/@types/common/types/clusters.d.ts +3 -7
  77. package/build/@types/common/types/clusters.d.ts.map +1 -1
  78. package/build/@types/common/types/ui-settings.d.ts +1 -0
  79. package/build/@types/common/types/ui-settings.d.ts.map +1 -1
  80. package/build/@types/common/utils.d.ts +1 -0
  81. package/build/@types/common/utils.d.ts.map +1 -1
  82. package/build/@types/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.d.ts.map +1 -1
  83. package/build/@types/ocm/components/HostsClusterDetailTab/utils.d.ts.map +1 -1
  84. package/build/@types/ocm/components/SentryErrorMonitorContextProvider.d.ts.map +1 -1
  85. package/build/@types/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts +9 -0
  86. package/build/@types/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts.map +1 -0
  87. package/build/@types/ocm/components/clusterConfiguration/CpuArchitectureDropdown.d.ts.map +1 -1
  88. package/build/@types/ocm/components/clusterConfiguration/CustomManifestCheckbox.d.ts.map +1 -1
  89. package/build/@types/ocm/components/clusterConfiguration/DiscoveryImageModal.d.ts.map +1 -1
  90. package/build/@types/ocm/components/clusterConfiguration/DiscoveryImageTypeDropdown.d.ts.map +1 -1
  91. package/build/@types/ocm/components/clusterConfiguration/HostInventory.d.ts.map +1 -1
  92. package/build/@types/ocm/components/clusterConfiguration/OcmBaseDomainField.d.ts.map +1 -1
  93. package/build/@types/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.d.ts.map +1 -1
  94. package/build/@types/ocm/components/clusterConfiguration/OcmClusterProgressItems.d.ts.map +1 -1
  95. package/build/@types/ocm/components/clusterConfiguration/OcmOperatorProgressItem.d.ts +2 -3
  96. package/build/@types/ocm/components/clusterConfiguration/OcmOperatorProgressItem.d.ts.map +1 -1
  97. package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.d.ts.map +1 -1
  98. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.d.ts.map +1 -1
  99. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.d.ts.map +1 -1
  100. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.d.ts +1 -1
  101. package/build/@types/ocm/components/clusterConfiguration/operators/OperatorCheckbox.d.ts +12 -0
  102. package/build/@types/ocm/components/clusterConfiguration/operators/OperatorCheckbox.d.ts.map +1 -0
  103. package/build/@types/ocm/components/clusterConfiguration/operators/bundleSpecs.d.ts +11 -0
  104. package/build/@types/ocm/components/clusterConfiguration/operators/bundleSpecs.d.ts.map +1 -0
  105. package/build/@types/ocm/components/clusterConfiguration/operators/utils.d.ts +6 -8
  106. package/build/@types/ocm/components/clusterConfiguration/operators/utils.d.ts.map +1 -1
  107. package/build/@types/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.d.ts.map +1 -1
  108. package/build/@types/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.d.ts +1 -1
  109. package/build/@types/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.d.ts.map +1 -1
  110. package/build/@types/ocm/components/clusterConfiguration/review/ReviewStep.d.ts.map +1 -1
  111. package/build/@types/ocm/components/clusterConfiguration/review/ReviewSummary.d.ts.map +1 -1
  112. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.d.ts.map +1 -1
  113. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.d.ts.map +1 -1
  114. package/build/@types/ocm/components/clusterConfiguration/staticIp/data/formDataToInfraEnvField.d.ts.map +1 -1
  115. package/build/@types/ocm/components/clusterDetail/AssistedInstallerDetailCard.d.ts.map +1 -1
  116. package/build/@types/ocm/components/clusterDetail/ClusterDetailStatusMessages.d.ts.map +1 -1
  117. package/build/@types/ocm/components/clusterDetail/ClusterDetailsButtonGroup.d.ts +1 -0
  118. package/build/@types/ocm/components/clusterDetail/ClusterDetailsButtonGroup.d.ts.map +1 -1
  119. package/build/@types/ocm/components/clusterDetail/ProgressBarAlerts.d.ts.map +1 -1
  120. package/build/@types/ocm/components/clusterWizard/ClusterDetails.d.ts.map +1 -1
  121. package/build/@types/ocm/components/clusterWizard/ClusterDetailsForm.d.ts.map +1 -1
  122. package/build/@types/ocm/components/clusterWizard/ClusterWizard.d.ts.map +1 -1
  123. package/build/@types/ocm/components/clusterWizard/ClusterWizardContextProvider.d.ts.map +1 -1
  124. package/build/@types/ocm/components/clusterWizard/ClusterWizardFooter.d.ts.map +1 -1
  125. package/build/@types/ocm/components/clusterWizard/CredentialsDownload.d.ts +7 -0
  126. package/build/@types/ocm/components/clusterWizard/CredentialsDownload.d.ts.map +1 -0
  127. package/build/@types/ocm/components/clusterWizard/KubeconfigDownload.d.ts +7 -0
  128. package/build/@types/ocm/components/clusterWizard/KubeconfigDownload.d.ts.map +1 -0
  129. package/build/@types/ocm/components/clusterWizard/Operators.d.ts +1 -3
  130. package/build/@types/ocm/components/clusterWizard/Operators.d.ts.map +1 -1
  131. package/build/@types/ocm/components/clusterWizard/OperatorsBundle.d.ts +9 -0
  132. package/build/@types/ocm/components/clusterWizard/OperatorsBundle.d.ts.map +1 -0
  133. package/build/@types/ocm/components/clusterWizard/OperatorsSelect.d.ts +9 -0
  134. package/build/@types/ocm/components/clusterWizard/OperatorsSelect.d.ts.map +1 -0
  135. package/build/@types/ocm/components/clusterWizard/OperatorsStep.d.ts +1 -1
  136. package/build/@types/ocm/components/clusterWizard/OperatorsStep.d.ts.map +1 -1
  137. package/build/@types/ocm/components/clusterWizard/constants.d.ts.map +1 -1
  138. package/build/@types/ocm/components/clusterWizard/index.d.ts +1 -0
  139. package/build/@types/ocm/components/clusterWizard/index.d.ts.map +1 -1
  140. package/build/@types/ocm/components/clusterWizard/wizardTransition.d.ts +3 -3
  141. package/build/@types/ocm/components/clusterWizard/wizardTransition.d.ts.map +1 -1
  142. package/build/@types/ocm/components/clusters/ClusterPage.d.ts +2 -1
  143. package/build/@types/ocm/components/clusters/ClusterPage.d.ts.map +1 -1
  144. package/build/@types/ocm/components/clusters/ClustersListToolbar.d.ts.map +1 -1
  145. package/build/@types/ocm/components/clusters/index.d.ts +3 -0
  146. package/build/@types/ocm/components/clusters/index.d.ts.map +1 -1
  147. package/build/@types/ocm/components/clusters/utils.d.ts +1 -5
  148. package/build/@types/ocm/components/clusters/utils.d.ts.map +1 -1
  149. package/build/@types/ocm/components/featureSupportLevels/FeatureSupportLevelProvider.d.ts.map +1 -1
  150. package/build/@types/ocm/components/featureSupportLevels/featureStateUtils.d.ts +1 -6
  151. package/build/@types/ocm/components/featureSupportLevels/featureStateUtils.d.ts.map +1 -1
  152. package/build/@types/ocm/components/hosts/ModalDialogsContext.d.ts +5 -1
  153. package/build/@types/ocm/components/hosts/ModalDialogsContext.d.ts.map +1 -1
  154. package/build/@types/ocm/components/index.d.ts +2 -0
  155. package/build/@types/ocm/components/index.d.ts.map +1 -1
  156. package/build/@types/ocm/components/utils.d.ts +0 -2
  157. package/build/@types/ocm/components/utils.d.ts.map +1 -1
  158. package/build/@types/ocm/hooks/index.d.ts +2 -0
  159. package/build/@types/ocm/hooks/index.d.ts.map +1 -1
  160. package/build/@types/ocm/index.d.ts +1 -0
  161. package/build/@types/ocm/index.d.ts.map +1 -1
  162. package/build/@types/ocm/sentry.d.ts +2 -2
  163. package/build/@types/ocm/sentry.d.ts.map +1 -1
  164. package/build/@types/ocm/services/BundleService.d.ts +6 -0
  165. package/build/@types/ocm/services/BundleService.d.ts.map +1 -0
  166. package/build/@types/ocm/services/ClusterDetailsService.d.ts.map +1 -1
  167. package/build/@types/ocm/services/ClustersService.d.ts.map +1 -1
  168. package/build/@types/ocm/services/OperatorsService.d.ts +1 -9
  169. package/build/@types/ocm/services/OperatorsService.d.ts.map +1 -1
  170. package/build/@types/ocm/store/slices/current-cluster/slice.d.ts +1 -0
  171. package/build/@types/ocm/store/slices/current-cluster/slice.d.ts.map +1 -1
  172. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscovery.js +2 -1
  173. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscovery.js.map +1 -1
  174. package/build/cjs/cim/components/ClusterDeployment/LabelsSelector.js +5 -5
  175. package/build/cjs/cim/components/ClusterDeployment/LabelsSelector.js.map +1 -1
  176. package/build/cjs/cim/components/ClusterDeployment/ShortCapacitySummary.js +1 -1
  177. package/build/cjs/cim/components/ClusterDeployment/ShortCapacitySummary.js.map +1 -1
  178. package/build/cjs/cim/components/InfraEnv/AddHostDropdown.js +29 -28
  179. package/build/cjs/cim/components/InfraEnv/AddHostDropdown.js.map +1 -1
  180. package/build/cjs/cim/components/InfraEnv/InfraEnvAgentTable.js +2 -2
  181. package/build/cjs/cim/components/InfraEnv/InfraEnvAgentTable.js.map +1 -1
  182. package/build/cjs/cim/components/InfraEnv/InfraEnvOpenShiftVersionDropdown.js +4 -8
  183. package/build/cjs/cim/components/InfraEnv/InfraEnvOpenShiftVersionDropdown.js.map +1 -1
  184. package/build/cjs/cim/components/InfraEnv/InfraTableToolbar.js +12 -12
  185. package/build/cjs/cim/components/InfraEnv/InfraTableToolbar.js.map +1 -1
  186. package/build/cjs/cim/components/common/CpuArchitectureDropdown.js +2 -2
  187. package/build/cjs/cim/components/common/CpuArchitectureDropdown.js.map +1 -1
  188. package/build/cjs/cim/components/featureSupportLevels/ACMFeatureSupportLevelProvider.js +2 -1
  189. package/build/cjs/cim/components/featureSupportLevels/ACMFeatureSupportLevelProvider.js.map +1 -1
  190. package/build/cjs/cim/components/helpers/versions.js +3 -7
  191. package/build/cjs/cim/components/helpers/versions.js.map +1 -1
  192. package/build/cjs/cim/components/modals/MassApproveAction.js +2 -2
  193. package/build/cjs/cim/components/modals/MassApproveAction.js.map +1 -1
  194. package/build/cjs/cim/index.js +1 -0
  195. package/build/cjs/cim/index.js.map +1 -1
  196. package/build/cjs/common/api/assisted-service/BundleAPI.js +16 -0
  197. package/build/cjs/common/api/assisted-service/BundleAPI.js.map +1 -0
  198. package/build/cjs/common/api/assisted-service/ClustersAPI.js +5 -0
  199. package/build/cjs/common/api/assisted-service/ClustersAPI.js.map +1 -1
  200. package/build/cjs/common/api/assisted-service/OperatorsAPI.js +13 -0
  201. package/build/cjs/common/api/assisted-service/OperatorsAPI.js.map +1 -0
  202. package/build/cjs/common/api/index.js +1 -0
  203. package/build/cjs/common/api/index.js.map +1 -1
  204. package/build/cjs/common/components/clusterConfiguration/ControlPlaneNodesDropdown.js +5 -6
  205. package/build/cjs/common/components/clusterConfiguration/ControlPlaneNodesDropdown.js.map +1 -1
  206. package/build/cjs/common/components/clusterConfiguration/DownloadIso.js +6 -2
  207. package/build/cjs/common/components/clusterConfiguration/DownloadIso.js.map +1 -1
  208. package/build/cjs/common/components/clusterDetail/ClusterCredentials.js +1 -1
  209. package/build/cjs/common/components/clusterDetail/ClusterCredentials.js.map +1 -1
  210. package/build/cjs/common/components/clusterDetail/ClusterProgressItems.js +1 -1
  211. package/build/cjs/common/components/clusterDetail/ClusterProgressItems.js.map +1 -1
  212. package/build/cjs/common/components/clusterDetail/OperatorsProgressItem.js +7 -8
  213. package/build/cjs/common/components/clusterDetail/OperatorsProgressItem.js.map +1 -1
  214. package/build/cjs/common/components/clusterDetail/index.js +3 -1
  215. package/build/cjs/common/components/clusterDetail/index.js.map +1 -1
  216. package/build/cjs/common/components/clusterWizard/ClusterWizardStep.js +2 -4
  217. package/build/cjs/common/components/clusterWizard/ClusterWizardStep.js.map +1 -1
  218. package/build/cjs/common/components/clusterWizard/clusterDetailsValidation.js +8 -6
  219. package/build/cjs/common/components/clusterWizard/clusterDetailsValidation.js.map +1 -1
  220. package/build/cjs/common/components/hosts/AITableMemo.js +16 -13
  221. package/build/cjs/common/components/hosts/AITableMemo.js.map +1 -1
  222. package/build/cjs/common/components/hosts/DiskRole.js +5 -5
  223. package/build/cjs/common/components/hosts/DiskRole.js.map +1 -1
  224. package/build/cjs/common/components/hosts/HostPropertyValidationPopover.js +12 -9
  225. package/build/cjs/common/components/hosts/HostPropertyValidationPopover.js.map +1 -1
  226. package/build/cjs/common/components/hosts/HostRowDetail.js +35 -1
  227. package/build/cjs/common/components/hosts/HostRowDetail.js.map +1 -1
  228. package/build/cjs/common/components/hosts/HostStatus.js +1 -1
  229. package/build/cjs/common/components/hosts/HostStatus.js.map +1 -1
  230. package/build/cjs/common/components/hosts/HostToolbarActions.js +3 -3
  231. package/build/cjs/common/components/hosts/HostToolbarActions.js.map +1 -1
  232. package/build/cjs/common/components/hosts/HostValidationGroups.js +27 -5
  233. package/build/cjs/common/components/hosts/HostValidationGroups.js.map +1 -1
  234. package/build/cjs/common/components/hosts/TableToolbar.js +15 -15
  235. package/build/cjs/common/components/hosts/TableToolbar.js.map +1 -1
  236. package/build/cjs/common/components/hosts/utils.js +1 -1
  237. package/build/cjs/common/components/hosts/utils.js.map +1 -1
  238. package/build/cjs/common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge.js.map +1 -1
  239. package/build/cjs/common/components/operators/operatorSpecs.js +215 -0
  240. package/build/cjs/common/components/operators/operatorSpecs.js.map +1 -0
  241. package/build/cjs/common/components/storage/DisksTable.js +14 -10
  242. package/build/cjs/common/components/storage/DisksTable.js.map +1 -1
  243. package/build/cjs/common/components/ui/ClusterEventsToolbar.js +18 -10
  244. package/build/cjs/common/components/ui/ClusterEventsToolbar.js.map +1 -1
  245. package/build/cjs/common/components/ui/DeveloperPreview.js +2 -1
  246. package/build/cjs/common/components/ui/DeveloperPreview.js.map +1 -1
  247. package/build/cjs/common/components/ui/OpenShiftVersionDropdown.js +13 -16
  248. package/build/cjs/common/components/ui/OpenShiftVersionDropdown.js.map +1 -1
  249. package/build/cjs/common/components/ui/SimpleDropdown.js +4 -5
  250. package/build/cjs/common/components/ui/SimpleDropdown.js.map +1 -1
  251. package/build/cjs/common/components/ui/WizardFooter.js +6 -4
  252. package/build/cjs/common/components/ui/WizardFooter.js.map +1 -1
  253. package/build/cjs/common/components/ui/WizardNavItem.js +2 -2
  254. package/build/cjs/common/components/ui/WizardNavItem.js.map +1 -1
  255. package/build/cjs/common/components/ui/formik/MultiSelectField.js +26 -28
  256. package/build/cjs/common/components/ui/formik/MultiSelectField.js.map +1 -1
  257. package/build/cjs/common/components/ui/utils.js +1 -1
  258. package/build/cjs/common/components/ui/utils.js.map +1 -1
  259. package/build/cjs/common/config/constants.js +42 -60
  260. package/build/cjs/common/config/constants.js.map +1 -1
  261. package/build/cjs/common/config/docs_links.js +43 -5
  262. package/build/cjs/common/config/docs_links.js.map +1 -1
  263. package/build/cjs/common/hooks/index.js +3 -1
  264. package/build/cjs/common/hooks/index.js.map +1 -1
  265. package/build/cjs/common/index.js +2 -3
  266. package/build/cjs/common/index.js.map +1 -1
  267. package/build/cjs/common/selectors/clusterSelectors.js +7 -1
  268. package/build/cjs/common/selectors/clusterSelectors.js.map +1 -1
  269. package/build/cjs/common/types/clusters.js.map +1 -1
  270. package/build/cjs/common/utils.js +6 -1
  271. package/build/cjs/common/utils.js.map +1 -1
  272. package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2Wizard.js +2 -2
  273. package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2Wizard.js.map +1 -1
  274. package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2WizardNav.js +5 -5
  275. package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2WizardNav.js.map +1 -1
  276. package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.js +10 -9
  277. package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.js.map +1 -1
  278. package/build/cjs/ocm/components/HostsClusterDetailTab/utils.js +8 -4
  279. package/build/cjs/ocm/components/HostsClusterDetailTab/utils.js.map +1 -1
  280. package/build/cjs/ocm/components/SentryErrorMonitorContextProvider.js.map +1 -1
  281. package/build/cjs/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.js +70 -0
  282. package/build/cjs/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.js.map +1 -0
  283. package/build/cjs/ocm/components/clusterConfiguration/CpuArchitectureDropdown.js +3 -5
  284. package/build/cjs/ocm/components/clusterConfiguration/CpuArchitectureDropdown.js.map +1 -1
  285. package/build/cjs/ocm/components/clusterConfiguration/CustomManifestCheckbox.js +0 -11
  286. package/build/cjs/ocm/components/clusterConfiguration/CustomManifestCheckbox.js.map +1 -1
  287. package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageModal.js +14 -1
  288. package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageModal.js.map +1 -1
  289. package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageTypeDropdown.js +15 -17
  290. package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageTypeDropdown.js.map +1 -1
  291. package/build/cjs/ocm/components/clusterConfiguration/HostInventory.js.map +1 -1
  292. package/build/cjs/ocm/components/clusterConfiguration/OcmBaseDomainField.js +5 -7
  293. package/build/cjs/ocm/components/clusterConfiguration/OcmBaseDomainField.js.map +1 -1
  294. package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js +6 -7
  295. package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js.map +1 -1
  296. package/build/cjs/ocm/components/clusterConfiguration/OcmClusterProgressItems.js +1 -1
  297. package/build/cjs/ocm/components/clusterConfiguration/OcmClusterProgressItems.js.map +1 -1
  298. package/build/cjs/ocm/components/clusterConfiguration/OcmOperatorProgressItem.js +6 -8
  299. package/build/cjs/ocm/components/clusterConfiguration/OcmOperatorProgressItem.js.map +1 -1
  300. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.js +6 -8
  301. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.js.map +1 -1
  302. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js +23 -1
  303. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js.map +1 -1
  304. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.js +7 -10
  305. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.js.map +1 -1
  306. package/build/cjs/ocm/components/clusterConfiguration/operators/OperatorCheckbox.js +91 -0
  307. package/build/cjs/ocm/components/clusterConfiguration/operators/OperatorCheckbox.js.map +1 -0
  308. package/build/cjs/ocm/components/clusterConfiguration/operators/bundleSpecs.js +23 -0
  309. package/build/cjs/ocm/components/clusterConfiguration/operators/bundleSpecs.js.map +1 -0
  310. package/build/cjs/ocm/components/clusterConfiguration/operators/utils.js +54 -19
  311. package/build/cjs/ocm/components/clusterConfiguration/operators/utils.js.map +1 -1
  312. package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.js +38 -23
  313. package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.js.map +1 -1
  314. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.js +24 -18
  315. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.js.map +1 -1
  316. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewStep.js +2 -1
  317. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewStep.js.map +1 -1
  318. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewSummary.js +1 -6
  319. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewSummary.js.map +1 -1
  320. package/build/cjs/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.js +1 -1
  321. package/build/cjs/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.js.map +1 -1
  322. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/BondsSelect.js +1 -1
  323. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHostsFields.js +1 -1
  324. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHostsFields.js.map +1 -1
  325. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.js +8 -2
  326. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.js.map +1 -1
  327. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.js +3 -3
  328. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.js.map +1 -1
  329. package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/formDataToInfraEnvField.js +0 -2
  330. package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/formDataToInfraEnvField.js.map +1 -1
  331. package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/nmstateYaml.js +1 -1
  332. package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/nmstateYaml.js.map +1 -1
  333. package/build/cjs/ocm/components/clusterDetail/AssistedInstallerDetailCard.js +11 -11
  334. package/build/cjs/ocm/components/clusterDetail/AssistedInstallerDetailCard.js.map +1 -1
  335. package/build/cjs/ocm/components/clusterDetail/ClusterDetailStatusMessages.js +16 -14
  336. package/build/cjs/ocm/components/clusterDetail/ClusterDetailStatusMessages.js.map +1 -1
  337. package/build/cjs/ocm/components/clusterDetail/ClusterDetailsButtonGroup.js +1 -0
  338. package/build/cjs/ocm/components/clusterDetail/ClusterDetailsButtonGroup.js.map +1 -1
  339. package/build/cjs/ocm/components/clusterDetail/ProgressBarAlerts.js +3 -21
  340. package/build/cjs/ocm/components/clusterDetail/ProgressBarAlerts.js.map +1 -1
  341. package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js +8 -0
  342. package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js.map +1 -1
  343. package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js +5 -1
  344. package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js.map +1 -1
  345. package/build/cjs/ocm/components/clusterWizard/ClusterWizard.js +3 -0
  346. package/build/cjs/ocm/components/clusterWizard/ClusterWizard.js.map +1 -1
  347. package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js +2 -3
  348. package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js.map +1 -1
  349. package/build/cjs/ocm/components/clusterWizard/ClusterWizardFooter.js +11 -1
  350. package/build/cjs/ocm/components/clusterWizard/ClusterWizardFooter.js.map +1 -1
  351. package/build/cjs/ocm/components/clusterWizard/ClusterWizardNavigation.js +5 -5
  352. package/build/cjs/ocm/components/clusterWizard/ClusterWizardNavigation.js.map +1 -1
  353. package/build/cjs/ocm/components/clusterWizard/CredentialsDownload.js +62 -0
  354. package/build/cjs/ocm/components/clusterWizard/CredentialsDownload.js.map +1 -0
  355. package/build/cjs/ocm/components/clusterWizard/KubeconfigDownload.js +21 -0
  356. package/build/cjs/ocm/components/clusterWizard/KubeconfigDownload.js.map +1 -0
  357. package/build/cjs/ocm/components/clusterWizard/Operators.js +11 -22
  358. package/build/cjs/ocm/components/clusterWizard/Operators.js.map +1 -1
  359. package/build/cjs/ocm/components/clusterWizard/OperatorsBundle.css +6 -0
  360. package/build/cjs/ocm/components/clusterWizard/OperatorsBundle.js +123 -0
  361. package/build/cjs/ocm/components/clusterWizard/OperatorsBundle.js.map +1 -0
  362. package/build/cjs/ocm/components/clusterWizard/OperatorsSelect.js +63 -0
  363. package/build/cjs/ocm/components/clusterWizard/OperatorsSelect.js.map +1 -0
  364. package/build/cjs/ocm/components/clusterWizard/OperatorsStep.js +33 -22
  365. package/build/cjs/ocm/components/clusterWizard/OperatorsStep.js.map +1 -1
  366. package/build/cjs/ocm/components/clusterWizard/constants.js +1 -0
  367. package/build/cjs/ocm/components/clusterWizard/constants.js.map +1 -1
  368. package/build/cjs/ocm/components/clusterWizard/index.js +3 -1
  369. package/build/cjs/ocm/components/clusterWizard/index.js.map +1 -1
  370. package/build/cjs/ocm/components/clusterWizard/wizardTransition.js +10 -6
  371. package/build/cjs/ocm/components/clusterWizard/wizardTransition.js.map +1 -1
  372. package/build/cjs/ocm/components/clusters/ClusterPage.js +4 -6
  373. package/build/cjs/ocm/components/clusters/ClusterPage.js.map +1 -1
  374. package/build/cjs/ocm/components/clusters/ClustersListToolbar.js +3 -3
  375. package/build/cjs/ocm/components/clusters/ClustersListToolbar.js.map +1 -1
  376. package/build/cjs/ocm/components/clusters/index.js +7 -1
  377. package/build/cjs/ocm/components/clusters/index.js.map +1 -1
  378. package/build/cjs/ocm/components/clusters/utils.js +1 -14
  379. package/build/cjs/ocm/components/clusters/utils.js.map +1 -1
  380. package/build/cjs/ocm/components/featureSupportLevels/FeatureSupportLevelProvider.js +0 -1
  381. package/build/cjs/ocm/components/featureSupportLevels/FeatureSupportLevelProvider.js.map +1 -1
  382. package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js +85 -61
  383. package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js.map +1 -1
  384. package/build/cjs/ocm/components/hosts/ModalDialogsContext.js +1 -0
  385. package/build/cjs/ocm/components/hosts/ModalDialogsContext.js.map +1 -1
  386. package/build/cjs/ocm/components/index.js +2 -0
  387. package/build/cjs/ocm/components/index.js.map +1 -1
  388. package/build/cjs/ocm/components/utils.js +1 -10
  389. package/build/cjs/ocm/components/utils.js.map +1 -1
  390. package/build/cjs/ocm/hooks/index.js +5 -1
  391. package/build/cjs/ocm/hooks/index.js.map +1 -1
  392. package/build/cjs/ocm/hooks/useInfraEnv.js +2 -2
  393. package/build/cjs/ocm/hooks/useInfraEnv.js.map +1 -1
  394. package/build/cjs/ocm/index.js +1 -0
  395. package/build/cjs/ocm/index.js.map +1 -1
  396. package/build/cjs/ocm/sentry.js +1 -1
  397. package/build/cjs/ocm/sentry.js.map +1 -1
  398. package/build/cjs/ocm/services/BundleService.js +20 -0
  399. package/build/cjs/ocm/services/BundleService.js.map +1 -0
  400. package/build/cjs/ocm/services/ClusterDetailsService.js +2 -1
  401. package/build/cjs/ocm/services/ClusterDetailsService.js.map +1 -1
  402. package/build/cjs/ocm/services/ClustersService.js +7 -1
  403. package/build/cjs/ocm/services/ClustersService.js.map +1 -1
  404. package/build/cjs/ocm/services/OperatorsService.js +6 -50
  405. package/build/cjs/ocm/services/OperatorsService.js.map +1 -1
  406. package/lib/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscovery.tsx +8 -6
  407. package/lib/cim/components/ClusterDeployment/LabelsSelector.tsx +27 -14
  408. package/lib/cim/components/ClusterDeployment/ShortCapacitySummary.tsx +1 -1
  409. package/lib/cim/components/InfraEnv/AddHostDropdown.tsx +59 -47
  410. package/lib/cim/components/InfraEnv/InfraEnvAgentTable.tsx +1 -1
  411. package/lib/cim/components/InfraEnv/InfraEnvOpenShiftVersionDropdown.tsx +34 -22
  412. package/lib/cim/components/InfraEnv/InfraTableToolbar.tsx +40 -28
  413. package/lib/cim/components/common/CpuArchitectureDropdown.tsx +5 -2
  414. package/lib/cim/components/featureSupportLevels/ACMFeatureSupportLevelProvider.tsx +2 -1
  415. package/lib/cim/components/helpers/versions.ts +1 -5
  416. package/lib/cim/components/modals/MassApproveAction.tsx +1 -1
  417. package/lib/cim/index.ts +1 -0
  418. package/lib/common/api/assisted-service/BundleAPI.ts +18 -0
  419. package/lib/common/api/assisted-service/ClustersAPI.ts +6 -0
  420. package/lib/common/api/assisted-service/OperatorsAPI.ts +13 -0
  421. package/lib/common/api/index.ts +1 -0
  422. package/lib/common/components/clusterConfiguration/ControlPlaneNodesDropdown.tsx +30 -17
  423. package/lib/common/components/clusterConfiguration/DownloadIso.tsx +9 -1
  424. package/lib/common/components/clusterDetail/ClusterCredentials.tsx +12 -2
  425. package/lib/common/components/clusterDetail/ClusterProgressItems.tsx +1 -4
  426. package/lib/common/components/clusterDetail/OperatorsProgressItem.tsx +6 -12
  427. package/lib/common/components/clusterDetail/index.ts +1 -0
  428. package/lib/common/components/clusterWizard/ClusterWizardStep.tsx +2 -4
  429. package/lib/common/components/clusterWizard/clusterDetailsValidation.ts +7 -6
  430. package/lib/common/components/clusterWizard/types.ts +3 -1
  431. package/lib/common/components/hosts/AITableMemo.tsx +1 -1
  432. package/lib/common/components/hosts/DiskRole.tsx +23 -17
  433. package/lib/common/components/hosts/HostPropertyValidationPopover.tsx +10 -4
  434. package/lib/common/components/hosts/HostRowDetail.tsx +71 -1
  435. package/lib/common/components/hosts/HostStatus.tsx +1 -2
  436. package/lib/common/components/hosts/HostToolbarActions.tsx +1 -1
  437. package/lib/common/components/hosts/HostValidationGroups.tsx +52 -5
  438. package/lib/common/components/hosts/TableToolbar.tsx +54 -48
  439. package/lib/common/components/hosts/utils.ts +1 -1
  440. package/lib/common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge.tsx +2 -2
  441. package/lib/common/components/newFeatureSupportLevels/types.ts +16 -9
  442. package/lib/common/components/operators/operatorSpecs.tsx +344 -0
  443. package/lib/common/components/storage/DisksTable.tsx +24 -19
  444. package/lib/common/components/ui/ClusterEventsToolbar.tsx +78 -45
  445. package/lib/common/components/ui/DeveloperPreview.tsx +2 -0
  446. package/lib/common/components/ui/OpenShiftVersionDropdown.tsx +38 -44
  447. package/lib/common/components/ui/SimpleDropdown.tsx +23 -22
  448. package/lib/common/components/ui/WizardFooter.tsx +29 -10
  449. package/lib/common/components/ui/WizardNavItem.tsx +1 -1
  450. package/lib/common/components/ui/formik/MultiSelectField.tsx +98 -58
  451. package/lib/common/components/ui/formik/types.ts +2 -2
  452. package/lib/common/components/ui/utils.ts +4 -2
  453. package/lib/common/config/constants.ts +42 -73
  454. package/lib/common/config/docs_links.ts +87 -6
  455. package/lib/common/hooks/index.ts +1 -0
  456. package/lib/common/index.ts +2 -4
  457. package/lib/common/selectors/clusterSelectors.ts +9 -2
  458. package/lib/common/types/clusters.ts +3 -7
  459. package/lib/common/types/ui-settings.ts +1 -0
  460. package/lib/common/utils.ts +5 -0
  461. package/lib/ocm/components/AddHosts/day2Wizard/Day2Wizard.tsx +1 -1
  462. package/lib/ocm/components/AddHosts/day2Wizard/Day2WizardNav.tsx +5 -5
  463. package/lib/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.tsx +12 -9
  464. package/lib/ocm/components/HostsClusterDetailTab/utils.ts +5 -1
  465. package/lib/ocm/components/SentryErrorMonitorContextProvider.tsx +1 -2
  466. package/lib/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.tsx +158 -0
  467. package/lib/ocm/components/clusterConfiguration/CpuArchitectureDropdown.tsx +26 -20
  468. package/lib/ocm/components/clusterConfiguration/CustomManifestCheckbox.tsx +0 -13
  469. package/lib/ocm/components/clusterConfiguration/DiscoveryImageModal.tsx +24 -1
  470. package/lib/ocm/components/clusterConfiguration/DiscoveryImageTypeDropdown.tsx +47 -46
  471. package/lib/ocm/components/clusterConfiguration/HostInventory.tsx +0 -1
  472. package/lib/ocm/components/clusterConfiguration/OcmBaseDomainField.tsx +16 -13
  473. package/lib/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.tsx +18 -20
  474. package/lib/ocm/components/clusterConfiguration/OcmClusterProgressItems.tsx +1 -4
  475. package/lib/ocm/components/clusterConfiguration/OcmOperatorProgressItem.tsx +5 -10
  476. package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.tsx +25 -26
  477. package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.tsx +29 -1
  478. package/lib/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.tsx +24 -29
  479. package/lib/ocm/components/clusterConfiguration/operators/OperatorCheckbox.tsx +210 -0
  480. package/lib/ocm/components/clusterConfiguration/operators/bundleSpecs.tsx +43 -0
  481. package/lib/ocm/components/clusterConfiguration/operators/utils.tsx +88 -31
  482. package/lib/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.tsx +89 -63
  483. package/lib/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.tsx +46 -43
  484. package/lib/ocm/components/clusterConfiguration/review/ReviewStep.tsx +2 -1
  485. package/lib/ocm/components/clusterConfiguration/review/ReviewSummary.tsx +1 -15
  486. package/lib/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.tsx +1 -1
  487. package/lib/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/BondsSelect.tsx +1 -1
  488. package/lib/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHostsFields.tsx +1 -1
  489. package/lib/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.tsx +13 -8
  490. package/lib/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.tsx +9 -7
  491. package/lib/ocm/components/clusterConfiguration/staticIp/data/formDataToInfraEnvField.ts +0 -2
  492. package/lib/ocm/components/clusterConfiguration/staticIp/data/nmstateYaml.ts +1 -1
  493. package/lib/ocm/components/clusterDetail/AssistedInstallerDetailCard.tsx +38 -28
  494. package/lib/ocm/components/clusterDetail/ClusterDetailStatusMessages.tsx +18 -19
  495. package/lib/ocm/components/clusterDetail/ClusterDetailsButtonGroup.tsx +2 -0
  496. package/lib/ocm/components/clusterDetail/ProgressBarAlerts.tsx +3 -36
  497. package/lib/ocm/components/clusterWizard/ClusterDetails.tsx +8 -0
  498. package/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx +7 -1
  499. package/lib/ocm/components/clusterWizard/ClusterWizard.tsx +3 -0
  500. package/lib/ocm/components/clusterWizard/ClusterWizardContextProvider.tsx +1 -3
  501. package/lib/ocm/components/clusterWizard/ClusterWizardFooter.tsx +15 -1
  502. package/lib/ocm/components/clusterWizard/ClusterWizardNavigation.tsx +5 -5
  503. package/lib/ocm/components/clusterWizard/CredentialsDownload.tsx +105 -0
  504. package/lib/ocm/components/clusterWizard/KubeconfigDownload.tsx +39 -0
  505. package/lib/ocm/components/clusterWizard/Operators.tsx +17 -41
  506. package/lib/ocm/components/clusterWizard/OperatorsBundle.css +6 -0
  507. package/lib/ocm/components/clusterWizard/OperatorsBundle.tsx +244 -0
  508. package/lib/ocm/components/clusterWizard/OperatorsSelect.tsx +108 -0
  509. package/lib/ocm/components/clusterWizard/OperatorsStep.tsx +48 -36
  510. package/lib/ocm/components/clusterWizard/_wizardTransition.test.ts +25 -0
  511. package/lib/ocm/components/clusterWizard/constants.ts +1 -0
  512. package/lib/ocm/components/clusterWizard/index.ts +1 -0
  513. package/lib/ocm/components/clusterWizard/wizardTransition.ts +12 -7
  514. package/lib/ocm/components/clusters/ClusterPage.tsx +11 -8
  515. package/lib/ocm/components/clusters/ClustersListToolbar.tsx +39 -19
  516. package/lib/ocm/components/clusters/index.ts +3 -0
  517. package/lib/ocm/components/clusters/utils.ts +0 -19
  518. package/lib/ocm/components/featureSupportLevels/FeatureSupportLevelProvider.tsx +0 -1
  519. package/lib/ocm/components/featureSupportLevels/featureStateUtils.ts +94 -69
  520. package/lib/ocm/components/hosts/ModalDialogsContext.tsx +8 -1
  521. package/lib/ocm/components/index.ts +2 -0
  522. package/lib/ocm/components/utils.ts +0 -12
  523. package/lib/ocm/hooks/index.ts +2 -0
  524. package/lib/ocm/hooks/useInfraEnv.ts +1 -1
  525. package/lib/ocm/index.ts +1 -0
  526. package/lib/ocm/sentry.ts +2 -1
  527. package/lib/ocm/services/BundleService.ts +14 -0
  528. package/lib/ocm/services/ClusterDetailsService.ts +2 -1
  529. package/lib/ocm/services/ClustersService.ts +11 -3
  530. package/lib/ocm/services/OperatorsService.tsx +4 -76
  531. package/package.json +3 -3
  532. package/build/@types/ocm/components/clusterConfiguration/OcmSNOControlGroup.d.ts +0 -10
  533. package/build/@types/ocm/components/clusterConfiguration/OcmSNOControlGroup.d.ts.map +0 -1
  534. package/build/@types/ocm/components/clusterConfiguration/operators/CnvCheckbox.d.ts +0 -8
  535. package/build/@types/ocm/components/clusterConfiguration/operators/CnvCheckbox.d.ts.map +0 -1
  536. package/build/@types/ocm/components/clusterConfiguration/operators/CnvHostRequirements.d.ts +0 -8
  537. package/build/@types/ocm/components/clusterConfiguration/operators/CnvHostRequirements.d.ts.map +0 -1
  538. package/build/@types/ocm/components/clusterConfiguration/operators/LvmCheckbox.d.ts +0 -8
  539. package/build/@types/ocm/components/clusterConfiguration/operators/LvmCheckbox.d.ts.map +0 -1
  540. package/build/@types/ocm/components/clusterConfiguration/operators/LvmHostRequirements.d.ts +0 -7
  541. package/build/@types/ocm/components/clusterConfiguration/operators/LvmHostRequirements.d.ts.map +0 -1
  542. package/build/@types/ocm/components/clusterConfiguration/operators/MceCheckbox.d.ts +0 -9
  543. package/build/@types/ocm/components/clusterConfiguration/operators/MceCheckbox.d.ts.map +0 -1
  544. package/build/@types/ocm/components/clusterConfiguration/operators/MceRequirements.d.ts +0 -8
  545. package/build/@types/ocm/components/clusterConfiguration/operators/MceRequirements.d.ts.map +0 -1
  546. package/build/@types/ocm/components/clusterConfiguration/operators/MtvOperatorCheckbox.d.ts +0 -7
  547. package/build/@types/ocm/components/clusterConfiguration/operators/MtvOperatorCheckbox.d.ts.map +0 -1
  548. package/build/@types/ocm/components/clusterConfiguration/operators/MtvRequirements.d.ts +0 -7
  549. package/build/@types/ocm/components/clusterConfiguration/operators/MtvRequirements.d.ts.map +0 -1
  550. package/build/@types/ocm/components/clusterConfiguration/operators/OdfCheckbox.d.ts +0 -4
  551. package/build/@types/ocm/components/clusterConfiguration/operators/OdfCheckbox.d.ts.map +0 -1
  552. package/build/@types/ocm/components/clusterConfiguration/operators/OpenShiftAICheckbox.d.ts +0 -4
  553. package/build/@types/ocm/components/clusterConfiguration/operators/OpenShiftAICheckbox.d.ts.map +0 -1
  554. package/build/@types/ocm/components/clusterConfiguration/operators/OpenShiftAIRequirements.d.ts +0 -4
  555. package/build/@types/ocm/components/clusterConfiguration/operators/OpenShiftAIRequirements.d.ts.map +0 -1
  556. package/build/@types/ocm/components/clusterDetail/RebootNodeZeroModal.d.ts +0 -7
  557. package/build/@types/ocm/components/clusterDetail/RebootNodeZeroModal.d.ts.map +0 -1
  558. package/build/cjs/common/components/ui/OpenShiftVersionDropdown.css +0 -9
  559. package/build/cjs/ocm/components/clusterConfiguration/OcmSNOControlGroup.js +0 -20
  560. package/build/cjs/ocm/components/clusterConfiguration/OcmSNOControlGroup.js.map +0 -1
  561. package/build/cjs/ocm/components/clusterConfiguration/operators/CnvCheckbox.js +0 -49
  562. package/build/cjs/ocm/components/clusterConfiguration/operators/CnvCheckbox.js.map +0 -1
  563. package/build/cjs/ocm/components/clusterConfiguration/operators/CnvHostRequirements.js +0 -55
  564. package/build/cjs/ocm/components/clusterConfiguration/operators/CnvHostRequirements.js.map +0 -1
  565. package/build/cjs/ocm/components/clusterConfiguration/operators/LvmCheckbox.js +0 -61
  566. package/build/cjs/ocm/components/clusterConfiguration/operators/LvmCheckbox.js.map +0 -1
  567. package/build/cjs/ocm/components/clusterConfiguration/operators/LvmHostRequirements.js +0 -22
  568. package/build/cjs/ocm/components/clusterConfiguration/operators/LvmHostRequirements.js.map +0 -1
  569. package/build/cjs/ocm/components/clusterConfiguration/operators/MceCheckbox.js +0 -36
  570. package/build/cjs/ocm/components/clusterConfiguration/operators/MceCheckbox.js.map +0 -1
  571. package/build/cjs/ocm/components/clusterConfiguration/operators/MceRequirements.js +0 -54
  572. package/build/cjs/ocm/components/clusterConfiguration/operators/MceRequirements.js.map +0 -1
  573. package/build/cjs/ocm/components/clusterConfiguration/operators/MtvOperatorCheckbox.js +0 -41
  574. package/build/cjs/ocm/components/clusterConfiguration/operators/MtvOperatorCheckbox.js.map +0 -1
  575. package/build/cjs/ocm/components/clusterConfiguration/operators/MtvRequirements.js +0 -51
  576. package/build/cjs/ocm/components/clusterConfiguration/operators/MtvRequirements.js.map +0 -1
  577. package/build/cjs/ocm/components/clusterConfiguration/operators/OdfCheckbox.js +0 -46
  578. package/build/cjs/ocm/components/clusterConfiguration/operators/OdfCheckbox.js.map +0 -1
  579. package/build/cjs/ocm/components/clusterConfiguration/operators/OpenShiftAICheckbox.js +0 -48
  580. package/build/cjs/ocm/components/clusterConfiguration/operators/OpenShiftAICheckbox.js.map +0 -1
  581. package/build/cjs/ocm/components/clusterConfiguration/operators/OpenShiftAIRequirements.js +0 -30
  582. package/build/cjs/ocm/components/clusterConfiguration/operators/OpenShiftAIRequirements.js.map +0 -1
  583. package/build/cjs/ocm/components/clusterDetail/RebootNodeZeroModal.css +0 -7
  584. package/build/cjs/ocm/components/clusterDetail/RebootNodeZeroModal.js +0 -35
  585. package/build/cjs/ocm/components/clusterDetail/RebootNodeZeroModal.js.map +0 -1
  586. package/lib/common/components/ui/OpenShiftVersionDropdown.css +0 -9
  587. package/lib/ocm/components/clusterConfiguration/OcmSNOControlGroup.tsx +0 -62
  588. package/lib/ocm/components/clusterConfiguration/operators/CnvCheckbox.tsx +0 -108
  589. package/lib/ocm/components/clusterConfiguration/operators/CnvHostRequirements.tsx +0 -64
  590. package/lib/ocm/components/clusterConfiguration/operators/LvmCheckbox.tsx +0 -130
  591. package/lib/ocm/components/clusterConfiguration/operators/LvmHostRequirements.tsx +0 -38
  592. package/lib/ocm/components/clusterConfiguration/operators/MceCheckbox.tsx +0 -83
  593. package/lib/ocm/components/clusterConfiguration/operators/MceRequirements.tsx +0 -61
  594. package/lib/ocm/components/clusterConfiguration/operators/MtvOperatorCheckbox.tsx +0 -79
  595. package/lib/ocm/components/clusterConfiguration/operators/MtvRequirements.tsx +0 -52
  596. package/lib/ocm/components/clusterConfiguration/operators/OdfCheckbox.tsx +0 -74
  597. package/lib/ocm/components/clusterConfiguration/operators/OpenShiftAICheckbox.tsx +0 -80
  598. package/lib/ocm/components/clusterConfiguration/operators/OpenShiftAIRequirements.tsx +0 -36
  599. package/lib/ocm/components/clusterDetail/RebootNodeZeroModal.css +0 -7
  600. package/lib/ocm/components/clusterDetail/RebootNodeZeroModal.tsx +0 -69
  601. /package/build/cjs/{common/styles.css → ocm/components/clusterDetail/ClusterDetailsButtonGroup.css} +0 -0
  602. /package/lib/{common/styles.css → ocm/components/clusterDetail/ClusterDetailsButtonGroup.css} +0 -0
@@ -1,38 +0,0 @@
1
- import React from 'react';
2
- import { List, ListItem } from '@patternfly/react-core';
3
- import { useClusterPreflightRequirements } from '../../../hooks';
4
- import {
5
- ClusterOperatorProps,
6
- ErrorState,
7
- LoadingState,
8
- OPERATOR_NAME_LVM,
9
- } from '../../../../common';
10
- import { HostTypeHardwareRequirements } from '@openshift-assisted/types/assisted-installer-service';
11
-
12
- const LvmHostRequirements = ({ clusterId }: { clusterId: ClusterOperatorProps['clusterId'] }) => {
13
- const { preflightRequirements, error, isLoading } = useClusterPreflightRequirements(clusterId);
14
-
15
- if (isLoading) {
16
- return <LoadingState content="Loading hardware requirements ..." />;
17
- }
18
- if (error) {
19
- return <ErrorState />;
20
- }
21
-
22
- const lvmRequirements = preflightRequirements?.operators?.find(
23
- (operatorRequirements) => operatorRequirements.operatorName === OPERATOR_NAME_LVM,
24
- );
25
-
26
- const { qualitative = [] } = lvmRequirements?.requirements
27
- ?.master as HostTypeHardwareRequirements;
28
-
29
- return (
30
- <List>
31
- {qualitative.map((qualitativeItem, index) => (
32
- <ListItem key={index}>{qualitativeItem}</ListItem>
33
- ))}
34
- </List>
35
- );
36
- };
37
-
38
- export default LvmHostRequirements;
@@ -1,83 +0,0 @@
1
- import React from 'react';
2
- import { FormGroup, HelperText, HelperTextItem, Tooltip } from '@patternfly/react-core';
3
- import { ExternalLinkAltIcon } from '@patternfly/react-icons/dist/js/icons/external-link-alt-icon';
4
- import { getFieldId, PopoverIcon, getMceDocsLink, ClusterOperatorProps } from '../../../../common';
5
- import { OcmCheckboxField } from '../../ui/OcmFormFields';
6
- import { useNewFeatureSupportLevel } from '../../../../common/components/newFeatureSupportLevels';
7
- import MceRequirements from './MceRequirements';
8
-
9
- const MCE_FIELD_NAME = 'useMultiClusterEngine';
10
-
11
- const MceLabel = ({
12
- disabledReason,
13
- isVersionEqualsOrMajorThan4_15,
14
- clusterId,
15
- }: {
16
- disabledReason?: string;
17
- isVersionEqualsOrMajorThan4_15: boolean;
18
- clusterId: ClusterOperatorProps['clusterId'];
19
- }) => {
20
- return (
21
- <>
22
- <Tooltip hidden={!disabledReason} content={disabledReason}>
23
- <span>Install multicluster engine </span>
24
- </Tooltip>
25
- <PopoverIcon
26
- id={MCE_FIELD_NAME}
27
- component={'a'}
28
- headerContent="Additional requirements"
29
- bodyContent={
30
- <MceRequirements
31
- clusterId={clusterId}
32
- isVersionEqualsOrMajorThan4_15={isVersionEqualsOrMajorThan4_15}
33
- />
34
- }
35
- />
36
- </>
37
- );
38
- };
39
-
40
- const MceHelperText = ({ docsVersion }: { docsVersion: string }) => {
41
- return (
42
- <HelperText>
43
- <HelperTextItem variant="indeterminate">
44
- Create, import, and manage multiple clusters from this cluster.{' '}
45
- <a href={getMceDocsLink(docsVersion)} target="_blank" rel="noopener noreferrer">
46
- {'Learn more'} <ExternalLinkAltIcon />
47
- </a>
48
- </HelperTextItem>
49
- </HelperText>
50
- );
51
- };
52
-
53
- const MceCheckbox = ({
54
- clusterId,
55
- isVersionEqualsOrMajorThan4_15,
56
- openshiftVersion,
57
- }: {
58
- isVersionEqualsOrMajorThan4_15: boolean;
59
- openshiftVersion?: string;
60
- clusterId: ClusterOperatorProps['clusterId'];
61
- }) => {
62
- const featureSupportLevelContext = useNewFeatureSupportLevel();
63
- const fieldId = getFieldId(MCE_FIELD_NAME, 'input');
64
- const disabledReason = featureSupportLevelContext.getFeatureDisabledReason('MCE');
65
- return (
66
- <FormGroup isInline fieldId={fieldId}>
67
- <OcmCheckboxField
68
- name={MCE_FIELD_NAME}
69
- label={
70
- <MceLabel
71
- disabledReason={disabledReason}
72
- isVersionEqualsOrMajorThan4_15={isVersionEqualsOrMajorThan4_15}
73
- clusterId={clusterId}
74
- />
75
- }
76
- isDisabled={!!disabledReason}
77
- helperText={<MceHelperText docsVersion={openshiftVersion || ''} />}
78
- />
79
- </FormGroup>
80
- );
81
- };
82
-
83
- export default MceCheckbox;
@@ -1,61 +0,0 @@
1
- import React from 'react';
2
- import { useSelector } from 'react-redux';
3
- import { List, ListItem } from '@patternfly/react-core';
4
- import { useClusterPreflightRequirements } from '../../../hooks';
5
- import { ErrorState, LoadingState, OPERATOR_NAME_MCE, RenderIf } from '../../../../common';
6
- import { Cluster } from '@openshift-assisted/types/assisted-installer-service';
7
- import { selectIsCurrentClusterSNO } from '../../../store/slices/current-cluster/selectors';
8
- import { getOdfLvmsText } from './utils';
9
-
10
- const MceRequirements = ({
11
- clusterId,
12
- isVersionEqualsOrMajorThan4_15,
13
- }: {
14
- clusterId: Cluster['id'];
15
- isVersionEqualsOrMajorThan4_15: boolean;
16
- }) => {
17
- const { preflightRequirements, error, isLoading } = useClusterPreflightRequirements(clusterId);
18
- const isSingleNode = useSelector(selectIsCurrentClusterSNO);
19
-
20
- if (isLoading) {
21
- return <LoadingState content="Loading hardware requirements ..." />;
22
- }
23
- if (error) {
24
- return <ErrorState />;
25
- }
26
-
27
- const mceRequirements = preflightRequirements?.operators?.find(
28
- (operatorRequirements) => operatorRequirements.operatorName === OPERATOR_NAME_MCE,
29
- );
30
-
31
- const workerRequirements = mceRequirements?.requirements?.worker?.quantitative;
32
- const masterRequirements = mceRequirements?.requirements?.master?.quantitative;
33
- const odfLvmsText = getOdfLvmsText(isSingleNode, isVersionEqualsOrMajorThan4_15);
34
- return (
35
- <>
36
- <List>
37
- <RenderIf condition={!isSingleNode}>
38
- <ListItem>
39
- Each worker node requires an additional {workerRequirements?.ramMib || 360} MiB of
40
- memory {workerRequirements?.diskSizeGb ? ',' : ' and'}{' '}
41
- {workerRequirements?.cpuCores || 2} CPUs
42
- {workerRequirements?.diskSizeGb
43
- ? ` and ${workerRequirements?.diskSizeGb} storage space`
44
- : ''}
45
- </ListItem>
46
- </RenderIf>
47
- <ListItem>
48
- Each control plane node requires an additional {masterRequirements?.ramMib || 150} MiB of
49
- memory {masterRequirements?.diskSizeGb ? ',' : ' and'} {masterRequirements?.cpuCores || 4}{' '}
50
- CPUs
51
- {masterRequirements?.diskSizeGb
52
- ? ` and ${masterRequirements?.diskSizeGb} storage space`
53
- : ''}
54
- </ListItem>
55
- <ListItem>{odfLvmsText}</ListItem>
56
- </List>
57
- </>
58
- );
59
- };
60
-
61
- export default MceRequirements;
@@ -1,79 +0,0 @@
1
- import React, { useState } from 'react';
2
- import { FormGroup, HelperText, HelperTextItem, Tooltip } from '@patternfly/react-core';
3
- import { ExternalLinkAltIcon } from '@patternfly/react-icons/dist/js/icons/external-link-alt-icon';
4
- import {
5
- getFieldId,
6
- PopoverIcon,
7
- MTV_LINK,
8
- OperatorsValues,
9
- ClusterOperatorProps,
10
- } from '../../../../common';
11
- import { OcmCheckboxField } from '../../ui/OcmFormFields';
12
- import { useNewFeatureSupportLevel } from '../../../../common/components/newFeatureSupportLevels';
13
- import { useFormikContext } from 'formik';
14
- import MtvRequirements from './MtvRequirements';
15
-
16
- const Mtv_FIELD_NAME = 'useMigrationToolkitforVirtualization';
17
-
18
- const MtvLabel = ({
19
- disabledReason,
20
- clusterId,
21
- }: {
22
- disabledReason?: string;
23
- clusterId: string;
24
- }) => (
25
- <>
26
- <Tooltip hidden={!disabledReason} content={disabledReason}>
27
- <span>Install Migration Toolkit for Virtualization </span>
28
- </Tooltip>
29
- <PopoverIcon
30
- component={'a'}
31
- headerContent="Additional requirements"
32
- bodyContent={<MtvRequirements clusterId={clusterId} />}
33
- />
34
- </>
35
- );
36
-
37
- const MtvHelperText = () => {
38
- return (
39
- <HelperText>
40
- <HelperTextItem variant="indeterminate">
41
- The Migration Toolkit for Virtualization (MTV) enables you to migrate virtual machines from
42
- VMware vSphere, Red Hat Virtualization, or OpenStack to OpenShift Virtualization running on
43
- Red Hat OpenShift.{' '}
44
- <a href={MTV_LINK} target="_blank" rel="noopener noreferrer">
45
- {'Learn more'} <ExternalLinkAltIcon />
46
- </a>
47
- </HelperTextItem>
48
- </HelperText>
49
- );
50
- };
51
-
52
- const MtvCheckbox = ({ clusterId }: { clusterId: ClusterOperatorProps['clusterId'] }) => {
53
- const featureSupportLevelContext = useNewFeatureSupportLevel();
54
- const { values, setFieldValue } = useFormikContext<OperatorsValues>();
55
- const fieldId = getFieldId(Mtv_FIELD_NAME, 'input');
56
- const [disabledReason, setDisabledReason] = useState<string | undefined>();
57
-
58
- const selectCNVOperator = (checked: boolean) =>
59
- setFieldValue('useContainerNativeVirtualization', checked);
60
-
61
- React.useEffect(() => {
62
- const disabledReason = featureSupportLevelContext.getFeatureDisabledReason('MTV');
63
- setDisabledReason(disabledReason);
64
- }, [values, featureSupportLevelContext]);
65
-
66
- return (
67
- <FormGroup isInline fieldId={fieldId}>
68
- <OcmCheckboxField
69
- name={Mtv_FIELD_NAME}
70
- label={<MtvLabel disabledReason={disabledReason} clusterId={clusterId} />}
71
- isDisabled={!!disabledReason}
72
- helperText={<MtvHelperText />}
73
- onChange={selectCNVOperator}
74
- />
75
- </FormGroup>
76
- );
77
- };
78
-
79
- export default MtvCheckbox;
@@ -1,52 +0,0 @@
1
- import React from 'react';
2
- import { useSelector } from 'react-redux';
3
- import { List, ListItem } from '@patternfly/react-core';
4
- import { useClusterPreflightRequirements } from '../../../hooks';
5
- import { ErrorState, LoadingState, OPERATOR_NAME_MTV, RenderIf } from '../../../../common';
6
- import { Cluster } from '@openshift-assisted/types/assisted-installer-service';
7
- import { selectIsCurrentClusterSNO } from '../../../store/slices/current-cluster/selectors';
8
-
9
- const MtvRequirements = ({ clusterId }: { clusterId: Cluster['id'] }) => {
10
- const { preflightRequirements, error, isLoading } = useClusterPreflightRequirements(clusterId);
11
- const isSingleNode = useSelector(selectIsCurrentClusterSNO);
12
-
13
- if (isLoading) {
14
- return <LoadingState content="Loading hardware requirements ..." />;
15
- }
16
- if (error) {
17
- return <ErrorState />;
18
- }
19
-
20
- const mtvRequirements = preflightRequirements?.operators?.find(
21
- (operatorRequirements) => operatorRequirements.operatorName === OPERATOR_NAME_MTV,
22
- );
23
-
24
- const workerRequirements = mtvRequirements?.requirements?.worker?.quantitative;
25
- const masterRequirements = mtvRequirements?.requirements?.master?.quantitative;
26
- return (
27
- <>
28
- <List>
29
- <RenderIf condition={!isSingleNode}>
30
- <ListItem>
31
- Each worker node requires an additional {workerRequirements?.ramMib || 360} MiB of
32
- memory {workerRequirements?.diskSizeGb ? ',' : ' and'}{' '}
33
- {workerRequirements?.cpuCores || 2} CPUs
34
- {workerRequirements?.diskSizeGb
35
- ? ` and ${workerRequirements?.diskSizeGb} storage space`
36
- : ''}
37
- </ListItem>
38
- </RenderIf>
39
- <ListItem>
40
- Each control plane node requires an additional {masterRequirements?.ramMib || 150} MiB of
41
- memory {masterRequirements?.diskSizeGb ? ',' : ' and'} {masterRequirements?.cpuCores || 4}{' '}
42
- CPUs
43
- {masterRequirements?.diskSizeGb
44
- ? ` and ${masterRequirements?.diskSizeGb} storage space`
45
- : ''}
46
- </ListItem>
47
- </List>
48
- </>
49
- );
50
- };
51
-
52
- export default MtvRequirements;
@@ -1,74 +0,0 @@
1
- import React, { useState } from 'react';
2
- import { FormGroup, HelperText, HelperTextItem, Tooltip } from '@patternfly/react-core';
3
- import { ExternalLinkAltIcon } from '@patternfly/react-icons/dist/js/icons/external-link-alt-icon';
4
- import {
5
- getFieldId,
6
- PopoverIcon,
7
- ODF_REQUIREMENTS_LINK,
8
- ODF_LINK,
9
- OperatorsValues,
10
- } from '../../../../common';
11
- import { OcmCheckboxField } from '../../ui/OcmFormFields';
12
- import { useNewFeatureSupportLevel } from '../../../../common/components/newFeatureSupportLevels';
13
- import { useFormikContext } from 'formik';
14
- import { getOdfIncompatibleWithLvmsReason } from '../../featureSupportLevels/featureStateUtils';
15
-
16
- const ODF_FIELD_NAME = 'useOpenShiftDataFoundation';
17
-
18
- const OdfLabel = ({ disabledReason }: { disabledReason?: string }) => (
19
- <>
20
- <Tooltip hidden={!disabledReason} content={disabledReason}>
21
- <span>Install OpenShift Data Foundation </span>
22
- </Tooltip>
23
- <PopoverIcon
24
- component={'a'}
25
- headerContent="Additional requirements"
26
- bodyContent={
27
- <a href={ODF_REQUIREMENTS_LINK} target="_blank" rel="noopener noreferrer">
28
- Learn more about the requirements for OpenShift Data Foundation <ExternalLinkAltIcon />.
29
- </a>
30
- }
31
- />
32
- </>
33
- );
34
-
35
- const OdfHelperText = () => {
36
- return (
37
- <HelperText>
38
- <HelperTextItem variant="indeterminate">
39
- Persistent software-defined storage for hybrid applications.{' '}
40
- <a href={ODF_LINK} target="_blank" rel="noopener noreferrer">
41
- {'Learn more'} <ExternalLinkAltIcon />
42
- </a>
43
- </HelperTextItem>
44
- </HelperText>
45
- );
46
- };
47
-
48
- const OdfCheckbox = () => {
49
- const featureSupportLevelContext = useNewFeatureSupportLevel();
50
- const { values } = useFormikContext<OperatorsValues>();
51
- const fieldId = getFieldId(ODF_FIELD_NAME, 'input');
52
- const [disabledReason, setDisabledReason] = useState<string | undefined>();
53
-
54
- React.useEffect(() => {
55
- let disabledReason = featureSupportLevelContext.getFeatureDisabledReason('ODF');
56
- if (!disabledReason) {
57
- disabledReason = getOdfIncompatibleWithLvmsReason(values);
58
- }
59
- setDisabledReason(disabledReason);
60
- }, [values, featureSupportLevelContext]);
61
-
62
- return (
63
- <FormGroup isInline fieldId={fieldId}>
64
- <OcmCheckboxField
65
- name={ODF_FIELD_NAME}
66
- label={<OdfLabel disabledReason={disabledReason} />}
67
- isDisabled={!!disabledReason}
68
- helperText={<OdfHelperText />}
69
- />
70
- </FormGroup>
71
- );
72
- };
73
-
74
- export default OdfCheckbox;
@@ -1,80 +0,0 @@
1
- import React, { useState } from 'react';
2
- import { FormGroup, HelperText, HelperTextItem, Tooltip } from '@patternfly/react-core';
3
- import { ExternalLinkAltIcon } from '@patternfly/react-icons/dist/js/icons/external-link-alt-icon';
4
- import { useFormikContext } from 'formik';
5
- import { getFieldId, PopoverIcon, OPENSHIFT_AI_LINK, OperatorsValues } from '../../../../common';
6
- import OpenShiftAIRequirements from './OpenShiftAIRequirements';
7
- import { OcmCheckboxField } from '../../ui/OcmFormFields';
8
- import { useNewFeatureSupportLevel } from '../../../../common/components/newFeatureSupportLevels';
9
- import NewFeatureSupportLevelBadge from '../../../../common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge';
10
- import { SupportLevel } from '@openshift-assisted/types/assisted-installer-service';
11
- import { getOpenShiftAIIncompatibleWithLvmsReason } from '../../featureSupportLevels/featureStateUtils';
12
-
13
- const OPENSHIFT_AI_FIELD_NAME = 'useOpenShiftAI';
14
-
15
- type OpenShiftAILabelProps = {
16
- disabledReason?: string;
17
- supportLevel?: SupportLevel;
18
- };
19
-
20
- const OpenShiftAILabel = ({ disabledReason, supportLevel }: OpenShiftAILabelProps) => {
21
- return (
22
- <>
23
- <Tooltip hidden={!disabledReason} content={disabledReason}>
24
- <span>Install OpenShift AI bundle </span>
25
- </Tooltip>
26
- <PopoverIcon
27
- component={'a'}
28
- headerContent="Requirements and dependencies"
29
- bodyContent={<OpenShiftAIRequirements />}
30
- />
31
- <NewFeatureSupportLevelBadge featureId="OPENSHIFT_AI" supportLevel={supportLevel} />
32
- </>
33
- );
34
- };
35
-
36
- const OpenShiftAIHelperText = () => {
37
- return (
38
- <HelperText>
39
- <HelperTextItem variant="indeterminate">
40
- Train, serve, monitor and manage AI/ML models and applications.{' '}
41
- <a href={OPENSHIFT_AI_LINK} target="_blank" rel="noopener noreferrer">
42
- {'Learn more'} <ExternalLinkAltIcon />
43
- </a>
44
- </HelperTextItem>
45
- </HelperText>
46
- );
47
- };
48
-
49
- const OpenShiftAICheckbox = () => {
50
- const featureSupportLevel = useNewFeatureSupportLevel();
51
- const { values } = useFormikContext<OperatorsValues>();
52
- const fieldId = getFieldId(OPENSHIFT_AI_FIELD_NAME, 'input');
53
- const [disabledReason, setDisabledReason] = useState<string | undefined>();
54
-
55
- React.useEffect(() => {
56
- let disabledReason = featureSupportLevel.getFeatureDisabledReason('OPENSHIFT_AI');
57
- if (!disabledReason) {
58
- disabledReason = getOpenShiftAIIncompatibleWithLvmsReason(values);
59
- }
60
- setDisabledReason(disabledReason);
61
- }, [values, featureSupportLevel]);
62
-
63
- return (
64
- <FormGroup isInline fieldId={fieldId}>
65
- <OcmCheckboxField
66
- name={OPENSHIFT_AI_FIELD_NAME}
67
- label={
68
- <OpenShiftAILabel
69
- disabledReason={disabledReason}
70
- supportLevel={featureSupportLevel.getFeatureSupportLevel('OPENSHIFT_AI')}
71
- />
72
- }
73
- isDisabled={!!disabledReason}
74
- helperText={<OpenShiftAIHelperText />}
75
- />
76
- </FormGroup>
77
- );
78
- };
79
-
80
- export default OpenShiftAICheckbox;
@@ -1,36 +0,0 @@
1
- import React from 'react';
2
- import { List, ListItem } from '@patternfly/react-core';
3
- import { ExternalLinkAltIcon } from '@patternfly/react-icons/dist/js/icons/external-link-alt-icon';
4
- import { OPENSHIFT_AI_REQUIREMENTS_LINK } from '../../../../common';
5
-
6
- const OpenShiftAIRequirements = () => {
7
- return (
8
- <>
9
- <List>
10
- <ListItem>At least two worker nodes.</ListItem>
11
- <ListItem>
12
- Each worker node requires 32 additional GiB of memory and 8 additional CPUs.
13
- </ListItem>
14
- <ListItem>At least one supported GPU. Currently only NVIDIA GPUs are supported.</ListItem>
15
- <ListItem>
16
- Nodes that have NVIDIA GPUs installed need to have secure boot disabled.
17
- </ListItem>
18
- </List>
19
- Bundle operators:
20
- <List>
21
- <ListItem>OpenShift Data Foundation</ListItem>
22
- <ListItem>Node Feature Discovery</ListItem>
23
- <ListItem>NVIDIA GPU</ListItem>
24
- <ListItem>Pipelines</ListItem>
25
- <ListItem>Service Mesh</ListItem>
26
- <ListItem>Serverless</ListItem>
27
- <ListItem>Authorino</ListItem>
28
- </List>
29
- <a href={OPENSHIFT_AI_REQUIREMENTS_LINK} target="_blank" rel="noopener noreferrer">
30
- Learn more <ExternalLinkAltIcon />.
31
- </a>
32
- </>
33
- );
34
- };
35
-
36
- export default OpenShiftAIRequirements;
@@ -1,7 +0,0 @@
1
- .ai-reboot-modal .detail-list dt {
2
- margin-top: var(--pf-v5-global--spacer--lg);
3
- }
4
-
5
- .ai-reboot-modal__item {
6
- margin-top: var(--pf-v5-global--spacer--lg);
7
- }
@@ -1,69 +0,0 @@
1
- import React from 'react';
2
- import { Button, Checkbox, Modal, ModalVariant, Text, TextContent } from '@patternfly/react-core';
3
-
4
- import { useClusterStatusVarieties } from './ClusterDetailStatusVarieties';
5
- import { KubeconfigDownload, ClusterCredentials } from '../../../common';
6
-
7
- import './RebootNodeZeroModal.css';
8
- import { Cluster } from '@openshift-assisted/types/assisted-installer-service';
9
-
10
- // TODO(mlibra): Following will be reimplemented based on future decisions in https://issues.redhat.com/browse/AGENT-522
11
- export const RebootNodeZeroModal: React.FC<{ cluster: Cluster }> = ({ cluster }) => {
12
- const [rebootConfirmed, setRebootCofirmed] = React.useState(false);
13
- const clusterVarieties = useClusterStatusVarieties(cluster);
14
- const { credentials, credentialsError, fetchCredentials } = clusterVarieties;
15
-
16
- const onReboot = () => {
17
- // console.error('onReboot handler to be implemented');
18
- // TODO(mlibra): Make HTTP Rest call to the assisted-service to restart the node, such endpoint is not yet implemented
19
- };
20
-
21
- // Do not merge, development only:
22
- // credentials = credentials || {
23
- // username: 'mock-user',
24
- // password: 'mock-password',
25
- // consoleUrl: 'https://www.google.com/search?q=mock',
26
- // };
27
-
28
- return (
29
- <Modal
30
- title="Reboot node?"
31
- className="ai-reboot-modal"
32
- isOpen={true}
33
- variant={ModalVariant.medium}
34
- actions={[
35
- <Button key="reboot" onClick={onReboot} isDisabled={!rebootConfirmed}>
36
- Reboot
37
- </Button>,
38
- ]}
39
- >
40
- <TextContent>
41
- <Text>
42
- This node is about to reboot. Make sure you have downloaded the kubeconfig before you
43
- proceed to reboot.
44
- </Text>
45
- </TextContent>
46
- <KubeconfigDownload
47
- status={cluster.status}
48
- clusterId={cluster.id}
49
- className="ai-reboot-modal__item"
50
- data-testid="button-download-kubeconfig"
51
- />
52
- <ClusterCredentials
53
- cluster={cluster}
54
- credentials={credentials}
55
- error={!!credentialsError}
56
- retry={fetchCredentials}
57
- credentialsError={credentialsError}
58
- />
59
- <Checkbox
60
- label="I have downloaded the kubeconfig, saved the credentials and the node is ready to reboot"
61
- className="ai-reboot-modal__item"
62
- isChecked={rebootConfirmed}
63
- onChange={() => setRebootCofirmed(!rebootConfirmed)}
64
- id="checkbox-confirm-reboot"
65
- name="confirm-reboot"
66
- />
67
- </Modal>
68
- );
69
- };