digitalocean / clusterlint

A best practices checker for Kubernetes clusters. 🤠
Apache License 2.0
547 stars 45 forks source link

Add check names to diagnostics from the check runner #65

Closed adamwg closed 5 years ago

adamwg commented 5 years ago

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.