@openshift-assisted/ui-lib 2.39.1 → 2.39.3

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 (303) hide show
  1. package/build/@types/cim/components/featureSupportLevels/ACMFeatureSupportLevelProvider.d.ts.map +1 -1
  2. package/build/@types/cim/components/helpers/versions.d.ts +0 -1
  3. package/build/@types/cim/components/helpers/versions.d.ts.map +1 -1
  4. package/build/@types/common/components/clusterDetail/ClusterProgressItems.d.ts.map +1 -1
  5. package/build/@types/common/components/clusterDetail/OperatorsProgressItem.d.ts +2 -3
  6. package/build/@types/common/components/clusterDetail/OperatorsProgressItem.d.ts.map +1 -1
  7. package/build/@types/common/components/clusterWizard/types.d.ts +2 -4
  8. package/build/@types/common/components/clusterWizard/types.d.ts.map +1 -1
  9. package/build/@types/common/components/newFeatureSupportLevels/types.d.ts +1 -1
  10. package/build/@types/common/components/newFeatureSupportLevels/types.d.ts.map +1 -1
  11. package/build/@types/common/components/operators/operatorSpecs.d.ts +22 -0
  12. package/build/@types/common/components/operators/operatorSpecs.d.ts.map +1 -0
  13. package/build/@types/common/config/constants.d.ts +2 -15
  14. package/build/@types/common/config/constants.d.ts.map +1 -1
  15. package/build/@types/common/selectors/clusterSelectors.d.ts +1 -2
  16. package/build/@types/common/selectors/clusterSelectors.d.ts.map +1 -1
  17. package/build/@types/common/types/clusters.d.ts +3 -23
  18. package/build/@types/common/types/clusters.d.ts.map +1 -1
  19. package/build/@types/common/utils.d.ts +1 -0
  20. package/build/@types/common/utils.d.ts.map +1 -1
  21. package/build/@types/ocm/components/clusterConfiguration/OcmClusterProgressItems.d.ts.map +1 -1
  22. package/build/@types/ocm/components/clusterConfiguration/OcmOperatorProgressItem.d.ts +2 -3
  23. package/build/@types/ocm/components/clusterConfiguration/OcmOperatorProgressItem.d.ts.map +1 -1
  24. package/build/@types/ocm/components/clusterConfiguration/operators/OperatorCheckbox.d.ts +12 -0
  25. package/build/@types/ocm/components/clusterConfiguration/operators/OperatorCheckbox.d.ts.map +1 -0
  26. package/build/@types/ocm/components/clusterConfiguration/operators/bundleSpecs.d.ts +13 -0
  27. package/build/@types/ocm/components/clusterConfiguration/operators/bundleSpecs.d.ts.map +1 -0
  28. package/build/@types/ocm/components/clusterConfiguration/operators/utils.d.ts +6 -8
  29. package/build/@types/ocm/components/clusterConfiguration/operators/utils.d.ts.map +1 -1
  30. package/build/@types/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.d.ts +1 -1
  31. package/build/@types/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.d.ts.map +1 -1
  32. package/build/@types/ocm/components/clusterConfiguration/review/ReviewSummary.d.ts.map +1 -1
  33. package/build/@types/ocm/components/clusterDetail/ProgressBarAlerts.d.ts.map +1 -1
  34. package/build/@types/ocm/components/clusterWizard/ClusterWizardContextProvider.d.ts.map +1 -1
  35. package/build/@types/ocm/components/clusterWizard/Operators.d.ts +1 -3
  36. package/build/@types/ocm/components/clusterWizard/Operators.d.ts.map +1 -1
  37. package/build/@types/ocm/components/clusterWizard/OperatorsBundle.d.ts +9 -0
  38. package/build/@types/ocm/components/clusterWizard/OperatorsBundle.d.ts.map +1 -0
  39. package/build/@types/ocm/components/clusterWizard/OperatorsSelect.d.ts +9 -0
  40. package/build/@types/ocm/components/clusterWizard/OperatorsSelect.d.ts.map +1 -0
  41. package/build/@types/ocm/components/clusterWizard/OperatorsStep.d.ts +1 -1
  42. package/build/@types/ocm/components/clusterWizard/OperatorsStep.d.ts.map +1 -1
  43. package/build/@types/ocm/components/clusterWizard/wizardTransition.d.ts +1 -1
  44. package/build/@types/ocm/components/clusterWizard/wizardTransition.d.ts.map +1 -1
  45. package/build/@types/ocm/components/clusters/utils.d.ts +1 -5
  46. package/build/@types/ocm/components/clusters/utils.d.ts.map +1 -1
  47. package/build/@types/ocm/components/featureSupportLevels/FeatureSupportLevelProvider.d.ts.map +1 -1
  48. package/build/@types/ocm/components/featureSupportLevels/featureStateUtils.d.ts +1 -8
  49. package/build/@types/ocm/components/featureSupportLevels/featureStateUtils.d.ts.map +1 -1
  50. package/build/@types/ocm/components/utils.d.ts +0 -2
  51. package/build/@types/ocm/components/utils.d.ts.map +1 -1
  52. package/build/@types/ocm/services/OperatorsService.d.ts +1 -10
  53. package/build/@types/ocm/services/OperatorsService.d.ts.map +1 -1
  54. package/build/cjs/cim/components/featureSupportLevels/ACMFeatureSupportLevelProvider.js +2 -1
  55. package/build/cjs/cim/components/featureSupportLevels/ACMFeatureSupportLevelProvider.js.map +1 -1
  56. package/build/cjs/cim/components/helpers/versions.js +3 -7
  57. package/build/cjs/cim/components/helpers/versions.js.map +1 -1
  58. package/build/cjs/common/components/clusterDetail/ClusterProgressItems.js +1 -1
  59. package/build/cjs/common/components/clusterDetail/ClusterProgressItems.js.map +1 -1
  60. package/build/cjs/common/components/clusterDetail/OperatorsProgressItem.js +7 -8
  61. package/build/cjs/common/components/clusterDetail/OperatorsProgressItem.js.map +1 -1
  62. package/build/cjs/common/components/operators/operatorSpecs.js +215 -0
  63. package/build/cjs/common/components/operators/operatorSpecs.js.map +1 -0
  64. package/build/cjs/common/config/constants.js +6 -87
  65. package/build/cjs/common/config/constants.js.map +1 -1
  66. package/build/cjs/common/selectors/clusterSelectors.js.map +1 -1
  67. package/build/cjs/common/types/clusters.js.map +1 -1
  68. package/build/cjs/common/utils.js +6 -1
  69. package/build/cjs/common/utils.js.map +1 -1
  70. package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageModal.js +1 -1
  71. package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageModal.js.map +1 -1
  72. package/build/cjs/ocm/components/clusterConfiguration/OcmClusterProgressItems.js +1 -1
  73. package/build/cjs/ocm/components/clusterConfiguration/OcmClusterProgressItems.js.map +1 -1
  74. package/build/cjs/ocm/components/clusterConfiguration/OcmOperatorProgressItem.js +6 -8
  75. package/build/cjs/ocm/components/clusterConfiguration/OcmOperatorProgressItem.js.map +1 -1
  76. package/build/cjs/ocm/components/clusterConfiguration/operators/OperatorCheckbox.js +91 -0
  77. package/build/cjs/ocm/components/clusterConfiguration/operators/OperatorCheckbox.js.map +1 -0
  78. package/build/cjs/ocm/components/clusterConfiguration/operators/bundleSpecs.js +39 -0
  79. package/build/cjs/ocm/components/clusterConfiguration/operators/bundleSpecs.js.map +1 -0
  80. package/build/cjs/ocm/components/clusterConfiguration/operators/utils.js +54 -19
  81. package/build/cjs/ocm/components/clusterConfiguration/operators/utils.js.map +1 -1
  82. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.js +24 -18
  83. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.js.map +1 -1
  84. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewSummary.js +1 -6
  85. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewSummary.js.map +1 -1
  86. package/build/cjs/ocm/components/clusterDetail/ProgressBarAlerts.js +3 -21
  87. package/build/cjs/ocm/components/clusterDetail/ProgressBarAlerts.js.map +1 -1
  88. package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js +1 -1
  89. package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js.map +1 -1
  90. package/build/cjs/ocm/components/clusterWizard/Operators.js +11 -38
  91. package/build/cjs/ocm/components/clusterWizard/Operators.js.map +1 -1
  92. package/build/cjs/ocm/components/clusterWizard/OperatorsBundle.css +6 -0
  93. package/build/cjs/ocm/components/clusterWizard/OperatorsBundle.js +123 -0
  94. package/build/cjs/ocm/components/clusterWizard/OperatorsBundle.js.map +1 -0
  95. package/build/cjs/ocm/components/clusterWizard/OperatorsSelect.js +63 -0
  96. package/build/cjs/ocm/components/clusterWizard/OperatorsSelect.js.map +1 -0
  97. package/build/cjs/ocm/components/clusterWizard/OperatorsStep.js +25 -272
  98. package/build/cjs/ocm/components/clusterWizard/OperatorsStep.js.map +1 -1
  99. package/build/cjs/ocm/components/clusterWizard/wizardTransition.js +1 -4
  100. package/build/cjs/ocm/components/clusterWizard/wizardTransition.js.map +1 -1
  101. package/build/cjs/ocm/components/clusters/utils.js +1 -14
  102. package/build/cjs/ocm/components/clusters/utils.js.map +1 -1
  103. package/build/cjs/ocm/components/featureSupportLevels/FeatureSupportLevelProvider.js +0 -1
  104. package/build/cjs/ocm/components/featureSupportLevels/FeatureSupportLevelProvider.js.map +1 -1
  105. package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js +29 -78
  106. package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js.map +1 -1
  107. package/build/cjs/ocm/components/utils.js +1 -10
  108. package/build/cjs/ocm/components/utils.js.map +1 -1
  109. package/build/cjs/ocm/services/OperatorsService.js +4 -64
  110. package/build/cjs/ocm/services/OperatorsService.js.map +1 -1
  111. package/lib/cim/components/featureSupportLevels/ACMFeatureSupportLevelProvider.tsx +2 -1
  112. package/lib/cim/components/helpers/versions.ts +1 -5
  113. package/lib/common/components/clusterDetail/ClusterProgressItems.tsx +1 -4
  114. package/lib/common/components/clusterDetail/OperatorsProgressItem.tsx +6 -12
  115. package/lib/common/components/clusterWizard/types.ts +3 -3
  116. package/lib/common/components/newFeatureSupportLevels/types.ts +4 -1
  117. package/lib/common/components/operators/operatorSpecs.tsx +343 -0
  118. package/lib/common/config/constants.ts +5 -99
  119. package/lib/common/selectors/clusterSelectors.ts +1 -2
  120. package/lib/common/types/clusters.ts +3 -23
  121. package/lib/common/utils.ts +5 -0
  122. package/lib/ocm/components/clusterConfiguration/DiscoveryImageModal.tsx +1 -1
  123. package/lib/ocm/components/clusterConfiguration/OcmClusterProgressItems.tsx +1 -4
  124. package/lib/ocm/components/clusterConfiguration/OcmOperatorProgressItem.tsx +5 -10
  125. package/lib/ocm/components/clusterConfiguration/operators/OperatorCheckbox.tsx +210 -0
  126. package/lib/ocm/components/clusterConfiguration/operators/bundleSpecs.tsx +64 -0
  127. package/lib/ocm/components/clusterConfiguration/operators/utils.tsx +88 -31
  128. package/lib/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.tsx +46 -43
  129. package/lib/ocm/components/clusterConfiguration/review/ReviewSummary.tsx +1 -15
  130. package/lib/ocm/components/clusterDetail/ProgressBarAlerts.tsx +3 -36
  131. package/lib/ocm/components/clusterWizard/ClusterWizardContextProvider.tsx +0 -1
  132. package/lib/ocm/components/clusterWizard/Operators.tsx +17 -77
  133. package/lib/ocm/components/clusterWizard/OperatorsBundle.css +6 -0
  134. package/lib/ocm/components/clusterWizard/OperatorsBundle.tsx +245 -0
  135. package/lib/ocm/components/clusterWizard/OperatorsSelect.tsx +108 -0
  136. package/lib/ocm/components/clusterWizard/OperatorsStep.tsx +38 -445
  137. package/lib/ocm/components/clusterWizard/wizardTransition.ts +0 -4
  138. package/lib/ocm/components/clusters/utils.ts +0 -19
  139. package/lib/ocm/components/featureSupportLevels/FeatureSupportLevelProvider.tsx +0 -1
  140. package/lib/ocm/components/featureSupportLevels/featureStateUtils.ts +33 -86
  141. package/lib/ocm/components/utils.ts +0 -12
  142. package/lib/ocm/services/OperatorsService.tsx +1 -100
  143. package/package.json +3 -3
  144. package/build/@types/ocm/components/clusterConfiguration/operators/AmdGpuCheckbox.d.ts +0 -8
  145. package/build/@types/ocm/components/clusterConfiguration/operators/AmdGpuCheckbox.d.ts.map +0 -1
  146. package/build/@types/ocm/components/clusterConfiguration/operators/AuthorinoCheckbox.d.ts +0 -8
  147. package/build/@types/ocm/components/clusterConfiguration/operators/AuthorinoCheckbox.d.ts.map +0 -1
  148. package/build/@types/ocm/components/clusterConfiguration/operators/CnvCheckbox.d.ts +0 -11
  149. package/build/@types/ocm/components/clusterConfiguration/operators/CnvCheckbox.d.ts.map +0 -1
  150. package/build/@types/ocm/components/clusterConfiguration/operators/CnvHostRequirements.d.ts +0 -8
  151. package/build/@types/ocm/components/clusterConfiguration/operators/CnvHostRequirements.d.ts.map +0 -1
  152. package/build/@types/ocm/components/clusterConfiguration/operators/FenceAgentsRemediationCheckbox.d.ts +0 -8
  153. package/build/@types/ocm/components/clusterConfiguration/operators/FenceAgentsRemediationCheckbox.d.ts.map +0 -1
  154. package/build/@types/ocm/components/clusterConfiguration/operators/KmmCheckbox.d.ts +0 -6
  155. package/build/@types/ocm/components/clusterConfiguration/operators/KmmCheckbox.d.ts.map +0 -1
  156. package/build/@types/ocm/components/clusterConfiguration/operators/KubeDeschedulerCheckbox.d.ts +0 -8
  157. package/build/@types/ocm/components/clusterConfiguration/operators/KubeDeschedulerCheckbox.d.ts.map +0 -1
  158. package/build/@types/ocm/components/clusterConfiguration/operators/LsoCheckbox.d.ts +0 -9
  159. package/build/@types/ocm/components/clusterConfiguration/operators/LsoCheckbox.d.ts.map +0 -1
  160. package/build/@types/ocm/components/clusterConfiguration/operators/LvmCheckbox.d.ts +0 -11
  161. package/build/@types/ocm/components/clusterConfiguration/operators/LvmCheckbox.d.ts.map +0 -1
  162. package/build/@types/ocm/components/clusterConfiguration/operators/LvmHostRequirements.d.ts +0 -7
  163. package/build/@types/ocm/components/clusterConfiguration/operators/LvmHostRequirements.d.ts.map +0 -1
  164. package/build/@types/ocm/components/clusterConfiguration/operators/MceCheckbox.d.ts +0 -12
  165. package/build/@types/ocm/components/clusterConfiguration/operators/MceCheckbox.d.ts.map +0 -1
  166. package/build/@types/ocm/components/clusterConfiguration/operators/MceRequirements.d.ts +0 -8
  167. package/build/@types/ocm/components/clusterConfiguration/operators/MceRequirements.d.ts.map +0 -1
  168. package/build/@types/ocm/components/clusterConfiguration/operators/MtvOperatorCheckbox.d.ts +0 -10
  169. package/build/@types/ocm/components/clusterConfiguration/operators/MtvOperatorCheckbox.d.ts.map +0 -1
  170. package/build/@types/ocm/components/clusterConfiguration/operators/MtvRequirements.d.ts +0 -7
  171. package/build/@types/ocm/components/clusterConfiguration/operators/MtvRequirements.d.ts.map +0 -1
  172. package/build/@types/ocm/components/clusterConfiguration/operators/NmstateCheckbox.d.ts +0 -11
  173. package/build/@types/ocm/components/clusterConfiguration/operators/NmstateCheckbox.d.ts.map +0 -1
  174. package/build/@types/ocm/components/clusterConfiguration/operators/NmstateRequirements.d.ts +0 -7
  175. package/build/@types/ocm/components/clusterConfiguration/operators/NmstateRequirements.d.ts.map +0 -1
  176. package/build/@types/ocm/components/clusterConfiguration/operators/NodeFeatureDiscoveryCheckbox.d.ts +0 -9
  177. package/build/@types/ocm/components/clusterConfiguration/operators/NodeFeatureDiscoveryCheckbox.d.ts.map +0 -1
  178. package/build/@types/ocm/components/clusterConfiguration/operators/NodeHealthcheckCheckbox.d.ts +0 -8
  179. package/build/@types/ocm/components/clusterConfiguration/operators/NodeHealthcheckCheckbox.d.ts.map +0 -1
  180. package/build/@types/ocm/components/clusterConfiguration/operators/NodeMaintenanceOperatorCheckbox.d.ts +0 -8
  181. package/build/@types/ocm/components/clusterConfiguration/operators/NodeMaintenanceOperatorCheckbox.d.ts.map +0 -1
  182. package/build/@types/ocm/components/clusterConfiguration/operators/NvidiaGpuCheckbox.d.ts +0 -9
  183. package/build/@types/ocm/components/clusterConfiguration/operators/NvidiaGpuCheckbox.d.ts.map +0 -1
  184. package/build/@types/ocm/components/clusterConfiguration/operators/OdfCheckbox.d.ts +0 -8
  185. package/build/@types/ocm/components/clusterConfiguration/operators/OdfCheckbox.d.ts.map +0 -1
  186. package/build/@types/ocm/components/clusterConfiguration/operators/OpenShiftAICheckbox.d.ts +0 -8
  187. package/build/@types/ocm/components/clusterConfiguration/operators/OpenShiftAICheckbox.d.ts.map +0 -1
  188. package/build/@types/ocm/components/clusterConfiguration/operators/OpenShiftAIRequirements.d.ts +0 -4
  189. package/build/@types/ocm/components/clusterConfiguration/operators/OpenShiftAIRequirements.d.ts.map +0 -1
  190. package/build/@types/ocm/components/clusterConfiguration/operators/OpenshiftAIAmdRequirements.d.ts +0 -4
  191. package/build/@types/ocm/components/clusterConfiguration/operators/OpenshiftAIAmdRequirements.d.ts.map +0 -1
  192. package/build/@types/ocm/components/clusterConfiguration/operators/OpenshiftAINvidiaRequirements.d.ts +0 -4
  193. package/build/@types/ocm/components/clusterConfiguration/operators/OpenshiftAINvidiaRequirements.d.ts.map +0 -1
  194. package/build/@types/ocm/components/clusterConfiguration/operators/OscCheckbox.d.ts +0 -8
  195. package/build/@types/ocm/components/clusterConfiguration/operators/OscCheckbox.d.ts.map +0 -1
  196. package/build/@types/ocm/components/clusterConfiguration/operators/PipelinesChekbox.d.ts +0 -8
  197. package/build/@types/ocm/components/clusterConfiguration/operators/PipelinesChekbox.d.ts.map +0 -1
  198. package/build/@types/ocm/components/clusterConfiguration/operators/SelfNodeRemediationCheckbox.d.ts +0 -8
  199. package/build/@types/ocm/components/clusterConfiguration/operators/SelfNodeRemediationCheckbox.d.ts.map +0 -1
  200. package/build/@types/ocm/components/clusterConfiguration/operators/ServerlessCheckbox.d.ts +0 -8
  201. package/build/@types/ocm/components/clusterConfiguration/operators/ServerlessCheckbox.d.ts.map +0 -1
  202. package/build/@types/ocm/components/clusterConfiguration/operators/ServicemeshCheckbox.d.ts +0 -9
  203. package/build/@types/ocm/components/clusterConfiguration/operators/ServicemeshCheckbox.d.ts.map +0 -1
  204. package/build/@types/ocm/components/clusterConfiguration/operators/SupportedOperators.d.ts +0 -24
  205. package/build/@types/ocm/components/clusterConfiguration/operators/SupportedOperators.d.ts.map +0 -1
  206. package/build/@types/ocm/components/clusterConfiguration/operators/VirtualizationRequirements.d.ts +0 -4
  207. package/build/@types/ocm/components/clusterConfiguration/operators/VirtualizationRequirements.d.ts.map +0 -1
  208. package/build/cjs/ocm/components/clusterConfiguration/operators/AmdGpuCheckbox.js +0 -29
  209. package/build/cjs/ocm/components/clusterConfiguration/operators/AmdGpuCheckbox.js.map +0 -1
  210. package/build/cjs/ocm/components/clusterConfiguration/operators/AuthorinoCheckbox.js +0 -33
  211. package/build/cjs/ocm/components/clusterConfiguration/operators/AuthorinoCheckbox.js.map +0 -1
  212. package/build/cjs/ocm/components/clusterConfiguration/operators/CnvCheckbox.js +0 -45
  213. package/build/cjs/ocm/components/clusterConfiguration/operators/CnvCheckbox.js.map +0 -1
  214. package/build/cjs/ocm/components/clusterConfiguration/operators/CnvHostRequirements.js +0 -55
  215. package/build/cjs/ocm/components/clusterConfiguration/operators/CnvHostRequirements.js.map +0 -1
  216. package/build/cjs/ocm/components/clusterConfiguration/operators/FenceAgentsRemediationCheckbox.js +0 -34
  217. package/build/cjs/ocm/components/clusterConfiguration/operators/FenceAgentsRemediationCheckbox.js.map +0 -1
  218. package/build/cjs/ocm/components/clusterConfiguration/operators/KmmCheckbox.js +0 -40
  219. package/build/cjs/ocm/components/clusterConfiguration/operators/KmmCheckbox.js.map +0 -1
  220. package/build/cjs/ocm/components/clusterConfiguration/operators/KubeDeschedulerCheckbox.js +0 -34
  221. package/build/cjs/ocm/components/clusterConfiguration/operators/KubeDeschedulerCheckbox.js.map +0 -1
  222. package/build/cjs/ocm/components/clusterConfiguration/operators/LsoCheckbox.js +0 -33
  223. package/build/cjs/ocm/components/clusterConfiguration/operators/LsoCheckbox.js.map +0 -1
  224. package/build/cjs/ocm/components/clusterConfiguration/operators/LvmCheckbox.js +0 -44
  225. package/build/cjs/ocm/components/clusterConfiguration/operators/LvmCheckbox.js.map +0 -1
  226. package/build/cjs/ocm/components/clusterConfiguration/operators/LvmHostRequirements.js +0 -22
  227. package/build/cjs/ocm/components/clusterConfiguration/operators/LvmHostRequirements.js.map +0 -1
  228. package/build/cjs/ocm/components/clusterConfiguration/operators/MceCheckbox.js +0 -35
  229. package/build/cjs/ocm/components/clusterConfiguration/operators/MceCheckbox.js.map +0 -1
  230. package/build/cjs/ocm/components/clusterConfiguration/operators/MceRequirements.js +0 -54
  231. package/build/cjs/ocm/components/clusterConfiguration/operators/MceRequirements.js.map +0 -1
  232. package/build/cjs/ocm/components/clusterConfiguration/operators/MtvOperatorCheckbox.js +0 -43
  233. package/build/cjs/ocm/components/clusterConfiguration/operators/MtvOperatorCheckbox.js.map +0 -1
  234. package/build/cjs/ocm/components/clusterConfiguration/operators/MtvRequirements.js +0 -51
  235. package/build/cjs/ocm/components/clusterConfiguration/operators/MtvRequirements.js.map +0 -1
  236. package/build/cjs/ocm/components/clusterConfiguration/operators/NmstateCheckbox.js +0 -35
  237. package/build/cjs/ocm/components/clusterConfiguration/operators/NmstateCheckbox.js.map +0 -1
  238. package/build/cjs/ocm/components/clusterConfiguration/operators/NmstateRequirements.js +0 -48
  239. package/build/cjs/ocm/components/clusterConfiguration/operators/NmstateRequirements.js.map +0 -1
  240. package/build/cjs/ocm/components/clusterConfiguration/operators/NodeFeatureDiscoveryCheckbox.js +0 -33
  241. package/build/cjs/ocm/components/clusterConfiguration/operators/NodeFeatureDiscoveryCheckbox.js.map +0 -1
  242. package/build/cjs/ocm/components/clusterConfiguration/operators/NodeHealthcheckCheckbox.js +0 -34
  243. package/build/cjs/ocm/components/clusterConfiguration/operators/NodeHealthcheckCheckbox.js.map +0 -1
  244. package/build/cjs/ocm/components/clusterConfiguration/operators/NodeMaintenanceOperatorCheckbox.js +0 -34
  245. package/build/cjs/ocm/components/clusterConfiguration/operators/NodeMaintenanceOperatorCheckbox.js.map +0 -1
  246. package/build/cjs/ocm/components/clusterConfiguration/operators/NvidiaGpuCheckbox.js +0 -34
  247. package/build/cjs/ocm/components/clusterConfiguration/operators/NvidiaGpuCheckbox.js.map +0 -1
  248. package/build/cjs/ocm/components/clusterConfiguration/operators/OdfCheckbox.js +0 -43
  249. package/build/cjs/ocm/components/clusterConfiguration/operators/OdfCheckbox.js.map +0 -1
  250. package/build/cjs/ocm/components/clusterConfiguration/operators/OpenShiftAICheckbox.js +0 -35
  251. package/build/cjs/ocm/components/clusterConfiguration/operators/OpenShiftAICheckbox.js.map +0 -1
  252. package/build/cjs/ocm/components/clusterConfiguration/operators/OpenShiftAIRequirements.js +0 -19
  253. package/build/cjs/ocm/components/clusterConfiguration/operators/OpenShiftAIRequirements.js.map +0 -1
  254. package/build/cjs/ocm/components/clusterConfiguration/operators/OpenshiftAIAmdRequirements.js +0 -32
  255. package/build/cjs/ocm/components/clusterConfiguration/operators/OpenshiftAIAmdRequirements.js.map +0 -1
  256. package/build/cjs/ocm/components/clusterConfiguration/operators/OpenshiftAINvidiaRequirements.js +0 -31
  257. package/build/cjs/ocm/components/clusterConfiguration/operators/OpenshiftAINvidiaRequirements.js.map +0 -1
  258. package/build/cjs/ocm/components/clusterConfiguration/operators/OscCheckbox.js +0 -38
  259. package/build/cjs/ocm/components/clusterConfiguration/operators/OscCheckbox.js.map +0 -1
  260. package/build/cjs/ocm/components/clusterConfiguration/operators/PipelinesChekbox.js +0 -33
  261. package/build/cjs/ocm/components/clusterConfiguration/operators/PipelinesChekbox.js.map +0 -1
  262. package/build/cjs/ocm/components/clusterConfiguration/operators/SelfNodeRemediationCheckbox.js +0 -34
  263. package/build/cjs/ocm/components/clusterConfiguration/operators/SelfNodeRemediationCheckbox.js.map +0 -1
  264. package/build/cjs/ocm/components/clusterConfiguration/operators/ServerlessCheckbox.js +0 -33
  265. package/build/cjs/ocm/components/clusterConfiguration/operators/ServerlessCheckbox.js.map +0 -1
  266. package/build/cjs/ocm/components/clusterConfiguration/operators/ServicemeshCheckbox.js +0 -33
  267. package/build/cjs/ocm/components/clusterConfiguration/operators/ServicemeshCheckbox.js.map +0 -1
  268. package/build/cjs/ocm/components/clusterConfiguration/operators/SupportedOperators.js +0 -101
  269. package/build/cjs/ocm/components/clusterConfiguration/operators/SupportedOperators.js.map +0 -1
  270. package/build/cjs/ocm/components/clusterConfiguration/operators/VirtualizationRequirements.js +0 -26
  271. package/build/cjs/ocm/components/clusterConfiguration/operators/VirtualizationRequirements.js.map +0 -1
  272. package/lib/ocm/components/clusterConfiguration/operators/AmdGpuCheckbox.tsx +0 -64
  273. package/lib/ocm/components/clusterConfiguration/operators/AuthorinoCheckbox.tsx +0 -63
  274. package/lib/ocm/components/clusterConfiguration/operators/CnvCheckbox.tsx +0 -105
  275. package/lib/ocm/components/clusterConfiguration/operators/CnvHostRequirements.tsx +0 -64
  276. package/lib/ocm/components/clusterConfiguration/operators/FenceAgentsRemediationCheckbox.tsx +0 -71
  277. package/lib/ocm/components/clusterConfiguration/operators/KmmCheckbox.tsx +0 -69
  278. package/lib/ocm/components/clusterConfiguration/operators/KubeDeschedulerCheckbox.tsx +0 -66
  279. package/lib/ocm/components/clusterConfiguration/operators/LsoCheckbox.tsx +0 -64
  280. package/lib/ocm/components/clusterConfiguration/operators/LvmCheckbox.tsx +0 -112
  281. package/lib/ocm/components/clusterConfiguration/operators/LvmHostRequirements.tsx +0 -38
  282. package/lib/ocm/components/clusterConfiguration/operators/MceCheckbox.tsx +0 -90
  283. package/lib/ocm/components/clusterConfiguration/operators/MceRequirements.tsx +0 -61
  284. package/lib/ocm/components/clusterConfiguration/operators/MtvOperatorCheckbox.tsx +0 -94
  285. package/lib/ocm/components/clusterConfiguration/operators/MtvRequirements.tsx +0 -52
  286. package/lib/ocm/components/clusterConfiguration/operators/NmstateCheckbox.tsx +0 -82
  287. package/lib/ocm/components/clusterConfiguration/operators/NmstateRequirements.tsx +0 -53
  288. package/lib/ocm/components/clusterConfiguration/operators/NodeFeatureDiscoveryCheckbox.tsx +0 -73
  289. package/lib/ocm/components/clusterConfiguration/operators/NodeHealthcheckCheckbox.tsx +0 -66
  290. package/lib/ocm/components/clusterConfiguration/operators/NodeMaintenanceOperatorCheckbox.tsx +0 -66
  291. package/lib/ocm/components/clusterConfiguration/operators/NvidiaGpuCheckbox.tsx +0 -70
  292. package/lib/ocm/components/clusterConfiguration/operators/OdfCheckbox.tsx +0 -82
  293. package/lib/ocm/components/clusterConfiguration/operators/OpenShiftAICheckbox.tsx +0 -67
  294. package/lib/ocm/components/clusterConfiguration/operators/OpenShiftAIRequirements.tsx +0 -22
  295. package/lib/ocm/components/clusterConfiguration/operators/OpenshiftAIAmdRequirements.tsx +0 -36
  296. package/lib/ocm/components/clusterConfiguration/operators/OpenshiftAINvidiaRequirements.tsx +0 -37
  297. package/lib/ocm/components/clusterConfiguration/operators/OscCheckbox.tsx +0 -73
  298. package/lib/ocm/components/clusterConfiguration/operators/PipelinesChekbox.tsx +0 -63
  299. package/lib/ocm/components/clusterConfiguration/operators/SelfNodeRemediationCheckbox.tsx +0 -68
  300. package/lib/ocm/components/clusterConfiguration/operators/ServerlessCheckbox.tsx +0 -62
  301. package/lib/ocm/components/clusterConfiguration/operators/ServicemeshCheckbox.tsx +0 -64
  302. package/lib/ocm/components/clusterConfiguration/operators/SupportedOperators.tsx +0 -140
  303. package/lib/ocm/components/clusterConfiguration/operators/VirtualizationRequirements.tsx +0 -35
@@ -1,82 +0,0 @@
1
- import React from 'react';
2
- import { FormGroup, HelperText, HelperTextItem, Tooltip } from '@patternfly/react-core';
3
- import { ExternalLinkAltIcon } from '@patternfly/react-icons/dist/js/icons/external-link-alt-icon';
4
- import {
5
- getFieldId,
6
- PopoverIcon,
7
- ODF_REQUIREMENTS_LINK,
8
- ODF_LINK,
9
- OperatorsValues,
10
- } from '../../../../common';
11
- import { OcmCheckboxField } from '../../ui/OcmFormFields';
12
- import NewFeatureSupportLevelBadge from '../../../../common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge';
13
- import { SupportLevel } from '@openshift-assisted/types/./assisted-installer-service';
14
- import { useFormikContext } from 'formik';
15
- import { useNewFeatureSupportLevel } from '../../../../common/components/newFeatureSupportLevels';
16
-
17
- const ODF_FIELD_NAME = 'useOpenShiftDataFoundation';
18
-
19
- const OdfLabel = ({
20
- disabledReason,
21
- supportLevel,
22
- }: {
23
- disabledReason?: string;
24
- supportLevel?: SupportLevel;
25
- }) => (
26
- <>
27
- <Tooltip hidden={!disabledReason} content={disabledReason}>
28
- <span>OpenShift Data Foundation </span>
29
- </Tooltip>
30
- <PopoverIcon
31
- component={'a'}
32
- headerContent="Additional requirements"
33
- bodyContent={
34
- <a href={ODF_REQUIREMENTS_LINK} target="_blank" rel="noopener noreferrer">
35
- Learn more about the requirements for OpenShift Data Foundation <ExternalLinkAltIcon />.
36
- </a>
37
- }
38
- />
39
- <NewFeatureSupportLevelBadge featureId="ODF" supportLevel={supportLevel} />
40
- </>
41
- );
42
-
43
- const OdfHelperText = () => {
44
- return (
45
- <HelperText>
46
- <HelperTextItem variant="indeterminate">
47
- Persistent software-defined storage for hybrid applications.{' '}
48
- <a href={ODF_LINK} target="_blank" rel="noopener noreferrer">
49
- {'Learn more'} <ExternalLinkAltIcon />
50
- </a>
51
- </HelperTextItem>
52
- </HelperText>
53
- );
54
- };
55
-
56
- const OdfCheckbox = ({
57
- disabledReason,
58
- supportLevel,
59
- }: {
60
- disabledReason?: string;
61
- supportLevel?: SupportLevel | undefined;
62
- }) => {
63
- const { setFieldValue } = useFormikContext<OperatorsValues>();
64
- const featureSupportLevelData = useNewFeatureSupportLevel();
65
- const fieldId = getFieldId(ODF_FIELD_NAME, 'input');
66
- const selectLsoOperator = (checked: boolean) => {
67
- if (featureSupportLevelData.isFeatureSupported('LSO')) setFieldValue('useLso', checked);
68
- };
69
- return (
70
- <FormGroup isInline fieldId={fieldId}>
71
- <OcmCheckboxField
72
- name={ODF_FIELD_NAME}
73
- label={<OdfLabel disabledReason={disabledReason} supportLevel={supportLevel} />}
74
- isDisabled={!!disabledReason}
75
- helperText={<OdfHelperText />}
76
- onChange={selectLsoOperator}
77
- />
78
- </FormGroup>
79
- );
80
- };
81
-
82
- export default OdfCheckbox;
@@ -1,67 +0,0 @@
1
- import React from 'react';
2
- import { FormGroup, HelperText, HelperTextItem, Tooltip } from '@patternfly/react-core';
3
- import { ExternalLinkAltIcon } from '@patternfly/react-icons/dist/js/icons/external-link-alt-icon';
4
- import { getFieldId, PopoverIcon, OPENSHIFT_AI_LINK } from '../../../../common';
5
- import OpenShiftAIRequirements from './OpenShiftAIRequirements';
6
- import { OcmCheckboxField } from '../../ui/OcmFormFields';
7
- import NewFeatureSupportLevelBadge from '../../../../common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge';
8
- import { SupportLevel } from '@openshift-assisted/types/assisted-installer-service';
9
-
10
- const OPENSHIFT_AI_FIELD_NAME = 'useOpenShiftAI';
11
-
12
- type OpenShiftAILabelProps = {
13
- disabledReason?: string;
14
- supportLevel?: SupportLevel;
15
- };
16
-
17
- const OpenShiftAILabel = ({ disabledReason, supportLevel }: OpenShiftAILabelProps) => {
18
- return (
19
- <>
20
- <Tooltip hidden={!disabledReason} content={disabledReason}>
21
- <span>OpenShift AI </span>
22
- </Tooltip>
23
- <PopoverIcon
24
- component={'a'}
25
- headerContent="Requirements and dependencies"
26
- bodyContent={<OpenShiftAIRequirements />}
27
- />
28
- <NewFeatureSupportLevelBadge featureId="OPENSHIFT_AI" supportLevel={supportLevel} />
29
- </>
30
- );
31
- };
32
-
33
- const OpenShiftAIHelperText = () => {
34
- return (
35
- <HelperText>
36
- <HelperTextItem variant="indeterminate">
37
- Train, serve, monitor and manage AI/ML models and applications.{' '}
38
- <a href={OPENSHIFT_AI_LINK} target="_blank" rel="noopener noreferrer">
39
- {'Learn more'} <ExternalLinkAltIcon />
40
- </a>
41
- </HelperTextItem>
42
- </HelperText>
43
- );
44
- };
45
-
46
- const OpenShiftAICheckbox = ({
47
- disabledReason,
48
- supportLevel,
49
- }: {
50
- disabledReason?: string;
51
- supportLevel?: SupportLevel | undefined;
52
- }) => {
53
- const fieldId = getFieldId(OPENSHIFT_AI_FIELD_NAME, 'input');
54
-
55
- return (
56
- <FormGroup isInline fieldId={fieldId}>
57
- <OcmCheckboxField
58
- name={OPENSHIFT_AI_FIELD_NAME}
59
- label={<OpenShiftAILabel disabledReason={disabledReason} supportLevel={supportLevel} />}
60
- isDisabled={!!disabledReason}
61
- helperText={<OpenShiftAIHelperText />}
62
- />
63
- </FormGroup>
64
- );
65
- };
66
-
67
- export default OpenShiftAICheckbox;
@@ -1,22 +0,0 @@
1
- import React from 'react';
2
- import { List, ListItem } from '@patternfly/react-core';
3
- import { ExternalLinkAltIcon } from '@patternfly/react-icons/dist/js/icons/external-link-alt-icon';
4
- import { OPENSHIFT_AI_REQUIREMENTS_LINK } from '../../../../common';
5
-
6
- const OpenShiftAIRequirements = () => {
7
- return (
8
- <>
9
- <List>
10
- <ListItem>At least two worker nodes.</ListItem>
11
- <ListItem>
12
- Each worker node requires 32 additional GiB of memory and 8 additional CPUs.
13
- </ListItem>
14
- </List>
15
- <a href={OPENSHIFT_AI_REQUIREMENTS_LINK} target="_blank" rel="noopener noreferrer">
16
- Learn more <ExternalLinkAltIcon />.
17
- </a>
18
- </>
19
- );
20
- };
21
-
22
- export default OpenShiftAIRequirements;
@@ -1,36 +0,0 @@
1
- import React from 'react';
2
- import { List, ListItem } from '@patternfly/react-core';
3
- import { ExternalLinkAltIcon } from '@patternfly/react-icons/dist/js/icons/external-link-alt-icon';
4
- import { OPENSHIFT_AI_REQUIREMENTS_LINK } from '../../../../common';
5
-
6
- const OpenshiftAIAmdRequirements = () => {
7
- return (
8
- <>
9
- <List>
10
- <ListItem>At least two worker nodes.</ListItem>
11
- <ListItem>
12
- Each worker node requires 32 additional GiB of memory and 8 additional CPUs.
13
- </ListItem>
14
- <ListItem>At least one supported AMD GPU.</ListItem>
15
- <ListItem>Nodes that have AMD GPUs installed need to have secure boot disabled.</ListItem>
16
- </List>
17
- Bundle operators:
18
- <List>
19
- <ListItem>OpenShift AI</ListItem>
20
- <ListItem>OpenShift Data Foundation</ListItem>
21
- <ListItem>AMD GPU</ListItem>
22
- <ListItem>Node Feature Discovery</ListItem>
23
- <ListItem>Kernel Module Management</ListItem>
24
- <ListItem>Pipelines</ListItem>
25
- <ListItem>Service Mesh</ListItem>
26
- <ListItem>Serverless</ListItem>
27
- <ListItem>Authorino</ListItem>
28
- </List>
29
- <a href={OPENSHIFT_AI_REQUIREMENTS_LINK} target="_blank" rel="noopener noreferrer">
30
- Learn more <ExternalLinkAltIcon />.
31
- </a>
32
- </>
33
- );
34
- };
35
-
36
- export default OpenshiftAIAmdRequirements;
@@ -1,37 +0,0 @@
1
- import React from 'react';
2
- import { List, ListItem } from '@patternfly/react-core';
3
- import { ExternalLinkAltIcon } from '@patternfly/react-icons/dist/js/icons/external-link-alt-icon';
4
- import { OPENSHIFT_AI_REQUIREMENTS_LINK } from '../../../../common';
5
-
6
- const OpenshiftAINvidiaRequirements = () => {
7
- return (
8
- <>
9
- <List>
10
- <ListItem>At least two worker nodes.</ListItem>
11
- <ListItem>
12
- Each worker node requires 32 additional GiB of memory and 8 additional CPUs.
13
- </ListItem>
14
- <ListItem>At least one supported NVIDIA GPU.</ListItem>
15
- <ListItem>
16
- Nodes that have NVIDIA GPUs installed need to have secure boot disabled.
17
- </ListItem>
18
- </List>
19
- Bundle operators:
20
- <List>
21
- <ListItem>OpenShift AI</ListItem>
22
- <ListItem>OpenShift Data Foundation</ListItem>
23
- <ListItem>NVIDIA GPU</ListItem>
24
- <ListItem>Node Feature Discovery</ListItem>
25
- <ListItem>Pipelines</ListItem>
26
- <ListItem>Service Mesh</ListItem>
27
- <ListItem>Serverless</ListItem>
28
- <ListItem>Authorino</ListItem>
29
- </List>
30
- <a href={OPENSHIFT_AI_REQUIREMENTS_LINK} target="_blank" rel="noopener noreferrer">
31
- Learn more <ExternalLinkAltIcon />.
32
- </a>
33
- </>
34
- );
35
- };
36
-
37
- export default OpenshiftAINvidiaRequirements;
@@ -1,73 +0,0 @@
1
- import React from 'react';
2
- import { FormGroup, HelperText, HelperTextItem, Tooltip } from '@patternfly/react-core';
3
- import { ExternalLinkAltIcon } from '@patternfly/react-icons/dist/js/icons/external-link-alt-icon';
4
- import { getFieldId, PopoverIcon, OSC_REQUIREMENTS_LINK, OSC_LINK } from '../../../../common';
5
- import { OcmCheckboxField } from '../../ui/OcmFormFields';
6
- import NewFeatureSupportLevelBadge from '../../../../common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge';
7
- import { SupportLevel } from '@openshift-assisted/types/assisted-installer-service';
8
-
9
- const OSC_FIELD_NAME = 'useOsc';
10
-
11
- type OscLabelProps = {
12
- disabledReason?: string;
13
- supportLevel?: SupportLevel;
14
- };
15
-
16
- const OscLabel = ({ disabledReason, supportLevel }: OscLabelProps) => {
17
- return (
18
- <>
19
- <Tooltip hidden={!disabledReason} content={disabledReason}>
20
- <span>OpenShift sandboxed containers </span>
21
- </Tooltip>
22
- <PopoverIcon
23
- component={'a'}
24
- headerContent="Additional requirements"
25
- bodyContent={
26
- <a href={OSC_REQUIREMENTS_LINK} target="_blank" rel="noopener noreferrer">
27
- Learn more about the requirements for OpenShift sandboxed containers{' '}
28
- <ExternalLinkAltIcon />.
29
- </a>
30
- }
31
- />
32
- <NewFeatureSupportLevelBadge featureId="OSC" supportLevel={supportLevel} />
33
- </>
34
- );
35
- };
36
-
37
- const OscHelperText = () => {
38
- return (
39
- <HelperText>
40
- <HelperTextItem variant="indeterminate">
41
- OpenShift sandboxed containers support for OpenShift Container Platform provides users with
42
- built-in support for running Kata Containers as an additional optional runtime. It provides
43
- an additional virtualization machine(VM) isolation layer for pods.{' '}
44
- <a href={OSC_LINK} target="_blank" rel="noopener noreferrer">
45
- {'Learn more'} <ExternalLinkAltIcon />
46
- </a>
47
- </HelperTextItem>
48
- </HelperText>
49
- );
50
- };
51
-
52
- const OscCheckbox = ({
53
- disabledReason,
54
- supportLevel,
55
- }: {
56
- disabledReason?: string;
57
- supportLevel?: SupportLevel | undefined;
58
- }) => {
59
- const fieldId = getFieldId(OSC_FIELD_NAME, 'input');
60
-
61
- return (
62
- <FormGroup isInline fieldId={fieldId}>
63
- <OcmCheckboxField
64
- name={OSC_FIELD_NAME}
65
- label={<OscLabel disabledReason={disabledReason} supportLevel={supportLevel} />}
66
- isDisabled={!!disabledReason}
67
- helperText={<OscHelperText />}
68
- />
69
- </FormGroup>
70
- );
71
- };
72
-
73
- export default OscCheckbox;
@@ -1,63 +0,0 @@
1
- import React from 'react';
2
- import { FormGroup, HelperText, HelperTextItem, Tooltip } from '@patternfly/react-core';
3
- import { getFieldId, PIPELINES_OPERATOR_LINK } from '../../../../common';
4
- import { OcmCheckboxField } from '../../ui/OcmFormFields';
5
- import { SupportLevel } from '@openshift-assisted/types/./assisted-installer-service';
6
- import NewFeatureSupportLevelBadge from '../../../../common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge';
7
- import ExternalLinkAltIcon from '@patternfly/react-icons/dist/js/icons/external-link-alt-icon';
8
-
9
- const PIPELINES_FIELD_NAME = 'usePipelines';
10
-
11
- const PipelinesLabel = ({
12
- disabledReason,
13
- supportLevel,
14
- }: {
15
- disabledReason?: string;
16
- supportLevel?: SupportLevel;
17
- }) => {
18
- return (
19
- <>
20
- <Tooltip hidden={!disabledReason} content={disabledReason}>
21
- <span>Pipelines </span>
22
- </Tooltip>
23
- <NewFeatureSupportLevelBadge featureId="PIPELINES" supportLevel={supportLevel} />
24
- </>
25
- );
26
- };
27
-
28
- const PipelinesHelperText = () => {
29
- return (
30
- <HelperText>
31
- <HelperTextItem variant="indeterminate">
32
- Cloud-native continuous integration and delivery (CI/CD) solution for building pipelines
33
- using Tekton.{' '}
34
- <a href={PIPELINES_OPERATOR_LINK} target="_blank" rel="noopener noreferrer">
35
- {'Learn more'} <ExternalLinkAltIcon />
36
- </a>
37
- </HelperTextItem>
38
- </HelperText>
39
- );
40
- };
41
-
42
- const PipelinesCheckbox = ({
43
- disabledReason,
44
- supportLevel,
45
- }: {
46
- disabledReason?: string;
47
- supportLevel?: SupportLevel | undefined;
48
- }) => {
49
- const fieldId = getFieldId(PIPELINES_FIELD_NAME, 'input');
50
-
51
- return (
52
- <FormGroup isInline fieldId={fieldId}>
53
- <OcmCheckboxField
54
- name={PIPELINES_FIELD_NAME}
55
- label={<PipelinesLabel disabledReason={disabledReason} supportLevel={supportLevel} />}
56
- helperText={<PipelinesHelperText />}
57
- isDisabled={!!disabledReason}
58
- />
59
- </FormGroup>
60
- );
61
- };
62
-
63
- export default PipelinesCheckbox;
@@ -1,68 +0,0 @@
1
- import React from 'react';
2
- import { FormGroup, HelperText, HelperTextItem, Tooltip } from '@patternfly/react-core';
3
- import { getFieldId, SELF_NODE_REMEDIATION_LINK } from '../../../../common';
4
- import { ExternalLinkAltIcon } from '@patternfly/react-icons/dist/js/icons/external-link-alt-icon';
5
- import { OcmCheckboxField } from '../../ui/OcmFormFields';
6
- import NewFeatureSupportLevelBadge from '../../../../common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge';
7
- import { SupportLevel } from '@openshift-assisted/types/./assisted-installer-service';
8
-
9
- const SELF_NODE_REMEDIATION_FIELD_NAME = 'useSelfNodeRemediation';
10
- const SELF_NODE_REMEDIATION_FEATURE_ID = 'SELF_NODE_REMEDIATION';
11
-
12
- const SelfNodeRemediationLabel = ({
13
- disabledReason,
14
- supportLevel,
15
- }: {
16
- disabledReason?: string;
17
- supportLevel?: SupportLevel;
18
- }) => {
19
- return (
20
- <>
21
- <Tooltip hidden={!disabledReason} content={disabledReason}>
22
- <span>Self Node Remediation </span>
23
- </Tooltip>
24
- <NewFeatureSupportLevelBadge
25
- featureId={SELF_NODE_REMEDIATION_FEATURE_ID}
26
- supportLevel={supportLevel}
27
- />
28
- </>
29
- );
30
- };
31
-
32
- const SelfNodeRemediationHelperText = () => {
33
- return (
34
- <HelperText>
35
- <HelperTextItem variant="indeterminate">
36
- Allows nodes to reboot themselves when they become unhealthy.{' '}
37
- <a href={SELF_NODE_REMEDIATION_LINK} target="_blank" rel="noopener noreferrer">
38
- {'Learn more'} <ExternalLinkAltIcon />
39
- </a>
40
- </HelperTextItem>
41
- </HelperText>
42
- );
43
- };
44
-
45
- const SelfNodeRemediationCheckbox = ({
46
- disabledReason,
47
- supportLevel,
48
- }: {
49
- disabledReason?: string;
50
- supportLevel?: SupportLevel | undefined;
51
- }) => {
52
- const fieldId = getFieldId(SELF_NODE_REMEDIATION_FIELD_NAME, 'input');
53
-
54
- return (
55
- <FormGroup isInline fieldId={fieldId}>
56
- <OcmCheckboxField
57
- name={SELF_NODE_REMEDIATION_FIELD_NAME}
58
- label={
59
- <SelfNodeRemediationLabel disabledReason={disabledReason} supportLevel={supportLevel} />
60
- }
61
- helperText={<SelfNodeRemediationHelperText />}
62
- isDisabled={!!disabledReason}
63
- />
64
- </FormGroup>
65
- );
66
- };
67
-
68
- export default SelfNodeRemediationCheckbox;
@@ -1,62 +0,0 @@
1
- import React from 'react';
2
- import { FormGroup, HelperText, HelperTextItem, Tooltip } from '@patternfly/react-core';
3
- import { getFieldId, SERVERLESS_OPERATOR_LINK } from '../../../../common';
4
- import { OcmCheckboxField } from '../../ui/OcmFormFields';
5
- import { SupportLevel } from '@openshift-assisted/types/./assisted-installer-service';
6
- import NewFeatureSupportLevelBadge from '../../../../common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge';
7
- import ExternalLinkAltIcon from '@patternfly/react-icons/dist/js/icons/external-link-alt-icon';
8
-
9
- const SERVERLESS_FIELD_NAME = 'useServerless';
10
-
11
- const ServerlessLabel = ({
12
- disabledReason,
13
- supportLevel,
14
- }: {
15
- disabledReason?: string;
16
- supportLevel?: SupportLevel;
17
- }) => {
18
- return (
19
- <>
20
- <Tooltip hidden={!disabledReason} content={disabledReason}>
21
- <span>Serverless </span>
22
- </Tooltip>
23
- <NewFeatureSupportLevelBadge featureId="SERVERLESS" supportLevel={supportLevel} />
24
- </>
25
- );
26
- };
27
-
28
- const ServerlessHelperText = () => {
29
- return (
30
- <HelperText>
31
- <HelperTextItem variant="indeterminate">
32
- Deploy workflow applications based on the CNCF Serverless Workflow specification.{' '}
33
- <a href={SERVERLESS_OPERATOR_LINK} target="_blank" rel="noopener noreferrer">
34
- {'Learn more'} <ExternalLinkAltIcon />
35
- </a>
36
- </HelperTextItem>
37
- </HelperText>
38
- );
39
- };
40
-
41
- const ServerlessCheckbox = ({
42
- disabledReason,
43
- supportLevel,
44
- }: {
45
- disabledReason?: string;
46
- supportLevel?: SupportLevel | undefined;
47
- }) => {
48
- const fieldId = getFieldId(SERVERLESS_FIELD_NAME, 'input');
49
-
50
- return (
51
- <FormGroup isInline fieldId={fieldId}>
52
- <OcmCheckboxField
53
- name={SERVERLESS_FIELD_NAME}
54
- label={<ServerlessLabel disabledReason={disabledReason} supportLevel={supportLevel} />}
55
- helperText={<ServerlessHelperText />}
56
- isDisabled={!!disabledReason}
57
- />
58
- </FormGroup>
59
- );
60
- };
61
-
62
- export default ServerlessCheckbox;
@@ -1,64 +0,0 @@
1
- import React from 'react';
2
- import { FormGroup, HelperText, HelperTextItem, Tooltip } from '@patternfly/react-core';
3
- import { getFieldId, getServiceMeshLink } from '../../../../common';
4
- import { OcmCheckboxField } from '../../ui/OcmFormFields';
5
- import { SupportLevel } from '@openshift-assisted/types/./assisted-installer-service';
6
- import NewFeatureSupportLevelBadge from '../../../../common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge';
7
- import ExternalLinkAltIcon from '@patternfly/react-icons/dist/js/icons/external-link-alt-icon';
8
-
9
- const SERVICEMESH_FIELD_NAME = 'useServicemesh';
10
-
11
- const ServiceMeshLabel = ({
12
- disabledReason,
13
- supportLevel,
14
- }: {
15
- disabledReason?: string;
16
- supportLevel?: SupportLevel;
17
- }) => {
18
- return (
19
- <>
20
- <Tooltip hidden={!disabledReason} content={disabledReason}>
21
- <span>Service Mesh </span>
22
- </Tooltip>
23
- <NewFeatureSupportLevelBadge featureId="SERVICEMESH" supportLevel={supportLevel} />
24
- </>
25
- );
26
- };
27
-
28
- const ServiceMeshHelperText = ({ openshiftVersion }: { openshiftVersion?: string }) => {
29
- return (
30
- <HelperText>
31
- <HelperTextItem variant="indeterminate">
32
- Platform that provides behavioral insight and operational control over a service mesh.{' '}
33
- <a href={getServiceMeshLink(openshiftVersion)} target="_blank" rel="noopener noreferrer">
34
- {'Learn more'} <ExternalLinkAltIcon />
35
- </a>
36
- </HelperTextItem>
37
- </HelperText>
38
- );
39
- };
40
-
41
- const ServiceMeshCheckbox = ({
42
- disabledReason,
43
- supportLevel,
44
- openshiftVersion,
45
- }: {
46
- disabledReason?: string;
47
- supportLevel?: SupportLevel | undefined;
48
- openshiftVersion?: string;
49
- }) => {
50
- const fieldId = getFieldId(SERVICEMESH_FIELD_NAME, 'input');
51
-
52
- return (
53
- <FormGroup isInline fieldId={fieldId}>
54
- <OcmCheckboxField
55
- name={SERVICEMESH_FIELD_NAME}
56
- label={<ServiceMeshLabel disabledReason={disabledReason} supportLevel={supportLevel} />}
57
- helperText={<ServiceMeshHelperText openshiftVersion={openshiftVersion || '4.17'} />}
58
- isDisabled={!!disabledReason}
59
- />
60
- </FormGroup>
61
- );
62
- };
63
-
64
- export default ServiceMeshCheckbox;