yonahd / kor

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

chore: Remove exception duplications #309

Closed doronkg closed 2 months ago

doronkg commented 3 months ago

Many exception duplications were added in #277 (probably following the rebasing), they should be mapped under pkg/kor/exceptions and be removed.

For example:

# pkg/kor/exceptions/crds/crds.json

    {
      "Namespace": "",
      "ResourceName": "helmchartconfigs.helm.cattle.io"
    },
    {
      "Namespace": "",
      "ResourceName": "helmchartconfigs.helm.cattle.io"
    },

Bonus - enhance the validation workflow (#298) to remove duplications.

Originally posted by @doronkg in https://github.com/yonahd/kor/issues/277#issuecomment-2170990881

doronkg commented 2 months ago

/assign, WIP in #332

doronkg commented 2 months ago

/assign, WIP in #332

Completed. Closing this issue.