mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-15 06:43:54 +00:00
Add warning about TLS 1.3 cipher suites
This commit is contained in:
parent
13354d3da4
commit
fabf1cba94
@ -1060,6 +1060,12 @@ func InitializeTLS(kf *options.KubeletFlags, kc *kubeletconfiginternal.KubeletCo
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if minTLSVersion == tls.VersionTLS13 {
|
||||||
|
if len(tlsCipherSuites) != 0 {
|
||||||
|
klog.Warning("TLS 1.3 cipher suites are not configurable, ignoring --tls-cipher-suites")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
tlsOptions := &server.TLSOptions{
|
tlsOptions := &server.TLSOptions{
|
||||||
Config: &tls.Config{
|
Config: &tls.Config{
|
||||||
MinVersion: minTLSVersion,
|
MinVersion: minTLSVersion,
|
||||||
|
Loading…
Reference in New Issue
Block a user