Exclude some resource kind
born4new opened this issue · 2 comments
Is your feature request related to a problem? Please describe.
We would like exclude certain resources from the deprecation warnings output (e.g. PodDisruptionBudget
that will be removed in 1.25), simply because the upgrade of those resources depend on another team, and we would still like to integrate Pluto in our CI, without having it be red until those are fixed.
This way, people would be able to have a green pipeline with Pluto at all times, while gradually migrating their deprecated resources.
Describe the solution you'd like
pluto detect-helm --excludeKind=PodDisruptionBudget -o wide
Describe alternatives you've considered
N/A
Additional context
N/A
The current setup allows you to override the list of deprecations that you are using if you would like to try that. I think adding that flag could be useful as well, but in the meantime check out - https://github.com/FairwindsOps/pluto/blob/master/docs/advanced.md#adding-custom-version-checks
That does not help since you cannot override anything contained in the default versions.yaml
that Pluto uses 😔
E1121 16:18:37.263697 18754 root.go:435] duplicate cannot be added to defaults: PodSecurityPolicy policy/v1beta1