yonahd / kor

A Golang Tool to discover unused Kubernetes Resources
MIT License
974 stars 91 forks source link

feat: add Kind exceptions #263

Closed doronkg closed 4 months ago

doronkg commented 4 months ago

What this PR does / why we need it

This PR excludes the default resources created in basic kind installations. The only excluded resource in a default service created in macOS installation.

PR Checklist

Github Issue

Closes #235

Notes for your reviewers

I've tested kind both on Windows & Linux, and all the default unused resources are already covered by kor (added from other distros exclusions). The only difference is mentioned here but it was added in #252.

This PR adds exceptions from macOS installation.

codecov-commenter commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 43.37%. Comparing base (97d3873) to head (ef6b8a8).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #263 +/- ## ======================================= Coverage 43.37% 43.37% ======================================= Files 58 58 Lines 2808 2808 ======================================= Hits 1218 1218 Misses 1400 1400 Partials 190 190 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.