Skip to content

Conversation

@gianlucam76
Copy link
Member

This PR introduces the TakeOwnership field to both HelmInstallOptions and HelmUpgradeOptions.

Currently, when Sveltos attempts to deploy a Helm chart, the operation may fail if resources defined in the chart already exist in the target cluster but lack the expected Helm ownership annotations (e.g., meta.helm.sh/release-name). This is standard Helm safety behavior.

By enabling TakeOwnership, Sveltos will instruct the Helm engine to ignore these ownership checks and "adopt" the existing resources into the current release.

Fixes #1546

This PR introduces the `TakeOwnership` field to both
HelmInstallOptions and HelmUpgradeOptions.

Currently, when Sveltos attempts to deploy a Helm chart,
the operation may fail if resources defined in the chart
already exist in the target cluster but lack the expected
Helm ownership annotations (e.g., meta.helm.sh/release-name).
This is standard Helm safety behavior.

By enabling TakeOwnership, Sveltos will instruct the Helm engine
to ignore these ownership checks and "adopt" the existing resources
into the current release.
@gianlucam76 gianlucam76 merged commit 91b2c9a into projectsveltos:main Dec 13, 2025
8 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.

[feat] Support for helm take-ownership flag

1 participant