From 421371f600c09ebf0833ef9da610eda2a70b4b1a Mon Sep 17 00:00:00 2001 From: Artem Kuleshov Date: Mon, 17 Aug 2026 15:35:37 +0300 Subject: [PATCH] [addon-operator] disable nelm release lock for module releases Signed-off-by: Artem Kuleshov --- pkg/helm/nelm/nelm.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/helm/nelm/nelm.go b/pkg/helm/nelm/nelm.go index bbec9925..baa99698 100644 --- a/pkg/helm/nelm/nelm.go +++ b/pkg/helm/nelm/nelm.go @@ -415,6 +415,8 @@ func (c *NelmClient) UpgradeRelease(releaseName, modulePath string, valuesPaths DefaultChartAPIVersion: "v2", Timeout: c.opts.Timeout, InstallGraphPath: installGraphPath, + // Releases are serialized by the module task queue, so the cluster-wide release lock is redundant. + LegacyNoReleaseLock: true, }); err != nil { return fmt.Errorf("install nelm release %q: %w", releaseName, err) } @@ -524,6 +526,8 @@ func (c *NelmClient) DeleteRelease(releaseName string) error { ReleaseStorageDriver: c.opts.HelmDriver, Timeout: c.opts.Timeout, UninstallGraphPath: installGraphPath, + // Releases are serialized by the module task queue, so the cluster-wide release lock is redundant. + LegacyNoReleaseLock: true, }); err != nil { return fmt.Errorf("nelm uninstall release %q: %w", releaseName, err) }