Skip to content

Commit

Permalink
Add log for cert timeout (elastic#2477)
Browse files Browse the repository at this point in the history
  • Loading branch information
anyasabo committed Feb 4, 2020
1 parent 7da6c29 commit 2a17838
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 2a17838

Please sign in to comment.