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 committed Jun 7, 2024
1 parent 2f0a380 commit cb9e08a
Show file tree
Hide file tree
Showing 6 changed files with 496 additions and 127 deletions.
Loading

0 comments on commit cb9e08a

Please sign in to comment.