add olm.search.metadata property and FBC filtering library #1705
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Signed-off-by: Joe Lanford [email protected]
Caution
The code in this PR was almost entirely generated by Cursor, where I was acting as a supervisor and prodding the agent to make changes necessary to fulfill my design intent. I manually changed agent-generated code in a few places in order to help instruct the agent of my intentions. The PR description was also authored by Cursor. I reviewed the PR description before submitting. I have not yet fully reviewed the code.
Description
This PR introduces a new
olm.search.metadata
property type that enables operators to include searchable metadata in their bundles. It also provides a filtering library to query File-Based Catalogs (FBC) based on this metadata.Key Features
Search Metadata Property Type
String
,ListString
, andMapStringBoolean
Filtering Library (
alpha/declcfg/filter
)HasAny()
andHasAll()
criteriaAll
,Any
, or custom functions)declcfg.Meta
objects for FBC integrationExample Usage
Motivation
This enables rich search and discovery capabilities for operator catalogs, allowing users to find operators based on maturity level, feature sets, keywords, and other custom metadata. The implementation provides a foundation for enhanced catalog browsing and filtering experiences in operator marketplaces and CLI tools.
Reviewer Checklist
/docs