From 95670111b33c90a0d4e86d431e86f290b5209868 Mon Sep 17 00:00:00 2001 From: Tarun Gupta Akirala Date: Thu, 23 Apr 2026 02:03:42 -0700 Subject: [PATCH] fix: use forceConflict field in install cmd Signed-off-by: Tarun Gupta Akirala --- pkg/action/install.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/action/install.go b/pkg/action/install.go index 580b8a0cb..923fae7d8 100644 --- a/pkg/action/install.go +++ b/pkg/action/install.go @@ -518,7 +518,7 @@ func (i *Install) performInstall(rel *release.Release, toBeAdopted kube.Resource if len(toBeAdopted) == 0 && len(resources) > 0 { _, err = i.cfg.KubeClient.Create( resources, - kube.ClientCreateOptionServerSideApply(i.ServerSideApply, false)) + kube.ClientCreateOptionServerSideApply(i.ServerSideApply, i.ForceConflicts)) } else if len(resources) > 0 { updateThreeWayMergeForUnstructured := i.TakeOwnership && !i.ServerSideApply // Use three-way merge when taking ownership (and not using server-side apply) _, err = i.cfg.KubeClient.Update(