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

feat: support resource prune propagation policy #5743

Merged
merged 1 commit into from Mar 12, 2021

Conversation

alexmt
Copy link
Collaborator

@alexmt alexmt commented Mar 11, 2021

Signed-off-by: Alexander Matyushentsev AMatyushentsev@gmail.com

Depends on argoproj/gitops-engine#235

PR introduces the ability to specify resource prune propagation policy. The default stays 'foreground' but can be changed at the application level using sync option:

syncOptions:
- PrunePropagationPolicy=foreground

Closes #3928

@codecov-io
Copy link

Codecov Report

Merging #5743 (d4a5147) into master (1c15e18) will decrease coverage by 0.00%.
The diff coverage is 25.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5743      +/-   ##
==========================================
- Coverage   40.77%   40.77%   -0.01%     
==========================================
  Files         146      146              
  Lines       19511    19519       +8     
==========================================
+ Hits         7956     7958       +2     
- Misses      10443    10449       +6     
  Partials     1112     1112              
Impacted Files Coverage Δ
controller/sync.go 64.88% <25.00%> (-2.60%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1c15e18...16fd2c9. Read the comment docs.

Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
@alexmt alexmt marked this pull request as ready for review March 12, 2021 08:12
Copy link
Member

@jannfis jannfis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jannfis
Copy link
Member

jannfis commented Mar 12, 2021

On a side note, I don't think it closes #5724 just yet, because we don't change the default.

@alexmt
Copy link
Collaborator Author

alexmt commented Mar 12, 2021

Agree, removing #5724 from the description

@alexmt alexmt merged commit d957ab4 into argoproj:master Mar 12, 2021
@alexmt alexmt deleted the prune-propagation-policy branch March 29, 2021 06:00
shubhamagarwal19 pushed a commit to shubhamagarwal19/argo-cd that referenced this pull request Apr 15, 2021
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
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.

Bug: Helm hooks with deletion policies don't sync
3 participants