digitalocean / clusterlint

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

Introduce basic admission webhook checks to handle error case #69

Closed nanzhong closed 4 years ago

nanzhong commented 4 years ago

Webhooks that point to missing services or namespaces is a pretty general case not specific to doks that we should catch.

This also cleans up the error case in the doks specific check that would in result in failed clusterlint run.

varshavaradarajan commented 4 years ago

lgtm

@nanzhong - I'll create a release with your change, #68 and #70 once this PR is merged.

nanzhong commented 4 years ago

@varshavaradarajan awesome, thanks!