mirror of
https://git.vectorsigma.ru/public/k3s.git
synced 2026-08-03 17:59:48 +00:00
Add a couple more known SANs
This commit is contained in:
@@ -35,7 +35,7 @@ func (c *Cluster) newListener(ctx context.Context) (net.Listener, http.Handler,
|
||||
TLSConfig: tls.Config{
|
||||
ClientAuth: tls.RequestClientCert,
|
||||
},
|
||||
SANs: c.config.SANs,
|
||||
SANs: append(c.config.SANs, "localhost", "kubernetes", "kubernetes.default", "kubernetes.default.svc."+c.config.ClusterDomain),
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user