mirror of
https://github.com/minio/minio.git
synced 2025-11-20 18:06:10 -05:00
update pkg v1.1.20 to reload certs in k8s always (#14470)
This commit is contained in:
@@ -633,6 +633,7 @@ func NewGatewayHTTPTransportWithClientCerts(clientCert, clientKey string) *http.
|
||||
err.Error()))
|
||||
}
|
||||
if c != nil {
|
||||
c.UpdateReloadDuration(10 * time.Second)
|
||||
c.ReloadOnSignal(syscall.SIGHUP) // allow reloads upon SIGHUP
|
||||
transport.TLSClientConfig.GetClientCertificate = c.GetClientCertificate
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user