operator-framework / helm-operator-plugins

Experimental refactoring of the operator-framework's helm operator
Apache License 2.0
48 stars 48 forks source link

ActionClientGetter: allow disabling rollbacks after failures #348

Closed joelanford closed 2 months ago

joelanford commented 2 months ago

When an install fails, we uninstall the failed release. When an upgrade fails, we rollback to the previous release.

This commit makes it possible to disable that behavior, which results in the latest release being left in a Failed state for the caller to decide how to act.

codecov-commenter commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 48.47%. Comparing base (08ab7fb) to head (bbba1aa). Report is 21 commits behind head on main.

:exclamation: There is a different number of reports uploaded between BASE (08ab7fb) and HEAD (bbba1aa). Click for more details.

HEAD has 1 upload less than BASE | Flag | BASE (08ab7fb) | HEAD (bbba1aa) | |------|------|------| ||2|1|
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #348 +/- ## =========================================== - Coverage 85.06% 48.47% -36.60% =========================================== Files 19 62 +43 Lines 1346 2921 +1575 =========================================== + Hits 1145 1416 +271 - Misses 125 1423 +1298 - Partials 76 82 +6 ```

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