pipe-cd / pipecd

The One CD for All {applications, platforms, operations}
https://pipecd.dev
Apache License 2.0
1.09k stars 153 forks source link

Add force-sync-by-replace annotation option #5175

Closed Warashi closed 2 months ago

Warashi commented 2 months ago

What this PR does / why we need it:

Add an option to replace the Kubernetes resources forcefully.

Which issue(s) this PR fixes:

Fixes #5174

Does this PR introduce a user-facing change?: Yes

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 38.54167% with 59 lines in your changes missing coverage. Please review.

Project coverage is 22.90%. Comparing base (a295485) to head (05f4d15). Report is 100 commits behind head on master.

Files with missing lines Patch % Lines
...g/app/piped/platformprovider/kubernetes/kubectl.go 0.00% 33 Missing :warning:
...g/app/piped/platformprovider/kubernetes/applier.go 0.00% 26 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #5175 +/- ## ========================================== + Coverage 22.88% 22.90% +0.02% ========================================== Files 416 416 Lines 44607 44690 +83 ========================================== + Hits 10208 10238 +30 - Misses 33607 33660 +53 Partials 792 792 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.