@backstage-community/plugin-ocm 5.2.1

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.
package/CHANGELOG.md ADDED
@@ -0,0 +1,657 @@
1
+ ### Dependencies
2
+
3
+ ## 5.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 22a79d1: Migrated from [janus-idp/backstage-plugins](https://github.com/janus-idp/backstage-plugins).
8
+ - Updated dependencies [22a79d1]
9
+ - @backstage-community/plugin-ocm-common@3.6.1
10
+
11
+ ## 5.2.0
12
+
13
+ ### Minor Changes
14
+
15
+ - 8244f28: chore(deps): update to backstage 1.32
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies [8244f28]
20
+ - @backstage-community/plugin-ocm-common@3.6.0
21
+
22
+ ## 5.1.2
23
+
24
+ ### Patch Changes
25
+
26
+ - 7342e9b: chore: remove @janus-idp/cli dep and relink local packages
27
+
28
+ This update removes `@janus-idp/cli` from all plugins, as it’s no longer necessary. Additionally, packages are now correctly linked with a specified version.
29
+
30
+ ## 5.1.1
31
+
32
+ ### Patch Changes
33
+
34
+ - 412e8ba: fix unaligned status icon and message
35
+
36
+ ## 5.1.0
37
+
38
+ ### Minor Changes
39
+
40
+ - d9551ae: replaced pf-icons with mui icons
41
+ - d9551ae: feat(deps): update to backstage 1.31
42
+
43
+ ### Patch Changes
44
+
45
+ - d9551ae: Change local package references to a `*`
46
+ - d9551ae: pin the @janus-idp/cli package
47
+ - d9551ae: upgrade to yarn v3
48
+ - Updated dependencies [d9551ae]
49
+ - Updated dependencies [d9551ae]
50
+ - Updated dependencies [d9551ae]
51
+ - @backstage-community/plugin-ocm-common@3.5.0
52
+
53
+ * **@janus-idp/cli:** upgraded to 1.15.2
54
+
55
+ ### Dependencies
56
+
57
+ - **@backstage-community/plugin-ocm-common:** upgraded to 3.4.1
58
+
59
+ ### Dependencies
60
+
61
+ - **@janus-idp/cli:** upgraded to 1.15.1
62
+
63
+ ### Dependencies
64
+
65
+ - **@janus-idp/cli:** upgraded to 1.15.0
66
+
67
+ ### Dependencies
68
+
69
+ - **@backstage-community/plugin-ocm-common:** upgraded to 3.4.0
70
+ - **@janus-idp/cli:** upgraded to 1.14.0
71
+
72
+ ### Dependencies
73
+
74
+ - **@janus-idp/cli:** upgraded to 1.13.2
75
+
76
+ ### Dependencies
77
+
78
+ - **@janus-idp/cli:** upgraded to 1.13.1
79
+
80
+ ## @backstage-community/plugin-ocm [4.4.0](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@4.3.0...@backstage-community/plugin-ocm@4.4.0) (2024-07-26)
81
+
82
+ ### Features
83
+
84
+ - **deps:** update to backstage 1.29 ([#1900](https://github.com/janus-idp/backstage-plugins/issues/1900)) ([f53677f](https://github.com/janus-idp/backstage-plugins/commit/f53677fb02d6df43a9de98c43a9f101a6db76802))
85
+
86
+ ### Dependencies
87
+
88
+ - **@backstage-community/plugin-ocm-common:** upgraded to 3.3.0
89
+
90
+ ## @backstage-community/plugin-ocm [4.3.0](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@4.2.1...@backstage-community/plugin-ocm@4.3.0) (2024-07-24)
91
+
92
+ ### Features
93
+
94
+ - **deps:** update to backstage 1.28 ([#1891](https://github.com/janus-idp/backstage-plugins/issues/1891)) ([1ba1108](https://github.com/janus-idp/backstage-plugins/commit/1ba11088e0de60e90d138944267b83600dc446e5))
95
+
96
+ ### Dependencies
97
+
98
+ - **@backstage-community/plugin-ocm-common:** upgraded to 3.2.0
99
+
100
+ ## @backstage-community/plugin-ocm [4.2.1](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@4.2.0...@backstage-community/plugin-ocm@4.2.1) (2024-06-19)
101
+
102
+ ### Dependencies
103
+
104
+ - **@janus-idp/cli:** upgraded to 1.11.1
105
+
106
+ ## @backstage-community/plugin-ocm [4.2.0](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@4.1.9...@backstage-community/plugin-ocm@4.2.0) (2024-06-13)
107
+
108
+ ### Features
109
+
110
+ - **deps:** update to backstage 1.27 ([#1683](https://github.com/janus-idp/backstage-plugins/issues/1683)) ([a14869c](https://github.com/janus-idp/backstage-plugins/commit/a14869c3f4177049cb8d6552b36c3ffd17e7997d))
111
+
112
+ ### Dependencies
113
+
114
+ - **@backstage-community/plugin-ocm-common:** upgraded to 3.1.0
115
+ - **@janus-idp/cli:** upgraded to 1.11.0
116
+
117
+ ## @backstage-community/plugin-ocm [4.1.9](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@4.1.8...@backstage-community/plugin-ocm@4.1.9) (2024-06-13)
118
+
119
+ ### Dependencies
120
+
121
+ - **@janus-idp/cli:** upgraded to 1.10.1
122
+
123
+ ## @backstage-community/plugin-ocm [4.1.8](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@4.1.7...@backstage-community/plugin-ocm@4.1.8) (2024-06-05)
124
+
125
+ ### Dependencies
126
+
127
+ - **@janus-idp/cli:** upgraded to 1.10.0
128
+
129
+ ## @backstage-community/plugin-ocm [4.1.7](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@4.1.6...@backstage-community/plugin-ocm@4.1.7) (2024-06-04)
130
+
131
+ ### Dependencies
132
+
133
+ - **@backstage-community/plugin-ocm-common:** upgraded to 3.0.2
134
+
135
+ ## @backstage-community/plugin-ocm [4.1.6](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@4.1.5...@backstage-community/plugin-ocm@4.1.6) (2024-06-03)
136
+
137
+ ### Dependencies
138
+
139
+ - **@janus-idp/cli:** upgraded to 1.9.0
140
+
141
+ ## @backstage-community/plugin-ocm [4.1.5](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@4.1.4...@backstage-community/plugin-ocm@4.1.5) (2024-05-31)
142
+
143
+ ## @backstage-community/plugin-ocm [4.1.4](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@4.1.3...@backstage-community/plugin-ocm@4.1.4) (2024-05-29)
144
+
145
+ ### Dependencies
146
+
147
+ - **@janus-idp/cli:** upgraded to 1.8.10
148
+
149
+ ## @backstage-community/plugin-ocm [4.1.3](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@4.1.2...@backstage-community/plugin-ocm@4.1.3) (2024-05-29)
150
+
151
+ ### Dependencies
152
+
153
+ - **@janus-idp/cli:** upgraded to 1.8.9
154
+
155
+ ## @backstage-community/plugin-ocm [4.1.2](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@4.1.1...@backstage-community/plugin-ocm@4.1.2) (2024-05-16)
156
+
157
+ ## @backstage-community/plugin-ocm [4.1.1](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@4.1.0...@backstage-community/plugin-ocm@4.1.1) (2024-05-16)
158
+
159
+ ### Dependencies
160
+
161
+ - **@janus-idp/cli:** upgraded to 1.8.7
162
+
163
+ ## @backstage-community/plugin-ocm [4.1.0](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@4.0.2...@backstage-community/plugin-ocm@4.1.0) (2024-05-14)
164
+
165
+ ### Features
166
+
167
+ - **deps:** use RHDH themes in the backstage app and dev pages ([#1480](https://github.com/janus-idp/backstage-plugins/issues/1480)) ([8263bf0](https://github.com/janus-idp/backstage-plugins/commit/8263bf099736cbb0d0f2316082d338ba81fa6927))
168
+
169
+ ## @backstage-community/plugin-ocm [4.0.2](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@4.0.1...@backstage-community/plugin-ocm@4.0.2) (2024-05-09)
170
+
171
+ ### Dependencies
172
+
173
+ - **@backstage-community/plugin-ocm-common:** upgraded to 3.0.1
174
+ - **@janus-idp/cli:** upgraded to 1.8.6
175
+
176
+ ## @backstage-community/plugin-ocm [4.0.1](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@4.0.0...@backstage-community/plugin-ocm@4.0.1) (2024-05-06)
177
+
178
+ ### Bug Fixes
179
+
180
+ - **ocm:** update ocm frontend plugin readme ([#1611](https://github.com/janus-idp/backstage-plugins/issues/1611)) ([9960cc0](https://github.com/janus-idp/backstage-plugins/commit/9960cc0c2d611cdd1ee10a82ed02b7be9becefcf))
181
+
182
+ ## @backstage-community/plugin-ocm [4.0.0](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@3.8.5...@backstage-community/plugin-ocm@4.0.0) (2024-05-04)
183
+
184
+ ### ⚠ BREAKING CHANGES
185
+
186
+ - **ocm:** add basic permissions to ocm backend plugin (#1528)
187
+
188
+ ### Features
189
+
190
+ - **ocm:** add basic permissions to ocm backend plugin ([#1528](https://github.com/janus-idp/backstage-plugins/issues/1528)) ([c28d564](https://github.com/janus-idp/backstage-plugins/commit/c28d5643034912228425930a42b60bbe4bc8a8ec))
191
+
192
+ ### Dependencies
193
+
194
+ - **@backstage-community/plugin-ocm-common:** upgraded to 3.0.0
195
+
196
+ ## @backstage-community/plugin-ocm [3.8.5](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@3.8.4...@backstage-community/plugin-ocm@3.8.5) (2024-05-02)
197
+
198
+ ### Dependencies
199
+
200
+ - **@janus-idp/cli:** upgraded to 1.8.5
201
+
202
+ ## @backstage-community/plugin-ocm [3.8.4](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@3.8.3...@backstage-community/plugin-ocm@3.8.4) (2024-05-02)
203
+
204
+ ### Dependencies
205
+
206
+ - **@janus-idp/cli:** upgraded to 1.8.4
207
+
208
+ ## @backstage-community/plugin-ocm [3.8.3](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@3.8.2...@backstage-community/plugin-ocm@3.8.3) (2024-04-30)
209
+
210
+ ### Dependencies
211
+
212
+ - **@janus-idp/cli:** upgraded to 1.8.3
213
+
214
+ ## @backstage-community/plugin-ocm [3.8.2](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@3.8.1...@backstage-community/plugin-ocm@3.8.2) (2024-04-30)
215
+
216
+ ### Dependencies
217
+
218
+ - **@janus-idp/cli:** upgraded to 1.8.2
219
+
220
+ ## @backstage-community/plugin-ocm [3.8.1](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@3.8.0...@backstage-community/plugin-ocm@3.8.1) (2024-04-25)
221
+
222
+ ### Dependencies
223
+
224
+ - **@janus-idp/cli:** upgraded to 1.8.1
225
+
226
+ ## @backstage-community/plugin-ocm [3.8.0](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@3.7.10...@backstage-community/plugin-ocm@3.8.0) (2024-04-15)
227
+
228
+ ### Features
229
+
230
+ - checkPluginVersion.sh bump plugins for 1.2.0 release ([#1511](https://github.com/janus-idp/backstage-plugins/issues/1511)) ([73c6588](https://github.com/janus-idp/backstage-plugins/commit/73c6588adb7e8c20907b06f2a8ef248cfd4332e4))
231
+
232
+ ### Dependencies
233
+
234
+ - **@backstage-community/plugin-ocm-common:** upgraded to 2.3.0
235
+ - **@janus-idp/cli:** upgraded to 1.8.0
236
+
237
+ ## @backstage-community/plugin-ocm [3.7.10](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@3.7.9...@backstage-community/plugin-ocm@3.7.10) (2024-04-09)
238
+
239
+ ### Dependencies
240
+
241
+ - **@janus-idp/cli:** upgraded to 1.7.10
242
+
243
+ ## @backstage-community/plugin-ocm [3.7.9](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@3.7.8...@backstage-community/plugin-ocm@3.7.9) (2024-04-09)
244
+
245
+ ### Dependencies
246
+
247
+ - **@janus-idp/cli:** upgraded to 1.7.9
248
+
249
+ ## @backstage-community/plugin-ocm [3.7.8](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@3.7.7...@backstage-community/plugin-ocm@3.7.8) (2024-04-05)
250
+
251
+ ### Dependencies
252
+
253
+ - **@backstage-community/plugin-ocm-common:** upgraded to 2.2.4
254
+ - **@janus-idp/cli:** upgraded to 1.7.8
255
+
256
+ ## @backstage-community/plugin-ocm [3.7.7](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@3.7.6...@backstage-community/plugin-ocm@3.7.7) (2024-04-02)
257
+
258
+ ### Dependencies
259
+
260
+ - **@janus-idp/cli:** upgraded to 1.7.7
261
+
262
+ ## @backstage-community/plugin-ocm [3.7.6](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@3.7.5...@backstage-community/plugin-ocm@3.7.6) (2024-03-29)
263
+
264
+ ### Dependencies
265
+
266
+ - **@backstage-community/plugin-ocm-common:** upgraded to 2.2.3
267
+ - **@janus-idp/cli:** upgraded to 1.7.6
268
+
269
+ ## @backstage-community/plugin-ocm [3.7.5](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@3.7.4...@backstage-community/plugin-ocm@3.7.5) (2024-03-04)
270
+
271
+ ### Dependencies
272
+
273
+ - **@janus-idp/cli:** upgraded to 1.7.5
274
+
275
+ ## @backstage-community/plugin-ocm [3.7.4](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@3.7.3...@backstage-community/plugin-ocm@3.7.4) (2024-02-27)
276
+
277
+ ### Dependencies
278
+
279
+ - **@janus-idp/cli:** upgraded to 1.7.4
280
+
281
+ ## @backstage-community/plugin-ocm [3.7.3](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@3.7.2...@backstage-community/plugin-ocm@3.7.3) (2024-02-26)
282
+
283
+ ### Dependencies
284
+
285
+ - **@janus-idp/cli:** upgraded to 1.7.3
286
+
287
+ ## @backstage-community/plugin-ocm [3.7.2](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@3.7.1...@backstage-community/plugin-ocm@3.7.2) (2024-02-21)
288
+
289
+ ### Dependencies
290
+
291
+ - **@backstage-community/plugin-ocm-common:** upgraded to 2.2.2
292
+ - **@janus-idp/cli:** upgraded to 1.7.2
293
+
294
+ ## @backstage-community/plugin-ocm [3.7.1](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@3.7.0...@backstage-community/plugin-ocm@3.7.1) (2024-02-05)
295
+
296
+ ### Dependencies
297
+
298
+ - **@janus-idp/cli:** upgraded to 1.7.1
299
+
300
+ ## @backstage-community/plugin-ocm [3.7.0](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@3.6.1...@backstage-community/plugin-ocm@3.7.0) (2024-01-30)
301
+
302
+ ### Features
303
+
304
+ - add new backend system support for existing backend plugins that have not been migrated over yet ([#1132](https://github.com/janus-idp/backstage-plugins/issues/1132)) ([06e16fd](https://github.com/janus-idp/backstage-plugins/commit/06e16fdcf64257dd08297cb727445d9a8a23c522))
305
+
306
+ ### Dependencies
307
+
308
+ - **@janus-idp/cli:** upgraded to 1.7.0
309
+
310
+ ## @backstage-community/plugin-ocm [3.6.1](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@3.6.0...@backstage-community/plugin-ocm@3.6.1) (2024-01-25)
311
+
312
+ ### Dependencies
313
+
314
+ - **@janus-idp/cli:** upgraded to 1.6.0
315
+
316
+ ## @backstage-community/plugin-ocm [3.6.0](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@3.5.9...@backstage-community/plugin-ocm@3.6.0) (2024-01-22)
317
+
318
+ ### Features
319
+
320
+ - **ocm:** add sorting to the ocm ClusterStatusPage table ([#1052](https://github.com/janus-idp/backstage-plugins/issues/1052)) ([8203aaf](https://github.com/janus-idp/backstage-plugins/commit/8203aafb4d83c667e87b736e6e2df09e6a60d6ee))
321
+
322
+ ## @backstage-community/plugin-ocm [3.5.9](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@3.5.8...@backstage-community/plugin-ocm@3.5.9) (2023-12-07)
323
+
324
+ ### Dependencies
325
+
326
+ - **@janus-idp/cli:** upgraded to 1.4.7
327
+
328
+ ## @backstage-community/plugin-ocm [3.5.8](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@3.5.7...@backstage-community/plugin-ocm@3.5.8) (2023-11-30)
329
+
330
+ ### Dependencies
331
+
332
+ - **@janus-idp/cli:** upgraded to 1.4.6
333
+
334
+ ## @backstage-community/plugin-ocm [3.5.7](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@3.5.6...@backstage-community/plugin-ocm@3.5.7) (2023-11-23)
335
+
336
+ ### Bug Fixes
337
+
338
+ - add config partials for dynamic frontend plugins ([#965](https://github.com/janus-idp/backstage-plugins/issues/965)) ([b01e55e](https://github.com/janus-idp/backstage-plugins/commit/b01e55e877278afc5de8d28a4c687a6989566bdc))
339
+
340
+ ## @backstage-community/plugin-ocm [3.5.6](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@3.5.5...@backstage-community/plugin-ocm@3.5.6) (2023-11-22)
341
+
342
+ ### Dependencies
343
+
344
+ - **@janus-idp/cli:** upgraded to 1.4.5
345
+
346
+ ## @backstage-community/plugin-ocm [3.5.5](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@3.5.4...@backstage-community/plugin-ocm@3.5.5) (2023-11-21)
347
+
348
+ ### Bug Fixes
349
+
350
+ - sync versions in dynamic assets and publish derived packages as additional packages ([#963](https://github.com/janus-idp/backstage-plugins/issues/963)) ([7d0a386](https://github.com/janus-idp/backstage-plugins/commit/7d0a38609b4a18b54c75378a150e8b5c3ba8ff43))
351
+
352
+ ## @backstage-community/plugin-ocm [3.5.4](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@3.5.3...@backstage-community/plugin-ocm@3.5.4) (2023-11-20)
353
+
354
+ ### Dependencies
355
+
356
+ - **@janus-idp/cli:** upgraded to 1.4.4
357
+
358
+ ## @backstage-community/plugin-ocm [3.5.3](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@3.5.2...@backstage-community/plugin-ocm@3.5.3) (2023-11-16)
359
+
360
+ ### Dependencies
361
+
362
+ - **@janus-idp/cli:** upgraded to 1.4.3
363
+
364
+ ## @backstage-community/plugin-ocm [3.5.2](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@3.5.1...@backstage-community/plugin-ocm@3.5.2) (2023-11-13)
365
+
366
+ ### Dependencies
367
+
368
+ - **@janus-idp/cli:** upgraded to 1.4.2
369
+
370
+ ## @backstage-community/plugin-ocm [3.5.1](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@3.5.0...@backstage-community/plugin-ocm@3.5.1) (2023-11-13)
371
+
372
+ ### Dependencies
373
+
374
+ - **@janus-idp/cli:** upgraded to 1.4.1
375
+
376
+ ## @backstage-community/plugin-ocm [3.5.0](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@3.4.0...@backstage-community/plugin-ocm@3.5.0) (2023-11-08)
377
+
378
+ ### Features
379
+
380
+ - **ocm:** export default icon for use in dynamic plugins ([#919](https://github.com/janus-idp/backstage-plugins/issues/919)) ([e6dd16d](https://github.com/janus-idp/backstage-plugins/commit/e6dd16d3952b627f8938f3d73b1fb7c6d5988662))
381
+
382
+ ## @backstage-community/plugin-ocm [3.4.0](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@3.3.4...@backstage-community/plugin-ocm@3.4.0) (2023-11-08)
383
+
384
+ ### Features
385
+
386
+ - update entity provider schedulers ([#827](https://github.com/janus-idp/backstage-plugins/issues/827)) ([19731d1](https://github.com/janus-idp/backstage-plugins/commit/19731d1449a9d8ffa67aec069d2214e45bfe54ff))
387
+
388
+ ## @backstage-community/plugin-ocm [3.3.4](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@3.3.3...@backstage-community/plugin-ocm@3.3.4) (2023-11-07)
389
+
390
+ ### Dependencies
391
+
392
+ - **@janus-idp/cli:** upgraded to 1.4.0
393
+
394
+ ## @backstage-community/plugin-ocm [3.3.3](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@3.3.2...@backstage-community/plugin-ocm@3.3.3) (2023-11-06)
395
+
396
+ ### Bug Fixes
397
+
398
+ - **cli:** add default scalprum config ([#909](https://github.com/janus-idp/backstage-plugins/issues/909)) ([d74fc72](https://github.com/janus-idp/backstage-plugins/commit/d74fc72ab7e0a843da047c7b6570d8a6fbc068e1))
399
+
400
+ ### Dependencies
401
+
402
+ - **@janus-idp/cli:** upgraded to 1.3.3
403
+
404
+ ## @backstage-community/plugin-ocm [3.3.2](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@3.3.1...@backstage-community/plugin-ocm@3.3.2) (2023-11-02)
405
+
406
+ ### Dependencies
407
+
408
+ - **@janus-idp/cli:** upgraded to 1.3.2
409
+
410
+ ## @backstage-community/plugin-ocm [3.3.1](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@3.3.0...@backstage-community/plugin-ocm@3.3.1) (2023-10-26)
411
+
412
+ ### Dependencies
413
+
414
+ - **@janus-idp/cli:** upgraded to 1.3.1
415
+
416
+ ## @backstage-community/plugin-ocm [3.3.0](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@3.2.3...@backstage-community/plugin-ocm@3.3.0) (2023-10-25)
417
+
418
+ ### Features
419
+
420
+ - **ocm:** enable dynamic plugin ([#876](https://github.com/janus-idp/backstage-plugins/issues/876)) ([1071eeb](https://github.com/janus-idp/backstage-plugins/commit/1071eeb3d7c56ff0896dfe2be6374ff771481411))
421
+
422
+ ## @backstage-community/plugin-ocm [3.2.3](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@3.2.2...@backstage-community/plugin-ocm@3.2.3) (2023-10-19)
423
+
424
+ ### Dependencies
425
+
426
+ - **@backstage-community/plugin-ocm-common:** upgraded to 2.2.1
427
+
428
+ ## @backstage-community/plugin-ocm [3.2.2](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@3.2.1...@backstage-community/plugin-ocm@3.2.2) (2023-09-22)
429
+
430
+ ### Documentation
431
+
432
+ - **ocm:** update OCM configuration documentation ([#763](https://github.com/janus-idp/backstage-plugins/issues/763)) ([2c58874](https://github.com/janus-idp/backstage-plugins/commit/2c58874c3037ecdff6074312c4bb8fc39bf66ecc))
433
+
434
+ ## @backstage-community/plugin-ocm [3.2.1](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@3.2.0...@backstage-community/plugin-ocm@3.2.1) (2023-09-11)
435
+
436
+ ## @backstage-community/plugin-ocm [3.2.0](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@3.1.0...@backstage-community/plugin-ocm@3.2.0) (2023-08-28)
437
+
438
+ ### Features
439
+
440
+ - **ocm-backend:** add support for new backend system ([#682](https://github.com/janus-idp/backstage-plugins/issues/682)) ([a28b14d](https://github.com/janus-idp/backstage-plugins/commit/a28b14dcb540cd37ee08fc59448d0967b1edbc1d))
441
+
442
+ ## @backstage-community/plugin-ocm [3.1.0](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@3.0.4...@backstage-community/plugin-ocm@3.1.0) (2023-08-14)
443
+
444
+ ### Features
445
+
446
+ - **ts:** transpile each plugin separately ([#634](https://github.com/janus-idp/backstage-plugins/issues/634)) ([b94c4dc](https://github.com/janus-idp/backstage-plugins/commit/b94c4dc50ada328e5ce1bed5fb7c76f64607e1ee))
447
+
448
+ ### Dependencies
449
+
450
+ - **@backstage-community/plugin-ocm-common:** upgraded to 2.2.0
451
+
452
+ ## @backstage-community/plugin-ocm [3.0.4](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@3.0.3...@backstage-community/plugin-ocm@3.0.4) (2023-07-25)
453
+
454
+ ### Bug Fixes
455
+
456
+ - **plugins:** add bearer token to request headers when sending requests, authmiddleware issue ([#498](https://github.com/janus-idp/backstage-plugins/issues/498)) ([86881c3](https://github.com/janus-idp/backstage-plugins/commit/86881c37321d1b446f15ff59b2fcb8ebc8500786))
457
+
458
+ ## @backstage-community/plugin-ocm [3.0.3](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@3.0.2...@backstage-community/plugin-ocm@3.0.3) (2023-07-25)
459
+
460
+ ### Other changes
461
+
462
+ - **ocm:** add unit tests for ocm plugin ([#449](https://github.com/janus-idp/backstage-plugins/issues/449)) ([0fbe7fa](https://github.com/janus-idp/backstage-plugins/commit/0fbe7fa59973e49e8a96f62fab5112aeccecc98e))
463
+
464
+ ### Dependencies
465
+
466
+ - **@backstage-community/plugin-ocm-common:** upgraded to 2.1.1
467
+
468
+ ## @backstage-community/plugin-ocm [3.0.2](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@3.0.1...@backstage-community/plugin-ocm@3.0.2) (2023-06-14)
469
+
470
+ ### Other changes
471
+
472
+ - reorder imports via prettier ([#419](https://github.com/janus-idp/backstage-plugins/issues/419)) ([17f1e6a](https://github.com/janus-idp/backstage-plugins/commit/17f1e6a689bd793a619ec5e42e5cdda0998f78a5))
473
+
474
+ ### Documentation
475
+
476
+ - **ocm:** update the readme with removed frontend components ([#455](https://github.com/janus-idp/backstage-plugins/issues/455)) ([8bfdf36](https://github.com/janus-idp/backstage-plugins/commit/8bfdf363bb6cf715c4cd9ceb0ec096e21948a5e7))
477
+ - update plugin README formatting ([#396](https://github.com/janus-idp/backstage-plugins/issues/396)) ([9b39056](https://github.com/janus-idp/backstage-plugins/commit/9b39056f6c66e9a6a0a5d0c4059420dff66db263)), closes [#295](https://github.com/janus-idp/backstage-plugins/issues/295) [#369](https://github.com/janus-idp/backstage-plugins/issues/369) [#295](https://github.com/janus-idp/backstage-plugins/issues/295) [#369](https://github.com/janus-idp/backstage-plugins/issues/369)
478
+
479
+ ## @backstage-community/plugin-ocm [3.0.1](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@3.0.0...@backstage-community/plugin-ocm@3.0.1) (2023-05-31)
480
+
481
+ ### Bug Fixes
482
+
483
+ - **ocm:** hide logo when not provided ([#410](https://github.com/janus-idp/backstage-plugins/issues/410)) ([3cdccc1](https://github.com/janus-idp/backstage-plugins/commit/3cdccc10a6209f55d36db29b429c168797d64760))
484
+
485
+ ### Documentation
486
+
487
+ - **ocm:** add user docs ([#385](https://github.com/janus-idp/backstage-plugins/issues/385)) ([76f65ff](https://github.com/janus-idp/backstage-plugins/commit/76f65ff95c8e745bc6a85f044f6d6a8492743e95))
488
+
489
+ ## @backstage-community/plugin-ocm [3.0.0](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@2.2.11...@backstage-community/plugin-ocm@3.0.0) (2023-05-30)
490
+
491
+ ### ⚠ BREAKING CHANGES
492
+
493
+ - **ocm:** remake OCM UX (#386)
494
+ - **ocm-backend:** The scheduler for the entity provider is now
495
+ configurable by changing the `app-config.yaml` or by changing code in
496
+ `catalog.ts`. The old configuration for entity provider in `catalog.ts`
497
+ is no longer valid.
498
+
499
+ Signed-off-by: SamoKopecky <skopecky@redhat.com>
500
+ Signed-off-by: Tomas Coufal <tcoufal@redhat.com>
501
+
502
+ ### Features
503
+
504
+ - **ocm-backend:** add a scheduler configuration option ([#246](https://github.com/janus-idp/backstage-plugins/issues/246)) ([5157185](https://github.com/janus-idp/backstage-plugins/commit/5157185679950b4952f8602dc05f48146d1ad186))
505
+ - **ocm:** remake OCM UX ([#386](https://github.com/janus-idp/backstage-plugins/issues/386)) ([c77a10f](https://github.com/janus-idp/backstage-plugins/commit/c77a10ff80be3635a985ce459c045f56e2c8433b))
506
+
507
+ ### Dependencies
508
+
509
+ - **@backstage-community/plugin-ocm-common:** upgraded to 2.1.0
510
+
511
+ ## @backstage-community/plugin-ocm [2.2.11](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@2.2.10...@backstage-community/plugin-ocm@2.2.11) (2023-05-30)
512
+
513
+ ## @backstage-community/plugin-ocm [2.2.10](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@2.2.9...@backstage-community/plugin-ocm@2.2.10) (2023-05-30)
514
+
515
+ ### Dependencies
516
+
517
+ - **@backstage-community/plugin-ocm-common:** upgraded to 2.0.3
518
+
519
+ ## @backstage-community/plugin-ocm [2.2.9](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@2.2.8...@backstage-community/plugin-ocm@2.2.9) (2023-05-18)
520
+
521
+ ### Documentation
522
+
523
+ - fix misc README issues ([#375](https://github.com/janus-idp/backstage-plugins/issues/375)) ([7ae8876](https://github.com/janus-idp/backstage-plugins/commit/7ae88760c322694b29b558bac78cbc4eb768695c))
524
+
525
+ ## @backstage-community/plugin-ocm [2.2.8](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@2.2.7...@backstage-community/plugin-ocm@2.2.8) (2023-05-18)
526
+
527
+ ### Documentation
528
+
529
+ - update plugin READMEs ([#373](https://github.com/janus-idp/backstage-plugins/issues/373)) ([478560e](https://github.com/janus-idp/backstage-plugins/commit/478560e38cceaa40d976bccf4785956ed58b5221))
530
+
531
+ ## @backstage-community/plugin-ocm [2.2.7](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@2.2.6...@backstage-community/plugin-ocm@2.2.7) (2023-05-17)
532
+
533
+ ### Bug Fixes
534
+
535
+ - **deps:** update all non-major dependencies ([#358](https://github.com/janus-idp/backstage-plugins/issues/358)) ([086a9ed](https://github.com/janus-idp/backstage-plugins/commit/086a9ed839f3a6dd1460f0f87b71453a7ed62ea3))
536
+
537
+ ## @backstage-community/plugin-ocm [2.2.6](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@2.2.5...@backstage-community/plugin-ocm@2.2.6) (2023-05-15)
538
+
539
+ ## @backstage-community/plugin-ocm [2.2.5](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@2.2.4...@backstage-community/plugin-ocm@2.2.5) (2023-05-15)
540
+
541
+ ## @backstage-community/plugin-ocm [2.2.4](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@2.2.3...@backstage-community/plugin-ocm@2.2.4) (2023-05-11)
542
+
543
+ ### Bug Fixes
544
+
545
+ - **deps:** update all non-major dependencies ([#339](https://github.com/janus-idp/backstage-plugins/issues/339)) ([d19d96d](https://github.com/janus-idp/backstage-plugins/commit/d19d96de7b55c205e0f77528e476104c0685aad2))
546
+
547
+ ## @backstage-community/plugin-ocm [2.2.3](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@2.2.2...@backstage-community/plugin-ocm@2.2.3) (2023-05-09)
548
+
549
+ ### Other changes
550
+
551
+ - **deps:** update all non-major dependencies ([#333](https://github.com/janus-idp/backstage-plugins/issues/333)) ([dce0ea4](https://github.com/janus-idp/backstage-plugins/commit/dce0ea4a9b9f517bd864d39f0b364c68e6a2e143))
552
+
553
+ ## @backstage-community/plugin-ocm [2.2.2](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@2.2.1...@backstage-community/plugin-ocm@2.2.2) (2023-05-08)
554
+
555
+ ### Documentation
556
+
557
+ - review for OCM plugin ([#291](https://github.com/janus-idp/backstage-plugins/issues/291)) ([9316baf](https://github.com/janus-idp/backstage-plugins/commit/9316bafd954f2c6986baa620ea13a74dcb558b29))
558
+
559
+ ### Dependencies
560
+
561
+ - **@backstage-community/plugin-ocm-common:** upgraded to 2.0.2
562
+
563
+ ## @backstage-community/plugin-ocm [2.2.1](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@2.2.0...@backstage-community/plugin-ocm@2.2.1) (2023-05-04)
564
+
565
+ ### Other changes
566
+
567
+ - **deps:** update all non-major dependencies ([#127](https://github.com/janus-idp/backstage-plugins/issues/127)) ([a9d359f](https://github.com/janus-idp/backstage-plugins/commit/a9d359f01448d1b9b4b4d3d9b087052fb6ff16b3))
568
+
569
+ ### Dependencies
570
+
571
+ - **@backstage-community/plugin-ocm-common:** upgraded to 2.0.1
572
+
573
+ ## @backstage-community/plugin-ocm [2.2.0](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@2.1.0...@backstage-community/plugin-ocm@2.2.0) (2023-04-20)
574
+
575
+ ### Features
576
+
577
+ - **ocm:** Migrate ocm frontend plugin to the backstage utility API ([#266](https://github.com/janus-idp/backstage-plugins/issues/266)) ([30cb98c](https://github.com/janus-idp/backstage-plugins/commit/30cb98c7b87e8ff07a0fb447e1d4717aea7bb37d))
578
+
579
+ ## @backstage-community/plugin-ocm [2.1.0](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@2.0.0...@backstage-community/plugin-ocm@2.1.0) (2023-04-05)
580
+
581
+ ### Features
582
+
583
+ - **ocm:** Add a default owner configuration field ([#157](https://github.com/janus-idp/backstage-plugins/issues/157)) ([dbf5c9b](https://github.com/janus-idp/backstage-plugins/commit/dbf5c9b86f2173cb404e263556e1831d9a143a9c))
584
+
585
+ ## @backstage-community/plugin-ocm [2.0.0](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@1.2.0...@backstage-community/plugin-ocm@2.0.0) (2023-03-29)
586
+
587
+ ### ⚠ BREAKING CHANGES
588
+
589
+ - **ocm:** Relocate OCM config and support multiple hubs (#145)
590
+
591
+ ### Features
592
+
593
+ - **ocm:** Relocate OCM config and support multiple hubs ([#145](https://github.com/janus-idp/backstage-plugins/issues/145)) ([1518235](https://github.com/janus-idp/backstage-plugins/commit/1518235833d37b03cbcb75e9148e75e76908a53a))
594
+
595
+ ### Dependencies
596
+
597
+ - **@backstage-community/plugin-ocm-common:** upgraded to 2.0.0
598
+
599
+ # @backstage-community/plugin-ocm [1.2.0](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@1.1.3...@backstage-community/plugin-ocm@1.2.0) (2023-03-15)
600
+
601
+ ### Features
602
+
603
+ - **ocm:** Add header to the ocm cluster status page ([#167](https://github.com/janus-idp/backstage-plugins/issues/167)) ([52bb702](https://github.com/janus-idp/backstage-plugins/commit/52bb7029f39575f98649f40f4f37c5b648d88368))
604
+
605
+ ## @backstage-community/plugin-ocm [1.1.3](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@1.1.2...@backstage-community/plugin-ocm@1.1.3) (2023-03-06)
606
+
607
+ ### Bug Fixes
608
+
609
+ - **metadata:** adding default metadata to current plugins ([06776da](https://github.com/janus-idp/backstage-plugins/commit/06776dafdbab6d4fa85b92d5b676f65d97bbdb44)), closes [#155](https://github.com/janus-idp/backstage-plugins/issues/155) [#155](https://github.com/janus-idp/backstage-plugins/issues/155)
610
+
611
+ ### Dependencies
612
+
613
+ - **@backstage-community/plugin-ocm-common:** upgraded to 1.2.1
614
+
615
+ ## @backstage-community/plugin-ocm [1.1.2](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@1.1.1...@backstage-community/plugin-ocm@1.1.2) (2023-02-22)
616
+
617
+ ### Dependencies
618
+
619
+ - **@backstage-community/plugin-ocm-common:** upgraded to 1.2.0
620
+
621
+ ## @backstage-community/plugin-ocm [1.1.1](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@1.1.0...@backstage-community/plugin-ocm@1.1.1) (2023-01-25)
622
+
623
+ ### Bug Fixes
624
+
625
+ - **deps:** update all non-major dependencies ([d971f33](https://github.com/janus-idp/backstage-plugins/commit/d971f33c3f79ac4ec36dfb8b579f07d8dbcef8f1))
626
+
627
+ ### Dependencies
628
+
629
+ - **@backstage-community/plugin-ocm-common:** upgraded to 1.1.1
630
+
631
+ # @backstage-community/plugin-ocm [1.1.0](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@1.0.2...@backstage-community/plugin-ocm@1.1.0) (2023-01-18)
632
+
633
+ ### Features
634
+
635
+ - **ocm:** Add a frontend indicator for cluster upgrades ([a9c0b73](https://github.com/janus-idp/backstage-plugins/commit/a9c0b73af9d4fbcd3806c2a6ed1a3dda848c2035))
636
+
637
+ ## @backstage-community/plugin-ocm [1.0.2](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@1.0.1...@backstage-community/plugin-ocm@1.0.2) (2023-01-17)
638
+
639
+ ### Dependencies
640
+
641
+ - **@backstage-community/plugin-ocm-common:** upgraded to 1.1.0
642
+
643
+ ## @backstage-community/plugin-ocm [1.0.1](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-ocm@1.0.0...@backstage-community/plugin-ocm@1.0.1) (2022-12-08)
644
+
645
+ ### Bug Fixes
646
+
647
+ - Fix typo in cluster status page ocm ([c06304a](https://github.com/janus-idp/backstage-plugins/commit/c06304aeec782b0f51d108d9cad617c3e6a95fa2))
648
+
649
+ # @backstage-community/plugin-ocm 1.0.0 (2022-12-07)
650
+
651
+ ### Features
652
+
653
+ - transfer Open Cluster Management plugins ([#5](https://github.com/janus-idp/backstage-plugins/issues/5)) ([1ccf8c3](https://github.com/janus-idp/backstage-plugins/commit/1ccf8c35f9ade6ff57f4897424d0202fed8ce7e8)), closes [#160](https://github.com/janus-idp/backstage-plugins/issues/160) [#161](https://github.com/janus-idp/backstage-plugins/issues/161) [#163](https://github.com/janus-idp/backstage-plugins/issues/163) [#165](https://github.com/janus-idp/backstage-plugins/issues/165) [#164](https://github.com/janus-idp/backstage-plugins/issues/164) [#156](https://github.com/janus-idp/backstage-plugins/issues/156) [#167](https://github.com/janus-idp/backstage-plugins/issues/167) [#168](https://github.com/janus-idp/backstage-plugins/issues/168) [#184](https://github.com/janus-idp/backstage-plugins/issues/184) [#188](https://github.com/janus-idp/backstage-plugins/issues/188) [#187](https://github.com/janus-idp/backstage-plugins/issues/187) [#192](https://github.com/janus-idp/backstage-plugins/issues/192) [#186](https://github.com/janus-idp/backstage-plugins/issues/186) [#162](https://github.com/janus-idp/backstage-plugins/issues/162)
654
+
655
+ ### Dependencies
656
+
657
+ - **@backstage-community/plugin-ocm-common:** upgraded to 1.0.0
package/README.md ADDED
@@ -0,0 +1,324 @@
1
+ # Open Cluster Management plugin for Backstage
2
+
3
+ The Open Cluster Management (OCM) plugin integrates your Backstage instance with the `MultiClusterHub` and `MultiCluster` engines of OCM.
4
+
5
+ ## Capabilities
6
+
7
+ The OCM plugin has the following capabilities:
8
+
9
+ - All clusters represented as `ManagedCluster` in `MultiClusterHub` or MCE are discovered and imported into the Backstage catalog, such as:
10
+ - Entity is defined as `kind: Resource` with `spec.type` set to `kubernetes-cluster`.
11
+ - Links to the OpenShift Container Platform (OCP) console, OCM console, and OpenShift Cluster Manager are provided in `metadata.links`.
12
+ - Shows real-time data from OCM on the Resource entity page, including:
13
+ - Cluster current status (up or down)
14
+ - Cluster nodes status (up or down)
15
+ - Cluster details (console link, OCP, and Kubernetes version)
16
+ - Details about available compute resources on the cluster
17
+
18
+ ## For administrators
19
+
20
+ ### Installation
21
+
22
+ The OCM plugin is composed of two packages, including:
23
+
24
+ - `@backstage-community/plugin-ocm-backend` package connects the Backstage server to OCM. For setup process, see [Backend Setup](#setting-up-the-ocm-backend-package)
25
+ - The `@backstage-community/plugin-ocm` package, which contains frontend components requires the `\*-backend` package to be present and properly set up. For detailed instructions on setting up the backend, refer to the [Backend Setup](#setting-up-the-ocm-backend-package) section.
26
+
27
+ **NOTE**
28
+ If you are interested in Resource discovery and do not want any of the front-end components, then you can install and configure the `@backstage-community/plugin-ocm-backend` package only.
29
+
30
+ ---
31
+
32
+ #### Prerequisites
33
+
34
+ - OCM is [deployed and configured](https://access.redhat.com/documentation/en-us/red_hat_advanced_cluster_management_for_kubernetes/2.10/html/install/installing#doc-wrapper) on a Kubernetes cluster.
35
+ - [Kubernetes plugin for Backstage](https://backstage.io/docs/features/kubernetes) is installed and configured (Optional)
36
+ - On the target Hub clusters please create a `ServiceAccount` and grant it the following `ClusterRole`:
37
+
38
+ ```yaml
39
+ kind: ClusterRole
40
+ apiVersion: rbac.authorization.k8s.io/v1
41
+ metadata:
42
+ name: backstage-ocm-plugin
43
+ rules:
44
+ - apiGroups:
45
+ - cluster.open-cluster-management.io
46
+ resources:
47
+ - managedclusters
48
+ verbs:
49
+ - get
50
+ - watch
51
+ - list
52
+ - apiGroups:
53
+ - internal.open-cluster-management.io
54
+ resources:
55
+ - managedclusterinfos
56
+ verbs:
57
+ - get
58
+ - watch
59
+ - list
60
+ ```
61
+
62
+ #### Setting up the OCM backend package
63
+
64
+ 1. Install the OCM backend plugin using the following command:
65
+
66
+ ```console
67
+ yarn workspace backend add @backstage-community/plugin-ocm-backend
68
+ ```
69
+
70
+ 1. Configure the OCM backend plugin using one of the following configurations:
71
+
72
+ - The OCM configuration provides the information about your hub. To use the OCM configuration, add the following code to your `app-config.yaml` file:
73
+
74
+ ```yaml title="app-config.yaml"
75
+ catalog:
76
+ providers:
77
+ ocm:
78
+ env: # Key is reflected as provider ID. Defines and claims plugin instance ownership of entities
79
+ name: # Name that the hub cluster will assume in Backstage Catalog (in OCM this is always local-cluster which can be confusing)
80
+ url: # URL of the hub cluster API endpoint
81
+ serviceAccountToken: # Token used for querying data from the hub
82
+ skipTLSVerify: # Skip TLS certificate verification, defaults to false (Optional)
83
+ caData: # Base64-encoded CA bundle in PEM format (Optional)
84
+ ```
85
+
86
+ - To ensure the Hub clusters are properly ingested into the catalog, the value provided to the `name` field must comply with the backstage entity name format [requirements](https://backstage.io/docs/features/software-catalog/descriptor-format/#name-required)
87
+
88
+ - Alternatively, If the Backstage Kubernetes plugin is installed and configured to connect to the Hub cluster, then you can bind the both hub and Kubernetes configuration by providing the name of the Hub in the `app-config.yaml` as follows:
89
+
90
+ ```yaml title="app-config.yaml"
91
+ kubernetes:
92
+ serviceLocatorMethod:
93
+ type: 'multiTenant'
94
+ clusterLocatorMethods:
95
+ - type: 'config'
96
+ clusters:
97
+ # highlight-add-start
98
+ - name: <cluster-name>
99
+ # Other cluster configurations
100
+ url: <cluster-api-url>
101
+ serviceAccountToken: <token>
102
+ skipTLSVerify: # Skip TLS certificate verification, defaults to false (Optional)
103
+ caData: # Base64-encoded CA bundle in PEM format (Optional)
104
+ # highlight-add-end
105
+
106
+ catalog:
107
+ providers:
108
+ ocm:
109
+ env: # Key is reflected as provider ID. Defines and claims plugin instance ownership of entities
110
+ # highlight-add-start
111
+ kubernetesPluginRef: <cluster-name> # Match the cluster name in kubernetes plugin config
112
+ # The remaining OCM configurations are ignored if kubernetesPluginRef is provided (with exception of schedule and owner)
113
+ # ... Other OCM Configurations
114
+ # highlight-add-end
115
+ ```
116
+
117
+ - If the `kubernetesPluginRef` is provided, then it will take precedence over any other configuration for that OCM provider
118
+ - Please ensure that `<cluster-name>` follows the same requirements as the `name` field in the OCM configuration.
119
+ - Note: It is not necessary to have the kubernetes plugin installed, since only the kubernetes configuration is required if `kubernetesPluginRef` is used
120
+
121
+ Ensure that the Backstage uses a `ServiceAccount` token and the required permissions are granted as mentioned previously.
122
+
123
+ This is useful when you already use a Kubernetes plugin in your Backstage instance. Also, the hub cluster must be connected using the `ServiceAccount`.
124
+
125
+ For more information about the configuration, see [Backstage Kubernetes plugin](https://backstage.io/docs/features/kubernetes/configuration#configuring-kubernetes-clusters) documentation.
126
+
127
+ 1. Optional: Configure the default owner for the cluster entities in the catalog for a specific environment. For example, use the following code to set `foo` as the owner for clusters from `env` in the `app-config.yaml` catalog section:
128
+
129
+ ```yaml title="app-config.yaml"
130
+ catalog:
131
+ providers:
132
+ ocm:
133
+ env:
134
+ # ...
135
+ # highlight-next-line
136
+ owner: user:foo
137
+ ```
138
+
139
+ For more information about the default owner configuration, see [upstream string references documentation](https://backstage.io/docs/features/software-catalog/references/#string-references).
140
+
141
+ ##### Installing the OCM backend package
142
+
143
+ In order to install the plugin follow the first 2 configuration steps described [here](#setting-up-the-ocm-backend-package). Then add the following lines to the `packages/backend/src/index.ts` file.
144
+
145
+ ```ts title="packages/backend/src/index.ts"
146
+ import {
147
+ catalogModuleOCMEntityProvider,
148
+ ocmPlugin,
149
+ } from '@backstage-community/plugin-ocm-backend';
150
+
151
+ const backend = createBackend();
152
+ /* highlight-add-start */
153
+ backend.add(catalogModuleOCMEntityProvider);
154
+ backend.add(ocmPlugin);
155
+ /* highlight-add-end */
156
+
157
+ backend.start();
158
+ ```
159
+
160
+ ---
161
+
162
+ **NOTE**
163
+ The default schedule for the OCM plugin has a frequency of 1 hour and a timeout of 15 minutes. If you want to modify the schedule, you can do so by specifying the `schedule` field in the `app-config.yaml` file as follows:
164
+
165
+ ```yaml title="app-config.yaml"
166
+ catalog:
167
+ providers:
168
+ ocm:
169
+ env:
170
+ # ...
171
+ # highlight-add-start
172
+ schedule: # optional; same options as in TaskScheduleDefinition
173
+ # supports cron, ISO duration, "human duration" as used in code
174
+ frequency: { minutes: 1 } # Customize with your desired frequency
175
+ # supports ISO duration, "human duration" as used in code
176
+ timeout: { minutes: 1 } # Customize with your desired timeout
177
+ # highlight-add-end
178
+ ```
179
+
180
+ ---
181
+
182
+ #### Setting up the OCM frontend package
183
+
184
+ 1. Install the OCM frontend plugin using the following command:
185
+
186
+ ```console
187
+ yarn workspace app add @backstage-community/plugin-ocm
188
+ ```
189
+
190
+ 2. Select the components that you want to use, such as:
191
+
192
+ - `OcmPage`: This is a standalone page or dashboard displaying all clusters as tiles. You can add `OcmPage` to `packages/app/src/App.tsx` file as follows:
193
+
194
+ ```tsx title="packages/app/src/App.tsx"
195
+ /* highlight-add-next-line */
196
+ import { OcmPage } from '@backstage-community/plugin-ocm';
197
+
198
+ const routes = (
199
+ <FlatRoutes>
200
+ {/* ... */}
201
+ {/* highlight-add-next-line */}
202
+ <Route path="/ocm" element={<OcmPage logo={<Logo />} />} />
203
+ </FlatRoutes>
204
+ );
205
+ ```
206
+
207
+ You can also update navigation in `packages/app/src/components/Root/Root.tsx` as follows:
208
+
209
+ ```tsx title="packages/app/src/components/Root/Root.tsx"
210
+ /* highlight-add-next-line */
211
+ import { OcmIcon } from '@backstage-community/plugin-ocm';
212
+
213
+ export const Root = ({ children }: PropsWithChildren<{}>) => (
214
+ <SidebarPage>
215
+ <Sidebar>
216
+ <SidebarGroup label="Menu" icon={<MenuIcon />}>
217
+ {/* ... */}
218
+ {/* highlight-add-next-line */}
219
+ <SidebarItem icon={OcmIcon} to="ocm" text="Clusters" />
220
+ </SidebarGroup>
221
+ {/* ... */}
222
+ </Sidebar>
223
+ {children}
224
+ </SidebarPage>
225
+ );
226
+ ```
227
+
228
+ - `ClusterContextProvider`: This component is a React context provided for OCM data, which is related to the current entity. The `ClusterContextProvider` component is used to display any data on the React components mentioned in `packages/app/src/components/catalog/EntityPage.tsx`:
229
+
230
+ ```tsx title="packages/app/src/components/catalog/EntityPage.tsx"
231
+ /* highlight-add-start */
232
+ import {
233
+ ClusterAvailableResourceCard,
234
+ ClusterContextProvider,
235
+ ClusterInfoCard,
236
+ } from '@backstage-community/plugin-ocm';
237
+
238
+ const isType = (types: string | string[]) => (entity: Entity) => {
239
+ if (!entity?.spec?.type) {
240
+ return false;
241
+ }
242
+ return typeof types === 'string'
243
+ ? entity?.spec?.type === types
244
+ : types.includes(entity.spec.type as string);
245
+ };
246
+ /* highlight-add-end */
247
+
248
+ export const resourcePage = (
249
+ <EntityLayout>
250
+ {/* ... */}
251
+ {/* highlight-add-start */}
252
+ <EntityLayout.Route path="/status" title="status">
253
+ <EntitySwitch>
254
+ <EntitySwitch.Case if={isType('kubernetes-cluster')}>
255
+ <ClusterContextProvider>
256
+ <Grid container direction="column" xs={6}>
257
+ <Grid item>
258
+ <ClusterInfoCard />
259
+ </Grid>
260
+ <Grid item>
261
+ <ClusterAvailableResourceCard />
262
+ </Grid>
263
+ </Grid>
264
+ </ClusterContextProvider>
265
+ </EntitySwitch.Case>
266
+ </EntitySwitch>
267
+ </EntityLayout.Route>
268
+ {/* highlight-add-end */}
269
+ </EntityLayout>
270
+ );
271
+
272
+ export const entityPage = (
273
+ <EntitySwitch>
274
+ {/* ... */}
275
+ {/* highlight-add-next-line */}
276
+ <EntitySwitch.Case if={isKind('resource')} children={resourcePage} />
277
+ </EntitySwitch>
278
+ );
279
+ ```
280
+
281
+ In the previous codeblock, you can place the context provider into your `Resource` entity renderer, which is usually available in `packages/app/src/components/catalog/EntityPage.tsx` or in an imported component.
282
+
283
+ - `<ClusterInfoCard />`: This is an entity component displaying details of a cluster in a table:
284
+
285
+ - `<ClusterAvailableResourceCard />`: This is an entity component displaying the available resources on a cluster. For example, see [`.status.capacity`](https://open-cluster-management.io/concepts/managedcluster/#cluster-heartbeats-and-status) of the `ManagedCluster` resource.
286
+
287
+ ## For users
288
+
289
+ ### Using the OCM plugin in Backstage
290
+
291
+ The OCM plugin integrates your Backstage instance with multi-cluster engines and displays real-time data from OCM.
292
+
293
+ #### Prerequisites
294
+
295
+ - Your Backstage application is installed and running.
296
+ - You have installed the OCM plugin. For the installation process, see [Installation](#installation).
297
+ - If RBAC permission framework is enabled, ensure adding the following permission policies in an external permission policies configuration file named `rbac-policy.csv` to allow the rbac admins or your desired user(s)/group(s) to access the ocm backend plugin:
298
+
299
+ ```csv rbac-policy.csv
300
+ p, role:default/rbac_admin, ocm.entity.read, read, allow
301
+ p, role:default/rbac_admin, ocm.cluster.read, read, allow
302
+ ```
303
+
304
+ #### Procedure
305
+
306
+ 1. Open your Backstage application.
307
+ 1. Click the **Clusters** tab from the left-side panel to view the **Managed Clusters** page.
308
+
309
+ The **Managed Clusters** page displays the list of clusters with additional information, such as status, infrastructure provider, associated OpenShift version, and available nodes.
310
+
311
+ ![ocm-plugin-ui](./images/ocm-plugin-user1.png)
312
+
313
+ You can also upgrade the OpenShift version for a cluster using the **Upgrade available** option in the **VERSION** column.
314
+
315
+ 1. Select a cluster from the **Managed Clusters** to view the related cluster information.
316
+
317
+ You are redirected to the cluster-specific page, which consists of:
318
+
319
+ - **Cluster Information**, such as name, status, accessed Kubernetes version, associated OpenShift ID and version, and accessed platform.
320
+ - **Available** cluster capacity, including CPU cores, memory size, and number of pods.
321
+ - **Related Links**, which enable you to access different consoles directly, such as OpenShift Console, OCM Console, and OpenShift Cluster Manager Console.
322
+ - **Relations** card, which displays the visual representation of the cluster and associated dependencies.
323
+
324
+ ![ocm-plugin-ui](./images/ocm-plugin-user2.png)
@@ -0,0 +1,5 @@
1
+ export { OcmIcon, OcmPage, ocmPlugin } from './plugin.esm.js';
2
+ export { ClusterAvailableResourceCard } from './components/ClusterAvailableResourcesCard/ClusterAvailableResourcesCard.esm.js';
3
+ export { ClusterContextProvider, useCluster } from './components/ClusterContext/ClusterContext.esm.js';
4
+ export { ClusterInfoCard } from './components/ClusterInfoCard/ClusterInfoCard.esm.js';
5
+ //# sourceMappingURL=index.esm.js.map
package/package.json ADDED
@@ -0,0 +1,103 @@
1
+ {
2
+ "name": "@backstage-community/plugin-ocm",
3
+ "version": "5.2.1",
4
+ "main": "dist/index.esm.js",
5
+ "types": "dist/index.d.ts",
6
+ "license": "Apache-2.0",
7
+ "publishConfig": {
8
+ "access": "public",
9
+ "main": "dist/index.esm.js",
10
+ "types": "dist/index.d.ts"
11
+ },
12
+ "backstage": {
13
+ "role": "frontend-plugin",
14
+ "supported-versions": "1.32.4",
15
+ "pluginId": "ocm",
16
+ "pluginPackages": [
17
+ "@backstage-community/plugin-ocm",
18
+ "@backstage-community/plugin-ocm-backend",
19
+ "@backstage-community/plugin-ocm-common"
20
+ ]
21
+ },
22
+ "sideEffects": false,
23
+ "scripts": {
24
+ "build": "backstage-cli package build",
25
+ "clean": "backstage-cli package clean",
26
+ "lint:check": "backstage-cli package lint",
27
+ "lint:fix": "backstage-cli package lint --fix",
28
+ "postpack": "backstage-cli package postpack",
29
+ "prepack": "backstage-cli package prepack",
30
+ "start": "backstage-cli package start",
31
+ "test": "backstage-cli package test --passWithNoTests --coverage",
32
+ "tsc": "tsc",
33
+ "prettier:check": "prettier --ignore-unknown --check .",
34
+ "prettier:fix": "prettier --ignore-unknown --write ."
35
+ },
36
+ "dependencies": {
37
+ "@backstage-community/plugin-ocm-common": "^3.6.1",
38
+ "@backstage/catalog-model": "^1.7.0",
39
+ "@backstage/core-components": "^0.15.1",
40
+ "@backstage/core-plugin-api": "^1.10.0",
41
+ "@backstage/errors": "^1.2.4",
42
+ "@backstage/plugin-catalog-react": "^1.14.0",
43
+ "@backstage/plugin-home": "^0.8.0",
44
+ "@backstage/plugin-permission-react": "^0.4.27",
45
+ "@backstage/plugin-search-react": "^1.8.1",
46
+ "@backstage/theme": "^0.6.0",
47
+ "@material-ui/core": "^4.9.13",
48
+ "@material-ui/icons": "^4.11.3",
49
+ "@material-ui/lab": "^4.0.0-alpha.45",
50
+ "@mui/icons-material": "^5.16.4",
51
+ "@patternfly/patternfly": "^5.1.0",
52
+ "react-use": "^17.4.0",
53
+ "semver": "^7.5.4"
54
+ },
55
+ "peerDependencies": {
56
+ "react": "^16.13.1 || ^17.0.0 || ^18.0.0",
57
+ "react-dom": "^16.13.1 || ^17.0.0 || ^18.0.0"
58
+ },
59
+ "devDependencies": {
60
+ "@backstage/cli": "0.28.2",
61
+ "@backstage/core-app-api": "1.15.1",
62
+ "@backstage/dev-utils": "1.1.2",
63
+ "@backstage/plugin-catalog": "1.24.0",
64
+ "@backstage/test-utils": "1.7.0",
65
+ "@redhat-developer/red-hat-developer-hub-theme": "0.4.0",
66
+ "@spotify/prettier-config": "^15.0.0",
67
+ "@testing-library/dom": "^10.0.0",
68
+ "@testing-library/jest-dom": "^6.0.0",
69
+ "@testing-library/react": "^15.0.0",
70
+ "@testing-library/user-event": "14.5.2",
71
+ "@types/node": "18.19.34",
72
+ "@types/react": "^18.2.58",
73
+ "@types/react-dom": "^18.2.19",
74
+ "canvas": "^2.11.2",
75
+ "cross-fetch": "4.0.0",
76
+ "msw": "1.3.3",
77
+ "prettier": "3.3.3",
78
+ "react": "^16.13.1 || ^17.0.0 || ^18.0.0",
79
+ "react-dom": "^16.13.1 || ^17.0.0 || ^18.0.0",
80
+ "react-router-dom": "^6.0.0"
81
+ },
82
+ "files": [
83
+ "dist-scalprum"
84
+ ],
85
+ "repository": {
86
+ "type": "git",
87
+ "url": "https://github.com/backstage/community-plugins",
88
+ "directory": "workspaces/ocm/plugins/ocm"
89
+ },
90
+ "keywords": [
91
+ "support:production",
92
+ "lifecycle:active",
93
+ "backstage",
94
+ "plugin"
95
+ ],
96
+ "homepage": "https://red.ht/rhdh",
97
+ "bugs": "https://github.com/backstage/community-plugins/issues",
98
+ "maintainers": [
99
+ "@04kash"
100
+ ],
101
+ "author": "Red Hat",
102
+ "module": "./dist/index.esm.js"
103
+ }