troubleshoot icon indicating copy to clipboard operation
troubleshoot copied to clipboard

Prevent failure

Open manavellamnimble opened this issue 5 years ago • 1 comments

@marccampbell @divolgin I would like your opinion on this. I kept working on preventing failure on unnecessary default collectors, either RBAC errors or errors of other kind.

  • in case of RBAC errors, the not-allowed resource is checked against the analyzers in the spec. If no analyzer will use that resource, then it is not considered an error.
  • in case of failure of any of the collectors in the cluster resources, the collector (namespace, deployments, etc...) is checked against the analyzers. The error is only informed if there is no analyzer using that collector, or an error is sent if the collector is required.

Issues #239 #227

manavellamnimble avatar Nov 25 '20 14:11 manavellamnimble

PD: collector_test would need some modifications to work, but I wanted your opinion bf continuing working on this.

manavellamnimble avatar Nov 25 '20 14:11 manavellamnimble