Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

catalogsource: allow configuring gRPC server to use well-known opm #293

Conversation

stevekuznetsov
Copy link
Member

As the file-based catalog schemas mature, the couping between opm and the catalog data is effectively removed. We can take advantage of this new property in the system to not require that a server binary exist in the catalog index image, and remove many of the pain-points that come from using the embedded server binary.

part of operator-framework/operator-lifecycle-manager#3019

/assign @joelanford

@codecov
Copy link

codecov bot commented Sep 7, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.13% ⚠️

Comparison is base (44b1863) 42.11% compared to head (a7cd18c) 41.99%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #293      +/-   ##
==========================================
- Coverage   42.11%   41.99%   -0.13%     
==========================================
  Files          39       39              
  Lines        3495     3505      +10     
==========================================
  Hits         1472     1472              
- Misses       1877     1887      +10     
  Partials      146      146              
Files Changed Coverage Δ
crds/zz_defs.go 35.84% <ø> (ø)
pkg/operators/v1alpha1/catalogsource_types.go 57.69% <ø> (ø)
pkg/operators/v1alpha1/zz_generated.deepcopy.go 0.00% <0.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

As the file-based catalog schemas mature, the couping between `opm` and
the catalog data is effectively removed. We can take advantage of this
new property in the system to not require that a server binary exist in
the catalog index image, and remove many of the pain-points that come
from using the embedded server binary.

Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
Comment on lines +171 to +172
// ConfigDir is the directory storing the file-based catalog contents.
ConfigDir string `json:"configDir,omitempty "`
Copy link
Member

Choose a reason for hiding this comment

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

This Config terminology comes from the original Declarative Configuration name we gave to this stuff, which was later renamed to File-based catalogs.

Should we call this CatalogDir?

@awgreene
Copy link
Member

awgreene commented Sep 7, 2023

/approve
/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Sep 7, 2023
@openshift-ci
Copy link

openshift-ci bot commented Sep 7, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: awgreene, stevekuznetsov

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 7, 2023
@openshift-merge-robot openshift-merge-robot merged commit 039d150 into operator-framework:master Sep 7, 2023
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants