-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
feat: inversion selection support for the resource filter on sync and wait app commands (#10548) #10893
feat: inversion selection support for the resource filter on sync and wait app commands (#10548) #10893
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #10893 +/- ##
==========================================
+ Coverage 47.28% 47.30% +0.01%
==========================================
Files 245 245
Lines 41607 41661 +54
==========================================
+ Hits 19674 19706 +32
- Misses 19948 19970 +22
Partials 1985 1985 ☔ View full report in Codecov by Sentry. |
7e3f564
to
bbe1445
Compare
63fa83b
to
9f6cfe9
Compare
Hi @crenshaw-dev, can you please review this PR and let me know if any changes are required. |
9f6cfe9
to
80352cc
Compare
56ede9f
to
f1ef581
Compare
@maheshbaliga can you resolve conflicts? |
… wait app commands Signed-off-by: maheshbaliga <mahesh.baliga@infracloud.io>
Head branch was pushed to by a user without write access
f1ef581
to
0571d72
Compare
Closes #10548
Implements the --resource flag enhancement.
Sync and Wait commands to manage applications can now be filtered with negative selection of the resources. Matching app resources that satisfy at-least one of the resource filter condition will be selected.
Examples of the inversion filter are:
argocd app wait my-app --resource '!apps:Deployment:my-service'
argocd app sync my-app --resource '!*:Deployment:*'
Checklist: