generated
Kubernetes-commit: 4ce7bcced4cc68a833759a218f9c3be7f72fd1c0
This commit is contained in:
parent
6b198535d6
commit
b16b687dc5
|
|
@ -256,6 +256,7 @@ func (s *SecureServingOptions) applyServingInfoTo(c *server.Config) error {
|
||||||
secureServingInfo.CipherSuites = cipherSuites
|
secureServingInfo.CipherSuites = cipherSuites
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var err error
|
||||||
secureServingInfo.MinTLSVersion, err = utilflag.TLSVersion(s.MinTLSVersion)
|
secureServingInfo.MinTLSVersion, err = utilflag.TLSVersion(s.MinTLSVersion)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
|
@ -273,7 +274,6 @@ func (s *SecureServingOptions) applyServingInfoTo(c *server.Config) error {
|
||||||
return fmt.Errorf("failed to load SNI cert and key: %v", err)
|
return fmt.Errorf("failed to load SNI cert and key: %v", err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
var err error
|
|
||||||
secureServingInfo.SNICerts, err = server.GetNamedCertificateMap(namedTLSCerts)
|
secureServingInfo.SNICerts, err = server.GetNamedCertificateMap(namedTLSCerts)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue