adds more dns names to try to resolve certificate issues

This commit is contained in:
2023-03-26 09:48:27 -05:00
parent c24489854d
commit 8375c8bb20
2 changed files with 13 additions and 1 deletions

View File

@ -22,7 +22,11 @@ func CreateCSR(privateKey string) (string, error) {
//PostalCode: []string{""},
},
DNSNames: []string{
"svc.cluster.local",
"webhook",
"webhook.ingress-nginx",
"webhook.ingress-nginx.svc",
"webhook.ingress-nginx.svc.cluster",
"webhook.ingress-nginx.svc.cluster.local",
"*.svc.cluster.local",
},
SignatureAlgorithm: x509.SHA384WithRSA,