From eea99fa785e5ffac5589da839435b1c47fa146b9 Mon Sep 17 00:00:00 2001 From: Alvaro Aleman Date: Tue, 8 Nov 2022 22:03:07 -0500 Subject: [PATCH] :running: Deprecate Webhook Server TLSMinVersion This field has been added in https://github.com/kubernetes-sigs/controller-runtime/pull/1548 It then turned out that people want to configure more parts of the TLSConfig and the generic TLSOpts was added in https://github.com/kubernetes-sigs/controller-runtime/pull/1897 Deprecate TLSMinVersion in favor of the more generic TLSOpts. --- pkg/webhook/server.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/webhook/server.go b/pkg/webhook/server.go index 06f479208a..99c863264b 100644 --- a/pkg/webhook/server.go +++ b/pkg/webhook/server.go @@ -74,6 +74,7 @@ type Server struct { // TLSVersion is the minimum version of TLS supported. Accepts // "", "1.0", "1.1", "1.2" and "1.3" only ("" is equivalent to "1.0" for backwards compatibility) + // Deprecated: Use TLSOpts instead. TLSMinVersion string // TLSOpts is used to allow configuring the TLS config used for the server