Skip to content

Commit bcb7468

Browse files
authored
Add log for cert timeout (#2477) (#2510)
1 parent 7da6c29 commit bcb7468

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/manager/main.go

+1
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,7 @@ func setupWebhook(mgr manager.Manager, certRotation certificates.RotationParams,
426426
})
427427

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

0 commit comments

Comments
 (0)