Skip to content

Commit

Permalink
Merge pull request #3380 from krzysied/alt_name_fix
Browse files Browse the repository at this point in the history
VPA - Adding altName to e2e webhook cert
  • Loading branch information
k8s-ci-robot authored Jul 30, 2020
2 parents 56e2bb5 + d4a1755 commit bfd3bc1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vertical-pod-autoscaler/e2e/utils/certs.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ func SetupWebhookCert(namespaceName string) *certContext {
signedCert, err := utils.NewSignedCert(
&cert.Config{
CommonName: WebhookServiceName + "." + namespaceName + ".svc",
AltNames: cert.AltNames{DNSNames: []string{WebhookServiceName + "." + namespaceName + ".svc"}},
Usages: []x509.ExtKeyUsage{x509.ExtKeyUsageServerAuth},
},
key, signingCert, signingKey,
Expand Down

0 comments on commit bfd3bc1

Please sign in to comment.