Skip to content

Exclude some resource kind #399

Description

@born4new

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

Activity

  1. added
    enhancementAdding additional functionality or improvements
    triageThis bug needs triage
    on Oct 24, 2022
  2. changed the title [-]Filter by kind[/-] [+]Exclude some resource kind[/+] on Oct 24, 2022
  3. sudermanjr commented on Nov 17, 2022

    @sudermanjr
    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

  4. added
    pinnedPrevents stalebot from removing
    and removed
    triageThis bug needs triage
    on Nov 17, 2022
  5. niksauer commented on Nov 21, 2022

    @niksauer

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementAdding additional functionality or improvementspinnedPrevents stalebot from removing

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions