operator-framework / enhancements

Apache License 2.0
9 stars 40 forks source link

operator-sdk-builds-catalogs: catalog builds in operator-sdk #59

Closed estroz closed 3 years ago

estroz commented 3 years ago

This enhancement proposes an addition to operator-sdk-built projects that enables users to build catalogs in a straightforward, low-effort manner.

Reference PR: https://github.com/operator-framework/operator-sdk/pull/4406

Signed-off-by: Eric Stroczynski ericstroczynski@gmail.com

estroz commented 3 years ago

/cc @jmrodri @tlwu2013

estroz commented 3 years ago

it might be great to also allow users to "remove packages/dependencies" from the catalog (also supporting "opm index prune"?

@tlwu2013 perhaps this would be useful to some devs, but I expect that number to be much smaller than those using opm index add for the sole reason of scope: index prune removes entire packages from an index (multi-operator scope) while index add adds one operator to an index (single-operator scope). If you're using index prune you are likely a power user (as described in the enhancement) and not just working with one project, hence it doesn't make sense to wrap that command in a project's Makefile. Correct me if I'm wrong about how index prune works.