Atomic option for the Upgrade step [#64]
This commit is contained in:
@@ -18,6 +18,7 @@ type Upgrade struct {
|
||||
ReuseValues bool
|
||||
Timeout string
|
||||
Force bool
|
||||
Atomic bool
|
||||
|
||||
cmd cmd
|
||||
}
|
||||
@@ -65,6 +66,9 @@ func (u *Upgrade) Prepare(cfg Config) error {
|
||||
if u.Force {
|
||||
args = append(args, "--force")
|
||||
}
|
||||
if u.Atomic {
|
||||
args = append(args, "--atomic")
|
||||
}
|
||||
if u.Values != "" {
|
||||
args = append(args, "--set", u.Values)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user