Skip to content

Commit

Permalink
🏃 Deprecate Webhook Server TLSMinVersion
Browse files Browse the repository at this point in the history
This field has been added in kubernetes-sigs#1548
It then turned out that people want to configure more parts of the
TLSConfig and the generic TLSOpts was added in kubernetes-sigs#1897

Deprecate TLSMinVersion in favor of the more generic TLSOpts.
  • Loading branch information
alvaroaleman committed Nov 9, 2022
1 parent 5378660 commit eea99fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/webhook/server.go
Expand Up @@ -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
Expand Down

0 comments on commit eea99fa

Please sign in to comment.