You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An `olm.deprecated` property defines an `olm.bundle` object which is not installable. Historically, bundle deprecation mechanisms required this property on the `olm.bundle` object(s). This was necessary for SQLite-based catalogs that required all `olm.bundle` objects contributing to valid upgrade edges be present to avoid foreign key violations.
558
-
559
-
For file-based catalogs, we can simply omit the `olm.bundle` and maintain a valid upgrade graph. Since this property no longer serves any function in file-based catalogs, `opm render` will exclude `olm.bundle`s that contain this property.
560
-
561
-
#### `olm.bundle.object` (alpha)
562
-
563
-
`olm.bundle.object`properties are used to inline (or reference) a bundle's manifests directly in the catalog.
572
+
`olm.bundle.object`properties are used to inline a bundle's manifests directly in the catalog.
564
573
565
574
> **NOTE**: Core OLM does not require `olm.bundle.object` properties to be included on bundles. However, the OLM Package
566
575
> Server (used by tooling such as the kubectl operator plugin and the OpenShift console) does require these properties
567
576
> to be able to serve metadata about the packages in a catalog. In order to satisfy the needs of the package server, catalog
568
577
> maintainers should use this property to include the CSV for all bundles that are channel heads.
569
578
>
570
-
> This property is in _alpha_ because it will likely be rendered obsolete when updates can be made to the OLM Package
571
-
> Server to no longer require manifests in the catalog.
579
+
> This property is _deprecated_ because it causes major performance issues when loading and serving file-based catalogs.
580
+
> The `olm.csv.metadata` property, which serves the exact same purpose, should be used instead.
572
581
573
582
A bundle object property can contain inlined data using the `value.data` field, which must be the base64-encoded string
574
583
of that manifest.
575
584
576
-
Alternately, a bundle object property can be a reference to a file relative to the location of the file in which the
577
-
bundle is declared. Any referenced files must be within the catalog root.
578
-
579
585
The `olm.bundle.object` property [cue][cuelang-spec] schema is:
0 commit comments