yonahd / kor

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

feat: add AWS EKS defaults #291

Closed pbr0ck3r closed 4 months ago

pbr0ck3r commented 4 months ago

What this PR does / why we need it?

PR Checklist

GitHub Issue

https://github.com/yonahd/kor/issues/236

Notes for your reviewers

pbr0ck3r commented 4 months ago

Unused resources in namespace: "kube-system" +---+----------------+------------------------+ | # | RESOURCE TYPE | RESOURCE NAME | +---+----------------+------------------------+ | 1 | ConfigMap | amazon-vpc-cni | | 2 | ConfigMap | kube-proxy | | 3 | ConfigMap | kube-proxy-config | | 4 | ServiceAccount | aws-cloud-provider | | 5 | DaemonSet | aws-node | | 6 | DaemonSet | eks-pod-identity-agent | | 7 | Service | kube-dns | +---+----------------+------------------------+

Unused resources in namespace: "" +---+---------------+--------------------------------------------+ | # | RESOURCE TYPE | RESOURCE NAME | +---+---------------+--------------------------------------------+ | 1 | StorageClass | gp2 | | 2 | Crd | cninodes.vpcresources.k8s.aws | | 3 | Crd | eniconfigs.crd.k8s.amazonaws.com | | 4 | Crd | policyendpoints.networking.k8s.aws | | 5 | Crd | securitygrouppolicies.vpcresources.k8s.aws | +---+---------------+--------------------------------------------+

codecov-commenter commented 4 months ago

Codecov Report

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

Project coverage is 40.96%. Comparing base (5b9c270) to head (6e2c86f).

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

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #291 +/- ## ======================================= Coverage 40.96% 40.96% ======================================= Files 58 58 Lines 2910 2910 ======================================= Hits 1192 1192 Misses 1530 1530 Partials 188 188 ```

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