charts, k8s: workaround to wait for deploy pods by fixed duration
This commit is contained in:
parent
d91a0b7e69
commit
b825aef124
|
@ -50,9 +50,9 @@ func installRelease(name string, args []string, path string, debug bool) error {
|
||||||
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 {
|
} else {
|
||||||
cmd.Args = append(cmd.Args, "--wait")
|
// cmd.Args = append(cmd.Args, "--wait")
|
||||||
cmd.Args = append(cmd.Args, "--timeout")
|
// cmd.Args = append(cmd.Args, "--timeout")
|
||||||
cmd.Args = append(cmd.Args, "600")
|
// cmd.Args = append(cmd.Args, "120")
|
||||||
}
|
}
|
||||||
|
|
||||||
if debug {
|
if debug {
|
||||||
|
|
|
@ -78,6 +78,8 @@ func (eth *ethereum) Start() error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
<-time.After(3 * time.Minute)
|
||||||
|
|
||||||
eth.k8sClient = k8sClient(eth.chart.Name() + "-0")
|
eth.k8sClient = k8sClient(eth.chart.Name() + "-0")
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue