Commit 11f8cbe
authored
* Fix drift correction regression when correctDrift.force is false
The Helm v4 migration set ServerSideApply to "auto" for non-force
rollbacks. This caused Helm to auto-detect and reuse the apply method
from the original release, which is SSA. Server-Side Apply tracks field
ownership per field manager, so rollback only reverts fields owned by
Helm's manager — manual changes owned by a different manager are
silently ignored.
Setting ServerSideApply to "false" for all rollbacks forces client-side
three-way merge, which compares the full resource state and patches all
drifted fields regardless of ownership. This restores the Helm v3
behavior.
Refers to: #4878
---------
Signed-off-by: Xavi Garcia <xavi.garcia@suse.com>
1 parent 4d7e726 commit 11f8cbe
3 files changed
Lines changed: 533 additions & 26 deletions
File tree
- integrationtests/agent
- assets
- internal/helmdeployer
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
0 commit comments