-
Notifications
You must be signed in to change notification settings - Fork 285
feat: add Prune as application level sync option #734
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
base: master
Are you sure you want to change the base?
feat: add Prune as application level sync option #734
Conversation
d9429e6
to
e88193f
Compare
e88193f
to
13f9343
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #734 +/- ##
==========================================
- Coverage 54.26% 47.54% -6.73%
==========================================
Files 64 64
Lines 6164 6575 +411
==========================================
- Hits 3345 3126 -219
- Misses 2549 3193 +644
+ Partials 270 256 -14 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
(note that I only changed the second commit title that was point at the wrong sync option before :x) |
03789b8
to
7f8ccfc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code LGTM. Missing unit test and waiting for answers in the linked argo CD PR
b8b3241
to
a37aef2
Compare
Add WithRequiresPruneConfirmation so that we can pass this as an Application sync option in ArgoCD Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@ledger.fr>
Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@ledger.fr>
a37aef2
to
a1d18d9
Compare
|
Thanks @agaudreault! I added some unit test for Prune=false and Prune=confirm, the latter didn't had any so far so I added some for Prune=confirm on a resource directly too |
Related to argoproj/argo-cd#23370 / argoproj/argo-cd#23380