Description of problem: The WMCO is watching pods when it does not need to https://github.com/openshift/windows-machine-config-operator/blob/master/pkg/controller/windowsmachineconfig/windowsmachineconfig_controller.go#L76 Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: Run the operator Actual results: WMCO is watching pods Expected results: WMCO does not watch pods. WMCO works without having RBAC permissions to watch pods. Additional info:
QE verification is blocked by Bug 1837936, will verify it when problem resolved,thanks.
QE testing passed Version: windows-machine-config-operator git commit: 8edef3c68c34c7c558cf3f039c9eb8706f429d7c Steps: After removed watch pods and RBAC permissions to watch pods, wmco works as expected
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:2409