Skip to content

Add support for helm --force-conflicts to address field ownership conflicts - #341

Merged
brandond merged 3 commits into
k3s-io:masterfrom
brandond:ssa-force-conflicts
Jul 22, 2026
Merged

Add support for helm --force-conflicts to address field ownership conflicts#341
brandond merged 3 commits into
k3s-io:masterfrom
brandond:ssa-force-conflicts

Conversation

@brandond

@brandond brandond commented Jul 21, 2026

Copy link
Copy Markdown
Member

With Helm v4, helm now uses server-side apply by default, which respects field ownership.

In the case of conflicts, helm will put the new release into the failed status, with a note about what resources and fields conflicted.

This adds support for setting the --force-conflicts option, which tells Helm to ignore ownership conflicts, and just take over the conflicting fields. This is similar to --take-ownership, but at a field-manager level.

This also adds support for retry failure policy, to recover from upgrades that have failed due to conflicting field ownership, without having to manually correct the failure, or suffer helm-controller uninstalling and reinstalling the entire chart. This may be the default policy in the future.

For:

Needs:

@mgfritch mgfritch left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tiny lint failure, but otherwise lgtm!

brandond added 3 commits July 21, 2026 23:46
Adding this to HelmChartConfig as end users may need to enable it when
using HelmChartConfig to set values for bundled charts.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Adds a new failure policy that attempts to retry the install or upgrade
operation, instead of either uninstalling and reinstalling, or just
halting.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
@brandond
brandond force-pushed the ssa-force-conflicts branch from 248b162 to 9013e05 Compare July 22, 2026 00:00
@brandond
brandond merged commit 09ccacd into k3s-io:master Jul 22, 2026
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants