Vendored
+1
-1
@@ -53,7 +53,7 @@ type Config struct {
|
||||
Timeout string `` // Argument to pass to --timeout in applicable helm commands
|
||||
Chart string `` // Chart argument to use in applicable helm commands
|
||||
Release string `` // Release argument to use in applicable helm commands
|
||||
Force bool `envconfig:"force_upgrade"` // Pass --force to applicable helm commands
|
||||
Force bool `envconfig:"force_upgrade"` // Pass --force-replace to applicable helm commands
|
||||
AtomicUpgrade bool `split_words:"true"` // Pass --atomic to `helm upgrade`
|
||||
CleanupOnFail bool `envconfig:"cleanup_failed_upgrade"` // Pass --cleanup-on-fail to `helm upgrade`
|
||||
LintStrictly bool `split_words:"true"` // Pass --strict to `helm lint`
|
||||
|
||||
@@ -88,7 +88,7 @@ func (u *Upgrade) Prepare() error {
|
||||
args = append(args, "--timeout", u.timeout)
|
||||
}
|
||||
if u.force {
|
||||
args = append(args, "--force")
|
||||
args = append(args, "--force-replace")
|
||||
}
|
||||
if u.atomic {
|
||||
args = append(args, "--atomic")
|
||||
|
||||
@@ -151,7 +151,7 @@ func (suite *UpgradeTestSuite) TestPrepareWithUpgradeFlags() {
|
||||
"--wait",
|
||||
"--reuse-values",
|
||||
"--timeout", "sit_in_the_corner",
|
||||
"--force",
|
||||
"--force-replace",
|
||||
"--atomic",
|
||||
"--cleanup-on-fail",
|
||||
"--set", "age=35",
|
||||
|
||||
Reference in New Issue
Block a user