mirror of https://github.com/kubernetes/kops.git
Set SAN for addon CAs
This commit is contained in:
parent
10a8ec2a84
commit
398a15e263
|
|
@ -235,6 +235,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