mirror of
https://github.com/pgsty/minio.git
synced 2026-07-22 13:40:22 +03:00
update pkg v1.1.20 to reload certs in k8s always (#14470)
This commit is contained in:
@@ -903,6 +903,9 @@ func getTLSConfig() (x509Certs []*x509.Certificate, manager *certs.Manager, secu
|
||||
}
|
||||
secureConn = true
|
||||
|
||||
// Certs might be symlinks, reload them every 10 seconds.
|
||||
manager.UpdateReloadDuration(10 * time.Second)
|
||||
|
||||
// syscall.SIGHUP to reload the certs.
|
||||
manager.ReloadOnSignal(syscall.SIGHUP)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user