charts: extend helm install timeout

This commit is contained in:
Alan Chen 2017-09-08 13:43:55 +08:00
parent 37d47b951d
commit d469ab082c
1 changed files with 4 additions and 2 deletions

View File

@ -49,9 +49,11 @@ func installRelease(name string, args []string, path string, debug bool) error {
if debug {
cmd.Args = append(cmd.Args, "--dry-run")
cmd.Args = append(cmd.Args, "--debug")
}
} else {
cmd.Args = append(cmd.Args, "--wait")
cmd.Args = append(cmd.Args, "--timeout")
cmd.Args = append(cmd.Args, "600")
}
if debug {
fmt.Println(cmd.Args)