Skip to content

Commit

Permalink
Add support for approving InstallPlans with multiple CSVs
Browse files Browse the repository at this point in the history
When an InstallPlan contains multiple CSVs, it will be approved if all
CSVs can be approved by the current operator policies.

Rather than query the operator policies directly, the subscriptions in
the namespace that are managed by an operator policy are queried and
then their associated operator policies are queried to avoid having to
resolve templates to see if they manage a subscription in the namespace.

Relates:
https://issues.redhat.com/browse/ACM-11981

Signed-off-by: mprahl <mprahl@users.noreply.github.com>
  • Loading branch information
mprahl authored and openshift-merge-bot[bot] committed Jun 7, 2024
1 parent 57e112c commit 4f7cda6
Show file tree
Hide file tree
Showing 6 changed files with 500 additions and 127 deletions.
Loading

0 comments on commit 4f7cda6

Please sign in to comment.