@openshift-assisted/ui-lib 2.14.5-cim → 2.15.0-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 (610) hide show
  1. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentDetailsForm.d.ts.map +1 -1
  2. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscovery.d.ts.map +1 -1
  3. package/build/@types/cim/components/ClusterDeployment/LabelsSelector.d.ts.map +1 -1
  4. package/build/@types/cim/components/ClusterDeployment/wizardTransition.d.ts +1 -1
  5. package/build/@types/cim/components/ClusterDeployment/wizardTransition.d.ts.map +1 -1
  6. package/build/@types/cim/components/InfraEnv/AddHostDropdown.d.ts.map +1 -1
  7. package/build/@types/cim/components/InfraEnv/EnvironmentDetails.d.ts.map +1 -1
  8. package/build/@types/cim/components/InfraEnv/InfraEnvOpenShiftVersionDropdown.d.ts.map +1 -1
  9. package/build/@types/cim/components/InfraEnv/InfraTableToolbar.d.ts.map +1 -1
  10. package/build/@types/cim/components/common/CpuArchitectureDropdown.d.ts.map +1 -1
  11. package/build/@types/cim/components/featureSupportLevels/ACMFeatureSupportLevelProvider.d.ts.map +1 -1
  12. package/build/@types/cim/components/helpers/clusterDeployment.d.ts +1 -1
  13. package/build/@types/cim/components/helpers/versions.d.ts +0 -1
  14. package/build/@types/cim/components/helpers/versions.d.ts.map +1 -1
  15. package/build/@types/cim/index.d.ts +1 -0
  16. package/build/@types/cim/index.d.ts.map +1 -1
  17. package/build/@types/common/api/assisted-service/BundleAPI.d.ts +8 -0
  18. package/build/@types/common/api/assisted-service/BundleAPI.d.ts.map +1 -0
  19. package/build/@types/common/api/assisted-service/ClustersAPI.d.ts +1 -0
  20. package/build/@types/common/api/assisted-service/ClustersAPI.d.ts.map +1 -1
  21. package/build/@types/common/api/assisted-service/OperatorsAPI.d.ts +6 -0
  22. package/build/@types/common/api/assisted-service/OperatorsAPI.d.ts.map +1 -0
  23. package/build/@types/common/api/index.d.ts +1 -0
  24. package/build/@types/common/api/index.d.ts.map +1 -1
  25. package/build/@types/common/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts.map +1 -1
  26. package/build/@types/common/components/clusterConfiguration/DownloadIso.d.ts +2 -1
  27. package/build/@types/common/components/clusterConfiguration/DownloadIso.d.ts.map +1 -1
  28. package/build/@types/common/components/clusterDetail/ClusterCredentials.d.ts.map +1 -1
  29. package/build/@types/common/components/clusterDetail/ClusterProgressItems.d.ts.map +1 -1
  30. package/build/@types/common/components/clusterDetail/OperatorsProgressItem.d.ts +2 -3
  31. package/build/@types/common/components/clusterDetail/OperatorsProgressItem.d.ts.map +1 -1
  32. package/build/@types/common/components/clusterDetail/index.d.ts +1 -0
  33. package/build/@types/common/components/clusterDetail/index.d.ts.map +1 -1
  34. package/build/@types/common/components/clusterWizard/ClusterWizardStep.d.ts.map +1 -1
  35. package/build/@types/common/components/clusterWizard/clusterDetailsValidation.d.ts.map +1 -1
  36. package/build/@types/common/components/clusterWizard/types.d.ts +2 -2
  37. package/build/@types/common/components/clusterWizard/types.d.ts.map +1 -1
  38. package/build/@types/common/components/hosts/DiskRole.d.ts.map +1 -1
  39. package/build/@types/common/components/hosts/HostPropertyValidationPopover.d.ts.map +1 -1
  40. package/build/@types/common/components/hosts/HostRowDetail.d.ts.map +1 -1
  41. package/build/@types/common/components/hosts/HostStatus.d.ts.map +1 -1
  42. package/build/@types/common/components/hosts/HostValidationGroups.d.ts +2 -1
  43. package/build/@types/common/components/hosts/HostValidationGroups.d.ts.map +1 -1
  44. package/build/@types/common/components/hosts/TableToolbar.d.ts.map +1 -1
  45. package/build/@types/common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge.d.ts +1 -2
  46. package/build/@types/common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge.d.ts.map +1 -1
  47. package/build/@types/common/components/newFeatureSupportLevels/types.d.ts +5 -3
  48. package/build/@types/common/components/newFeatureSupportLevels/types.d.ts.map +1 -1
  49. package/build/@types/common/components/operators/operatorSpecs.d.ts +22 -0
  50. package/build/@types/common/components/operators/operatorSpecs.d.ts.map +1 -0
  51. package/build/@types/common/components/storage/DisksTable.d.ts.map +1 -1
  52. package/build/@types/common/components/ui/ClusterEventsToolbar.d.ts.map +1 -1
  53. package/build/@types/common/components/ui/DeveloperPreview.d.ts.map +1 -1
  54. package/build/@types/common/components/ui/OpenShiftVersionDropdown.d.ts +0 -1
  55. package/build/@types/common/components/ui/OpenShiftVersionDropdown.d.ts.map +1 -1
  56. package/build/@types/common/components/ui/SimpleDropdown.d.ts +2 -2
  57. package/build/@types/common/components/ui/SimpleDropdown.d.ts.map +1 -1
  58. package/build/@types/common/components/ui/WizardFooter.d.ts +2 -0
  59. package/build/@types/common/components/ui/WizardFooter.d.ts.map +1 -1
  60. package/build/@types/common/components/ui/WizardNavItem.d.ts +1 -1
  61. package/build/@types/common/components/ui/WizardNavItem.d.ts.map +1 -1
  62. package/build/@types/common/components/ui/formik/MultiSelectField.d.ts.map +1 -1
  63. package/build/@types/common/components/ui/formik/types.d.ts +2 -2
  64. package/build/@types/common/components/ui/formik/types.d.ts.map +1 -1
  65. package/build/@types/common/components/ui/formik/validationSchemas.d.ts +1 -1
  66. package/build/@types/common/components/ui/utils.d.ts +1 -1
  67. package/build/@types/common/components/ui/utils.d.ts.map +1 -1
  68. package/build/@types/common/config/constants.d.ts +45 -15
  69. package/build/@types/common/config/constants.d.ts.map +1 -1
  70. package/build/@types/common/config/docs_links.d.ts +21 -2
  71. package/build/@types/common/config/docs_links.d.ts.map +1 -1
  72. package/build/@types/common/hooks/index.d.ts +1 -0
  73. package/build/@types/common/hooks/index.d.ts.map +1 -1
  74. package/build/@types/common/index.d.ts +2 -3
  75. package/build/@types/common/index.d.ts.map +1 -1
  76. package/build/@types/common/selectors/clusterSelectors.d.ts +2 -2
  77. package/build/@types/common/selectors/clusterSelectors.d.ts.map +1 -1
  78. package/build/@types/common/types/clusters.d.ts +3 -7
  79. package/build/@types/common/types/clusters.d.ts.map +1 -1
  80. package/build/@types/common/types/ui-settings.d.ts +1 -0
  81. package/build/@types/common/types/ui-settings.d.ts.map +1 -1
  82. package/build/@types/common/utils.d.ts +1 -0
  83. package/build/@types/common/utils.d.ts.map +1 -1
  84. package/build/@types/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.d.ts.map +1 -1
  85. package/build/@types/ocm/components/HostsClusterDetailTab/utils.d.ts.map +1 -1
  86. package/build/@types/ocm/components/SentryErrorMonitorContextProvider.d.ts.map +1 -1
  87. package/build/@types/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts +9 -0
  88. package/build/@types/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts.map +1 -0
  89. package/build/@types/ocm/components/clusterConfiguration/CpuArchitectureDropdown.d.ts.map +1 -1
  90. package/build/@types/ocm/components/clusterConfiguration/CustomManifestCheckbox.d.ts.map +1 -1
  91. package/build/@types/ocm/components/clusterConfiguration/DiscoveryImageModal.d.ts.map +1 -1
  92. package/build/@types/ocm/components/clusterConfiguration/DiscoveryImageTypeDropdown.d.ts.map +1 -1
  93. package/build/@types/ocm/components/clusterConfiguration/HostInventory.d.ts.map +1 -1
  94. package/build/@types/ocm/components/clusterConfiguration/OcmBaseDomainField.d.ts.map +1 -1
  95. package/build/@types/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.d.ts.map +1 -1
  96. package/build/@types/ocm/components/clusterConfiguration/OcmClusterProgressItems.d.ts.map +1 -1
  97. package/build/@types/ocm/components/clusterConfiguration/OcmOperatorProgressItem.d.ts +2 -3
  98. package/build/@types/ocm/components/clusterConfiguration/OcmOperatorProgressItem.d.ts.map +1 -1
  99. package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.d.ts.map +1 -1
  100. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.d.ts.map +1 -1
  101. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.d.ts.map +1 -1
  102. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.d.ts +1 -1
  103. package/build/@types/ocm/components/clusterConfiguration/operators/OperatorCheckbox.d.ts +12 -0
  104. package/build/@types/ocm/components/clusterConfiguration/operators/OperatorCheckbox.d.ts.map +1 -0
  105. package/build/@types/ocm/components/clusterConfiguration/operators/bundleSpecs.d.ts +11 -0
  106. package/build/@types/ocm/components/clusterConfiguration/operators/bundleSpecs.d.ts.map +1 -0
  107. package/build/@types/ocm/components/clusterConfiguration/operators/utils.d.ts +6 -8
  108. package/build/@types/ocm/components/clusterConfiguration/operators/utils.d.ts.map +1 -1
  109. package/build/@types/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.d.ts.map +1 -1
  110. package/build/@types/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.d.ts +1 -1
  111. package/build/@types/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.d.ts.map +1 -1
  112. package/build/@types/ocm/components/clusterConfiguration/review/ReviewStep.d.ts.map +1 -1
  113. package/build/@types/ocm/components/clusterConfiguration/review/ReviewSummary.d.ts.map +1 -1
  114. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.d.ts.map +1 -1
  115. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.d.ts.map +1 -1
  116. package/build/@types/ocm/components/clusterConfiguration/staticIp/data/formDataToInfraEnvField.d.ts.map +1 -1
  117. package/build/@types/ocm/components/clusterDetail/AssistedInstallerDetailCard.d.ts.map +1 -1
  118. package/build/@types/ocm/components/clusterDetail/ClusterDetailStatusMessages.d.ts.map +1 -1
  119. package/build/@types/ocm/components/clusterDetail/ClusterDetailsButtonGroup.d.ts +1 -0
  120. package/build/@types/ocm/components/clusterDetail/ClusterDetailsButtonGroup.d.ts.map +1 -1
  121. package/build/@types/ocm/components/clusterDetail/ProgressBarAlerts.d.ts.map +1 -1
  122. package/build/@types/ocm/components/clusterWizard/ClusterDetails.d.ts.map +1 -1
  123. package/build/@types/ocm/components/clusterWizard/ClusterDetailsForm.d.ts.map +1 -1
  124. package/build/@types/ocm/components/clusterWizard/ClusterWizard.d.ts.map +1 -1
  125. package/build/@types/ocm/components/clusterWizard/ClusterWizardContextProvider.d.ts.map +1 -1
  126. package/build/@types/ocm/components/clusterWizard/ClusterWizardFooter.d.ts.map +1 -1
  127. package/build/@types/ocm/components/clusterWizard/CredentialsDownload.d.ts +7 -0
  128. package/build/@types/ocm/components/clusterWizard/CredentialsDownload.d.ts.map +1 -0
  129. package/build/@types/ocm/components/clusterWizard/KubeconfigDownload.d.ts +7 -0
  130. package/build/@types/ocm/components/clusterWizard/KubeconfigDownload.d.ts.map +1 -0
  131. package/build/@types/ocm/components/clusterWizard/Operators.d.ts +1 -3
  132. package/build/@types/ocm/components/clusterWizard/Operators.d.ts.map +1 -1
  133. package/build/@types/ocm/components/clusterWizard/OperatorsBundle.d.ts +9 -0
  134. package/build/@types/ocm/components/clusterWizard/OperatorsBundle.d.ts.map +1 -0
  135. package/build/@types/ocm/components/clusterWizard/OperatorsSelect.d.ts +9 -0
  136. package/build/@types/ocm/components/clusterWizard/OperatorsSelect.d.ts.map +1 -0
  137. package/build/@types/ocm/components/clusterWizard/OperatorsStep.d.ts +1 -1
  138. package/build/@types/ocm/components/clusterWizard/OperatorsStep.d.ts.map +1 -1
  139. package/build/@types/ocm/components/clusterWizard/constants.d.ts.map +1 -1
  140. package/build/@types/ocm/components/clusterWizard/index.d.ts +1 -0
  141. package/build/@types/ocm/components/clusterWizard/index.d.ts.map +1 -1
  142. package/build/@types/ocm/components/clusterWizard/wizardTransition.d.ts +3 -3
  143. package/build/@types/ocm/components/clusterWizard/wizardTransition.d.ts.map +1 -1
  144. package/build/@types/ocm/components/clusters/ClusterPage.d.ts +2 -1
  145. package/build/@types/ocm/components/clusters/ClusterPage.d.ts.map +1 -1
  146. package/build/@types/ocm/components/clusters/ClustersListToolbar.d.ts.map +1 -1
  147. package/build/@types/ocm/components/clusters/index.d.ts +3 -0
  148. package/build/@types/ocm/components/clusters/index.d.ts.map +1 -1
  149. package/build/@types/ocm/components/clusters/utils.d.ts +1 -5
  150. package/build/@types/ocm/components/clusters/utils.d.ts.map +1 -1
  151. package/build/@types/ocm/components/featureSupportLevels/FeatureSupportLevelProvider.d.ts.map +1 -1
  152. package/build/@types/ocm/components/featureSupportLevels/featureStateUtils.d.ts +1 -6
  153. package/build/@types/ocm/components/featureSupportLevels/featureStateUtils.d.ts.map +1 -1
  154. package/build/@types/ocm/components/hosts/ModalDialogsContext.d.ts +5 -1
  155. package/build/@types/ocm/components/hosts/ModalDialogsContext.d.ts.map +1 -1
  156. package/build/@types/ocm/components/index.d.ts +2 -0
  157. package/build/@types/ocm/components/index.d.ts.map +1 -1
  158. package/build/@types/ocm/components/utils.d.ts +0 -2
  159. package/build/@types/ocm/components/utils.d.ts.map +1 -1
  160. package/build/@types/ocm/hooks/index.d.ts +2 -0
  161. package/build/@types/ocm/hooks/index.d.ts.map +1 -1
  162. package/build/@types/ocm/index.d.ts +1 -0
  163. package/build/@types/ocm/index.d.ts.map +1 -1
  164. package/build/@types/ocm/sentry.d.ts +2 -2
  165. package/build/@types/ocm/sentry.d.ts.map +1 -1
  166. package/build/@types/ocm/services/BundleService.d.ts +6 -0
  167. package/build/@types/ocm/services/BundleService.d.ts.map +1 -0
  168. package/build/@types/ocm/services/ClusterDetailsService.d.ts.map +1 -1
  169. package/build/@types/ocm/services/ClustersService.d.ts.map +1 -1
  170. package/build/@types/ocm/services/OperatorsService.d.ts +1 -9
  171. package/build/@types/ocm/services/OperatorsService.d.ts.map +1 -1
  172. package/build/@types/ocm/store/slices/current-cluster/slice.d.ts +1 -0
  173. package/build/@types/ocm/store/slices/current-cluster/slice.d.ts.map +1 -1
  174. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetailsForm.js +2 -2
  175. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetailsForm.js.map +1 -1
  176. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscovery.js +2 -1
  177. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscovery.js.map +1 -1
  178. package/build/cjs/cim/components/ClusterDeployment/LabelsSelector.js +5 -5
  179. package/build/cjs/cim/components/ClusterDeployment/LabelsSelector.js.map +1 -1
  180. package/build/cjs/cim/components/ClusterDeployment/ShortCapacitySummary.js +1 -1
  181. package/build/cjs/cim/components/ClusterDeployment/ShortCapacitySummary.js.map +1 -1
  182. package/build/cjs/cim/components/InfraEnv/AddHostDropdown.js +29 -28
  183. package/build/cjs/cim/components/InfraEnv/AddHostDropdown.js.map +1 -1
  184. package/build/cjs/cim/components/InfraEnv/EnvironmentDetails.js +16 -14
  185. package/build/cjs/cim/components/InfraEnv/EnvironmentDetails.js.map +1 -1
  186. package/build/cjs/cim/components/InfraEnv/InfraEnvAgentTable.js +2 -2
  187. package/build/cjs/cim/components/InfraEnv/InfraEnvAgentTable.js.map +1 -1
  188. package/build/cjs/cim/components/InfraEnv/InfraEnvOpenShiftVersionDropdown.js +4 -8
  189. package/build/cjs/cim/components/InfraEnv/InfraEnvOpenShiftVersionDropdown.js.map +1 -1
  190. package/build/cjs/cim/components/InfraEnv/InfraTableToolbar.js +12 -12
  191. package/build/cjs/cim/components/InfraEnv/InfraTableToolbar.js.map +1 -1
  192. package/build/cjs/cim/components/common/CpuArchitectureDropdown.js +2 -2
  193. package/build/cjs/cim/components/common/CpuArchitectureDropdown.js.map +1 -1
  194. package/build/cjs/cim/components/featureSupportLevels/ACMFeatureSupportLevelProvider.js +2 -1
  195. package/build/cjs/cim/components/featureSupportLevels/ACMFeatureSupportLevelProvider.js.map +1 -1
  196. package/build/cjs/cim/components/helpers/versions.js +3 -7
  197. package/build/cjs/cim/components/helpers/versions.js.map +1 -1
  198. package/build/cjs/cim/components/modals/MassApproveAction.js +2 -2
  199. package/build/cjs/cim/components/modals/MassApproveAction.js.map +1 -1
  200. package/build/cjs/cim/index.js +1 -0
  201. package/build/cjs/cim/index.js.map +1 -1
  202. package/build/cjs/common/api/assisted-service/BundleAPI.js +16 -0
  203. package/build/cjs/common/api/assisted-service/BundleAPI.js.map +1 -0
  204. package/build/cjs/common/api/assisted-service/ClustersAPI.js +5 -0
  205. package/build/cjs/common/api/assisted-service/ClustersAPI.js.map +1 -1
  206. package/build/cjs/common/api/assisted-service/OperatorsAPI.js +13 -0
  207. package/build/cjs/common/api/assisted-service/OperatorsAPI.js.map +1 -0
  208. package/build/cjs/common/api/index.js +1 -0
  209. package/build/cjs/common/api/index.js.map +1 -1
  210. package/build/cjs/common/components/clusterConfiguration/ControlPlaneNodesDropdown.js +5 -6
  211. package/build/cjs/common/components/clusterConfiguration/ControlPlaneNodesDropdown.js.map +1 -1
  212. package/build/cjs/common/components/clusterConfiguration/DownloadIso.js +6 -2
  213. package/build/cjs/common/components/clusterConfiguration/DownloadIso.js.map +1 -1
  214. package/build/cjs/common/components/clusterDetail/ClusterCredentials.js +1 -1
  215. package/build/cjs/common/components/clusterDetail/ClusterCredentials.js.map +1 -1
  216. package/build/cjs/common/components/clusterDetail/ClusterProgressItems.js +1 -1
  217. package/build/cjs/common/components/clusterDetail/ClusterProgressItems.js.map +1 -1
  218. package/build/cjs/common/components/clusterDetail/OperatorsProgressItem.js +7 -8
  219. package/build/cjs/common/components/clusterDetail/OperatorsProgressItem.js.map +1 -1
  220. package/build/cjs/common/components/clusterDetail/index.js +3 -1
  221. package/build/cjs/common/components/clusterDetail/index.js.map +1 -1
  222. package/build/cjs/common/components/clusterWizard/ClusterWizardStep.js +2 -4
  223. package/build/cjs/common/components/clusterWizard/ClusterWizardStep.js.map +1 -1
  224. package/build/cjs/common/components/clusterWizard/clusterDetailsValidation.js +8 -6
  225. package/build/cjs/common/components/clusterWizard/clusterDetailsValidation.js.map +1 -1
  226. package/build/cjs/common/components/hosts/AITableMemo.js +16 -13
  227. package/build/cjs/common/components/hosts/AITableMemo.js.map +1 -1
  228. package/build/cjs/common/components/hosts/DiskRole.js +5 -5
  229. package/build/cjs/common/components/hosts/DiskRole.js.map +1 -1
  230. package/build/cjs/common/components/hosts/HostPropertyValidationPopover.js +12 -9
  231. package/build/cjs/common/components/hosts/HostPropertyValidationPopover.js.map +1 -1
  232. package/build/cjs/common/components/hosts/HostRowDetail.js +35 -1
  233. package/build/cjs/common/components/hosts/HostRowDetail.js.map +1 -1
  234. package/build/cjs/common/components/hosts/HostStatus.js +1 -1
  235. package/build/cjs/common/components/hosts/HostStatus.js.map +1 -1
  236. package/build/cjs/common/components/hosts/HostToolbarActions.js +3 -3
  237. package/build/cjs/common/components/hosts/HostToolbarActions.js.map +1 -1
  238. package/build/cjs/common/components/hosts/HostValidationGroups.js +27 -5
  239. package/build/cjs/common/components/hosts/HostValidationGroups.js.map +1 -1
  240. package/build/cjs/common/components/hosts/TableToolbar.js +15 -15
  241. package/build/cjs/common/components/hosts/TableToolbar.js.map +1 -1
  242. package/build/cjs/common/components/hosts/utils.js +1 -1
  243. package/build/cjs/common/components/hosts/utils.js.map +1 -1
  244. package/build/cjs/common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge.js.map +1 -1
  245. package/build/cjs/common/components/operators/operatorSpecs.js +215 -0
  246. package/build/cjs/common/components/operators/operatorSpecs.js.map +1 -0
  247. package/build/cjs/common/components/storage/DisksTable.js +14 -10
  248. package/build/cjs/common/components/storage/DisksTable.js.map +1 -1
  249. package/build/cjs/common/components/ui/ClusterEventsToolbar.js +18 -10
  250. package/build/cjs/common/components/ui/ClusterEventsToolbar.js.map +1 -1
  251. package/build/cjs/common/components/ui/DeveloperPreview.js +2 -1
  252. package/build/cjs/common/components/ui/DeveloperPreview.js.map +1 -1
  253. package/build/cjs/common/components/ui/OpenShiftVersionDropdown.js +13 -16
  254. package/build/cjs/common/components/ui/OpenShiftVersionDropdown.js.map +1 -1
  255. package/build/cjs/common/components/ui/SimpleDropdown.js +4 -5
  256. package/build/cjs/common/components/ui/SimpleDropdown.js.map +1 -1
  257. package/build/cjs/common/components/ui/WizardFooter.js +6 -4
  258. package/build/cjs/common/components/ui/WizardFooter.js.map +1 -1
  259. package/build/cjs/common/components/ui/WizardNavItem.js +2 -2
  260. package/build/cjs/common/components/ui/WizardNavItem.js.map +1 -1
  261. package/build/cjs/common/components/ui/formik/MultiSelectField.js +26 -28
  262. package/build/cjs/common/components/ui/formik/MultiSelectField.js.map +1 -1
  263. package/build/cjs/common/components/ui/utils.js +1 -1
  264. package/build/cjs/common/components/ui/utils.js.map +1 -1
  265. package/build/cjs/common/config/constants.js +42 -60
  266. package/build/cjs/common/config/constants.js.map +1 -1
  267. package/build/cjs/common/config/docs_links.js +43 -5
  268. package/build/cjs/common/config/docs_links.js.map +1 -1
  269. package/build/cjs/common/hooks/index.js +3 -1
  270. package/build/cjs/common/hooks/index.js.map +1 -1
  271. package/build/cjs/common/index.js +2 -3
  272. package/build/cjs/common/index.js.map +1 -1
  273. package/build/cjs/common/selectors/clusterSelectors.js +7 -1
  274. package/build/cjs/common/selectors/clusterSelectors.js.map +1 -1
  275. package/build/cjs/common/types/clusters.js.map +1 -1
  276. package/build/cjs/common/utils.js +6 -1
  277. package/build/cjs/common/utils.js.map +1 -1
  278. package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2Wizard.js +2 -2
  279. package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2Wizard.js.map +1 -1
  280. package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2WizardNav.js +5 -5
  281. package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2WizardNav.js.map +1 -1
  282. package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.js +10 -9
  283. package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.js.map +1 -1
  284. package/build/cjs/ocm/components/HostsClusterDetailTab/utils.js +8 -4
  285. package/build/cjs/ocm/components/HostsClusterDetailTab/utils.js.map +1 -1
  286. package/build/cjs/ocm/components/SentryErrorMonitorContextProvider.js.map +1 -1
  287. package/build/cjs/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.js +70 -0
  288. package/build/cjs/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.js.map +1 -0
  289. package/build/cjs/ocm/components/clusterConfiguration/CpuArchitectureDropdown.js +3 -5
  290. package/build/cjs/ocm/components/clusterConfiguration/CpuArchitectureDropdown.js.map +1 -1
  291. package/build/cjs/ocm/components/clusterConfiguration/CustomManifestCheckbox.js +0 -11
  292. package/build/cjs/ocm/components/clusterConfiguration/CustomManifestCheckbox.js.map +1 -1
  293. package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageModal.js +14 -1
  294. package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageModal.js.map +1 -1
  295. package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageTypeDropdown.js +15 -17
  296. package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageTypeDropdown.js.map +1 -1
  297. package/build/cjs/ocm/components/clusterConfiguration/HostInventory.js.map +1 -1
  298. package/build/cjs/ocm/components/clusterConfiguration/OcmBaseDomainField.js +5 -7
  299. package/build/cjs/ocm/components/clusterConfiguration/OcmBaseDomainField.js.map +1 -1
  300. package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js +6 -7
  301. package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js.map +1 -1
  302. package/build/cjs/ocm/components/clusterConfiguration/OcmClusterProgressItems.js +1 -1
  303. package/build/cjs/ocm/components/clusterConfiguration/OcmClusterProgressItems.js.map +1 -1
  304. package/build/cjs/ocm/components/clusterConfiguration/OcmOperatorProgressItem.js +6 -8
  305. package/build/cjs/ocm/components/clusterConfiguration/OcmOperatorProgressItem.js.map +1 -1
  306. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.js +6 -8
  307. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.js.map +1 -1
  308. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js +23 -1
  309. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js.map +1 -1
  310. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.js +7 -10
  311. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.js.map +1 -1
  312. package/build/cjs/ocm/components/clusterConfiguration/operators/OperatorCheckbox.js +91 -0
  313. package/build/cjs/ocm/components/clusterConfiguration/operators/OperatorCheckbox.js.map +1 -0
  314. package/build/cjs/ocm/components/clusterConfiguration/operators/bundleSpecs.js +23 -0
  315. package/build/cjs/ocm/components/clusterConfiguration/operators/bundleSpecs.js.map +1 -0
  316. package/build/cjs/ocm/components/clusterConfiguration/operators/utils.js +54 -19
  317. package/build/cjs/ocm/components/clusterConfiguration/operators/utils.js.map +1 -1
  318. package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.js +38 -23
  319. package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.js.map +1 -1
  320. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.js +24 -18
  321. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.js.map +1 -1
  322. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewStep.js +2 -1
  323. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewStep.js.map +1 -1
  324. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewSummary.js +1 -6
  325. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewSummary.js.map +1 -1
  326. package/build/cjs/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.js +1 -1
  327. package/build/cjs/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.js.map +1 -1
  328. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/BondsSelect.js +1 -1
  329. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHostsFields.js +1 -1
  330. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHostsFields.js.map +1 -1
  331. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.js +8 -2
  332. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.js.map +1 -1
  333. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.js +3 -3
  334. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.js.map +1 -1
  335. package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/formDataToInfraEnvField.js +0 -2
  336. package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/formDataToInfraEnvField.js.map +1 -1
  337. package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/nmstateYaml.js +1 -1
  338. package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/nmstateYaml.js.map +1 -1
  339. package/build/cjs/ocm/components/clusterDetail/AssistedInstallerDetailCard.js +11 -11
  340. package/build/cjs/ocm/components/clusterDetail/AssistedInstallerDetailCard.js.map +1 -1
  341. package/build/cjs/ocm/components/clusterDetail/ClusterDetailStatusMessages.js +16 -14
  342. package/build/cjs/ocm/components/clusterDetail/ClusterDetailStatusMessages.js.map +1 -1
  343. package/build/cjs/ocm/components/clusterDetail/ClusterDetailsButtonGroup.js +1 -0
  344. package/build/cjs/ocm/components/clusterDetail/ClusterDetailsButtonGroup.js.map +1 -1
  345. package/build/cjs/ocm/components/clusterDetail/ProgressBarAlerts.js +3 -21
  346. package/build/cjs/ocm/components/clusterDetail/ProgressBarAlerts.js.map +1 -1
  347. package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js +8 -0
  348. package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js.map +1 -1
  349. package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js +5 -1
  350. package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js.map +1 -1
  351. package/build/cjs/ocm/components/clusterWizard/ClusterWizard.js +3 -0
  352. package/build/cjs/ocm/components/clusterWizard/ClusterWizard.js.map +1 -1
  353. package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js +2 -3
  354. package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js.map +1 -1
  355. package/build/cjs/ocm/components/clusterWizard/ClusterWizardFooter.js +11 -1
  356. package/build/cjs/ocm/components/clusterWizard/ClusterWizardFooter.js.map +1 -1
  357. package/build/cjs/ocm/components/clusterWizard/ClusterWizardNavigation.js +5 -5
  358. package/build/cjs/ocm/components/clusterWizard/ClusterWizardNavigation.js.map +1 -1
  359. package/build/cjs/ocm/components/clusterWizard/CredentialsDownload.js +62 -0
  360. package/build/cjs/ocm/components/clusterWizard/CredentialsDownload.js.map +1 -0
  361. package/build/cjs/ocm/components/clusterWizard/KubeconfigDownload.js +21 -0
  362. package/build/cjs/ocm/components/clusterWizard/KubeconfigDownload.js.map +1 -0
  363. package/build/cjs/ocm/components/clusterWizard/Operators.js +11 -22
  364. package/build/cjs/ocm/components/clusterWizard/Operators.js.map +1 -1
  365. package/build/cjs/ocm/components/clusterWizard/OperatorsBundle.css +6 -0
  366. package/build/cjs/ocm/components/clusterWizard/OperatorsBundle.js +123 -0
  367. package/build/cjs/ocm/components/clusterWizard/OperatorsBundle.js.map +1 -0
  368. package/build/cjs/ocm/components/clusterWizard/OperatorsSelect.js +63 -0
  369. package/build/cjs/ocm/components/clusterWizard/OperatorsSelect.js.map +1 -0
  370. package/build/cjs/ocm/components/clusterWizard/OperatorsStep.js +33 -22
  371. package/build/cjs/ocm/components/clusterWizard/OperatorsStep.js.map +1 -1
  372. package/build/cjs/ocm/components/clusterWizard/constants.js +1 -0
  373. package/build/cjs/ocm/components/clusterWizard/constants.js.map +1 -1
  374. package/build/cjs/ocm/components/clusterWizard/index.js +3 -1
  375. package/build/cjs/ocm/components/clusterWizard/index.js.map +1 -1
  376. package/build/cjs/ocm/components/clusterWizard/wizardTransition.js +10 -6
  377. package/build/cjs/ocm/components/clusterWizard/wizardTransition.js.map +1 -1
  378. package/build/cjs/ocm/components/clusters/ClusterPage.js +4 -6
  379. package/build/cjs/ocm/components/clusters/ClusterPage.js.map +1 -1
  380. package/build/cjs/ocm/components/clusters/ClustersListToolbar.js +3 -3
  381. package/build/cjs/ocm/components/clusters/ClustersListToolbar.js.map +1 -1
  382. package/build/cjs/ocm/components/clusters/index.js +7 -1
  383. package/build/cjs/ocm/components/clusters/index.js.map +1 -1
  384. package/build/cjs/ocm/components/clusters/utils.js +1 -14
  385. package/build/cjs/ocm/components/clusters/utils.js.map +1 -1
  386. package/build/cjs/ocm/components/featureSupportLevels/FeatureSupportLevelProvider.js +0 -1
  387. package/build/cjs/ocm/components/featureSupportLevels/FeatureSupportLevelProvider.js.map +1 -1
  388. package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js +85 -61
  389. package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js.map +1 -1
  390. package/build/cjs/ocm/components/hosts/ModalDialogsContext.js +1 -0
  391. package/build/cjs/ocm/components/hosts/ModalDialogsContext.js.map +1 -1
  392. package/build/cjs/ocm/components/index.js +2 -0
  393. package/build/cjs/ocm/components/index.js.map +1 -1
  394. package/build/cjs/ocm/components/utils.js +1 -10
  395. package/build/cjs/ocm/components/utils.js.map +1 -1
  396. package/build/cjs/ocm/hooks/index.js +5 -1
  397. package/build/cjs/ocm/hooks/index.js.map +1 -1
  398. package/build/cjs/ocm/hooks/useInfraEnv.js +2 -2
  399. package/build/cjs/ocm/hooks/useInfraEnv.js.map +1 -1
  400. package/build/cjs/ocm/index.js +1 -0
  401. package/build/cjs/ocm/index.js.map +1 -1
  402. package/build/cjs/ocm/sentry.js +1 -1
  403. package/build/cjs/ocm/sentry.js.map +1 -1
  404. package/build/cjs/ocm/services/BundleService.js +20 -0
  405. package/build/cjs/ocm/services/BundleService.js.map +1 -0
  406. package/build/cjs/ocm/services/ClusterDetailsService.js +2 -1
  407. package/build/cjs/ocm/services/ClusterDetailsService.js.map +1 -1
  408. package/build/cjs/ocm/services/ClustersService.js +7 -1
  409. package/build/cjs/ocm/services/ClustersService.js.map +1 -1
  410. package/build/cjs/ocm/services/OperatorsService.js +6 -50
  411. package/build/cjs/ocm/services/OperatorsService.js.map +1 -1
  412. package/lib/cim/components/ClusterDeployment/ClusterDeploymentDetailsForm.tsx +4 -2
  413. package/lib/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscovery.tsx +8 -6
  414. package/lib/cim/components/ClusterDeployment/LabelsSelector.tsx +27 -14
  415. package/lib/cim/components/ClusterDeployment/ShortCapacitySummary.tsx +1 -1
  416. package/lib/cim/components/InfraEnv/AddHostDropdown.tsx +59 -47
  417. package/lib/cim/components/InfraEnv/EnvironmentDetails.tsx +7 -10
  418. package/lib/cim/components/InfraEnv/InfraEnvAgentTable.tsx +1 -1
  419. package/lib/cim/components/InfraEnv/InfraEnvOpenShiftVersionDropdown.tsx +34 -22
  420. package/lib/cim/components/InfraEnv/InfraTableToolbar.tsx +40 -28
  421. package/lib/cim/components/common/CpuArchitectureDropdown.tsx +5 -2
  422. package/lib/cim/components/featureSupportLevels/ACMFeatureSupportLevelProvider.tsx +2 -1
  423. package/lib/cim/components/helpers/versions.ts +1 -5
  424. package/lib/cim/components/modals/MassApproveAction.tsx +1 -1
  425. package/lib/cim/index.ts +1 -0
  426. package/lib/common/api/assisted-service/BundleAPI.ts +18 -0
  427. package/lib/common/api/assisted-service/ClustersAPI.ts +6 -0
  428. package/lib/common/api/assisted-service/OperatorsAPI.ts +13 -0
  429. package/lib/common/api/index.ts +1 -0
  430. package/lib/common/components/clusterConfiguration/ControlPlaneNodesDropdown.tsx +30 -17
  431. package/lib/common/components/clusterConfiguration/DownloadIso.tsx +9 -1
  432. package/lib/common/components/clusterDetail/ClusterCredentials.tsx +12 -2
  433. package/lib/common/components/clusterDetail/ClusterProgressItems.tsx +1 -4
  434. package/lib/common/components/clusterDetail/OperatorsProgressItem.tsx +6 -12
  435. package/lib/common/components/clusterDetail/index.ts +1 -0
  436. package/lib/common/components/clusterWizard/ClusterWizardStep.tsx +2 -4
  437. package/lib/common/components/clusterWizard/clusterDetailsValidation.ts +7 -6
  438. package/lib/common/components/clusterWizard/types.ts +3 -1
  439. package/lib/common/components/hosts/AITableMemo.tsx +1 -1
  440. package/lib/common/components/hosts/DiskRole.tsx +23 -17
  441. package/lib/common/components/hosts/HostPropertyValidationPopover.tsx +10 -4
  442. package/lib/common/components/hosts/HostRowDetail.tsx +71 -1
  443. package/lib/common/components/hosts/HostStatus.tsx +1 -2
  444. package/lib/common/components/hosts/HostToolbarActions.tsx +1 -1
  445. package/lib/common/components/hosts/HostValidationGroups.tsx +52 -5
  446. package/lib/common/components/hosts/TableToolbar.tsx +54 -48
  447. package/lib/common/components/hosts/utils.ts +1 -1
  448. package/lib/common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge.tsx +2 -2
  449. package/lib/common/components/newFeatureSupportLevels/types.ts +16 -9
  450. package/lib/common/components/operators/operatorSpecs.tsx +344 -0
  451. package/lib/common/components/storage/DisksTable.tsx +24 -19
  452. package/lib/common/components/ui/ClusterEventsToolbar.tsx +78 -45
  453. package/lib/common/components/ui/DeveloperPreview.tsx +2 -0
  454. package/lib/common/components/ui/OpenShiftVersionDropdown.tsx +38 -44
  455. package/lib/common/components/ui/SimpleDropdown.tsx +23 -22
  456. package/lib/common/components/ui/WizardFooter.tsx +29 -10
  457. package/lib/common/components/ui/WizardNavItem.tsx +1 -1
  458. package/lib/common/components/ui/formik/MultiSelectField.tsx +98 -58
  459. package/lib/common/components/ui/formik/types.ts +2 -2
  460. package/lib/common/components/ui/utils.ts +4 -2
  461. package/lib/common/config/constants.ts +42 -73
  462. package/lib/common/config/docs_links.ts +87 -6
  463. package/lib/common/hooks/index.ts +1 -0
  464. package/lib/common/index.ts +2 -4
  465. package/lib/common/selectors/clusterSelectors.ts +9 -2
  466. package/lib/common/types/clusters.ts +3 -7
  467. package/lib/common/types/ui-settings.ts +1 -0
  468. package/lib/common/utils.ts +5 -0
  469. package/lib/ocm/components/AddHosts/day2Wizard/Day2Wizard.tsx +1 -1
  470. package/lib/ocm/components/AddHosts/day2Wizard/Day2WizardNav.tsx +5 -5
  471. package/lib/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.tsx +12 -9
  472. package/lib/ocm/components/HostsClusterDetailTab/utils.ts +5 -1
  473. package/lib/ocm/components/SentryErrorMonitorContextProvider.tsx +1 -2
  474. package/lib/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.tsx +158 -0
  475. package/lib/ocm/components/clusterConfiguration/CpuArchitectureDropdown.tsx +26 -20
  476. package/lib/ocm/components/clusterConfiguration/CustomManifestCheckbox.tsx +0 -13
  477. package/lib/ocm/components/clusterConfiguration/DiscoveryImageModal.tsx +24 -1
  478. package/lib/ocm/components/clusterConfiguration/DiscoveryImageTypeDropdown.tsx +47 -46
  479. package/lib/ocm/components/clusterConfiguration/HostInventory.tsx +0 -1
  480. package/lib/ocm/components/clusterConfiguration/OcmBaseDomainField.tsx +16 -13
  481. package/lib/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.tsx +18 -20
  482. package/lib/ocm/components/clusterConfiguration/OcmClusterProgressItems.tsx +1 -4
  483. package/lib/ocm/components/clusterConfiguration/OcmOperatorProgressItem.tsx +5 -10
  484. package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.tsx +25 -26
  485. package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.tsx +29 -1
  486. package/lib/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.tsx +24 -29
  487. package/lib/ocm/components/clusterConfiguration/operators/OperatorCheckbox.tsx +210 -0
  488. package/lib/ocm/components/clusterConfiguration/operators/bundleSpecs.tsx +43 -0
  489. package/lib/ocm/components/clusterConfiguration/operators/utils.tsx +88 -31
  490. package/lib/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.tsx +89 -63
  491. package/lib/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.tsx +46 -43
  492. package/lib/ocm/components/clusterConfiguration/review/ReviewStep.tsx +2 -1
  493. package/lib/ocm/components/clusterConfiguration/review/ReviewSummary.tsx +1 -15
  494. package/lib/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.tsx +1 -1
  495. package/lib/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/BondsSelect.tsx +1 -1
  496. package/lib/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHostsFields.tsx +1 -1
  497. package/lib/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.tsx +13 -8
  498. package/lib/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.tsx +9 -7
  499. package/lib/ocm/components/clusterConfiguration/staticIp/data/formDataToInfraEnvField.ts +0 -2
  500. package/lib/ocm/components/clusterConfiguration/staticIp/data/nmstateYaml.ts +1 -1
  501. package/lib/ocm/components/clusterDetail/AssistedInstallerDetailCard.tsx +38 -28
  502. package/lib/ocm/components/clusterDetail/ClusterDetailStatusMessages.tsx +18 -19
  503. package/lib/ocm/components/clusterDetail/ClusterDetailsButtonGroup.tsx +2 -0
  504. package/lib/ocm/components/clusterDetail/ProgressBarAlerts.tsx +3 -36
  505. package/lib/ocm/components/clusterWizard/ClusterDetails.tsx +8 -0
  506. package/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx +7 -1
  507. package/lib/ocm/components/clusterWizard/ClusterWizard.tsx +3 -0
  508. package/lib/ocm/components/clusterWizard/ClusterWizardContextProvider.tsx +1 -3
  509. package/lib/ocm/components/clusterWizard/ClusterWizardFooter.tsx +15 -1
  510. package/lib/ocm/components/clusterWizard/ClusterWizardNavigation.tsx +5 -5
  511. package/lib/ocm/components/clusterWizard/CredentialsDownload.tsx +105 -0
  512. package/lib/ocm/components/clusterWizard/KubeconfigDownload.tsx +39 -0
  513. package/lib/ocm/components/clusterWizard/Operators.tsx +17 -41
  514. package/lib/ocm/components/clusterWizard/OperatorsBundle.css +6 -0
  515. package/lib/ocm/components/clusterWizard/OperatorsBundle.tsx +244 -0
  516. package/lib/ocm/components/clusterWizard/OperatorsSelect.tsx +108 -0
  517. package/lib/ocm/components/clusterWizard/OperatorsStep.tsx +48 -36
  518. package/lib/ocm/components/clusterWizard/_wizardTransition.test.ts +25 -0
  519. package/lib/ocm/components/clusterWizard/constants.ts +1 -0
  520. package/lib/ocm/components/clusterWizard/index.ts +1 -0
  521. package/lib/ocm/components/clusterWizard/wizardTransition.ts +12 -7
  522. package/lib/ocm/components/clusters/ClusterPage.tsx +11 -8
  523. package/lib/ocm/components/clusters/ClustersListToolbar.tsx +39 -19
  524. package/lib/ocm/components/clusters/index.ts +3 -0
  525. package/lib/ocm/components/clusters/utils.ts +0 -19
  526. package/lib/ocm/components/featureSupportLevels/FeatureSupportLevelProvider.tsx +0 -1
  527. package/lib/ocm/components/featureSupportLevels/featureStateUtils.ts +94 -69
  528. package/lib/ocm/components/hosts/ModalDialogsContext.tsx +8 -1
  529. package/lib/ocm/components/index.ts +2 -0
  530. package/lib/ocm/components/utils.ts +0 -12
  531. package/lib/ocm/hooks/index.ts +2 -0
  532. package/lib/ocm/hooks/useInfraEnv.ts +1 -1
  533. package/lib/ocm/index.ts +1 -0
  534. package/lib/ocm/sentry.ts +2 -1
  535. package/lib/ocm/services/BundleService.ts +14 -0
  536. package/lib/ocm/services/ClusterDetailsService.ts +2 -1
  537. package/lib/ocm/services/ClustersService.ts +11 -3
  538. package/lib/ocm/services/OperatorsService.tsx +4 -76
  539. package/package.json +3 -3
  540. package/build/@types/ocm/components/clusterConfiguration/OcmSNOControlGroup.d.ts +0 -10
  541. package/build/@types/ocm/components/clusterConfiguration/OcmSNOControlGroup.d.ts.map +0 -1
  542. package/build/@types/ocm/components/clusterConfiguration/operators/CnvCheckbox.d.ts +0 -8
  543. package/build/@types/ocm/components/clusterConfiguration/operators/CnvCheckbox.d.ts.map +0 -1
  544. package/build/@types/ocm/components/clusterConfiguration/operators/CnvHostRequirements.d.ts +0 -8
  545. package/build/@types/ocm/components/clusterConfiguration/operators/CnvHostRequirements.d.ts.map +0 -1
  546. package/build/@types/ocm/components/clusterConfiguration/operators/LvmCheckbox.d.ts +0 -8
  547. package/build/@types/ocm/components/clusterConfiguration/operators/LvmCheckbox.d.ts.map +0 -1
  548. package/build/@types/ocm/components/clusterConfiguration/operators/LvmHostRequirements.d.ts +0 -7
  549. package/build/@types/ocm/components/clusterConfiguration/operators/LvmHostRequirements.d.ts.map +0 -1
  550. package/build/@types/ocm/components/clusterConfiguration/operators/MceCheckbox.d.ts +0 -9
  551. package/build/@types/ocm/components/clusterConfiguration/operators/MceCheckbox.d.ts.map +0 -1
  552. package/build/@types/ocm/components/clusterConfiguration/operators/MceRequirements.d.ts +0 -8
  553. package/build/@types/ocm/components/clusterConfiguration/operators/MceRequirements.d.ts.map +0 -1
  554. package/build/@types/ocm/components/clusterConfiguration/operators/MtvOperatorCheckbox.d.ts +0 -7
  555. package/build/@types/ocm/components/clusterConfiguration/operators/MtvOperatorCheckbox.d.ts.map +0 -1
  556. package/build/@types/ocm/components/clusterConfiguration/operators/MtvRequirements.d.ts +0 -7
  557. package/build/@types/ocm/components/clusterConfiguration/operators/MtvRequirements.d.ts.map +0 -1
  558. package/build/@types/ocm/components/clusterConfiguration/operators/OdfCheckbox.d.ts +0 -4
  559. package/build/@types/ocm/components/clusterConfiguration/operators/OdfCheckbox.d.ts.map +0 -1
  560. package/build/@types/ocm/components/clusterConfiguration/operators/OpenShiftAICheckbox.d.ts +0 -4
  561. package/build/@types/ocm/components/clusterConfiguration/operators/OpenShiftAICheckbox.d.ts.map +0 -1
  562. package/build/@types/ocm/components/clusterConfiguration/operators/OpenShiftAIRequirements.d.ts +0 -4
  563. package/build/@types/ocm/components/clusterConfiguration/operators/OpenShiftAIRequirements.d.ts.map +0 -1
  564. package/build/@types/ocm/components/clusterDetail/RebootNodeZeroModal.d.ts +0 -7
  565. package/build/@types/ocm/components/clusterDetail/RebootNodeZeroModal.d.ts.map +0 -1
  566. package/build/cjs/common/components/ui/OpenShiftVersionDropdown.css +0 -9
  567. package/build/cjs/ocm/components/clusterConfiguration/OcmSNOControlGroup.js +0 -20
  568. package/build/cjs/ocm/components/clusterConfiguration/OcmSNOControlGroup.js.map +0 -1
  569. package/build/cjs/ocm/components/clusterConfiguration/operators/CnvCheckbox.js +0 -49
  570. package/build/cjs/ocm/components/clusterConfiguration/operators/CnvCheckbox.js.map +0 -1
  571. package/build/cjs/ocm/components/clusterConfiguration/operators/CnvHostRequirements.js +0 -55
  572. package/build/cjs/ocm/components/clusterConfiguration/operators/CnvHostRequirements.js.map +0 -1
  573. package/build/cjs/ocm/components/clusterConfiguration/operators/LvmCheckbox.js +0 -61
  574. package/build/cjs/ocm/components/clusterConfiguration/operators/LvmCheckbox.js.map +0 -1
  575. package/build/cjs/ocm/components/clusterConfiguration/operators/LvmHostRequirements.js +0 -22
  576. package/build/cjs/ocm/components/clusterConfiguration/operators/LvmHostRequirements.js.map +0 -1
  577. package/build/cjs/ocm/components/clusterConfiguration/operators/MceCheckbox.js +0 -36
  578. package/build/cjs/ocm/components/clusterConfiguration/operators/MceCheckbox.js.map +0 -1
  579. package/build/cjs/ocm/components/clusterConfiguration/operators/MceRequirements.js +0 -54
  580. package/build/cjs/ocm/components/clusterConfiguration/operators/MceRequirements.js.map +0 -1
  581. package/build/cjs/ocm/components/clusterConfiguration/operators/MtvOperatorCheckbox.js +0 -41
  582. package/build/cjs/ocm/components/clusterConfiguration/operators/MtvOperatorCheckbox.js.map +0 -1
  583. package/build/cjs/ocm/components/clusterConfiguration/operators/MtvRequirements.js +0 -51
  584. package/build/cjs/ocm/components/clusterConfiguration/operators/MtvRequirements.js.map +0 -1
  585. package/build/cjs/ocm/components/clusterConfiguration/operators/OdfCheckbox.js +0 -46
  586. package/build/cjs/ocm/components/clusterConfiguration/operators/OdfCheckbox.js.map +0 -1
  587. package/build/cjs/ocm/components/clusterConfiguration/operators/OpenShiftAICheckbox.js +0 -48
  588. package/build/cjs/ocm/components/clusterConfiguration/operators/OpenShiftAICheckbox.js.map +0 -1
  589. package/build/cjs/ocm/components/clusterConfiguration/operators/OpenShiftAIRequirements.js +0 -30
  590. package/build/cjs/ocm/components/clusterConfiguration/operators/OpenShiftAIRequirements.js.map +0 -1
  591. package/build/cjs/ocm/components/clusterDetail/RebootNodeZeroModal.css +0 -7
  592. package/build/cjs/ocm/components/clusterDetail/RebootNodeZeroModal.js +0 -35
  593. package/build/cjs/ocm/components/clusterDetail/RebootNodeZeroModal.js.map +0 -1
  594. package/lib/common/components/ui/OpenShiftVersionDropdown.css +0 -9
  595. package/lib/ocm/components/clusterConfiguration/OcmSNOControlGroup.tsx +0 -62
  596. package/lib/ocm/components/clusterConfiguration/operators/CnvCheckbox.tsx +0 -108
  597. package/lib/ocm/components/clusterConfiguration/operators/CnvHostRequirements.tsx +0 -64
  598. package/lib/ocm/components/clusterConfiguration/operators/LvmCheckbox.tsx +0 -130
  599. package/lib/ocm/components/clusterConfiguration/operators/LvmHostRequirements.tsx +0 -38
  600. package/lib/ocm/components/clusterConfiguration/operators/MceCheckbox.tsx +0 -83
  601. package/lib/ocm/components/clusterConfiguration/operators/MceRequirements.tsx +0 -61
  602. package/lib/ocm/components/clusterConfiguration/operators/MtvOperatorCheckbox.tsx +0 -79
  603. package/lib/ocm/components/clusterConfiguration/operators/MtvRequirements.tsx +0 -52
  604. package/lib/ocm/components/clusterConfiguration/operators/OdfCheckbox.tsx +0 -74
  605. package/lib/ocm/components/clusterConfiguration/operators/OpenShiftAICheckbox.tsx +0 -80
  606. package/lib/ocm/components/clusterConfiguration/operators/OpenShiftAIRequirements.tsx +0 -36
  607. package/lib/ocm/components/clusterDetail/RebootNodeZeroModal.css +0 -7
  608. package/lib/ocm/components/clusterDetail/RebootNodeZeroModal.tsx +0 -69
  609. /package/build/cjs/{common/styles.css → ocm/components/clusterDetail/ClusterDetailsButtonGroup.css} +0 -0
  610. /package/lib/{common/styles.css → ocm/components/clusterDetail/ClusterDetailsButtonGroup.css} +0 -0
@@ -1,7 +1,6 @@
1
1
  import React from 'react';
2
2
  import { Alert } from '@patternfly/react-core';
3
3
  import {
4
- RenderIf,
5
4
  REDHAT_CONSOLE_OPENSHIFT,
6
5
  canDownloadKubeconfig,
7
6
  isSNO,
@@ -16,6 +15,7 @@ import { ExternalPlatformLinks } from '../clusterConfiguration/platformIntegrati
16
15
  import { useNewFeatureSupportLevel } from '../../../common/components/newFeatureSupportLevels';
17
16
  import { Cluster, PlatformType } from '@openshift-assisted/types/assisted-installer-service';
18
17
  import PostInstallAlert from '../../../common/components/clusterDetail/PostInstallAlert';
18
+ import { useFeature } from '../../hooks/use-feature';
19
19
 
20
20
  type ClusterDetailStatusMessagesProps = {
21
21
  cluster: Cluster;
@@ -26,6 +26,7 @@ const ClusterDetailStatusMessages = ({
26
26
  cluster,
27
27
  showAddHostsInfo,
28
28
  }: ClusterDetailStatusMessagesProps) => {
29
+ const isSingleClusterFeatureEnabled = useFeature('ASSISTED_INSTALLER_SINGLE_CLUSTER_FEATURE');
29
30
  const featureSupportLevelContext = useNewFeatureSupportLevel();
30
31
  const { inactiveDeletionHours } = useDefaultConfiguration(['inactiveDeletionHours']);
31
32
  const inactiveDeletionDays = Math.round((inactiveDeletionHours || 0) / 24);
@@ -43,23 +44,21 @@ const ClusterDetailStatusMessages = ({
43
44
 
44
45
  return (
45
46
  <>
46
- <RenderIf
47
- condition={
48
- typeof inactiveDeletionHours === 'number' && canDownloadKubeconfig(cluster.status)
49
- }
50
- >
51
- <Alert
52
- variant="info"
53
- isInline
54
- title={
55
- dateDifference > 0
56
- ? `Download and save your kubeconfig file in a safe place. This file will be automatically ` +
57
- `deleted from Assisted Installer's service in ${dateDifference} days.`
58
- : `Kubeconfig file was automatically deleted ${inactiveDeletionDays} days after installation.`
59
- }
60
- />
61
- </RenderIf>
62
- <RenderIf condition={showAddHostsAlert}>
47
+ {!isSingleClusterFeatureEnabled &&
48
+ typeof inactiveDeletionHours === 'number' &&
49
+ canDownloadKubeconfig(cluster.status) && (
50
+ <Alert
51
+ variant="info"
52
+ isInline
53
+ title={
54
+ dateDifference > 0
55
+ ? `Download and save your kubeconfig file in a safe place. This file will be automatically ` +
56
+ `deleted from Assisted Installer's service in ${dateDifference} days.`
57
+ : `Kubeconfig file was automatically deleted ${inactiveDeletionDays} days after installation.`
58
+ }
59
+ />
60
+ )}
61
+ {showAddHostsAlert && (
63
62
  <Alert
64
63
  variant="info"
65
64
  isInline
@@ -76,7 +75,7 @@ const ClusterDetailStatusMessages = ({
76
75
  </p>
77
76
  }
78
77
  />
79
- </RenderIf>
78
+ )}
80
79
  {platformLink && <PostInstallAlert link={platformLink} />}
81
80
  </>
82
81
  );
@@ -15,6 +15,8 @@ import ViewClusterEventsButton from '../../../common/components/ui/ViewClusterEv
15
15
  import { LaunchOpenshiftConsoleButton } from '../../../common/components/clusterDetail/ConsoleModal';
16
16
  import { Cluster, Credentials } from '@openshift-assisted/types/assisted-installer-service';
17
17
 
18
+ import './ClusterDetailsButtonGroup.css';
19
+
18
20
  type ClusterDetailsButtonGroupProps = {
19
21
  cluster: Cluster;
20
22
  credentials?: Credentials;
@@ -1,25 +1,18 @@
1
1
  import React from 'react';
2
2
  import { Alert, AlertActionLink, Text, TextContent } from '@patternfly/react-core';
3
3
  import { pluralize } from 'humanize-plus';
4
- import { TFunction } from 'i18next';
5
4
  import {
6
5
  RenderIf,
7
6
  toSentence,
8
7
  canDownloadClusterLogs,
9
8
  getReportIssueLink,
10
- operatorLabels,
11
9
  useAlerts,
12
- OperatorName,
13
10
  } from '../../../common';
14
- import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
15
11
  import { downloadClusterInstallationLogs } from './utils';
16
12
  import { useModalDialogsContext } from '../hosts/ModalDialogsContext';
17
13
  import { isInOcm } from '../../../common/api';
18
- import {
19
- NewFeatureSupportLevelData,
20
- useNewFeatureSupportLevel,
21
- } from '../../../common/components/newFeatureSupportLevels';
22
14
  import { Cluster, MonitoredOperator } from '@openshift-assisted/types/assisted-installer-service';
15
+ import { useOperatorSpecs } from '../../../common/components/operators/operatorSpecs';
23
16
 
24
17
  type InstallationProgressWarningProps = {
25
18
  cluster: Cluster;
@@ -32,26 +25,6 @@ type InstallationProgressWarningProps = {
32
25
  isCriticalNumberOfWorkersFailed?: boolean;
33
26
  };
34
27
 
35
- const getFailedOperatorsNames = (
36
- failedOperators: MonitoredOperator[],
37
- openshiftVersion: Cluster['openshiftVersion'],
38
- featureSupportLevel: NewFeatureSupportLevelData,
39
- t: TFunction,
40
- ): string => {
41
- let failedOperatorsNames = '';
42
- const translatedOperatorLabels = operatorLabels(t, featureSupportLevel);
43
- for (let i = 0; i < failedOperators.length; i++) {
44
- const operatorName = (failedOperators[i].name as OperatorName) || '';
45
- const operatorLabel: string = (operatorName && translatedOperatorLabels[operatorName]) || '';
46
- if (i > 0) {
47
- if (i === failedOperators.length - 1) failedOperatorsNames += ' and ';
48
- else failedOperatorsNames += ', ';
49
- }
50
- failedOperatorsNames += `${operatorLabel} (${operatorName.toUpperCase()})`;
51
- }
52
- return failedOperatorsNames;
53
- };
54
-
55
28
  const getFailedHostsMessage = (
56
29
  failedHosts: number,
57
30
  totalHosts: number,
@@ -93,8 +66,7 @@ export const HostInstallationWarning = ({
93
66
  message,
94
67
  }: InstallationProgressWarningProps) => {
95
68
  const { addAlert, clearAlerts } = useAlerts();
96
- const { t } = useTranslation();
97
- const featureSupportLevel = useNewFeatureSupportLevel();
69
+ const opSpecs = useOperatorSpecs();
98
70
 
99
71
  return (
100
72
  <>
@@ -121,12 +93,7 @@ export const HostInstallationWarning = ({
121
93
  </RenderIf>
122
94
  <RenderIf condition={failedOperators?.length > 0}>
123
95
  <p>
124
- {getFailedOperatorsNames(
125
- failedOperators,
126
- cluster.openshiftVersion,
127
- featureSupportLevel,
128
- t,
129
- )}{' '}
96
+ {failedOperators.map(({ name }) => opSpecs[name || '']?.title || name).join(' and ')}{' '}
130
97
  failed to install. Due to this, the cluster will be degraded, but you can try to install
131
98
  the operator from the Operator Hub. Please check the installation log for more
132
99
  information.
@@ -75,9 +75,17 @@ const ClusterDetails = ({ cluster, infraEnv }: ClusterDetailsProps) => {
75
75
  try {
76
76
  const searchParams = new URLSearchParams(location.search);
77
77
  const isAssistedMigration = searchParams.get('source') === 'assisted_migration';
78
+ //For Assisted Migration we need to LVMs operator
79
+ if (isAssistedMigration) {
80
+ params.olmOperators = [{ name: 'lvm' }];
81
+ }
78
82
  const cluster = await ClustersService.create(params, isAssistedMigration);
79
83
  navigate(`../${cluster.id}`, { state: ClusterWizardFlowStateNew });
80
84
  await UISettingService.update(cluster.id, { addCustomManifests });
85
+ //For Assisted Migration we need to enable virtualization bundle
86
+ if (isAssistedMigration) {
87
+ await UISettingService.update(cluster.id, { bundlesSelected: ['virtualization'] });
88
+ }
81
89
  } catch (e) {
82
90
  handleApiError(e, () =>
83
91
  addAlert({ title: 'Failed to create new cluster', message: getApiErrorMessage(e) }),
@@ -31,6 +31,7 @@ import {
31
31
  InfraEnv,
32
32
  ManagedDomain,
33
33
  } from '@openshift-assisted/types/assisted-installer-service';
34
+ import { useFeature } from '../../hooks/use-feature';
34
35
 
35
36
  type ClusterDetailsFormProps = {
36
37
  cluster?: Cluster;
@@ -67,6 +68,7 @@ const ClusterDetailsForm = (props: ClusterDetailsFormProps) => {
67
68
  const { search } = useLocation();
68
69
  const { isViewerMode } = useSelector(selectCurrentClusterPermissionsState);
69
70
  const { clearAlerts } = useAlerts();
71
+ const isSingleClusterFeatureEnabled = useFeature('ASSISTED_INSTALLER_SINGLE_CLUSTER_FEATURE');
70
72
 
71
73
  const handleSubmit = React.useCallback(
72
74
  async (values: OcmClusterDetailsValues) => {
@@ -175,7 +177,11 @@ const ClusterDetailsForm = (props: ClusterDetailsFormProps) => {
175
177
  <GridItem span={12} lg={10} xl={9} xl2={7}>
176
178
  <OcmClusterDetailsFormFields
177
179
  versions={ocpVersions}
178
- forceOpenshiftVersion={cluster?.openshiftVersion}
180
+ forceOpenshiftVersion={
181
+ isSingleClusterFeatureEnabled
182
+ ? ocpVersions[0].version
183
+ : cluster?.openshiftVersion
184
+ }
179
185
  isPullSecretSet={!!cluster?.pullSecretSet}
180
186
  defaultPullSecret={pullSecret}
181
187
  isOcm={isInOcm}
@@ -16,6 +16,7 @@ import {
16
16
  InfraEnv,
17
17
  InfraEnvUpdateParams,
18
18
  } from '@openshift-assisted/types/assisted-installer-service';
19
+ import CredentialsDownload from './CredentialsDownload';
19
20
 
20
21
  type ClusterWizardProps = {
21
22
  cluster: Cluster;
@@ -44,6 +45,8 @@ const ClusterWizard = ({ cluster, infraEnv, updateInfraEnv }: ClusterWizardProps
44
45
  case 'static-ip-network-wide-configurations':
45
46
  case 'static-ip-yaml-view':
46
47
  return <StaticIp cluster={cluster} infraEnv={infraEnv} updateInfraEnv={updateInfraEnv} />;
48
+ case 'credentials-download':
49
+ return <CredentialsDownload cluster={cluster} />;
47
50
  case 'cluster-details':
48
51
  default:
49
52
  return <ClusterDetails cluster={cluster} infraEnv={infraEnv} />;
@@ -69,8 +69,7 @@ const getWizardStepIds = (
69
69
  stepsCopy = removeStepFromClusterWizard(stepsCopy, 'custom-manifests', 1);
70
70
  }
71
71
  if (isSingleClusterFeatureEnabled) {
72
- // tentatively removed, proper waiting on support by backend
73
- stepsCopy = removeStepFromClusterWizard(stepsCopy, 'operators', 1);
72
+ stepsCopy = addStepToClusterWizard(stepsCopy, 'networking', ['credentials-download']);
74
73
  }
75
74
 
76
75
  return stepsCopy;
@@ -115,7 +114,6 @@ const ClusterWizardContextProvider = ({
115
114
  staticIpInfo,
116
115
  cluster?.status,
117
116
  cluster?.hosts,
118
- isSingleClusterFeatureEnabled,
119
117
  customManifestsStepNeedsToBeFilled,
120
118
  );
121
119
 
@@ -15,6 +15,8 @@ import ClusterWizardStepValidationsAlert from '../../../common/components/cluste
15
15
  import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
16
16
  import { onFetchEvents } from '../fetching/fetchEvents';
17
17
  import { Cluster } from '@openshift-assisted/types/assisted-installer-service';
18
+ import { useFeature } from '../../hooks/use-feature';
19
+ import { useModalDialogsContext } from '../hosts/ModalDialogsContext';
18
20
 
19
21
  type ClusterValidationSectionProps = {
20
22
  cluster?: Cluster;
@@ -82,9 +84,16 @@ const ClusterWizardFooter = ({
82
84
  }: ClusterWizardFooterProps) => {
83
85
  const { alerts } = useAlerts();
84
86
  const navigate = useNavigate();
87
+ const isSingleClusterFeatureEnabled = useFeature('ASSISTED_INSTALLER_SINGLE_CLUSTER_FEATURE');
88
+ const { currentStepId } = useClusterWizardContext();
89
+ const { resetSingleClusterDialog } = useModalDialogsContext();
85
90
 
86
91
  const handleCancel = React.useCallback(() => navigate('/cluster-list'), [navigate]);
87
92
 
93
+ const handleReset = React.useCallback(() => {
94
+ resetSingleClusterDialog.open({ cluster });
95
+ }, [resetSingleClusterDialog, cluster]);
96
+
88
97
  const alertsSection = alerts.length ? <Alerts /> : undefined;
89
98
 
90
99
  const errorsSection = (
@@ -100,7 +109,12 @@ const ClusterWizardFooter = ({
100
109
  <WizardFooter
101
110
  alerts={alertsSection}
102
111
  errors={errorsSection}
103
- onCancel={onCancel || handleCancel}
112
+ onCancel={isSingleClusterFeatureEnabled ? undefined : onCancel || handleCancel}
113
+ onReset={
114
+ isSingleClusterFeatureEnabled && currentStepId !== 'cluster-details'
115
+ ? handleReset
116
+ : undefined
117
+ }
104
118
  leftExtraActions={additionalActions}
105
119
  cluster={cluster}
106
120
  onFetchEvents={onFetchEvents}
@@ -1,5 +1,5 @@
1
1
  import React, { ReactNode } from 'react';
2
- import { WizardNav } from '@patternfly/react-core/deprecated';
2
+ import { WizardNav } from '@patternfly/react-core';
3
3
  import {
4
4
  canNextClusterDetails,
5
5
  canNextHostDiscovery,
@@ -51,11 +51,11 @@ const ClusterWizardNavigation = ({ cluster }: { cluster?: Cluster }) => {
51
51
  const getNavItem = (idx: number, stepId: ClusterWizardStepsType): ReactNode => {
52
52
  return (
53
53
  <WizardNavItem
54
- step={idx}
54
+ stepIndex={idx}
55
55
  key={stepId}
56
56
  id={`wizard-nv-${stepId}`}
57
57
  content={wizardStepNames[stepId]}
58
- onNavItemClick={() => clusterWizardContext.setCurrentStepId(stepId)}
58
+ onClick={() => clusterWizardContext.setCurrentStepId(stepId)}
59
59
  isCurrent={clusterWizardContext.currentStepId === stepId}
60
60
  isDisabled={isStepDisabled(idx, stepId)}
61
61
  isValid={() => isStepValid(stepId, cluster)}
@@ -66,14 +66,14 @@ const ClusterWizardNavigation = ({ cluster }: { cluster?: Cluster }) => {
66
66
  const getStaticIpFormViewNavItem = (idx: number): ReactNode => {
67
67
  return (
68
68
  <WizardNavItem
69
- step={idx}
69
+ stepIndex={idx}
70
70
  isExpandable={true}
71
71
  content="Static network configurations"
72
72
  key="static-network-configuration-form-view"
73
73
  isCurrent={isStaticIpStep(clusterWizardContext.currentStepId)}
74
74
  isDisabled={isStepIdxAfterCurrent(idx)}
75
75
  >
76
- <WizardNav returnList>
76
+ <WizardNav isInnerList>
77
77
  {staticIpFormViewSubSteps.map((stepId, subIdx) => {
78
78
  return getNavItem(idx + subIdx, stepId);
79
79
  })}
@@ -0,0 +1,105 @@
1
+ import React from 'react';
2
+ import {
3
+ ClustersAPI,
4
+ ClusterWizardStep,
5
+ ClusterWizardStepHeader,
6
+ getApiErrorMessage,
7
+ handleApiError,
8
+ KUBECONFIG_INFO_LINK,
9
+ useAlerts,
10
+ useTranslation,
11
+ } from '../../../common';
12
+ import { useClusterWizardContext } from './ClusterWizardContext';
13
+ import ClusterWizardFooter from './ClusterWizardFooter';
14
+ import ClusterWizardNavigation from './ClusterWizardNavigation';
15
+ import { WithErrorBoundary } from '../../../common/components/ErrorHandling/WithErrorBoundary';
16
+ import { Cluster } from '@openshift-assisted/types/assisted-installer-service';
17
+ import { Alert, AlertVariant, Checkbox, Stack } from '@patternfly/react-core';
18
+ import { downloadFile } from '../../../common/utils';
19
+ import { ExternalLinkAltIcon } from '@patternfly/react-icons/dist/js/icons/external-link-alt-icon';
20
+
21
+ const CredentialsDownload: React.FC<{ cluster: Cluster }> = ({ cluster }) => {
22
+ const clusterWizardContext = useClusterWizardContext();
23
+ const [isChecked, setIsChecked] = React.useState<boolean>(false);
24
+ const [isDownloading, setIsDownloading] = React.useState(false);
25
+ const { addAlert } = useAlerts();
26
+ const { t } = useTranslation();
27
+
28
+ const downloadSingleFile = async (fileName: string) => {
29
+ try {
30
+ const response = await ClustersAPI.downloadClusterCredentials(cluster.id, fileName);
31
+ downloadFile('', response.data, fileName);
32
+ return true;
33
+ } catch (e) {
34
+ handleApiError(e, (e) => {
35
+ addAlert({
36
+ title: t('ai:Could not download {{fileName}} file', { fileName }),
37
+ message: getApiErrorMessage(e),
38
+ });
39
+ });
40
+ return false;
41
+ }
42
+ };
43
+
44
+ const handleDownloadClick = async () => {
45
+ setIsDownloading(true);
46
+
47
+ const configSuccess = await downloadSingleFile('kubeconfig');
48
+ const passwordSuccess = await downloadSingleFile('kubeadmin-password');
49
+
50
+ const hasError = !configSuccess || !passwordSuccess;
51
+
52
+ setTimeout(() => {
53
+ setIsDownloading(false);
54
+
55
+ if (!hasError) {
56
+ clusterWizardContext.moveNext();
57
+ }
58
+ }, 500);
59
+ };
60
+
61
+ const footer = (
62
+ <ClusterWizardFooter
63
+ cluster={cluster}
64
+ onNext={() => void handleDownloadClick()}
65
+ onBack={() => clusterWizardContext.moveBack()}
66
+ isNextDisabled={!isChecked || isDownloading}
67
+ nextButtonText={t('ai:Download credentials')}
68
+ isNextButtonLoading={isDownloading}
69
+ />
70
+ );
71
+
72
+ return (
73
+ <ClusterWizardStep navigation={<ClusterWizardNavigation cluster={cluster} />} footer={footer}>
74
+ <WithErrorBoundary title={t('ai:Failed to load Credentials Download step')}>
75
+ <Stack hasGutter>
76
+ <ClusterWizardStepHeader>{t('ai:Download credentials')}</ClusterWizardStepHeader>
77
+ <Alert
78
+ title={t('ai:Make sure you download and store your credentials files in a safe place')}
79
+ variant={AlertVariant.warning}
80
+ isInline
81
+ actionLinks={
82
+ <a href={KUBECONFIG_INFO_LINK} target="_blank" rel="noopener noreferrer">
83
+ {t('ai:Learn more about Kubeconfig')} <ExternalLinkAltIcon />
84
+ </a>
85
+ }
86
+ >
87
+ {t(`ai:You should use your cluster's Kubeconfig file to gain access to the cluster.`)}
88
+ <br />
89
+ {t(`ai:You can use username and password to log-in to your console through the UI.`)}
90
+ </Alert>
91
+ <Checkbox
92
+ id="credentials-download-agreement"
93
+ isChecked={isChecked}
94
+ onChange={() => setIsChecked(!isChecked)}
95
+ label={t(
96
+ 'ai:I understand that I need to download credentials files prior of proceeding with the cluster installation.',
97
+ )}
98
+ />
99
+ </Stack>
100
+ </WithErrorBoundary>
101
+ </ClusterWizardStep>
102
+ );
103
+ };
104
+
105
+ export default CredentialsDownload;
@@ -0,0 +1,39 @@
1
+ import React from 'react';
2
+ import { ClusterWizardStep, ClusterWizardStepHeader } from '../../../common';
3
+ import { useClusterWizardContext } from './ClusterWizardContext';
4
+ import ClusterWizardFooter from './ClusterWizardFooter';
5
+ import ClusterWizardNavigation from './ClusterWizardNavigation';
6
+ import { WithErrorBoundary } from '../../../common/components/ErrorHandling/WithErrorBoundary';
7
+ import { Cluster } from '@openshift-assisted/types/assisted-installer-service';
8
+ import { Checkbox } from '@patternfly/react-core';
9
+
10
+ const KubeconfigDownload: React.FC<{ cluster: Cluster }> = ({ cluster }) => {
11
+ const [isChecked, setIsChecked] = React.useState<boolean>(false);
12
+ const clusterWizardContext = useClusterWizardContext();
13
+
14
+ const footer = (
15
+ <ClusterWizardFooter
16
+ cluster={cluster}
17
+ onNext={() => clusterWizardContext.moveNext()}
18
+ onBack={() => clusterWizardContext.moveBack()}
19
+ isNextDisabled={!isChecked}
20
+ nextButtonText="Download Kubeconfig"
21
+ />
22
+ );
23
+
24
+ return (
25
+ <ClusterWizardStep navigation={<ClusterWizardNavigation cluster={cluster} />} footer={footer}>
26
+ <WithErrorBoundary title="Failed to load Kubeconfig Download step">
27
+ <ClusterWizardStepHeader>Download Kubeconfig</ClusterWizardStepHeader>
28
+ <Checkbox
29
+ id="Kubeconfig-download-agreement"
30
+ isChecked={isChecked}
31
+ onChange={() => setIsChecked(!isChecked)}
32
+ label="I understand that I need to download Kubeconfig file prior of proceeding with the cluster installation."
33
+ />
34
+ </WithErrorBoundary>
35
+ </ClusterWizardStep>
36
+ );
37
+ };
38
+
39
+ export default KubeconfigDownload;
@@ -2,17 +2,13 @@ import React from 'react';
2
2
  import { useDispatch } from 'react-redux';
3
3
  import { useLocation, useNavigate } from 'react-router-dom-v5-compat';
4
4
  import { Formik, FormikConfig, useFormikContext } from 'formik';
5
+ import { Cluster } from '@openshift-assisted/types/assisted-installer-service';
5
6
  import {
6
7
  ClusterWizardStep,
7
8
  getFormikErrorFields,
8
- OPERATOR_NAME_CNV,
9
- OPERATOR_NAME_LVM,
10
- OPERATOR_NAME_MCE,
11
- OPERATOR_NAME_MTV,
12
- OPERATOR_NAME_ODF,
13
- OPERATOR_NAME_OPENSHIFT_AI,
14
9
  OperatorsValues,
15
- selectMonitoredOperators,
10
+ selectOlmOperators,
11
+ UISettingsValues,
16
12
  useAlerts,
17
13
  useFormikAutoSave,
18
14
  } from '../../../common';
@@ -20,24 +16,18 @@ import { useClusterWizardContext } from './ClusterWizardContext';
20
16
  import ClusterWizardFooter from '../clusterWizard/ClusterWizardFooter';
21
17
  import ClusterWizardNavigation from '../clusterWizard/ClusterWizardNavigation';
22
18
  import { OperatorsStep } from './OperatorsStep';
23
- import { ClustersService, OperatorsService } from '../../services';
19
+ import { ClustersService } from '../../services';
24
20
  import { setServerUpdateError, updateCluster } from '../../store/slices/current-cluster/slice';
25
21
  import { getApiErrorMessage, handleApiError, isUnknownServerError } from '../../../common/api';
26
22
  import { canNextOperators } from './wizardTransition';
27
- import { Cluster, MonitoredOperator } from '@openshift-assisted/types/assisted-installer-service';
28
23
 
29
- export const getOperatorsInitialValues = (
30
- monitoredOperators: MonitoredOperator[],
24
+ const getOperatorsInitialValues = (
25
+ uiSettings: UISettingsValues | undefined,
26
+ cluster: Cluster,
31
27
  ): OperatorsValues => {
32
- const isOperatorEnabled = (operatorNames: string[]) =>
33
- !!monitoredOperators.find((operator) => operatorNames.includes(operator.name || ''));
34
28
  return {
35
- useOpenShiftDataFoundation: isOperatorEnabled([OPERATOR_NAME_ODF]),
36
- useOdfLogicalVolumeManager: isOperatorEnabled([OPERATOR_NAME_LVM]),
37
- useContainerNativeVirtualization: isOperatorEnabled([OPERATOR_NAME_CNV]),
38
- useMultiClusterEngine: isOperatorEnabled([OPERATOR_NAME_MCE]),
39
- useMigrationToolkitforVirtualization: isOperatorEnabled([OPERATOR_NAME_MTV]),
40
- useOpenShiftAI: isOperatorEnabled([OPERATOR_NAME_OPENSHIFT_AI]),
29
+ selectedBundles: uiSettings?.bundlesSelected || [],
30
+ selectedOperators: selectOlmOperators(cluster).map((o) => o.name || ''),
41
31
  };
42
32
  };
43
33
 
@@ -78,43 +68,29 @@ const OperatorsForm = ({ cluster }: { cluster: Cluster }) => {
78
68
  />
79
69
  }
80
70
  >
81
- <OperatorsStep clusterId={cluster.id} openshiftVersion={cluster.openshiftVersion} />
71
+ <OperatorsStep cluster={cluster} />
82
72
  </ClusterWizardStep>
83
73
  );
84
74
  };
85
75
 
86
76
  const Operators = ({ cluster }: { cluster: Cluster }) => {
87
77
  const dispatch = useDispatch();
78
+ const { updateUISettings, uiSettings } = useClusterWizardContext();
88
79
  const { addAlert, clearAlerts } = useAlerts();
89
80
 
90
- const olmOperators = selectMonitoredOperators(cluster.monitoredOperators);
91
-
92
- const initialValues = React.useMemo(
93
- () => getOperatorsInitialValues(olmOperators),
94
- // eslint-disable-next-line react-hooks/exhaustive-deps
95
- [], // just once, Formik does not reinitialize
96
- );
97
-
98
- const handleSubmit: FormikConfig<OperatorsValues>['onSubmit'] = async (
99
- values,
100
- { setFieldValue },
101
- ) => {
81
+ const handleSubmit: FormikConfig<OperatorsValues>['onSubmit'] = async (values) => {
102
82
  clearAlerts();
103
83
 
104
- const enabledOperators = OperatorsService.getOLMOperators(values, cluster);
84
+ const enabledOperators = values.selectedOperators.map((so) => ({
85
+ name: so,
86
+ }));
105
87
 
106
88
  try {
107
89
  const { data: updatedCluster } = await ClustersService.update(cluster.id, cluster.tags, {
108
90
  olmOperators: enabledOperators,
109
91
  });
110
92
 
111
- const needSyncOperators = OperatorsService.syncOperators(
112
- enabledOperators,
113
- updatedCluster.monitoredOperators,
114
- );
115
- Object.keys(needSyncOperators).forEach((operatorName) => {
116
- setFieldValue(operatorName, true);
117
- });
93
+ await updateUISettings({ bundlesSelected: values.selectedBundles });
118
94
 
119
95
  dispatch(updateCluster(updatedCluster));
120
96
  } catch (e) {
@@ -128,7 +104,7 @@ const Operators = ({ cluster }: { cluster: Cluster }) => {
128
104
  };
129
105
 
130
106
  return (
131
- <Formik initialValues={initialValues} onSubmit={handleSubmit}>
107
+ <Formik initialValues={getOperatorsInitialValues(uiSettings, cluster)} onSubmit={handleSubmit}>
132
108
  <OperatorsForm cluster={cluster} />
133
109
  </Formik>
134
110
  );
@@ -0,0 +1,6 @@
1
+ .ai-bundle-card {
2
+ --pf-v5-c-card--m-selectable--m-selected--BackgroundColor: var(
3
+ --pf-v5-global--BackgroundColor--100
4
+ );
5
+ --pf-v5-c-card--m-selectable--hover--BackgroundColor: var(--pf-v5-global--BackgroundColor--100);
6
+ }