Commit Graph

9 Commits (9617526dcc87d174962bda2e44ab3844fb4944cb)

Author SHA1 Message Date
Adam Wolfe Gordon 68416bd367 Add check names to diagnostics from the check runner
Rather than relying on each check to fill in its name correctly when
producing diagnostics, fill in the name in the check runner after
running the check. This reduces the likelihood that a check gets its
name wrong or forgets to fill it in.

This also fixes a bug where the admission control webhook check was not
filling in its name at all.
2019-10-28 18:07:01 -06:00
Varsha Varadarajan f11c7bd659 Bare pod check: check is pod has owner references set 2019-07-16 14:55:07 -04:00
Varsha Varadarajan 98cd5d2b7a Filter diagnostics based on enabled checks while writing diagnostics to stdout 2019-07-02 19:20:26 -04:00
Adam Wolfe Gordon 2b080d1b9a Add license header to all files 2019-07-02 13:30:42 -06:00
Varsha Varadarajan 171ba02f4e Remove TypeMeta from Diagnostic.
* The k8s API does not set TypeMeta on objects when the list API is used
2019-06-25 14:19:20 -04:00
Varsha Varadarajan 65ba22e8d8 Use owner references to indicate the objects that refer to the problematic object.
* Change output format to json
2019-06-25 14:19:20 -04:00
Varsha Varadarajan 0320c5633a Introduce Diagnostic struct to store check output 2019-06-25 09:42:27 -04:00
Varsha Varadarajan e8223d9204 Separate messages for malformed image and fully qualified image. 2019-06-20 15:13:43 -04:00
Varsha Varadarajan d1469a006c Fully qualified image: Check if container uses fully qualified image names 2019-06-20 10:17:56 -04:00