yonahd / kor

A Golang Tool to discover unused Kubernetes Resources
MIT License
1.04k stars 96 forks source link

Feat: Add support for multiple resources in Exporter function #229

Closed Yuni-sa closed 7 months ago

Yuni-sa commented 7 months ago

solves #218 allows you to select which types of unused resources you want to find: kor exporter --resources svc,deploy,ing -n namespace , can also use -r for short.

if resources are not specified it defaults to all resources.

codecov-commenter commented 7 months ago

Codecov Report

Attention: Patch coverage is 0% with 9 lines in your changes are missing coverage. Please review.

Project coverage is 47.09%. Comparing base (06a2b4e) to head (4e58dca).

Files Patch % Lines
pkg/kor/exporter.go 0.00% 9 Missing :warning:

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

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #229 +/- ## ========================================== - Coverage 47.17% 47.09% -0.08% ========================================== Files 32 32 Lines 2957 2962 +5 ========================================== Hits 1395 1395 - Misses 1388 1393 +5 Partials 174 174 ```

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