Add a couple more known SANs

pull/1058/head
Darren Shepherd 2019-11-13 06:04:53 +00:00
parent a5ddbe1f45
commit 6063317144
1 changed files with 1 additions and 1 deletions

View File

@ -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),
})
}