Commit 04a65a8
committed
fix: enable ServerSideApply when ForceConflicts is set for Helm v4 compatibility
Helm v4 introduced a validation that rejects ForceConflicts = true when ServerSideApply
is disabled, returning:
`invalid client update option(s): forceConflicts enabled when serverSideApply disabled`
Both getHelmInstallClient and getHelmUpgradeClient were setting ForceConflicts = true unconditionally
without enabling ServerSideApply, causing all Helm chart installs and upgrades to fail when running
against Helm v4.
Fix: set ServerSideApply = true alongside ForceConflicts = true in both client builders.1 parent 35368b2 commit 04a65a8
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3568 | 3568 | | |
3569 | 3569 | | |
3570 | 3570 | | |
| 3571 | + | |
3571 | 3572 | | |
3572 | 3573 | | |
3573 | 3574 | | |
| |||
3631 | 3632 | | |
3632 | 3633 | | |
3633 | 3634 | | |
| 3635 | + | |
3634 | 3636 | | |
3635 | 3637 | | |
3636 | 3638 | | |
| |||
0 commit comments