From 869888c3e70c8c87f33e3ca000aaef451c6c5cbb Mon Sep 17 00:00:00 2001 From: Alvaro Aleman Date: Tue, 8 Nov 2022 22:03:07 -0500 Subject: [PATCH] :seedling: 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