charts: extend helm install timeout
This commit is contained in:
parent
37d47b951d
commit
d469ab082c
|
@ -49,9 +49,11 @@ func installRelease(name string, args []string, path string, debug bool) error {
|
||||||
if debug {
|
if debug {
|
||||||
cmd.Args = append(cmd.Args, "--dry-run")
|
cmd.Args = append(cmd.Args, "--dry-run")
|
||||||
cmd.Args = append(cmd.Args, "--debug")
|
cmd.Args = append(cmd.Args, "--debug")
|
||||||
}
|
} else {
|
||||||
|
|
||||||
cmd.Args = append(cmd.Args, "--wait")
|
cmd.Args = append(cmd.Args, "--wait")
|
||||||
|
cmd.Args = append(cmd.Args, "--timeout")
|
||||||
|
cmd.Args = append(cmd.Args, "600")
|
||||||
|
}
|
||||||
|
|
||||||
if debug {
|
if debug {
|
||||||
fmt.Println(cmd.Args)
|
fmt.Println(cmd.Args)
|
||||||
|
|
Loading…
Reference in New Issue