Skip to content

Commit

Permalink
fix: duration
Browse files Browse the repository at this point in the history
  • Loading branch information
royhadad committed Jul 16, 2023
1 parent cdd567c commit 7d91169
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cert-manager/cert-manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func generateCertificates() {
Organization: []string{"/CN=Datree Admission Controller Webhook CA"},
},
NotBefore: time.Now(),
NotAfter: time.Now().AddDate(1, 0, 0),
NotAfter: time.Now().AddDate(5, 0, 0),
IsCA: true,
ExtKeyUsage: []x509.ExtKeyUsage{x509.ExtKeyUsageClientAuth, x509.ExtKeyUsageServerAuth},
KeyUsage: x509.KeyUsageDigitalSignature | x509.KeyUsageCertSign,
Expand Down

0 comments on commit 7d91169

Please sign in to comment.