Populate DryRun when building an Upgrade step

This commit is contained in:
Erin Call 2019-12-17 09:23:44 -08:00
parent 1560c05100
commit aa04830600
No known key found for this signature in database
GPG key ID: 4071FF6C15B8DAD1
2 changed files with 3 additions and 0 deletions

View file

@ -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,

View file

@ -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,