Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude some resource kind #399

Open
born4new opened this issue Oct 24, 2022 · 2 comments
Open

Exclude some resource kind #399

born4new opened this issue Oct 24, 2022 · 2 comments
Labels
enhancement Adding additional functionality or improvements pinned Prevents stalebot from removing

Comments

@born4new
Copy link

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

@born4new born4new added enhancement Adding additional functionality or improvements triage This bug needs triage labels Oct 24, 2022
@born4new born4new changed the title Filter by kind Exclude some resource kind Oct 24, 2022
@sudermanjr
Copy link
Member

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

@sudermanjr sudermanjr added pinned Prevents stalebot from removing and removed triage This bug needs triage labels Nov 17, 2022
@niksauer
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Adding additional functionality or improvements pinned Prevents stalebot from removing
Projects
None yet
Development

No branches or pull requests

3 participants