Skip to content

Commit

Permalink
Merge pull request #328 from hexfusion/fix-peer-san
Browse files Browse the repository at this point in the history
Bug 1830505: pkg/operator/etcdcertsigner: fix DNS SAN for peer certificates
  • Loading branch information
openshift-merge-robot committed May 2, 2020
2 parents 7b7e544 + 4d18a6d commit b752590
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/operator/etcdcertsigner/etcdcertsignercontroller.go
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,10 @@ func (c *EtcdCertSignerController) createSecretForNode(node *corev1.Node, record
if err != nil {
return err
}
peerHostNames := append([]string{"localhost", etcdDiscoveryDomain}, nodeInternalIPs...)
peerHostNames := append([]string{
"localhost",
"*." + etcdDiscoveryDomain,
}, nodeInternalIPs...)
serverHostNames := append([]string{
"localhost",
"etcd.kube-system.svc",
Expand Down

0 comments on commit b752590

Please sign in to comment.