From aa04830600cee9f2c44b087fe7231c0a2e9ab147 Mon Sep 17 00:00:00 2001 From: Erin Call Date: Tue, 17 Dec 2019 09:23:44 -0800 Subject: [PATCH] Populate DryRun when building an Upgrade step --- internal/helm/plan.go | 1 + internal/helm/plan_test.go | 2 ++ 2 files changed, 3 insertions(+) diff --git a/internal/helm/plan.go b/internal/helm/plan.go index 1364112..ea184f3 100644 --- a/internal/helm/plan.go +++ b/internal/helm/plan.go @@ -106,6 +106,7 @@ var upgrade = func(cfg Config) []Step { Chart: cfg.Chart, Release: cfg.Release, ChartVersion: cfg.ChartVersion, + DryRun: cfg.DryRun, Wait: cfg.Wait, ReuseValues: cfg.ReuseValues, Timeout: cfg.Timeout, diff --git a/internal/helm/plan_test.go b/internal/helm/plan_test.go index c34bc48..716a27c 100644 --- a/internal/helm/plan_test.go +++ b/internal/helm/plan_test.go @@ -93,6 +93,7 @@ func (suite *PlanTestSuite) TestUpgrade() { APIServer: "123.456.78.9", ServiceAccount: "helmet", ChartVersion: "seventeen", + DryRun: true, Wait: true, ReuseValues: true, Timeout: "go sit in the corner", @@ -126,6 +127,7 @@ func (suite *PlanTestSuite) TestUpgrade() { Chart: cfg.Chart, Release: cfg.Release, ChartVersion: cfg.ChartVersion, + DryRun: true, Wait: cfg.Wait, ReuseValues: cfg.ReuseValues, Timeout: cfg.Timeout,