This repository was archived by the owner on Oct 14, 2020. It is now read-only.

Description
When the controller / operator is updating the status of a scan it can come to write conflicts as the status of a Scan has been altered between the time the controller fetched the resource and send the update request.
The most likely reason this happens is that the controller updates the status more than once in a reconciliation cycle. When this happens the operator takes to cycles to properly update the scan which is unnecessary and pollutes the logs.
Desired behavior
The number of conflicts should be reduced by optimizing the Scan controller.
Notes
Currently especially the handling of hooks seems to have at least one of these problems