Skip to content

[FEATURE] disable whole namespaces and image registries from scanning #460

Description

@camaeel

Is your feature request related to a problem? Please describe.
I'd like to exclude some namespaces (for example kube-system where I have different approach to detecting and upgrading versions. Would be great to either have an annotation that can be added on the namespace level or a whitelist/blacklist feature in config of version-checker.
I'd like to be able to exclude some registries from checking (I don't want to report findings from one of my private registries).

Describe the solution you'd like
Annotation for namespaces to exclude it from reporting by version-checker.
Config parameter to set list of registries that should be ignored.

Describe alternatives you've considered
An alternative is to annotate images I want to skip. But if there are multiple applications (even hundreds of them) it is very cumbersome to manage those annotations.
Another alternative is a mutating policy that will inject annotation, but this may be complex for multi-container pods

Additional context


Message from the maintainers:

If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.

Activity

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions