Commit Graph

4 Commits

Author SHA1 Message Date
Nick Huanca
75f70352ba Additional Pod Controller Scans (#166)
**Changes**

- Refactored the way controllers work to be an interface
- Added configurable controllers to include in scans
- Added daemonsets, jobs and cronjobs in scans
- Added `ReplicationController` type controllers to the supported list
- Adjusted logic for failed YAML parsing to bubble up errors
- Added better logic for calculating summaries on cluster wide results
- Relocated responsibilities for counting types into validators vs spreading it around more packages
- Fixed bug where cronjob parsing was using wrong KIND
- Added fixtures for mocking new controller types
- Added example yamls to test scanning files
- Added functions to NamespacedResult(s) to reduce code complexity deep set iterations
- Refactored how results get added to namespacedresults so adding more later is easier
- Minor signature changes for interface implementing structs for controllers
2019-07-31 15:56:27 -06:00
Bobby Brennan
79f3d2cb74 use packr for config.yaml 2019-05-17 14:34:53 +00:00
Rob Scott
0f81f5a93d Adding goreleaser support 2019-05-16 11:21:47 -04:00
Rob Scott
c019364958 much more granular rbac permissions, splitting up dashboard and webhook components to allow for that 2019-05-16 10:00:21 -04:00