diff --git a/pkg/cmd/webhook/start.go b/pkg/cmd/webhook/start.go index e4ca50d81..3e6fe2946 100644 --- a/pkg/cmd/webhook/start.go +++ b/pkg/cmd/webhook/start.go @@ -18,6 +18,7 @@ import ( ctrl "sigs.k8s.io/controller-runtime" "sigs.k8s.io/controller-runtime/pkg/healthz" + "sigs.k8s.io/controller-runtime/pkg/webhook" ) var ( @@ -37,6 +38,7 @@ func (c *Options) RunWebhookServer() error { Port: c.Port, HealthProbeBindAddress: ":8000", CertDir: c.CertDir, + WebhookServer: &webhook.Server{TLSMinVersion: "1.2"}, }) if err != nil {