mirror of https://github.com/k3s-io/k3s
Add a couple more known SANs
parent
a5ddbe1f45
commit
6063317144
|
@ -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),
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue