@openshift-assisted/ui-lib 2.9.15-cim → 2.10.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 (627) hide show
  1. package/build/@types/cim/components/Agent/BMCForm.d.ts.map +1 -1
  2. package/build/@types/cim/components/ClusterDeployment/use-networking-formik.d.ts +2 -2
  3. package/build/@types/cim/components/Hypershift/DetailsPage/ClusterInstallationProgress.d.ts +2 -6
  4. package/build/@types/cim/components/Hypershift/DetailsPage/ClusterInstallationProgress.d.ts.map +1 -1
  5. package/build/@types/cim/components/Hypershift/DetailsPage/ConditionsTable.d.ts.map +1 -1
  6. package/build/@types/cim/components/Hypershift/DetailsPage/HostedClusterProgress.d.ts.map +1 -1
  7. package/build/@types/cim/components/Hypershift/DetailsPage/NodePoolsProgress.d.ts +2 -6
  8. package/build/@types/cim/components/Hypershift/DetailsPage/NodePoolsProgress.d.ts.map +1 -1
  9. package/build/@types/cim/components/Hypershift/DetailsPage/NodePoolsTable.d.ts +2 -6
  10. package/build/@types/cim/components/Hypershift/DetailsPage/NodePoolsTable.d.ts.map +1 -1
  11. package/build/@types/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsForm.d.ts.map +1 -1
  12. package/build/@types/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsStep.d.ts.map +1 -1
  13. package/build/@types/cim/components/Hypershift/HostedClusterWizard/HostsStep/NodePoolForm.d.ts.map +1 -1
  14. package/build/@types/cim/components/Hypershift/HostedClusterWizard/HostsStep/types.d.ts +2 -8
  15. package/build/@types/cim/components/Hypershift/HostedClusterWizard/HostsStep/types.d.ts.map +1 -1
  16. package/build/@types/cim/components/Hypershift/forms/NodePoolAgentsForm.d.ts +3 -1
  17. package/build/@types/cim/components/Hypershift/forms/NodePoolAgentsForm.d.ts.map +1 -1
  18. package/build/@types/cim/components/Hypershift/modals/AddNodePoolModal.d.ts.map +1 -1
  19. package/build/@types/cim/components/Hypershift/modals/ManageHostsModal.d.ts +1 -1
  20. package/build/@types/cim/components/Hypershift/modals/ManageHostsModal.d.ts.map +1 -1
  21. package/build/@types/cim/components/Hypershift/modals/NodePoolForm.d.ts +0 -8
  22. package/build/@types/cim/components/Hypershift/modals/NodePoolForm.d.ts.map +1 -1
  23. package/build/@types/cim/components/Hypershift/types.d.ts +19 -1
  24. package/build/@types/cim/components/Hypershift/types.d.ts.map +1 -1
  25. package/build/@types/cim/components/Hypershift/utils/status.d.ts.map +1 -1
  26. package/build/@types/cim/components/InfraEnv/EnvironmentDetails.d.ts.map +1 -1
  27. package/build/@types/cim/components/helpers/agentStatus.d.ts.map +1 -1
  28. package/build/@types/cim/components/helpers/clusterDeployment.d.ts +2 -2
  29. package/build/@types/cim/components/helpers/toAssisted.d.ts.map +1 -1
  30. package/build/@types/cim/components/modals/AddBmcHostYamlForm.d.ts.map +1 -1
  31. package/build/@types/cim/components/modals/CimConfiguration/CimConfigurationForm.d.ts.map +1 -1
  32. package/build/@types/common/api/assisted-service/NewFeatureSupportLevelsAPI.d.ts.map +1 -1
  33. package/build/@types/common/components/clusterConfiguration/OpenShiftVersionSelect.d.ts.map +1 -1
  34. package/build/@types/common/components/clusterDetail/FinalizingProgress.d.ts.map +1 -1
  35. package/build/@types/common/components/clusterDetail/KubeconfigDownload.d.ts.map +1 -1
  36. package/build/@types/common/components/clusterDetail/OperatorsProgressItem.d.ts.map +1 -1
  37. package/build/@types/common/components/clusterDetail/ProgressBarTexts.d.ts.map +1 -1
  38. package/build/@types/common/components/clusterWizard/ReviewValidations.d.ts.map +1 -1
  39. package/build/@types/common/components/featureSupportLevels/FeatureSupportLevelBadge.d.ts.map +1 -1
  40. package/build/@types/common/components/hosts/HostRowDetail.d.ts +1 -2
  41. package/build/@types/common/components/hosts/HostRowDetail.d.ts.map +1 -1
  42. package/build/@types/common/components/hosts/status.d.ts.map +1 -1
  43. package/build/@types/common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge.d.ts.map +1 -1
  44. package/build/@types/common/components/ui/BorderedIcon/BorderedIcon.d.ts +3 -2
  45. package/build/@types/common/components/ui/BorderedIcon/BorderedIcon.d.ts.map +1 -1
  46. package/build/@types/common/components/ui/ClusterEventsToolbar.d.ts.map +1 -1
  47. package/build/@types/common/components/ui/DeveloperPreview.d.ts +5 -0
  48. package/build/@types/common/components/ui/DeveloperPreview.d.ts.map +1 -0
  49. package/build/@types/common/components/ui/EventsList.d.ts.map +1 -1
  50. package/build/@types/common/components/ui/PreviewBadge.d.ts +8 -7
  51. package/build/@types/common/components/ui/PreviewBadge.d.ts.map +1 -1
  52. package/build/@types/common/components/ui/PrismCode.d.ts.map +1 -1
  53. package/build/@types/common/components/ui/TechnologyPreview.d.ts +5 -0
  54. package/build/@types/common/components/ui/TechnologyPreview.d.ts.map +1 -0
  55. package/build/@types/common/components/ui/formik/RichInputField.d.ts.map +1 -1
  56. package/build/@types/common/components/ui/formik/validationSchemas.d.ts.map +1 -1
  57. package/build/@types/common/components/ui/index.d.ts +2 -0
  58. package/build/@types/common/components/ui/index.d.ts.map +1 -1
  59. package/build/@types/common/config/constants.d.ts +1 -1
  60. package/build/@types/common/types/clusters.d.ts +4 -2
  61. package/build/@types/common/types/clusters.d.ts.map +1 -1
  62. package/build/@types/common/utils.d.ts +1 -0
  63. package/build/@types/common/utils.d.ts.map +1 -1
  64. package/build/@types/ocm/components/AddHosts/day2Wizard/Day2ClusterDetails.d.ts.map +1 -1
  65. package/build/@types/ocm/components/HostsClusterDetailTab/HostsClusterDetailTab.d.ts.map +1 -1
  66. package/build/@types/ocm/components/Routes.d.ts.map +1 -1
  67. package/build/@types/ocm/components/clusterConfiguration/CpuArchitectureDropdown.d.ts.map +1 -1
  68. package/build/@types/ocm/components/clusterConfiguration/DiscoveryImageForm.d.ts.map +1 -1
  69. package/build/@types/ocm/components/clusterConfiguration/HostInventory.d.ts.map +1 -1
  70. package/build/@types/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.d.ts.map +1 -1
  71. package/build/@types/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.d.ts.map +1 -1
  72. package/build/@types/ocm/components/clusterConfiguration/OcmOperatorProgressItem.d.ts.map +1 -1
  73. package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.d.ts.map +1 -1
  74. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.d.ts.map +1 -1
  75. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.d.ts.map +1 -1
  76. package/build/@types/ocm/components/clusterConfiguration/operators/LvmCheckbox.d.ts.map +1 -1
  77. package/build/@types/ocm/components/clusterConfiguration/operators/OdfCheckbox.d.ts.map +1 -1
  78. package/build/@types/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.d.ts +3 -2
  79. package/build/@types/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.d.ts.map +1 -1
  80. package/build/@types/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.d.ts.map +1 -1
  81. package/build/@types/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.d.ts.map +1 -1
  82. package/build/@types/ocm/components/clusterDetail/AssistedInstallerDetailCard.d.ts.map +1 -1
  83. package/build/@types/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.d.ts.map +1 -1
  84. package/build/@types/ocm/components/clusterDetail/ClusterDetail.d.ts.map +1 -1
  85. package/build/@types/ocm/components/clusterDetail/utils.d.ts +1 -1
  86. package/build/@types/ocm/components/clusterDetail/utils.d.ts.map +1 -1
  87. package/build/@types/ocm/components/clusterWizard/ClusterWizardContextProvider.d.ts.map +1 -1
  88. package/build/@types/ocm/components/clusterWizard/OperatorsStep.d.ts.map +1 -1
  89. package/build/@types/ocm/components/clusters/AssistedInstallerHeader.d.ts.map +1 -1
  90. package/build/@types/ocm/components/clusters/ClusterStatus.d.ts.map +1 -1
  91. package/build/@types/ocm/components/clusters/ClustersListToolbar.d.ts.map +1 -1
  92. package/build/@types/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.d.ts.map +1 -1
  93. package/build/@types/ocm/components/featureSupportLevels/featureStateUtils.d.ts +2 -0
  94. package/build/@types/ocm/components/featureSupportLevels/featureStateUtils.d.ts.map +1 -1
  95. package/build/@types/ocm/components/fetching/fetchEvents.d.ts.map +1 -1
  96. package/build/@types/ocm/components/hosts/HostsDiscoveryTable.d.ts.map +1 -1
  97. package/build/@types/ocm/components/ui/OcmFormFields.d.ts +1 -1
  98. package/build/@types/ocm/components/utils.d.ts +5 -0
  99. package/build/@types/ocm/components/utils.d.ts.map +1 -0
  100. package/build/@types/ocm/hooks/use-feature.d.ts +3 -0
  101. package/build/@types/ocm/hooks/use-feature.d.ts.map +1 -0
  102. package/build/@types/ocm/index.d.ts +1 -2
  103. package/build/@types/ocm/index.d.ts.map +1 -1
  104. package/build/@types/ocm/services/ClusterDetailsService.d.ts.map +1 -1
  105. package/build/@types/ocm/services/ClustersService.d.ts.map +1 -1
  106. package/build/@types/ocm/services/Day2ClusterService.d.ts.map +1 -1
  107. package/build/@types/ocm/store/slices/current-cluster/slice.d.ts +1 -2
  108. package/build/@types/ocm/store/slices/current-cluster/slice.d.ts.map +1 -1
  109. package/build/@types/ocm/store/slices/feature-flags/selectors.d.ts +3 -2
  110. package/build/@types/ocm/store/slices/feature-flags/selectors.d.ts.map +1 -1
  111. package/build/cjs/cim/components/Agent/AgentTable.js +2 -2
  112. package/build/cjs/cim/components/Agent/AgentTable.js.map +1 -1
  113. package/build/cjs/cim/components/Agent/BMCForm.js +4 -3
  114. package/build/cjs/cim/components/Agent/BMCForm.js.map +1 -1
  115. package/build/cjs/cim/components/Agent/MinimalHWRequirements.js +2 -2
  116. package/build/cjs/cim/components/Agent/MinimalHWRequirements.js.map +1 -1
  117. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentCreateProgress.js +2 -2
  118. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentCreateProgress.js.map +1 -1
  119. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetailsTable.js +2 -2
  120. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetailsTable.js.map +1 -1
  121. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsNetworkTable.js +2 -2
  122. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsNetworkTable.js.map +1 -1
  123. package/build/cjs/cim/components/ClusterDeployment/networkConfigurationValidation.js +2 -2
  124. package/build/cjs/cim/components/ClusterDeployment/networkConfigurationValidation.js.map +1 -1
  125. package/build/cjs/cim/components/Hypershift/DetailsPage/ClusterInstallationProgress.js.map +1 -1
  126. package/build/cjs/cim/components/Hypershift/DetailsPage/ConditionsTable.js +10 -6
  127. package/build/cjs/cim/components/Hypershift/DetailsPage/ConditionsTable.js.map +1 -1
  128. package/build/cjs/cim/components/Hypershift/DetailsPage/HostedClusterProgress.js +5 -3
  129. package/build/cjs/cim/components/Hypershift/DetailsPage/HostedClusterProgress.js.map +1 -1
  130. package/build/cjs/cim/components/Hypershift/DetailsPage/NodePoolsProgress.js +3 -3
  131. package/build/cjs/cim/components/Hypershift/DetailsPage/NodePoolsProgress.js.map +1 -1
  132. package/build/cjs/cim/components/Hypershift/DetailsPage/NodePoolsTable.js +2 -2
  133. package/build/cjs/cim/components/Hypershift/DetailsPage/NodePoolsTable.js.map +1 -1
  134. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsForm.js +9 -4
  135. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsForm.js.map +1 -1
  136. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsStep.js +13 -3
  137. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsStep.js.map +1 -1
  138. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/NodePoolForm.js +32 -10
  139. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/NodePoolForm.js.map +1 -1
  140. package/build/cjs/cim/components/Hypershift/forms/NodePoolAgentsForm.js +16 -5
  141. package/build/cjs/cim/components/Hypershift/forms/NodePoolAgentsForm.js.map +1 -1
  142. package/build/cjs/cim/components/Hypershift/modals/AddNodePoolModal.js +5 -0
  143. package/build/cjs/cim/components/Hypershift/modals/AddNodePoolModal.js.map +1 -1
  144. package/build/cjs/cim/components/Hypershift/modals/ManageHostsModal.js +50 -10
  145. package/build/cjs/cim/components/Hypershift/modals/ManageHostsModal.js.map +1 -1
  146. package/build/cjs/cim/components/Hypershift/modals/NodePoolForm.js +1 -1
  147. package/build/cjs/cim/components/Hypershift/modals/NodePoolForm.js.map +1 -1
  148. package/build/cjs/cim/components/Hypershift/utils/status.js +11 -7
  149. package/build/cjs/cim/components/Hypershift/utils/status.js.map +1 -1
  150. package/build/cjs/cim/components/InfraEnv/EnvironmentDetails.js +6 -4
  151. package/build/cjs/cim/components/InfraEnv/EnvironmentDetails.js.map +1 -1
  152. package/build/cjs/cim/components/InfraEnv/InfraEnvFormPage.js +2 -2
  153. package/build/cjs/cim/components/InfraEnv/InfraEnvFormPage.js.map +1 -1
  154. package/build/cjs/cim/components/InfraEnv/InfraEnvHostsTabAgentsWarning.js +3 -3
  155. package/build/cjs/cim/components/InfraEnv/InfraEnvHostsTabAgentsWarning.js.map +1 -1
  156. package/build/cjs/cim/components/InfraEnv/InfraTableToolbar.js +2 -2
  157. package/build/cjs/cim/components/InfraEnv/InfraTableToolbar.js.map +1 -1
  158. package/build/cjs/cim/components/helpers/agentStatus.js +5 -4
  159. package/build/cjs/cim/components/helpers/agentStatus.js.map +1 -1
  160. package/build/cjs/cim/components/helpers/toAssisted.js +8 -2
  161. package/build/cjs/cim/components/helpers/toAssisted.js.map +1 -1
  162. package/build/cjs/cim/components/modals/AddBmcHostYamlForm.js +4 -3
  163. package/build/cjs/cim/components/modals/AddBmcHostYamlForm.js.map +1 -1
  164. package/build/cjs/cim/components/modals/CimConfiguration/CimConfigDisconnectedAlert.js +2 -2
  165. package/build/cjs/cim/components/modals/CimConfiguration/CimConfigDisconnectedAlert.js.map +1 -1
  166. package/build/cjs/cim/components/modals/CimConfiguration/CimConfigProgressAlert.js +2 -2
  167. package/build/cjs/cim/components/modals/CimConfiguration/CimConfigProgressAlert.js.map +1 -1
  168. package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationForm.js +9 -8
  169. package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationForm.js.map +1 -1
  170. package/build/cjs/cim/components/modals/CimConfiguration/CimStorageMissingAlert.js +2 -2
  171. package/build/cjs/cim/components/modals/CimConfiguration/CimStorageMissingAlert.js.map +1 -1
  172. package/build/cjs/cim/components/modals/MassDeleteAgentModal.js +2 -2
  173. package/build/cjs/cim/components/modals/MassDeleteAgentModal.js.map +1 -1
  174. package/build/cjs/common/api/assisted-service/NewFeatureSupportLevelsAPI.js +1 -5
  175. package/build/cjs/common/api/assisted-service/NewFeatureSupportLevelsAPI.js.map +1 -1
  176. package/build/cjs/common/components/clusterConfiguration/DiscoveryImageConfigForm.js +2 -2
  177. package/build/cjs/common/components/clusterConfiguration/DiscoveryImageConfigForm.js.map +1 -1
  178. package/build/cjs/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.js +2 -2
  179. package/build/cjs/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.js.map +1 -1
  180. package/build/cjs/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionMode.js +3 -3
  181. package/build/cjs/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionMode.js.map +1 -1
  182. package/build/cjs/common/components/clusterConfiguration/OpenShiftVersionSelect.js +8 -5
  183. package/build/cjs/common/components/clusterConfiguration/OpenShiftVersionSelect.js.map +1 -1
  184. package/build/cjs/common/components/clusterDetail/ClusterCredentials.js +2 -2
  185. package/build/cjs/common/components/clusterDetail/ClusterCredentials.js.map +1 -1
  186. package/build/cjs/common/components/clusterDetail/ConsoleModal.js +2 -2
  187. package/build/cjs/common/components/clusterDetail/ConsoleModal.js.map +1 -1
  188. package/build/cjs/common/components/clusterDetail/FinalizingProgress.js +9 -6
  189. package/build/cjs/common/components/clusterDetail/FinalizingProgress.js.map +1 -1
  190. package/build/cjs/common/components/clusterDetail/KubeconfigDownload.js +5 -4
  191. package/build/cjs/common/components/clusterDetail/KubeconfigDownload.js.map +1 -1
  192. package/build/cjs/common/components/clusterDetail/OperatorsProgressItem.js +10 -6
  193. package/build/cjs/common/components/clusterDetail/OperatorsProgressItem.js.map +1 -1
  194. package/build/cjs/common/components/clusterDetail/ProgressBarTexts.js +6 -4
  195. package/build/cjs/common/components/clusterDetail/ProgressBarTexts.js.map +1 -1
  196. package/build/cjs/common/components/clusterWizard/ReviewValidations.js +9 -5
  197. package/build/cjs/common/components/clusterWizard/ReviewValidations.js.map +1 -1
  198. package/build/cjs/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.js +4 -4
  199. package/build/cjs/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.js.map +1 -1
  200. package/build/cjs/common/components/featureSupportLevels/FeatureSupportLevelBadge.js +3 -2
  201. package/build/cjs/common/components/featureSupportLevels/FeatureSupportLevelBadge.js.map +1 -1
  202. package/build/cjs/common/components/hosts/DiskRole.js +2 -2
  203. package/build/cjs/common/components/hosts/DiskRole.js.map +1 -1
  204. package/build/cjs/common/components/hosts/HostPropertyValidationPopover.js +8 -5
  205. package/build/cjs/common/components/hosts/HostPropertyValidationPopover.js.map +1 -1
  206. package/build/cjs/common/components/hosts/HostRowDetail.js +2 -2
  207. package/build/cjs/common/components/hosts/HostRowDetail.js.map +1 -1
  208. package/build/cjs/common/components/hosts/HostStatus.js +2 -2
  209. package/build/cjs/common/components/hosts/HostStatus.js.map +1 -1
  210. package/build/cjs/common/components/hosts/HostValidationGroups.js +8 -5
  211. package/build/cjs/common/components/hosts/HostValidationGroups.js.map +1 -1
  212. package/build/cjs/common/components/hosts/Hostname.js +4 -4
  213. package/build/cjs/common/components/hosts/Hostname.js.map +1 -1
  214. package/build/cjs/common/components/hosts/HostsTable.js +2 -2
  215. package/build/cjs/common/components/hosts/HostsTable.js.map +1 -1
  216. package/build/cjs/common/components/hosts/MassChangeHostnameModal.js +2 -2
  217. package/build/cjs/common/components/hosts/MassChangeHostnameModal.js.map +1 -1
  218. package/build/cjs/common/components/hosts/OcpConsoleNodesSectionLink.js +2 -2
  219. package/build/cjs/common/components/hosts/OcpConsoleNodesSectionLink.js.map +1 -1
  220. package/build/cjs/common/components/hosts/TableToolbar.js +3 -3
  221. package/build/cjs/common/components/hosts/TableToolbar.js.map +1 -1
  222. package/build/cjs/common/components/hosts/VMRebootConfigurationInfo.js +2 -2
  223. package/build/cjs/common/components/hosts/VMRebootConfigurationInfo.js.map +1 -1
  224. package/build/cjs/common/components/hosts/status.js +42 -30
  225. package/build/cjs/common/components/hosts/status.js.map +1 -1
  226. package/build/cjs/common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge.js +3 -2
  227. package/build/cjs/common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge.js.map +1 -1
  228. package/build/cjs/common/components/storage/DisksTable.js +3 -3
  229. package/build/cjs/common/components/storage/DisksTable.js.map +1 -1
  230. package/build/cjs/common/components/storage/StorageUtils.js +2 -2
  231. package/build/cjs/common/components/storage/StorageUtils.js.map +1 -1
  232. package/build/cjs/common/components/ui/BorderedIcon/BorderedIcon.js +10 -10
  233. package/build/cjs/common/components/ui/BorderedIcon/BorderedIcon.js.map +1 -1
  234. package/build/cjs/common/components/ui/ClusterEventsToolbar.js +4 -3
  235. package/build/cjs/common/components/ui/ClusterEventsToolbar.js.map +1 -1
  236. package/build/cjs/common/components/ui/DeveloperPreview.js +14 -0
  237. package/build/cjs/common/components/ui/DeveloperPreview.js.map +1 -0
  238. package/build/cjs/common/components/ui/EventsList.js +8 -5
  239. package/build/cjs/common/components/ui/EventsList.js.map +1 -1
  240. package/build/cjs/common/components/ui/ExternalLink.js +2 -2
  241. package/build/cjs/common/components/ui/ExternalLink.js.map +1 -1
  242. package/build/cjs/common/components/ui/NoPermissionsError.js +3 -3
  243. package/build/cjs/common/components/ui/NoPermissionsError.js.map +1 -1
  244. package/build/cjs/common/components/ui/OpenShiftVersionDropdown.js +2 -2
  245. package/build/cjs/common/components/ui/OpenShiftVersionDropdown.js.map +1 -1
  246. package/build/cjs/common/components/ui/PopoverIcon.js +2 -2
  247. package/build/cjs/common/components/ui/PopoverIcon.js.map +1 -1
  248. package/build/cjs/common/components/ui/PreviewBadge.js +6 -17
  249. package/build/cjs/common/components/ui/PreviewBadge.js.map +1 -1
  250. package/build/cjs/common/components/ui/PrismCode.js +6 -4
  251. package/build/cjs/common/components/ui/PrismCode.js.map +1 -1
  252. package/build/cjs/common/components/ui/SimpleDropdown.js +2 -2
  253. package/build/cjs/common/components/ui/SimpleDropdown.js.map +1 -1
  254. package/build/cjs/common/components/ui/TechnologyPreview.js +15 -0
  255. package/build/cjs/common/components/ui/TechnologyPreview.js.map +1 -0
  256. package/build/cjs/common/components/ui/ViewClusterEventsButton.js +2 -2
  257. package/build/cjs/common/components/ui/ViewClusterEventsButton.js.map +1 -1
  258. package/build/cjs/common/components/ui/WizardNavItem.js +3 -3
  259. package/build/cjs/common/components/ui/WizardNavItem.js.map +1 -1
  260. package/build/cjs/common/components/ui/eventsModal.js +3 -3
  261. package/build/cjs/common/components/ui/eventsModal.js.map +1 -1
  262. package/build/cjs/common/components/ui/formik/AddButton.js +2 -2
  263. package/build/cjs/common/components/ui/formik/AddButton.js.map +1 -1
  264. package/build/cjs/common/components/ui/formik/AdditionalNTPSourcesField.js +1 -1
  265. package/build/cjs/common/components/ui/formik/AdditionalNTPSourcesField.js.map +1 -1
  266. package/build/cjs/common/components/ui/formik/PencilEditField.js +2 -2
  267. package/build/cjs/common/components/ui/formik/PencilEditField.js.map +1 -1
  268. package/build/cjs/common/components/ui/formik/PullSecretField.js +3 -3
  269. package/build/cjs/common/components/ui/formik/PullSecretField.js.map +1 -1
  270. package/build/cjs/common/components/ui/formik/RemovableField.js +2 -2
  271. package/build/cjs/common/components/ui/formik/RemovableField.js.map +1 -1
  272. package/build/cjs/common/components/ui/formik/RichInputField.js +8 -4
  273. package/build/cjs/common/components/ui/formik/RichInputField.js.map +1 -1
  274. package/build/cjs/common/components/ui/formik/validationSchemas.js +11 -4
  275. package/build/cjs/common/components/ui/formik/validationSchemas.js.map +1 -1
  276. package/build/cjs/common/components/ui/index.js +2 -0
  277. package/build/cjs/common/components/ui/index.js.map +1 -1
  278. package/build/cjs/common/components/ui/uiState/EmptyState.js +2 -2
  279. package/build/cjs/common/components/ui/uiState/EmptyState.js.map +1 -1
  280. package/build/cjs/common/components/ui/uiState/ErrorState.js +3 -3
  281. package/build/cjs/common/components/ui/uiState/ErrorState.js.map +1 -1
  282. package/build/cjs/common/config/constants.js +1 -1
  283. package/build/cjs/common/types/clusters.js +5 -1
  284. package/build/cjs/common/types/clusters.js.map +1 -1
  285. package/build/cjs/common/utils.js +19 -1
  286. package/build/cjs/common/utils.js.map +1 -1
  287. package/build/cjs/ocm/components/AddHosts/AddHosts.js +1 -1
  288. package/build/cjs/ocm/components/AddHosts/AddHosts.js.map +1 -1
  289. package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2ClusterDetails.js +4 -3
  290. package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2ClusterDetails.js.map +1 -1
  291. package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTab.js +3 -4
  292. package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTab.js.map +1 -1
  293. package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.js +1 -1
  294. package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.js.map +1 -1
  295. package/build/cjs/ocm/components/Routes.js +7 -9
  296. package/build/cjs/ocm/components/Routes.js.map +1 -1
  297. package/build/cjs/ocm/components/SentryErrorMonitorContextProvider.js +1 -1
  298. package/build/cjs/ocm/components/SentryErrorMonitorContextProvider.js.map +1 -1
  299. package/build/cjs/ocm/components/clusterConfiguration/CpuArchitectureDropdown.js +10 -8
  300. package/build/cjs/ocm/components/clusterConfiguration/CpuArchitectureDropdown.js.map +1 -1
  301. package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageForm.js +4 -3
  302. package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageForm.js.map +1 -1
  303. package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageTypeDropdown.js +2 -2
  304. package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageTypeDropdown.js.map +1 -1
  305. package/build/cjs/ocm/components/clusterConfiguration/HostInventory.js +2 -1
  306. package/build/cjs/ocm/components/clusterConfiguration/HostInventory.js.map +1 -1
  307. package/build/cjs/ocm/components/clusterConfiguration/OcmBaseDomainField.js +4 -4
  308. package/build/cjs/ocm/components/clusterConfiguration/OcmBaseDomainField.js.map +1 -1
  309. package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js +6 -5
  310. package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js.map +1 -1
  311. package/build/cjs/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.js +1 -1
  312. package/build/cjs/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.js.map +1 -1
  313. package/build/cjs/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.js +9 -6
  314. package/build/cjs/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.js.map +1 -1
  315. package/build/cjs/ocm/components/clusterConfiguration/OcmOperatorProgressItem.js +10 -6
  316. package/build/cjs/ocm/components/clusterConfiguration/OcmOperatorProgressItem.js.map +1 -1
  317. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CollapsedManifest.js +2 -2
  318. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CollapsedManifest.js.map +1 -1
  319. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifest.js +2 -2
  320. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifest.js.map +1 -1
  321. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsArray.js +3 -3
  322. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsArray.js.map +1 -1
  323. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.js +3 -3
  324. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.js.map +1 -1
  325. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.js +9 -5
  326. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.js.map +1 -1
  327. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js +1 -7
  328. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js.map +1 -1
  329. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.js +2 -2
  330. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.js.map +1 -1
  331. package/build/cjs/ocm/components/clusterConfiguration/operators/CnvCheckbox.js +2 -2
  332. package/build/cjs/ocm/components/clusterConfiguration/operators/CnvCheckbox.js.map +1 -1
  333. package/build/cjs/ocm/components/clusterConfiguration/operators/LvmCheckbox.js +3 -0
  334. package/build/cjs/ocm/components/clusterConfiguration/operators/LvmCheckbox.js.map +1 -1
  335. package/build/cjs/ocm/components/clusterConfiguration/operators/MceCheckbox.js +2 -2
  336. package/build/cjs/ocm/components/clusterConfiguration/operators/MceCheckbox.js.map +1 -1
  337. package/build/cjs/ocm/components/clusterConfiguration/operators/OdfCheckbox.js +15 -5
  338. package/build/cjs/ocm/components/clusterConfiguration/operators/OdfCheckbox.js.map +1 -1
  339. package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.js +23 -12
  340. package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.js.map +1 -1
  341. package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationNote.js +3 -3
  342. package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationNote.js.map +1 -1
  343. package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/constants.js +2 -2
  344. package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/constants.js.map +1 -1
  345. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.js +4 -2
  346. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.js.map +1 -1
  347. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.js +13 -7
  348. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.js.map +1 -1
  349. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewStep.js +1 -1
  350. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewStep.js.map +1 -1
  351. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/CollapsedHost.js +2 -2
  352. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/CollapsedHost.js.map +1 -1
  353. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.js +1 -1
  354. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.js.map +1 -1
  355. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpHostsArray.js +2 -2
  356. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpHostsArray.js.map +1 -1
  357. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/YamlView/MacIpMapping.js +2 -2
  358. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/YamlView/MacIpMapping.js.map +1 -1
  359. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlViewFields.js +2 -2
  360. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlViewFields.js.map +1 -1
  361. package/build/cjs/ocm/components/clusterDetail/AssistedInstallerDetailCard.js +11 -10
  362. package/build/cjs/ocm/components/clusterDetail/AssistedInstallerDetailCard.js.map +1 -1
  363. package/build/cjs/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.js +6 -5
  364. package/build/cjs/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.js.map +1 -1
  365. package/build/cjs/ocm/components/clusterDetail/CancelInstallationModal.js +1 -1
  366. package/build/cjs/ocm/components/clusterDetail/CancelInstallationModal.js.map +1 -1
  367. package/build/cjs/ocm/components/clusterDetail/ClusterDetail.js +3 -2
  368. package/build/cjs/ocm/components/clusterDetail/ClusterDetail.js.map +1 -1
  369. package/build/cjs/ocm/components/clusterDetail/ClusterDetailStatusMessages.js +3 -3
  370. package/build/cjs/ocm/components/clusterDetail/ClusterDetailStatusMessages.js.map +1 -1
  371. package/build/cjs/ocm/components/clusterDetail/ClusterDetailsButtonGroup.js +2 -2
  372. package/build/cjs/ocm/components/clusterDetail/ClusterDetailsButtonGroup.js.map +1 -1
  373. package/build/cjs/ocm/components/clusterDetail/ClusterInstallationError.js +2 -2
  374. package/build/cjs/ocm/components/clusterDetail/ClusterInstallationError.js.map +1 -1
  375. package/build/cjs/ocm/components/clusterDetail/OpenShiftVersionDetail.js +2 -2
  376. package/build/cjs/ocm/components/clusterDetail/OpenShiftVersionDetail.js.map +1 -1
  377. package/build/cjs/ocm/components/clusterDetail/ProgressBarAlerts.js +5 -5
  378. package/build/cjs/ocm/components/clusterDetail/ProgressBarAlerts.js.map +1 -1
  379. package/build/cjs/ocm/components/clusterDetail/ResetClusterModal.js +4 -4
  380. package/build/cjs/ocm/components/clusterDetail/ResetClusterModal.js.map +1 -1
  381. package/build/cjs/ocm/components/clusterDetail/utils.js +5 -5
  382. package/build/cjs/ocm/components/clusterDetail/utils.js.map +1 -1
  383. package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js +1 -1
  384. package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js.map +1 -1
  385. package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js +1 -1
  386. package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js.map +1 -1
  387. package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js +2 -1
  388. package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js.map +1 -1
  389. package/build/cjs/ocm/components/clusterWizard/HostDiscovery.js +1 -1
  390. package/build/cjs/ocm/components/clusterWizard/HostDiscovery.js.map +1 -1
  391. package/build/cjs/ocm/components/clusterWizard/Operators.js +1 -1
  392. package/build/cjs/ocm/components/clusterWizard/Operators.js.map +1 -1
  393. package/build/cjs/ocm/components/clusterWizard/OperatorsStep.js +7 -1
  394. package/build/cjs/ocm/components/clusterWizard/OperatorsStep.js.map +1 -1
  395. package/build/cjs/ocm/components/clusters/AssistedInstallerHeader.js +2 -2
  396. package/build/cjs/ocm/components/clusters/AssistedInstallerHeader.js.map +1 -1
  397. package/build/cjs/ocm/components/clusters/ClusterBreadcrumbs.js +1 -1
  398. package/build/cjs/ocm/components/clusters/ClusterBreadcrumbs.js.map +1 -1
  399. package/build/cjs/ocm/components/clusters/ClusterStatus.js +15 -8
  400. package/build/cjs/ocm/components/clusters/ClusterStatus.js.map +1 -1
  401. package/build/cjs/ocm/components/clusters/Clusters.js +3 -3
  402. package/build/cjs/ocm/components/clusters/Clusters.js.map +1 -1
  403. package/build/cjs/ocm/components/clusters/ClustersListToolbar.js +4 -3
  404. package/build/cjs/ocm/components/clusters/ClustersListToolbar.js.map +1 -1
  405. package/build/cjs/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.js +6 -5
  406. package/build/cjs/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.js.map +1 -1
  407. package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js +17 -1
  408. package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js.map +1 -1
  409. package/build/cjs/ocm/components/fetching/fetchEvents.js +1 -1
  410. package/build/cjs/ocm/components/fetching/fetchEvents.js.map +1 -1
  411. package/build/cjs/ocm/components/hosts/HostsDiscoveryTable.js +1 -1
  412. package/build/cjs/ocm/components/hosts/HostsDiscoveryTable.js.map +1 -1
  413. package/build/cjs/ocm/components/hosts/HostsTableEmptyState.js +2 -2
  414. package/build/cjs/ocm/components/hosts/HostsTableEmptyState.js.map +1 -1
  415. package/build/cjs/ocm/components/hosts/use-hosts-table.js +1 -1
  416. package/build/cjs/ocm/components/hosts/use-hosts-table.js.map +1 -1
  417. package/build/cjs/ocm/components/hosts/utils.js +1 -1
  418. package/build/cjs/ocm/components/hosts/utils.js.map +1 -1
  419. package/build/cjs/ocm/components/ui/InfoLinkWithModal.js +2 -2
  420. package/build/cjs/ocm/components/ui/InfoLinkWithModal.js.map +1 -1
  421. package/build/cjs/ocm/components/utils.js +18 -0
  422. package/build/cjs/ocm/components/utils.js.map +1 -0
  423. package/build/cjs/ocm/hooks/use-feature.js +10 -0
  424. package/build/cjs/ocm/hooks/use-feature.js.map +1 -0
  425. package/build/cjs/ocm/hooks/useClusterCustomManifests.js +1 -1
  426. package/build/cjs/ocm/hooks/useClusterCustomManifests.js.map +1 -1
  427. package/build/cjs/ocm/hooks/useClusterPreflightRequirements.js +1 -1
  428. package/build/cjs/ocm/hooks/useClusterPreflightRequirements.js.map +1 -1
  429. package/build/cjs/ocm/hooks/useManagedDomains.js +1 -1
  430. package/build/cjs/ocm/hooks/useManagedDomains.js.map +1 -1
  431. package/build/cjs/ocm/hooks/useOpenshiftVersions.js +1 -1
  432. package/build/cjs/ocm/hooks/useOpenshiftVersions.js.map +1 -1
  433. package/build/cjs/ocm/hooks/usePullSecret.js +1 -1
  434. package/build/cjs/ocm/hooks/usePullSecret.js.map +1 -1
  435. package/build/cjs/ocm/hooks/useSupportLevelsAPI.js +1 -1
  436. package/build/cjs/ocm/hooks/useSupportLevelsAPI.js.map +1 -1
  437. package/build/cjs/ocm/hooks/useUsedClusterNames.js +1 -1
  438. package/build/cjs/ocm/hooks/useUsedClusterNames.js.map +1 -1
  439. package/build/cjs/ocm/index.js +1 -2
  440. package/build/cjs/ocm/index.js.map +1 -1
  441. package/build/cjs/ocm/services/ClusterDetailsService.js +19 -7
  442. package/build/cjs/ocm/services/ClusterDetailsService.js.map +1 -1
  443. package/build/cjs/ocm/services/ClustersService.js +2 -2
  444. package/build/cjs/ocm/services/ClustersService.js.map +1 -1
  445. package/build/cjs/ocm/services/Day2ClusterService.js +11 -1
  446. package/build/cjs/ocm/services/Day2ClusterService.js.map +1 -1
  447. package/build/cjs/ocm/store/slices/feature-flags/selectors.js +2 -1
  448. package/build/cjs/ocm/store/slices/feature-flags/selectors.js.map +1 -1
  449. package/lib/cim/components/Agent/AgentTable.tsx +1 -1
  450. package/lib/cim/components/Agent/BMCForm.tsx +2 -1
  451. package/lib/cim/components/Agent/MinimalHWRequirements.tsx +1 -1
  452. package/lib/cim/components/ClusterDeployment/ClusterDeploymentCreateProgress.tsx +1 -1
  453. package/lib/cim/components/ClusterDeployment/ClusterDeploymentDetailsTable.tsx +1 -1
  454. package/lib/cim/components/ClusterDeployment/ClusterDeploymentHostsNetworkTable.tsx +1 -1
  455. package/lib/cim/components/ClusterDeployment/networkConfigurationValidation.ts +2 -2
  456. package/lib/cim/components/Hypershift/DetailsPage/ClusterInstallationProgress.tsx +7 -6
  457. package/lib/cim/components/Hypershift/DetailsPage/ConditionsTable.tsx +6 -10
  458. package/lib/cim/components/Hypershift/DetailsPage/HostedClusterProgress.tsx +4 -5
  459. package/lib/cim/components/Hypershift/DetailsPage/NodePoolsProgress.tsx +9 -8
  460. package/lib/cim/components/Hypershift/DetailsPage/NodePoolsTable.tsx +8 -7
  461. package/lib/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsForm.tsx +8 -3
  462. package/lib/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsStep.tsx +13 -3
  463. package/lib/cim/components/Hypershift/HostedClusterWizard/HostsStep/NodePoolForm.tsx +36 -8
  464. package/lib/cim/components/Hypershift/HostedClusterWizard/HostsStep/types.ts +2 -8
  465. package/lib/cim/components/Hypershift/forms/NodePoolAgentsForm.tsx +58 -19
  466. package/lib/cim/components/Hypershift/modals/AddNodePoolModal.tsx +7 -2
  467. package/lib/cim/components/Hypershift/modals/ManageHostsModal.tsx +64 -12
  468. package/lib/cim/components/Hypershift/modals/NodePoolForm.tsx +8 -10
  469. package/lib/cim/components/Hypershift/types.ts +21 -1
  470. package/lib/cim/components/Hypershift/utils/status.tsx +6 -6
  471. package/lib/cim/components/InfraEnv/EnvironmentDetails.tsx +3 -1
  472. package/lib/cim/components/InfraEnv/InfraEnvFormPage.tsx +1 -1
  473. package/lib/cim/components/InfraEnv/InfraEnvHostsTabAgentsWarning.tsx +2 -2
  474. package/lib/cim/components/InfraEnv/InfraTableToolbar.tsx +1 -1
  475. package/lib/cim/components/helpers/agentStatus.tsx +3 -2
  476. package/lib/cim/components/helpers/toAssisted.ts +8 -2
  477. package/lib/cim/components/modals/AddBmcHostYamlForm.tsx +2 -1
  478. package/lib/cim/components/modals/CimConfiguration/CimConfigDisconnectedAlert.tsx +1 -1
  479. package/lib/cim/components/modals/CimConfiguration/CimConfigProgressAlert.tsx +1 -1
  480. package/lib/cim/components/modals/CimConfiguration/CimConfigurationForm.tsx +2 -1
  481. package/lib/cim/components/modals/CimConfiguration/CimStorageMissingAlert.tsx +1 -1
  482. package/lib/cim/components/modals/MassDeleteAgentModal.tsx +1 -1
  483. package/lib/common/api/assisted-service/NewFeatureSupportLevelsAPI.ts +1 -0
  484. package/lib/common/components/clusterConfiguration/DiscoveryImageConfigForm.tsx +1 -1
  485. package/lib/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.tsx +1 -1
  486. package/lib/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionMode.tsx +1 -1
  487. package/lib/common/components/clusterConfiguration/OpenShiftVersionSelect.tsx +5 -9
  488. package/lib/common/components/clusterDetail/ClusterCredentials.tsx +1 -1
  489. package/lib/common/components/clusterDetail/ConsoleModal.tsx +1 -1
  490. package/lib/common/components/clusterDetail/FinalizingProgress.tsx +4 -6
  491. package/lib/common/components/clusterDetail/KubeconfigDownload.tsx +16 -6
  492. package/lib/common/components/clusterDetail/OperatorsProgressItem.tsx +6 -10
  493. package/lib/common/components/clusterDetail/ProgressBarTexts.tsx +3 -1
  494. package/lib/common/components/clusterWizard/ReviewValidations.tsx +6 -10
  495. package/lib/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.tsx +6 -6
  496. package/lib/common/components/featureSupportLevels/FeatureSupportLevelBadge.tsx +2 -1
  497. package/lib/common/components/hosts/DiskRole.tsx +1 -1
  498. package/lib/common/components/hosts/HostPropertyValidationPopover.tsx +5 -5
  499. package/lib/common/components/hosts/HostRowDetail.tsx +6 -10
  500. package/lib/common/components/hosts/HostStatus.tsx +1 -1
  501. package/lib/common/components/hosts/HostValidationGroups.tsx +5 -5
  502. package/lib/common/components/hosts/Hostname.tsx +2 -2
  503. package/lib/common/components/hosts/HostsTable.tsx +1 -1
  504. package/lib/common/components/hosts/MassChangeHostnameModal.tsx +1 -1
  505. package/lib/common/components/hosts/OcpConsoleNodesSectionLink.tsx +1 -1
  506. package/lib/common/components/hosts/TableToolbar.tsx +2 -2
  507. package/lib/common/components/hosts/VMRebootConfigurationInfo.tsx +1 -1
  508. package/lib/common/components/hosts/status.tsx +14 -18
  509. package/lib/common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge.tsx +2 -1
  510. package/lib/common/components/storage/DisksTable.tsx +1 -1
  511. package/lib/common/components/storage/StorageUtils.tsx +1 -1
  512. package/lib/common/components/ui/BorderedIcon/BorderedIcon.tsx +2 -1
  513. package/lib/common/components/ui/ClusterEventsToolbar.tsx +2 -1
  514. package/lib/common/components/ui/DeveloperPreview.tsx +19 -0
  515. package/lib/common/components/ui/EventsList.tsx +4 -6
  516. package/lib/common/components/ui/ExternalLink.tsx +1 -1
  517. package/lib/common/components/ui/NoPermissionsError.tsx +2 -2
  518. package/lib/common/components/ui/OpenShiftVersionDropdown.tsx +1 -1
  519. package/lib/common/components/ui/PopoverIcon.tsx +1 -1
  520. package/lib/common/components/ui/PreviewBadge.tsx +8 -42
  521. package/lib/common/components/ui/PrismCode.tsx +3 -5
  522. package/lib/common/components/ui/SimpleDropdown.tsx +1 -1
  523. package/lib/common/components/ui/TechnologyPreview.tsx +25 -0
  524. package/lib/common/components/ui/ViewClusterEventsButton.tsx +1 -1
  525. package/lib/common/components/ui/WizardNavItem.tsx +2 -2
  526. package/lib/common/components/ui/eventsModal.tsx +2 -2
  527. package/lib/common/components/ui/formik/AddButton.tsx +1 -1
  528. package/lib/common/components/ui/formik/AdditionalNTPSourcesField.tsx +1 -1
  529. package/lib/common/components/ui/formik/PencilEditField.tsx +1 -1
  530. package/lib/common/components/ui/formik/PullSecretField.tsx +1 -1
  531. package/lib/common/components/ui/formik/RemovableField.tsx +1 -1
  532. package/lib/common/components/ui/formik/RichInputField.tsx +5 -7
  533. package/lib/common/components/ui/formik/validationSchemas.ts +12 -6
  534. package/lib/common/components/ui/index.ts +2 -0
  535. package/lib/common/components/ui/uiState/EmptyState.tsx +1 -1
  536. package/lib/common/components/ui/uiState/ErrorState.tsx +2 -2
  537. package/lib/common/config/constants.ts +1 -1
  538. package/lib/common/types/clusters.ts +8 -4
  539. package/lib/common/utils.ts +18 -0
  540. package/lib/ocm/components/AddHosts/AddHosts.tsx +1 -1
  541. package/lib/ocm/components/AddHosts/day2Wizard/Day2ClusterDetails.tsx +3 -4
  542. package/lib/ocm/components/HostsClusterDetailTab/HostsClusterDetailTab.tsx +5 -7
  543. package/lib/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.tsx +1 -1
  544. package/lib/ocm/components/Routes.tsx +8 -11
  545. package/lib/ocm/components/SentryErrorMonitorContextProvider.tsx +1 -1
  546. package/lib/ocm/components/clusterConfiguration/CpuArchitectureDropdown.tsx +13 -9
  547. package/lib/ocm/components/clusterConfiguration/DiscoveryImageForm.tsx +3 -2
  548. package/lib/ocm/components/clusterConfiguration/DiscoveryImageTypeDropdown.tsx +1 -1
  549. package/lib/ocm/components/clusterConfiguration/HostInventory.tsx +1 -1
  550. package/lib/ocm/components/clusterConfiguration/OcmBaseDomainField.tsx +5 -5
  551. package/lib/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.tsx +4 -4
  552. package/lib/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.tsx +1 -1
  553. package/lib/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.tsx +6 -10
  554. package/lib/ocm/components/clusterConfiguration/OcmOperatorProgressItem.tsx +6 -10
  555. package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/CollapsedManifest.tsx +1 -1
  556. package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifest.tsx +1 -1
  557. package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsArray.tsx +2 -2
  558. package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.tsx +7 -2
  559. package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.tsx +10 -3
  560. package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.tsx +1 -9
  561. package/lib/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.tsx +1 -1
  562. package/lib/ocm/components/clusterConfiguration/operators/CnvCheckbox.tsx +1 -1
  563. package/lib/ocm/components/clusterConfiguration/operators/LvmCheckbox.tsx +7 -1
  564. package/lib/ocm/components/clusterConfiguration/operators/MceCheckbox.tsx +1 -1
  565. package/lib/ocm/components/clusterConfiguration/operators/OdfCheckbox.tsx +22 -4
  566. package/lib/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.tsx +38 -18
  567. package/lib/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationNote.tsx +2 -2
  568. package/lib/ocm/components/clusterConfiguration/platformIntegration/constants.tsx +2 -2
  569. package/lib/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.tsx +4 -2
  570. package/lib/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.tsx +8 -12
  571. package/lib/ocm/components/clusterConfiguration/review/ReviewStep.tsx +1 -1
  572. package/lib/ocm/components/clusterConfiguration/staticIp/components/CollapsedHost.tsx +1 -1
  573. package/lib/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.tsx +1 -1
  574. package/lib/ocm/components/clusterConfiguration/staticIp/components/StaticIpHostsArray.tsx +1 -1
  575. package/lib/ocm/components/clusterConfiguration/staticIp/components/YamlView/MacIpMapping.tsx +1 -1
  576. package/lib/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlViewFields.tsx +1 -1
  577. package/lib/ocm/components/clusterDetail/AssistedInstallerDetailCard.tsx +25 -26
  578. package/lib/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.tsx +16 -21
  579. package/lib/ocm/components/clusterDetail/CancelInstallationModal.tsx +1 -1
  580. package/lib/ocm/components/clusterDetail/ClusterDetail.tsx +3 -9
  581. package/lib/ocm/components/clusterDetail/ClusterDetailStatusMessages.tsx +2 -2
  582. package/lib/ocm/components/clusterDetail/ClusterDetailsButtonGroup.tsx +2 -2
  583. package/lib/ocm/components/clusterDetail/ClusterInstallationError.tsx +2 -2
  584. package/lib/ocm/components/clusterDetail/OpenShiftVersionDetail.tsx +1 -1
  585. package/lib/ocm/components/clusterDetail/ProgressBarAlerts.tsx +5 -5
  586. package/lib/ocm/components/clusterDetail/ResetClusterModal.tsx +3 -3
  587. package/lib/ocm/components/clusterDetail/utils.tsx +6 -5
  588. package/lib/ocm/components/clusterWizard/ClusterDetails.tsx +1 -1
  589. package/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx +1 -1
  590. package/lib/ocm/components/clusterWizard/ClusterWizardContextProvider.tsx +2 -5
  591. package/lib/ocm/components/clusterWizard/HostDiscovery.tsx +1 -1
  592. package/lib/ocm/components/clusterWizard/Operators.tsx +1 -1
  593. package/lib/ocm/components/clusterWizard/OperatorsStep.tsx +17 -2
  594. package/lib/ocm/components/clusters/AssistedInstallerHeader.tsx +8 -6
  595. package/lib/ocm/components/clusters/ClusterBreadcrumbs.tsx +1 -1
  596. package/lib/ocm/components/clusters/ClusterStatus.tsx +9 -13
  597. package/lib/ocm/components/clusters/Clusters.tsx +2 -2
  598. package/lib/ocm/components/clusters/ClustersListToolbar.tsx +2 -1
  599. package/lib/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.tsx +3 -2
  600. package/lib/ocm/components/featureSupportLevels/featureStateUtils.ts +16 -0
  601. package/lib/ocm/components/fetching/fetchEvents.ts +15 -3
  602. package/lib/ocm/components/hosts/HostsDiscoveryTable.tsx +0 -1
  603. package/lib/ocm/components/hosts/HostsTableEmptyState.tsx +1 -1
  604. package/lib/ocm/components/hosts/use-hosts-table.tsx +1 -1
  605. package/lib/ocm/components/hosts/utils.ts +1 -1
  606. package/lib/ocm/components/ui/InfoLinkWithModal.tsx +1 -1
  607. package/lib/ocm/components/utils.ts +19 -0
  608. package/lib/ocm/hooks/_use-feature-detection.test.tsx +7 -15
  609. package/lib/ocm/hooks/use-feature.ts +7 -0
  610. package/lib/ocm/hooks/useClusterCustomManifests.ts +1 -1
  611. package/lib/ocm/hooks/useClusterPreflightRequirements.ts +1 -1
  612. package/lib/ocm/hooks/useManagedDomains.ts +1 -1
  613. package/lib/ocm/hooks/useOpenshiftVersions.tsx +1 -1
  614. package/lib/ocm/hooks/usePullSecret.ts +1 -1
  615. package/lib/ocm/hooks/useSupportLevelsAPI.ts +1 -1
  616. package/lib/ocm/hooks/useUsedClusterNames.ts +1 -1
  617. package/lib/ocm/index.ts +1 -2
  618. package/lib/ocm/services/ClusterDetailsService.ts +20 -4
  619. package/lib/ocm/services/ClustersService.ts +10 -4
  620. package/lib/ocm/services/Day2ClusterService.ts +20 -2
  621. package/lib/ocm/store/slices/feature-flags/selectors.ts +6 -6
  622. package/package.json +14 -6
  623. package/build/@types/ocm/api/index.d.ts +0 -2
  624. package/build/@types/ocm/api/index.d.ts.map +0 -1
  625. package/build/cjs/ocm/api/index.js +0 -5
  626. package/build/cjs/ocm/api/index.js.map +0 -1
  627. package/lib/ocm/api/index.ts +0 -1
@@ -12,8 +12,13 @@ import {
12
12
  import { Formik, FormikConfig } from 'formik';
13
13
  import * as React from 'react';
14
14
  import { AgentK8sResource } from '../../../types';
15
- import { NodePoolK8sResource, HostedClusterK8sResource, AgentMachineK8sResource } from '../types';
16
- import NodePoolForm, { NodePoolFormValues } from './NodePoolForm';
15
+ import {
16
+ NodePoolK8sResource,
17
+ HostedClusterK8sResource,
18
+ AgentMachineK8sResource,
19
+ NodePoolFormValues,
20
+ } from '../types';
21
+ import NodePoolForm from './NodePoolForm';
17
22
  import { labelsToFormikValue } from '../utils';
18
23
  import { useTranslation } from '../../../../common/hooks/use-translation-wrapper';
19
24
  import { getErrorMessage } from '../../../../common/utils';
@@ -27,13 +32,60 @@ type ManageHostsModalProps = {
27
32
  nodePool: NodePoolK8sResource,
28
33
  nodePoolPatches: {
29
34
  op: string;
30
- value: unknown;
35
+ value?: unknown;
31
36
  path: string;
32
37
  }[],
33
38
  ) => Promise<unknown>;
34
39
  agentMachines: AgentMachineK8sResource[];
35
40
  };
36
41
 
42
+ const getPatches = (values: NodePoolFormValues, nodePool: NodePoolK8sResource) => {
43
+ const patches = [];
44
+
45
+ if (values.useAutoscaling) {
46
+ if (!!nodePool.spec.autoScaling) {
47
+ patches.push({
48
+ op: 'replace',
49
+ value: {
50
+ min: values.autoscaling.minReplicas,
51
+ max: values.autoscaling.maxReplicas,
52
+ },
53
+ path: '/spec/autoScaling',
54
+ });
55
+ } else {
56
+ patches.push(
57
+ { op: 'remove', path: '/spec/replicas' },
58
+ {
59
+ op: 'add',
60
+ value: {
61
+ min: values.autoscaling.minReplicas,
62
+ max: values.autoscaling.maxReplicas,
63
+ },
64
+ path: '/spec/autoScaling',
65
+ },
66
+ );
67
+ }
68
+ } else {
69
+ if (!!nodePool.spec.replicas) {
70
+ patches.push({
71
+ op: 'replace',
72
+ value: values.count,
73
+ path: '/spec/replicas',
74
+ });
75
+ } else {
76
+ patches.push(
77
+ { op: 'remove', path: '/spec/autoScaling' },
78
+ {
79
+ op: 'add',
80
+ value: values.count,
81
+ path: '/spec/replicas',
82
+ },
83
+ );
84
+ }
85
+ }
86
+ return patches;
87
+ };
88
+
37
89
  const ManageHostsModal = ({
38
90
  onClose,
39
91
  nodePool,
@@ -47,16 +99,11 @@ const ManageHostsModal = ({
47
99
  const namespaceAgents = agents.filter(
48
100
  (a) => a.metadata?.namespace === hostedCluster.spec.platform.agent?.agentNamespace,
49
101
  );
102
+
50
103
  const handleSubmit: FormikConfig<NodePoolFormValues>['onSubmit'] = async (values) => {
51
104
  setError(undefined);
52
- const patches = [];
53
- if (values.count !== nodePool.spec.replicas) {
54
- patches.push({
55
- op: 'replace',
56
- value: values.count,
57
- path: '/spec/replicas',
58
- });
59
- }
105
+ const patches = getPatches(values, nodePool);
106
+
60
107
  try {
61
108
  await onSubmit(nodePool, patches);
62
109
  onClose();
@@ -80,7 +127,12 @@ const ManageHostsModal = ({
80
127
  agentLabels: labelsToFormikValue(
81
128
  nodePool.spec.platform?.agent?.agentLabelSelector?.matchLabels || {},
82
129
  ),
83
- count: nodePool.spec.replicas,
130
+ count: nodePool.spec.replicas || 1,
131
+ useAutoscaling: !!nodePool.spec.autoScaling,
132
+ autoscaling: {
133
+ minReplicas: nodePool.spec.autoScaling?.min || 1,
134
+ maxReplicas: nodePool.spec.autoScaling?.max || 1,
135
+ },
84
136
  }}
85
137
  isInitialValid={false}
86
138
  onSubmit={handleSubmit}
@@ -15,18 +15,14 @@ import { useTranslation } from '../../../../common/hooks/use-translation-wrapper
15
15
  import { AgentK8sResource } from '../../../types';
16
16
  import { getAgentsForSelection, getVersionFromReleaseImage } from '../../helpers';
17
17
  import NodePoolAgentsForm from '../forms/NodePoolAgentsForm';
18
- import { AgentMachineK8sResource, HostedClusterK8sResource, NodePoolK8sResource } from '../types';
18
+ import {
19
+ AgentMachineK8sResource,
20
+ HostedClusterK8sResource,
21
+ NodePoolFormValues,
22
+ NodePoolK8sResource,
23
+ } from '../types';
19
24
  import { getNodepoolAgents } from '../utils';
20
25
 
21
- export type NodePoolFormValues = {
22
- nodePoolName: string;
23
- agentLabels: {
24
- key: string;
25
- value: string;
26
- }[];
27
- count: number;
28
- };
29
-
30
26
  type NodePoolFormProps = {
31
27
  agents: AgentK8sResource[];
32
28
  agentMachines?: AgentMachineK8sResource[];
@@ -91,6 +87,8 @@ const NodePoolForm = ({ agents, nodePool, hostedCluster, agentMachines }: NodePo
91
87
  agents={agents}
92
88
  countName="count"
93
89
  labelName="agentLabels"
90
+ autoscalingName={`autoscaling`}
91
+ useAutoscalingName={`useAutoscaling`}
94
92
  maxAgents={maxAgents}
95
93
  isEdit={isEdit}
96
94
  />
@@ -4,7 +4,7 @@ import { StatusCondition } from '../../types/k8s/shared';
4
4
  export type NodePoolK8sResource = K8sResourceCommon & {
5
5
  spec: {
6
6
  clusterName: string;
7
- replicas: number;
7
+ replicas?: number;
8
8
  management: {
9
9
  autoRepair?: boolean;
10
10
  replace?: {
@@ -188,3 +188,23 @@ export type AgentMachineK8sResource = K8sResourceCommon & {
188
188
  };
189
189
  };
190
190
  };
191
+
192
+ export type NodePoolPatches = {
193
+ op: string;
194
+ value?: unknown;
195
+ path: string;
196
+ }[];
197
+
198
+ export type NodePoolFormValues = {
199
+ nodePoolName: string;
200
+ agentLabels: {
201
+ key: string;
202
+ value: string;
203
+ }[];
204
+ count: number;
205
+ autoscaling: {
206
+ minReplicas: number;
207
+ maxReplicas: number;
208
+ };
209
+ useAutoscaling: boolean;
210
+ };
@@ -1,10 +1,10 @@
1
- import { CheckCircleIcon, ExclamationCircleIcon, InProgressIcon } from '@patternfly/react-icons';
1
+ import { CheckCircleIcon } from '@patternfly/react-icons/dist/js/icons/check-circle-icon';
2
+ import { ExclamationCircleIcon } from '@patternfly/react-icons/dist/js/icons/exclamation-circle-icon';
3
+ import { InProgressIcon } from '@patternfly/react-icons/dist/js/icons/in-progress-icon';
2
4
  import React from 'react';
3
- import {
4
- global_palette_green_500 as okColor,
5
- global_danger_color_100 as dangerColor,
6
- global_warning_color_100 as warningColor,
7
- } from '@patternfly/react-tokens';
5
+ import { global_palette_green_500 as okColor } from '@patternfly/react-tokens/dist/js/global_palette_green_500';
6
+ import { global_danger_color_100 as dangerColor } from '@patternfly/react-tokens/dist/js/global_danger_color_100';
7
+ import { global_warning_color_100 as warningColor } from '@patternfly/react-tokens/dist/js/global_warning_color_100';
8
8
  import { AgentK8sResource } from '../../../types';
9
9
  import { getAgentStatus } from '../../helpers';
10
10
  import { NodePoolK8sResource } from '../types';
@@ -14,7 +14,9 @@ import {
14
14
  Title,
15
15
  TitleSizes,
16
16
  } from '@patternfly/react-core';
17
- import { CheckCircleIcon, ExclamationTriangleIcon, PencilAltIcon } from '@patternfly/react-icons';
17
+ import { CheckCircleIcon } from '@patternfly/react-icons/dist/js/icons/check-circle-icon';
18
+ import { ExclamationTriangleIcon } from '@patternfly/react-icons/dist/js/icons/exclamation-triangle-icon';
19
+ import { PencilAltIcon } from '@patternfly/react-icons/dist/js/icons/pencil-alt-icon';
18
20
  import { global_palette_green_500 as okColor } from '@patternfly/react-tokens/dist/js/global_palette_green_500';
19
21
  import { global_warning_color_100 as warningColor } from '@patternfly/react-tokens/dist/js/global_warning_color_100';
20
22
 
@@ -18,7 +18,7 @@ import {
18
18
  TitleSizes,
19
19
  } from '@patternfly/react-core';
20
20
  import { Formik, FormikProps, useFormikContext } from 'formik';
21
- import { ExternalLinkAltIcon } from '@patternfly/react-icons';
21
+ import { ExternalLinkAltIcon } from '@patternfly/react-icons/dist/js/icons/external-link-alt-icon';
22
22
 
23
23
  import {
24
24
  httpProxyValidationSchema,
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import { ExclamationTriangleIcon } from '@patternfly/react-icons';
3
- import { global_warning_color_100 as warningColor } from '@patternfly/react-tokens';
2
+ import { ExclamationTriangleIcon } from '@patternfly/react-icons/dist/js/icons/exclamation-triangle-icon';
3
+ import { global_warning_color_100 as warningColor } from '@patternfly/react-tokens/dist/js/global_warning_color_100';
4
4
  import { getAgentStatus, getBMHStatus } from '../helpers';
5
5
  import { AgentK8sResource, BareMetalHostK8sResource } from '../../types';
6
6
  import { AGENT_BMH_NAME_LABEL_KEY } from '../common';
@@ -12,7 +12,7 @@ import {
12
12
  ToolbarFilter,
13
13
  ToolbarItem,
14
14
  } from '@patternfly/react-core';
15
- import { FilterIcon } from '@patternfly/react-icons';
15
+ import { FilterIcon } from '@patternfly/react-icons/dist/js/icons/filter-icon';
16
16
  import * as React from 'react';
17
17
  import { HostStatus, HostStatusDef } from '../../../common/components/hosts/types';
18
18
  import { agentStatus } from '../helpers/agentStatus';
@@ -1,6 +1,7 @@
1
1
  import * as React from 'react';
2
- import { ConnectedIcon, ExclamationCircleIcon } from '@patternfly/react-icons';
3
- import { global_danger_color_100 as dangerColor } from '@patternfly/react-tokens';
2
+ import { ConnectedIcon } from '@patternfly/react-icons/dist/js/icons/connected-icon';
3
+ import { ExclamationCircleIcon } from '@patternfly/react-icons/dist/js/icons/exclamation-circle-icon';
4
+ import { global_danger_color_100 as dangerColor } from '@patternfly/react-tokens/dist/js/global_danger_color_100';
4
5
  import { hostStatus } from '../../../common';
5
6
  import { HostStatus } from '../../../common/components/hosts/types';
6
7
  import { TFunction } from 'i18next';
@@ -135,8 +135,14 @@ export const getAICluster = ({
135
135
  name: clusterDeployment.spec?.clusterName,
136
136
  baseDnsDomain: clusterDeployment.spec?.baseDomain,
137
137
  openshiftVersion: installVersion,
138
- apiVip: agentClusterInstall?.status?.apiVIP || agentClusterInstall?.spec?.apiVIP,
139
- ingressVip: agentClusterInstall?.status?.ingressVIP || agentClusterInstall?.spec?.apiVIP,
138
+ apiVips: [
139
+ {
140
+ ip: agentClusterInstall?.status?.apiVIP || agentClusterInstall?.spec?.apiVIP,
141
+ },
142
+ ],
143
+ ingressVips: [
144
+ { ip: agentClusterInstall?.status?.ingressVIP || agentClusterInstall?.spec?.apiVIP },
145
+ ],
140
146
  highAvailabilityMode:
141
147
  agentClusterInstall?.spec?.provisionRequirements?.controlPlaneAgents === 1 ? 'None' : 'Full',
142
148
  status,
@@ -16,7 +16,8 @@ import {
16
16
  StackItem,
17
17
  Title,
18
18
  } from '@patternfly/react-core';
19
- import { ErrorCircleOIcon, UploadIcon } from '@patternfly/react-icons';
19
+ import { ErrorCircleOIcon } from '@patternfly/react-icons/dist/js/icons/error-circle-o-icon';
20
+ import { UploadIcon } from '@patternfly/react-icons/dist/js/icons/upload-icon';
20
21
  import jsYaml from 'js-yaml';
21
22
  import { saveAs } from 'file-saver';
22
23
 
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { Alert, AlertVariant } from '@patternfly/react-core';
3
- import { ExternalLinkAltIcon } from '@patternfly/react-icons';
3
+ import { ExternalLinkAltIcon } from '@patternfly/react-icons/dist/js/icons/external-link-alt-icon';
4
4
  import { Trans } from 'react-i18next';
5
5
 
6
6
  import { useTranslation } from '../../../../common/hooks/use-translation-wrapper';
@@ -7,7 +7,7 @@ import {
7
7
  ButtonVariant,
8
8
  AlertActionCloseButton,
9
9
  } from '@patternfly/react-core';
10
- import { ExternalLinkAltIcon } from '@patternfly/react-icons';
10
+ import { ExternalLinkAltIcon } from '@patternfly/react-icons/dist/js/icons/external-link-alt-icon';
11
11
 
12
12
  import { useTranslation } from '../../../../common/hooks/use-translation-wrapper';
13
13
  import { AgentServiceConfigConditionType } from '../../../types';
@@ -9,7 +9,8 @@ import {
9
9
  Checkbox,
10
10
  TextInput,
11
11
  } from '@patternfly/react-core';
12
- import { ExternalLinkAltIcon, HelpIcon } from '@patternfly/react-icons';
12
+ import { ExternalLinkAltIcon } from '@patternfly/react-icons/dist/js/icons/external-link-alt-icon';
13
+ import { HelpIcon } from '@patternfly/react-icons/dist/js/icons/help-icon';
13
14
 
14
15
  import { useTranslation } from '../../../../common/hooks/use-translation-wrapper';
15
16
  import { CimConfigurationFormProps } from './types';
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { useHistory } from 'react-router-dom';
3
3
  import { Alert, AlertActionLink, AlertVariant } from '@patternfly/react-core';
4
- import { ExternalLinkAltIcon } from '@patternfly/react-icons';
4
+ import { ExternalLinkAltIcon } from '@patternfly/react-icons/dist/js/icons/external-link-alt-icon';
5
5
 
6
6
  import { useTranslation } from '../../../../common/hooks/use-translation-wrapper';
7
7
 
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { Button, Flex, FlexItem, Popover } from '@patternfly/react-core';
3
- import { InfoCircleIcon } from '@patternfly/react-icons';
3
+ import { InfoCircleIcon } from '@patternfly/react-icons/dist/js/icons/info-circle-icon';
4
4
  import { Link } from 'react-router-dom';
5
5
  import { sortable } from '@patternfly/react-table';
6
6
  import { global_palette_blue_300 as blueInfoColor } from '@patternfly/react-tokens/dist/js/global_palette_blue_300';
@@ -17,6 +17,7 @@ const NewFeatureSupportLevelsAPI = {
17
17
  openshift_version: openshiftVersion,
18
18
  cpu_architecture: cpuArchitecture,
19
19
  platform_type: platformType,
20
+ ...(platformType === 'external' ? { external_platform_name: 'oci' } : {}),
20
21
  },
21
22
  },
22
23
  );
@@ -10,7 +10,7 @@ import {
10
10
  Stack,
11
11
  StackItem,
12
12
  } from '@patternfly/react-core';
13
- import { ExternalLinkAltIcon } from '@patternfly/react-icons';
13
+ import { ExternalLinkAltIcon } from '@patternfly/react-icons/dist/js/icons/external-link-alt-icon';
14
14
  import { Formik, FormikHelpers } from 'formik';
15
15
  import {
16
16
  ImageCreateParams,
@@ -13,7 +13,7 @@ import {
13
13
  HelperText,
14
14
  HelperTextItem,
15
15
  } from '@patternfly/react-core';
16
- import { InfoCircleIcon } from '@patternfly/react-icons';
16
+ import { InfoCircleIcon } from '@patternfly/react-icons/dist/js/icons/info-circle-icon';
17
17
  import { PrismCode, SimpleAIPrismTheme } from '../ui';
18
18
  import { useTranslation } from '../../hooks/use-translation-wrapper';
19
19
  import { Trans } from 'react-i18next';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { ExternalLinkAltIcon } from '@patternfly/react-icons';
2
+ import { ExternalLinkAltIcon } from '@patternfly/react-icons/dist/js/icons/external-link-alt-icon';
3
3
  import {
4
4
  Flex,
5
5
  FlexItem,
@@ -1,13 +1,9 @@
1
1
  import React from 'react';
2
- import {
3
- ExclamationCircleIcon,
4
- ExclamationTriangleIcon,
5
- ExternalLinkAltIcon,
6
- } from '@patternfly/react-icons';
7
- import {
8
- global_warning_color_100 as warningColor,
9
- global_danger_color_100 as dangerColor,
10
- } from '@patternfly/react-tokens';
2
+ import { ExclamationCircleIcon } from '@patternfly/react-icons/dist/js/icons/exclamation-circle-icon';
3
+ import { ExclamationTriangleIcon } from '@patternfly/react-icons/dist/js/icons/exclamation-triangle-icon';
4
+ import { ExternalLinkAltIcon } from '@patternfly/react-icons/dist/js/icons/external-link-alt-icon';
5
+ import { global_warning_color_100 as warningColor } from '@patternfly/react-tokens/dist/js/global_warning_color_100';
6
+ import { global_danger_color_100 as dangerColor } from '@patternfly/react-tokens/dist/js/global_danger_color_100';
11
7
  import { OPENSHIFT_LIFE_CYCLE_DATES_LINK } from '../../config';
12
8
  import { OpenshiftVersionOptionType } from '../../types';
13
9
  import { SelectField } from '../ui';
@@ -4,7 +4,7 @@ import { Credentials, Cluster } from '@openshift-assisted/types/assisted-install
4
4
  import { LoadingState, ErrorState } from '../../components/ui/uiState';
5
5
  import { DetailList, DetailItem } from '../../components/ui/DetailList';
6
6
  import { TroubleshootingOpenshiftConsoleButton } from './ConsoleModal';
7
- import { ExternalLinkAltIcon } from '@patternfly/react-icons';
7
+ import { ExternalLinkAltIcon } from '@patternfly/react-icons/dist/js/icons/external-link-alt-icon';
8
8
  import { useTranslation } from '../../hooks/use-translation-wrapper';
9
9
 
10
10
  type ClusterCredentialsProps = {
@@ -7,7 +7,7 @@ import {
7
7
  ModalVariant,
8
8
  ExpandableSection,
9
9
  } from '@patternfly/react-core';
10
- import { InfoCircleIcon } from '@patternfly/react-icons';
10
+ import { InfoCircleIcon } from '@patternfly/react-icons/dist/js/icons/info-circle-icon';
11
11
  import { removeProtocolFromURL } from '../../api';
12
12
  import { ToolbarButton } from '../ui/Toolbar';
13
13
  import PrismCode from '../ui/PrismCode';
@@ -3,12 +3,10 @@ import { EventListFetchProps } from '../../types';
3
3
  import React from 'react';
4
4
  import { EventsModal } from '../ui';
5
5
  import { Button, ButtonVariant, Popover, Text, TextContent } from '@patternfly/react-core';
6
- import {
7
- CheckCircleIcon,
8
- ExclamationCircleIcon,
9
- InProgressIcon,
10
- PendingIcon,
11
- } from '@patternfly/react-icons';
6
+ import { CheckCircleIcon } from '@patternfly/react-icons/dist/js/icons/check-circle-icon';
7
+ import { ExclamationCircleIcon } from '@patternfly/react-icons/dist/js/icons/exclamation-circle-icon';
8
+ import { InProgressIcon } from '@patternfly/react-icons/dist/js/icons/in-progress-icon';
9
+ import { PendingIcon } from '@patternfly/react-icons/dist/js/icons/pending-icon';
12
10
  import { global_success_color_100 as okColor } from '@patternfly/react-tokens/dist/esm/global_success_color_100';
13
11
  import { global_danger_color_100 as dangerColor } from '@patternfly/react-tokens/dist/esm/global_danger_color_100';
14
12
  import ClusterProgressItem from './ClusterProgressItem';
@@ -1,5 +1,4 @@
1
1
  import React from 'react';
2
- import { saveAs } from 'file-saver';
3
2
  import { Button, ButtonVariant } from '@patternfly/react-core';
4
3
  import { canDownloadKubeconfig } from '../hosts/utils';
5
4
  import { useAlerts } from '../AlertsContextProvider';
@@ -7,9 +6,10 @@ import { Cluster } from '@openshift-assisted/types/assisted-installer-service';
7
6
  import { isInOcm } from '../../api/axiosClient';
8
7
  import { getApiErrorMessage, handleApiError } from '../../api/utils';
9
8
  import ClustersAPI from '../../api/assisted-service/ClustersAPI';
10
- import { AxiosResponseHeaders } from 'axios';
9
+ import { AxiosHeaderValue, AxiosHeaders, AxiosResponseHeaders } from 'axios';
11
10
  import { useTranslation } from '../../hooks/use-translation-wrapper';
12
11
  import { TFunction } from 'i18next';
12
+ import { downloadFile } from '../../utils';
13
13
 
14
14
  type KubeconfigDownloadProps = {
15
15
  className?: string;
@@ -22,10 +22,20 @@ type KubeconfigDownloadProps = {
22
22
  const getKubeconfigFileName = (
23
23
  headers:
24
24
  | AxiosResponseHeaders
25
- | Partial<Record<string, string> & { 'set-cookie'?: string[] | undefined }>,
25
+ | Partial<Record<string, string> & { 'set-cookie'?: string[] | undefined }>
26
+ | Partial<
27
+ AxiosHeaders & {
28
+ Server: AxiosHeaderValue;
29
+ 'Content-Type': AxiosHeaderValue;
30
+ 'Content-Length': AxiosHeaderValue;
31
+ 'Cache-Control': AxiosHeaderValue;
32
+ 'Content-Encoding': AxiosHeaderValue;
33
+ }
34
+ >,
26
35
  ) => {
27
36
  const fileNameMatch =
28
- headers['content-disposition'] && headers['content-disposition'].match(/filename=".*"/);
37
+ (headers['content-disposition'] as string) &&
38
+ (headers['content-disposition'] as string).match(/filename=".*"/);
29
39
  return fileNameMatch ? fileNameMatch[0].slice(10, -1) : 'kubeconfig';
30
40
  };
31
41
 
@@ -46,12 +56,12 @@ const KubeconfigDownload: React.FC<KubeconfigDownloadProps> = ({
46
56
  clusterId,
47
57
  fileName: 'kubeconfig',
48
58
  });
49
- saveAs(data.url);
59
+ downloadFile(data.url);
50
60
  } else {
51
61
  const response = await ClustersAPI.downloadClusterCredentials(clusterId, 'kubeconfig');
52
62
  const fileName = getKubeconfigFileName(response.headers);
53
63
 
54
- saveAs(response.data, fileName);
64
+ downloadFile('', response.data, fileName);
55
65
  }
56
66
  } catch (e) {
57
67
  handleApiError(e, (e) => {
@@ -1,15 +1,11 @@
1
1
  import React from 'react';
2
2
  import { Button, ButtonVariant, List, ListItem, Popover } from '@patternfly/react-core';
3
- import {
4
- CheckCircleIcon,
5
- ExclamationCircleIcon,
6
- InProgressIcon,
7
- PendingIcon,
8
- } from '@patternfly/react-icons';
9
- import {
10
- global_danger_color_100 as dangerColor,
11
- global_success_color_100 as okColor,
12
- } from '@patternfly/react-tokens';
3
+ import { CheckCircleIcon } from '@patternfly/react-icons/dist/js/icons/check-circle-icon';
4
+ import { ExclamationCircleIcon } from '@patternfly/react-icons/dist/js/icons/exclamation-circle-icon';
5
+ import { InProgressIcon } from '@patternfly/react-icons/dist/js/icons/in-progress-icon';
6
+ import { PendingIcon } from '@patternfly/react-icons/dist/js/icons/pending-icon';
7
+ import { global_danger_color_100 as dangerColor } from '@patternfly/react-tokens/dist/js/global_danger_color_100';
8
+ import { global_success_color_100 as okColor } from '@patternfly/react-tokens/dist/js/global_success_color_100';
13
9
  import { pluralize } from 'humanize-plus';
14
10
  import { TFunction } from 'i18next';
15
11
  import {
@@ -1,6 +1,8 @@
1
1
  import React from 'react';
2
2
  import { Host, HostRole } from '@openshift-assisted/types/assisted-installer-service';
3
- import { CheckCircleIcon, ExclamationCircleIcon, InProgressIcon } from '@patternfly/react-icons';
3
+ import { CheckCircleIcon } from '@patternfly/react-icons/dist/js/icons/check-circle-icon';
4
+ import { ExclamationCircleIcon } from '@patternfly/react-icons/dist/js/icons/exclamation-circle-icon';
5
+ import { InProgressIcon } from '@patternfly/react-icons/dist/js/icons/in-progress-icon';
4
6
  import { global_danger_color_100 as dangerColor } from '@patternfly/react-tokens/dist/esm/global_danger_color_100';
5
7
  import { global_success_color_100 as okColor } from '@patternfly/react-tokens/dist/esm/global_success_color_100';
6
8
  import ClusterProgressItem from './ClusterProgressItem';
@@ -1,16 +1,12 @@
1
1
  import React from 'react';
2
2
  import lodashValues from 'lodash-es/values.js';
3
3
  import { Button, ButtonVariant } from '@patternfly/react-core';
4
- import {
5
- CheckCircleIcon,
6
- ExclamationCircleIcon,
7
- ExclamationTriangleIcon,
8
- } from '@patternfly/react-icons';
9
- import {
10
- global_success_color_100 as okColor,
11
- global_danger_color_100 as dangerColor,
12
- global_warning_color_100 as warningColor,
13
- } from '@patternfly/react-tokens';
4
+ import { CheckCircleIcon } from '@patternfly/react-icons/dist/js/icons/check-circle-icon';
5
+ import { ExclamationCircleIcon } from '@patternfly/react-icons/dist/js/icons/exclamation-circle-icon';
6
+ import { ExclamationTriangleIcon } from '@patternfly/react-icons/dist/js/icons/exclamation-triangle-icon';
7
+ import { global_success_color_100 as okColor } from '@patternfly/react-tokens/dist/js/global_success_color_100';
8
+ import { global_danger_color_100 as dangerColor } from '@patternfly/react-tokens/dist/js/global_danger_color_100';
9
+ import { global_warning_color_100 as warningColor } from '@patternfly/react-tokens/dist/js/global_warning_color_100';
14
10
  import {
15
11
  ValidationsInfo as ClusterValidationsInfo,
16
12
  Validation as ClusterValidation,
@@ -9,10 +9,10 @@ import { FeatureSupportLevelBadge } from '../../featureSupportLevels';
9
9
  import { useTranslation } from '../../../hooks/use-translation-wrapper';
10
10
  import { TFunction } from 'i18next';
11
11
  import { getVipValidationsById } from '../../clusterConfiguration';
12
- import { selectApiVip } from '../../../selectors';
12
+ import { selectApiVip, selectIngressVip } from '../../../selectors';
13
13
 
14
14
  interface VipStaticValueProps {
15
- vipName: 'apiVip' | 'ingressVip';
15
+ vipName: 'apiVips' | 'ingressVips';
16
16
  cluster: Cluster;
17
17
  validationErrorMessage?: string;
18
18
  }
@@ -124,12 +124,12 @@ export const VirtualIPControlGroup = ({
124
124
  label={t('ai:API IP')}
125
125
  name="apiVip"
126
126
  helperText={apiVipHelperText}
127
- value={cluster.apiVip || ''}
127
+ value={selectApiVip(cluster)}
128
128
  isValid={!apiVipFailedValidationMessage}
129
129
  isRequired
130
130
  >
131
131
  <VipStaticValue
132
- vipName="apiVip"
132
+ vipName="apiVips"
133
133
  cluster={cluster}
134
134
  validationErrorMessage={apiVipFailedValidationMessage}
135
135
  />
@@ -138,12 +138,12 @@ export const VirtualIPControlGroup = ({
138
138
  label={t('ai:Ingress IP')}
139
139
  name="ingressVip"
140
140
  helperText={ingressVipHelperText}
141
- value={cluster.ingressVip || ''}
141
+ value={selectIngressVip(cluster)}
142
142
  isValid={!ingressVipFailedValidationMessage}
143
143
  isRequired
144
144
  >
145
145
  <VipStaticValue
146
- vipName="ingressVip"
146
+ vipName="ingressVips"
147
147
  cluster={cluster}
148
148
  validationErrorMessage={ingressVipFailedValidationMessage}
149
149
  />
@@ -1,7 +1,8 @@
1
1
  import React from 'react';
2
2
  import { SupportLevel } from '@openshift-assisted/types/assisted-installer-service';
3
3
  import { FeatureId, isPreviewSupportLevel } from '../../types';
4
- import { TechnologyPreview, DeveloperPreview } from '../ui/PreviewBadge';
4
+ import { TechnologyPreview } from '../ui/TechnologyPreview';
5
+ import { DeveloperPreview } from '../ui/DeveloperPreview';
5
6
  import { useFeatureSupportLevel } from './FeatureSupportLevelContext';
6
7
 
7
8
  export type SupportLevelBadgeProps = {
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { Dropdown, DropdownItem, DropdownToggle } from '@patternfly/react-core';
3
- import { CaretDownIcon } from '@patternfly/react-icons';
3
+ import { CaretDownIcon } from '@patternfly/react-icons/dist/js/icons/caret-down-icon';
4
4
  import {
5
5
  Disk,
6
6
  DiskRole as DiskRoleValue,
@@ -1,10 +1,10 @@
1
1
  import React from 'react';
2
2
  import { Button, ButtonVariant, Popover } from '@patternfly/react-core';
3
- import { CheckCircleIcon, ExclamationCircleIcon, PendingIcon } from '@patternfly/react-icons';
4
- import {
5
- global_danger_color_100 as dangerColor,
6
- global_success_color_100 as successColor,
7
- } from '@patternfly/react-tokens';
3
+ import { CheckCircleIcon } from '@patternfly/react-icons/dist/js/icons/check-circle-icon';
4
+ import { ExclamationCircleIcon } from '@patternfly/react-icons/dist/js/icons/exclamation-circle-icon';
5
+ import { PendingIcon } from '@patternfly/react-icons/dist/js/icons/pending-icon';
6
+ import { global_danger_color_100 as dangerColor } from '@patternfly/react-tokens/dist/js/global_danger_color_100';
7
+ import { global_success_color_100 as successColor } from '@patternfly/react-tokens/dist/js/global_success_color_100';
8
8
  import { toSentence } from '../ui';
9
9
  import { hostValidationFailureHints, hostValidationLabels } from '../../config';
10
10
  import { Validation } from '../../types/hosts';