Add comments to remove functionality in Helm 4

closes #9937

Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
pull/13411/head
Patrick Seidensal 10 months ago
parent 26f843ce80
commit 03fa004b28
No known key found for this signature in database

@ -113,6 +113,7 @@ type Install struct {
// TakeOwnership will ignore the check for helm annotations and take ownership of the resources. // TakeOwnership will ignore the check for helm annotations and take ownership of the resources.
TakeOwnership bool TakeOwnership bool
// Also considers the state of custom resources and custom resource definitions in the cluster when adopting resources. // Also considers the state of custom resources and custom resource definitions in the cluster when adopting resources.
// TODO Helm 4: Remove this config and always merge custom resources
ThreeWayMergeForCustomResources bool ThreeWayMergeForCustomResources bool
PostRenderer postrender.PostRenderer PostRenderer postrender.PostRenderer
// Lock to control raceconditions when the process receives a SIGTERM // Lock to control raceconditions when the process receives a SIGTERM

@ -45,7 +45,8 @@ type Rollback struct {
Force bool // will (if true) force resource upgrade through uninstall/recreate if needed Force bool // will (if true) force resource upgrade through uninstall/recreate if needed
CleanupOnFail bool CleanupOnFail bool
MaxHistory int // MaxHistory limits the maximum number of revisions saved per release MaxHistory int // MaxHistory limits the maximum number of revisions saved per release
// Also considers the state of custom resources and custom resource definitions in the cluster when upgrading (or adopting) resources. // Also considers the state of custom resources and custom resource definitions in the cluster when downgrading resources.
// TODO Helm 4: Remove this config and always merge custom resources
ThreeWayMergeForCustomResources bool ThreeWayMergeForCustomResources bool
} }

@ -120,6 +120,7 @@ type Upgrade struct {
// TakeOwnership will skip the check for helm annotations and adopt all existing resources. // TakeOwnership will skip the check for helm annotations and adopt all existing resources.
TakeOwnership bool TakeOwnership bool
// Also considers the state of custom resources and custom resource definitions in the cluster when upgrading (or adopting) resources. // Also considers the state of custom resources and custom resource definitions in the cluster when upgrading (or adopting) resources.
// TODO Helm 4: Remove this config and always merge custom resources
ThreeWayMergeForCustomResources bool ThreeWayMergeForCustomResources bool
} }

Loading…
Cancel
Save