-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent subscription creation if opgroup incorrect
Previously, the subscription would be created by an enforced musthave OperatorPolicy regardless of the status of the OperatorGroup. But this could lead to a bad result where the operator is running in the wrong mode because it is not using the correct operatorgroup. While the policy was correctly non-compliant in this case, it should not create the subscription. Refs: - https://issues.redhat.com/browse/ACM-11507 Signed-off-by: Justin Kulikauskas <jkulikau@redhat.com>
- Loading branch information
1 parent
d734b7a
commit 414cd18
Showing
2 changed files
with
106 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters