71 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
20bd32afb6 Rename ReactiveOps to Fairwinds (#180)
* Rename ReactiveOps to Fairwinds

* Rename ReactiveOps to Fairwinds
2019-07-30 15:29:09 -04:00
Bobby Brennan
edccf88ccd update fairwinds logo (#179) 2019-07-25 08:52:57 -04:00
Bobby Brennan
b5a180d3de update logo, copyright (#175) 2019-07-23 12:47:02 -04:00
Bobby Brennan
9f7ed8214e change domain from reactiveops.com to fairwinds.com (#173) 2019-07-19 16:16:59 -04:00
Bobby Brennan
ebfb4ea9a1 Add support for stateful sets (#145) 2019-06-13 07:59:01 -06:00
Bobby Brennan
538b1fba1c fix padding on top-level header 2019-06-10 14:50:37 +00:00
Bobby Brennan
1d6248180e add display-name flag 2019-06-10 14:39:24 +00:00
Bobby Brennan
7cfa13f285 Better support for CI/CD use case (#127)
add score to output

add output-format option

update README with more use cases

change YAML marshal strategy

fix webhook install instructions
2019-06-10 10:13:10 -04:00
Bobby Brennan
2494dd097b optionalize base path for dashboard (#134) 2019-06-04 16:44:41 -04:00
Bobby Brennan
f29e79841a fix JSON error on details pages (#117)
* fix JSON error on details pages

* test HTTP requests to dashboard as part of CI
2019-05-20 11:04:59 -04:00
Bobby Brennan
cd58867890 save all third-party assets to local files 2019-05-17 16:07:24 +00:00
Bobby Brennan
792d76783d reposition images 2019-05-15 21:52:15 +00:00
Bobby Brennan
24975bb8a1 update favicons 2019-05-15 21:52:15 +00:00
Bobby Brennan
9d4907b4a4 update logo 2019-05-15 21:52:15 +00:00
Bobby Brennan
374d167318 add score description, simplify chart layout 2019-05-15 19:57:38 +00:00
Rob Scott
287be8e57e a variety of dashboard updates and cleanup 2019-05-14 16:22:39 -04:00
Rob Scott
815c29ce69 moving to expandable category info 2019-05-14 16:22:38 -04:00
Rob Scott
202e633729 some dashboard layout updates 2019-05-14 16:22:38 -04:00
Bobby Brennan
85e27b1b9a Merge branch 'master' into rb/polaris-rename 2019-05-14 13:02:20 -04:00
Bobby Brennan
b79c10e797 fix content type 2019-05-14 15:26:39 +00:00
Bobby Brennan
09f0514326 change readme logo 2019-05-10 20:53:33 +00:00
Bobby Brennan
9bcb832bbd rename all the things 2019-05-09 15:59:23 +00:00
Bobby Brennan
bd2da76c56 Add explanations for each error
first pass

add info links to dashboard
2019-05-08 16:13:29 +00:00
Bobby Brennan
520d6572e4 Add ability to audit a directory of files (#70)
* refactor kubernetes API usage

* add ability to audit directory

* refactor a bit

* fix return statement

* fix main.go

* add ability to audit multiple resources in a single file
2019-05-07 12:42:57 -04:00
Bobby Brennan
807955d970 fix expand toggling 2019-05-07 15:49:08 +00:00
Bobby Brennan
f6d4264b42 Factor dashboard template into parts
factor out dashboard body into separate template

more refactoring

template out header and footer

add comments

add comments

add preamble
2019-05-07 13:28:11 +00:00
Bobby Brennan
1282359b04 create DeploymentResult type 2019-05-02 18:07:01 +00:00
Rob Scott
40e1c1f827 adding image pull policy validation 2019-05-01 16:00:59 -04:00
Rob Scott
4fe39e7b74 improved logging, better webhook output, webhook deploy fixes 2019-04-26 17:35:14 -04:00
Rob Scott
3e1906d3f1 separating webhook and dashboard k8s deploy config, moving assets into dashboard pkg, reworking docker image to actually make use of packr 2019-04-26 14:57:55 -04:00
Bobby Brennan
55363fd7a8 Add categories to dashboard
add version, cluster stats to output

add comment

update UI

changes to summary aggregation

add category summaries to dash
2019-04-23 15:07:50 +00:00
Bobby Brennan
3ce7e12082 Add version, cluster stats to output and UI (#61)
* add version, cluster stats to output

* add comment

* fix tests

* add categories to messages

* fix tests

* update UI

* remove empty category totals field

* k8smeta -> metav1
2019-04-22 12:01:18 -04:00
Bobby Brennan
54a4f92695 Pack static assets into packr box for portability
copy config.yaml to docker image

enable external usage of dashboard package

gofmt

fix comment

use packr for assets

add gobuffalo/packr dependency

add dependencies

fix pointer issues

add output-file option
2019-04-18 18:25:16 +00:00
Rob Scott
495a74d23e adding favicon 2019-04-17 13:26:09 -04:00
Rob Scott
0a4050d6b4 more dashboard updates, including concepty of weather 2019-04-17 11:00:11 -04:00
Rob Scott
6f06a5ef27 added weighted score + letter grades + lots of related dashboard updates 2019-04-15 17:59:41 -04:00
Rob Scott
d363eed95f some dashboard cleanup 2019-04-15 11:15:55 -04:00
Rob Scott
7263ff7e59 adding debug info for dashboard responses 2019-04-05 16:34:45 -04:00
Rob Scott
5c69b99f4e Merge pull request #46 from reactiveops/bb/refactor-template-js
refactor templated JS
2019-04-05 15:09:05 -04:00
Bobby Brennan
dab34b9033 refactor templated JS 2019-04-05 18:28:06 +00:00
Bobby Brennan
293d13074c Handle errors in HTML template execution 2019-04-05 12:48:19 +00:00
Bobby Brennan
e4dd53d1c0 Add audit mode to CLI
Add option to send audit results to a remote host

add audit flag to print results to stdout

add comments

make comments more consistent

move audit test

fix fullaudit_test

add test instructions to README

update audit test

simplify stdout output

update comment

fix import

run audit by default
2019-04-03 18:58:00 +00:00
Rob Scott
4875b72341 a bit of dashboard cleanup 2019-03-27 23:09:25 -04:00
Rob Scott
f5cde2db38 a lot of cleanup and restructuring 2019-03-27 22:57:01 -04:00
Rob Scott
6d49d0e19c updating logic to work with new config syntax 2019-03-27 22:55:31 -04:00
Bobby Brennan
715cd1c998 add branding to dashboard 2019-03-25 21:37:18 +00:00
Rob Scott
f07cddce02 fixes for golint errors 2019-03-25 12:33:24 -04:00
Bobby Brennan
e5b5a1a24f change error handling 2019-03-15 19:44:12 +00:00
Bobby Brennan
645eea1f22 fix tabs 2019-03-15 19:40:46 +00:00