Skip to content

Commit

Permalink
Add log for cert timeout (#2477) (#2510)
Browse files Browse the repository at this point in the history
  • Loading branch information
anyasabo authored Feb 4, 2020
1 parent 7da6c29 commit bcb7468
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/manager/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,7 @@ func setupWebhook(mgr manager.Manager, certRotation certificates.RotationParams,
})

if err != nil {
log.Error(err, "Timeout elapsed waiting for webhook certificate to be available", "path", keyPath, "timeout_seconds", timeout.Seconds())
os.Exit(1)
}
}

0 comments on commit bcb7468

Please sign in to comment.