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