Diamon Wiggins and Dexter Yan
8105fa00e9
Refactor Remote Host Collection ( #1633 )
...
* refactor remote collectors
* add remotecollect params struct
* remove commented checkrbac function
* removed unused function
* add temp comments
* refactor to not require RemoteCollect method per collector
* removed unneeded param
* removed unneeded param
* more refactor
* more refactor
* remove unneeded function
* remove debug print
* fix analyzer results
* move rbac to separate file
* be more specific with rbac function name
* fix imports
* fix node list file
* make k8s rest client config consistent with in cluster collection
* add ctx and otel tracing
* add test for allCollectedData
* move runHostCollectorsInPod to spec instead of metadata
* make generate
* fix broken references to supportbundle metadata
* add e2e tests
* update loader tests
* fix tests
* fix hostos remote collector spec
* update remoteHostCollectrs.yaml
---------
Co-authored-by: Dexter Yan <yanshaocong@gmail.com >
2024-10-09 18:38:49 +13:00