Skip to content

Commit

Permalink
Fixes crashloop caused by cert gen (#454)
Browse files Browse the repository at this point in the history
Signed-off-by: Rita Zhang <rita.z.zhang@gmail.com>
  • Loading branch information
ritazh committed Feb 5, 2020
1 parent 37be134 commit 15afba6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,8 @@ func main() {
<-templatesCleaned
setupLog.Info("state cleaned")
if hadError {
/// give the cert manager time to generate the cert
time.Sleep(5 * time.Second)
os.Exit(1)
}
}
Expand Down

0 comments on commit 15afba6

Please sign in to comment.