Add a couple more known SANs

pull/1058/head
Darren Shepherd 5 years ago
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…
Cancel
Save