helmfile/pkg/app/testdata/testapply
Simon Bouchard a6fab4dc75
feat: update strategy for reinstall (#2019)
* feat: Add updateStrategy option in the state file with 'reinstall'/'reinstallIfForbidden' choices to uninstall and apply the specific release(s) (if forbidden to update)

Signed-off-by: Simon Bouchard <sbouchard@rbbn.com>

* Fix unit tests related to the new updateStrategy feature

Signed-off-by: Simon Bouchard <sbouchard@rbbn.com>

* Fix unit tests related to the new updateStrategy feature

Signed-off-by: Simon Bouchard <sbouchard@rbbn.com>

* Resolve linter issue due to cognitive complexity

Signed-off-by: Simon Bouchard <sbouchard@rbbn.com>

* Updated index.md to describe the possible values of updateStrategy

Signed-off-by: Simon Bouchard <sbouchard@rbbn.com>

* Add validation of updateStrategy parameter and unit test

Signed-off-by: Simon Bouchard <sbouchard@rbbn.com>

* Updated unit test

Signed-off-by: Simon Bouchard <sbouchard@rbbn.com>

* Removed 'reinstall' update strategy option to only have reinstallIfForbidden, cleanup of pre-sync changes, adapted unit tests

Signed-off-by: Simon Bouchard <sbouchard@rbbn.com>

* Display affected releases that were reinstalled

Signed-off-by: Simon Bouchard <sbouchard@rbbn.com>

* Make sure to add --wait when deleting a release to be reinstalled due to reinstallIfForbidden

Signed-off-by: Simon Bouchard <sbouchard@rbbn.com>

* Apply suggestions from Copilot code review

Signed-off-by: Simon Bouchard <sbouchard@rbbn.com>

---------

Signed-off-by: Simon Bouchard <sbouchard@rbbn.com>
2025-10-29 08:47:46 +08:00
..
delete_bar_when_bar_needs_foo
delete_bar_when_foo_needs_bar
delete_foo_and_bar_when_bar_needs_foo
delete_foo_and_bar_when_foo_needs_bar
delete_foo_when_bar_needs_foo
delete_foo_when_foo_needs_bar
duplicate_releases
helm-status-check-to-release-existence
install
install-with-upgrade-with-reinstallifforbidden
install-with-upgrade-with-skip-diff-on-install
install-with-upgrade-with-skip-diff-on-install-with-reinstallifforbidden
install-with-upgrade-with-validation-control
non-existent_release_in_needs
noop
smoke
unselected_release_in_needs
upgrade_when_bar_needs_foo
upgrade_when_bar_needs_foo,_with_ns_override
upgrade_when_foo_needs_bar
upgrade_when_foo_needs_bar,_with_ns_override
upgrade_when_ns1
upgrade_when_ns2/bar_needs_ns1/foo
upgrades_with_bad_selector
upgrades_with_good_selector_with_--skip-needs=false_--include-needs=true
upgrades_with_good_selector_with_--skip-needs=true