+++ This bug was initially created as a clone of Bug #1861904 +++ Description of problem: The GVK warnings should not include warnings that the controller has been configured to ignore via exclude_resources, which is set on the controller by the operator as an environment variable. This could potentially lead to user confusion. For example, by default, the CAM 1.2.4 operator excludes all kinds that are part of the service catalog's group. Often the GVK warning will trigger for service catalog objects, but as of 1.2.4, they're being ignored anyway, so we shouldn't warn. Version-Release number of selected component (if applicable): CAM 1.2.4 How reproducible: Every time Steps to Reproduce: 1. Use a source cluster that would trigger a GVK warning due to service catalog resources 2. Deploy CAM with 1.2.4 operator, this will have the service catalog resources as part of exclude_resources Actual results: catalog GVK warning will be written to the CR Expected results: catalog GVK warning should not be present, because the controller is configured to ignore them.
The work for this was address in a prior z-stream tracked in: https://bugzilla.redhat.com/show_bug.cgi?id=1861904
Verified using MTC 1.3 openshift-migration-rhel7-operator@sha256:233af9517407e792bbb34c58558346f2424b8b0ab54be6f12f9f97513e391a6a We deployed an application in 3.11 using the service catalog. Then we created a migration plan in order to migrate to 4.5. No warning was displayed. Moved to VERIFIED status.