We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb9f008 commit bba6342Copy full SHA for bba6342
main.go
@@ -308,6 +308,16 @@ func innerMain() int {
308
}
309
310
311
+ // Always enable downstream checking for the webhooks, if enabled.
312
+ if len(webhooks) > 0 {
313
+ tlsChecker := webhook.NewTLSChecker(*certDir, *port)
314
+ setupLog.Info("setting up TLS readiness probe")
315
+ if err := mgr.AddReadyzCheck("tls-check", tlsChecker); err != nil {
316
+ setupLog.Error(err, "unable to create tls readiness check")
317
+ return 1
318
+ }
319
320
+
321
// Setup controllers asynchronously, they will block for certificate generation if needed.
322
setupErr := make(chan error)
323
ctx := ctrl.SetupSignalHandler()
0 commit comments