Skip to content

Conversation

@grokspawn
Copy link
Contributor

With merge of operator-framework/api#454 (for CSV) and operator-framework/operator-registry#1792 (for FBC and substitutes template support), we have new capabilities to express the concept of a packaging-only revision of an operator.

Expressed in the ClusterServiceVersion as an optional release field, captured in the olm.bundle FBC schema version property olm.package and leveraged in the new substitutes template type, this attribute opens up a new axis in bundle operator versioning.

This release version allows migration to the new version on clusters with the old version installed, and facilitates graph updates to prefer the new release version over previous versions.

Signed-off-by: grokspawn <jordan@nimblewidget.com>
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds comprehensive documentation for a new bundle release version attribute that enables packaging-only revisions of operators. The feature introduces an optional release field for ClusterServiceVersions and file-based catalog bundles, along with a new substitutes template for managing bundle replacements.

Changes:

  • Extended olm.package property schema to support optional release field with format constraints and validation rules
  • Documented new substitutes template (olm.template.substitutes) for safely replacing bundles with packaging revisions
  • Added release field documentation to ClusterServiceVersion spec with naming conventions and version ordering rules

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 8 comments.

File Description
content/en/docs/Reference/file-based-catalogs.md Adds Bundle Release Property section documenting the optional release field in olm.package, including use cases, naming conventions, format constraints, and composite version ordering
content/en/docs/Reference/catalog-templates.md Documents the new substitutes template for replacing bundles, including schema, workflow diagrams, validation rules, and complete working examples
content/en/docs/Concepts/crds/clusterserviceversion.md Adds Release Field section to CSV documentation with format validation, naming conventions, and version ordering behavior

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Signed-off-by: grokspawn <jordan@nimblewidget.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant