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