mirror of https://github.com/kubernetes/kops.git
Set SAN for addon CAs
This commit is contained in:
parent
d90ace058b
commit
0dc9cd44e6
|
|
@ -237,6 +237,9 @@ func (a *Addon) installPKI(ctx context.Context, k8sClient kubernetes.Interface,
|
|||
Subject: pkix.Name{
|
||||
CommonName: a.Name,
|
||||
},
|
||||
AlternateNames: []string{
|
||||
a.Name,
|
||||
},
|
||||
}
|
||||
cert, privateKey, _, err := pki.IssueCert(req, nil)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Reference in New Issue