feat: add namespaces to resource.exclusions
and resource.inclusions
#16196
#20286
+77
−51
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR is the initial work on adding namespaces to the resource exclusion and inclusion system in order to ignore or include them in Argo. Closes #16196
One of the reasons for this functionality is ignoring specific apps that live in a specific namespace, or like some of the automatically generated resources.
However, I'm struggeling with completing this as there are some changes required in the
gitops-engine
which I'm not sure how to correctly implement or what the process is to get that change into this PR. Could anyone provide me with some assistance on this front?Furthermore, I think my test suite is still incomplete. Any suggestions as to what should be included for this?
Checklist: