From 656b52db4f29c241337e493f7580a5e9379d59b2 Mon Sep 17 00:00:00 2001 From: Matt Butcher Date: Fri, 27 Mar 2020 19:04:16 -0600 Subject: [PATCH] clarify atomic and cleanup-on-fail Signed-off-by: Matt Butcher --- pkg/action/upgrade.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/action/upgrade.go b/pkg/action/upgrade.go index b8778f6c6..be1f96273 100644 --- a/pkg/action/upgrade.go +++ b/pkg/action/upgrade.go @@ -79,9 +79,9 @@ type Upgrade struct { Recreate bool // MaxHistory limits the maximum number of revisions saved per release MaxHistory int - // Atomic, if true, will set the upgrade mode to an atomic upgrade. + // Atomic, if true, will roll back on failure. Atomic bool - // CleanupOnFail will, if true, cause the upgrade to delete resources on a failed update. + // CleanupOnFail will, if true, cause the upgrade to delete newly-created resources on a failed update. CleanupOnFail bool // SubNotes determines whether sub-notes are rendered in the chart. SubNotes bool