mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-06 02:11:18 +02:00
* 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>
36 lines
1.2 KiB
Plaintext
36 lines
1.2 KiB
Plaintext
processing file "helmfile.yaml" in directory "."
|
|
changing working directory to "/path/to"
|
|
merged environment: &{default map[] map[]}
|
|
3 release(s) found in helmfile.yaml
|
|
|
|
Affected releases are:
|
|
bar (stable/mychart2) UPDATED
|
|
baz (stable/mychart3) UPDATED
|
|
foo (stable/mychart1) UPDATED
|
|
|
|
invoking preapply hooks for 2 groups of releases in this order:
|
|
GROUP RELEASES
|
|
1 default//foo
|
|
2 default//baz, default//bar
|
|
|
|
invoking preapply hooks for releases in group 1/2: default//foo
|
|
invoking preapply hooks for releases in group 2/2: default//baz, default//bar
|
|
processing 2 groups of releases in this order:
|
|
GROUP RELEASES
|
|
1 default//baz, default//bar
|
|
2 default//foo
|
|
|
|
processing releases in group 1/2: default//baz, default//bar
|
|
update strategy - sync success
|
|
update strategy - sync success
|
|
processing releases in group 2/2: default//foo
|
|
getting deployed release version failed: Failed to get the version for: mychart1
|
|
|
|
UPDATED RELEASES:
|
|
NAME NAMESPACE CHART VERSION DURATION
|
|
baz stable/mychart3 3.1.0 0s
|
|
bar stable/mychart2 3.1.0 0s
|
|
foo stable/mychart1 0s
|
|
|
|
changing working directory back to "/path/to"
|