mirror of
https://git.vectorsigma.ru/public/k3s.git
synced 2026-08-03 18:20:01 +00:00
Update dynamiclistener
Second round of fixes for #1621 Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
This commit is contained in:
@@ -39,7 +39,7 @@ func (c *Cluster) newListener(ctx context.Context) (net.Listener, http.Handler,
|
||||
CipherSuites: c.config.TLSCipherSuites,
|
||||
},
|
||||
SANs: append(c.config.SANs, "localhost", "kubernetes", "kubernetes.default", "kubernetes.default.svc."+c.config.ClusterDomain),
|
||||
ExpirationDaysCheck: 90,
|
||||
ExpirationDaysCheck: config.CertificateRenewDays,
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user