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

Replace resource kind exclusion with resource ID and supporting regex #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

almariah
Copy link
Contributor

This PR will replace the mechanism of exclude. The current behaviour is to exclude only resource kind. For more flexibility and control of what could be excluded, the behaviour has been changed in this PR to support resource ID (namespace/kind/name or /kind/name). Further you can use resource full name or regular expression.

Examples:

  • to exclude any namespace resource: /namespace/.*
  • to exclude secret sec in namespace deafult: deafult/secret/sec
  • to exclude any config map: .*/configmap/.*

@almariah
Copy link
Contributor Author

@yanc0

@yanc0
Copy link
Owner

yanc0 commented Dec 2, 2020

Hi @almariah , many thanks. I will review your PR as soon as soon as I can possibly do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants