Populate DryRun when building an Upgrade step
This commit is contained in:
parent
1560c05100
commit
aa04830600
|
@ -106,6 +106,7 @@ var upgrade = func(cfg Config) []Step {
|
||||||
Chart: cfg.Chart,
|
Chart: cfg.Chart,
|
||||||
Release: cfg.Release,
|
Release: cfg.Release,
|
||||||
ChartVersion: cfg.ChartVersion,
|
ChartVersion: cfg.ChartVersion,
|
||||||
|
DryRun: cfg.DryRun,
|
||||||
Wait: cfg.Wait,
|
Wait: cfg.Wait,
|
||||||
ReuseValues: cfg.ReuseValues,
|
ReuseValues: cfg.ReuseValues,
|
||||||
Timeout: cfg.Timeout,
|
Timeout: cfg.Timeout,
|
||||||
|
|
|
@ -93,6 +93,7 @@ func (suite *PlanTestSuite) TestUpgrade() {
|
||||||
APIServer: "123.456.78.9",
|
APIServer: "123.456.78.9",
|
||||||
ServiceAccount: "helmet",
|
ServiceAccount: "helmet",
|
||||||
ChartVersion: "seventeen",
|
ChartVersion: "seventeen",
|
||||||
|
DryRun: true,
|
||||||
Wait: true,
|
Wait: true,
|
||||||
ReuseValues: true,
|
ReuseValues: true,
|
||||||
Timeout: "go sit in the corner",
|
Timeout: "go sit in the corner",
|
||||||
|
@ -126,6 +127,7 @@ func (suite *PlanTestSuite) TestUpgrade() {
|
||||||
Chart: cfg.Chart,
|
Chart: cfg.Chart,
|
||||||
Release: cfg.Release,
|
Release: cfg.Release,
|
||||||
ChartVersion: cfg.ChartVersion,
|
ChartVersion: cfg.ChartVersion,
|
||||||
|
DryRun: true,
|
||||||
Wait: cfg.Wait,
|
Wait: cfg.Wait,
|
||||||
ReuseValues: cfg.ReuseValues,
|
ReuseValues: cfg.ReuseValues,
|
||||||
Timeout: cfg.Timeout,
|
Timeout: cfg.Timeout,
|
||||||
|
|
Loading…
Reference in a new issue