File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
content/en/docs/Reference Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change @@ -304,6 +304,45 @@ properties:
304
304
kind: Bar
305
305
` ` `
306
306
307
+ # ### `olm.deprecations`
308
+
309
+ Operator authors can provide information for support and upgrades by using the optional `olm.deprecations` schema.
310
+
311
+ The file-based catalog (FBC) deprecation schema consists of references to packages, bundles, and channels with a custom deprecation message.
312
+
313
+ A valid deprecation schema meets the following criteria :
314
+ - There must be only one schema per package
315
+ - The message must be a non-zero length
316
+ - The package must exist in the catalog
317
+
318
+ The deprecation feature does not consider overlapping deprecation (package vs channel vs bundle).
319
+
320
+ | | `olm.package` | `olm.channel` | `olm.bundle` |
321
+ |--------------|---------------------------------|----------------------|-----------------------|
322
+ | Scope | Entire Package | Single Channel | Single Bundle Version |
323
+ | Requirements | `name` must be empty since it is inferred from the parent `package` field | `name` is mandatory | `name` is mandatory |
324
+
325
+ The following example demonstrates each of the deprecation entry types :
326
+ ` ` ` yaml
327
+ schema: olm.deprecations
328
+ package: deprecation-example
329
+ entries:
330
+ - reference:
331
+ schema: olm.bundle
332
+ name: deprecation-example-operator.v1.68.0
333
+ message: |
334
+ deprecation-example-operator.v1.68.0 is deprecated. Uninstall and install deprecation-example-operator.v1.72.0 for support.
335
+ - reference:
336
+ schema: olm.package
337
+ message: |
338
+ package deprecation-example is end of life. Please use 'non-deprecated-example' package for support.
339
+ - reference:
340
+ schema: olm.channel
341
+ name: alpha
342
+ message: |
343
+ channel alpha is no longer supported. Please switch to channel 'stable'.
344
+ ` ` `
345
+
307
346
# ## Properties
308
347
309
348
Properties are arbitrary pieces of metadata that can be attached to file-based catalog schemas. The type field is a
You can’t perform that action at this time.
0 commit comments