Skip to content

Commit b10a5d1

Browse files
author
Per Goncalves da Silva
committed
Change certificate rotation times
Signed-off-by: Per Goncalves da Silva <[email protected]>
1 parent f70f4d6 commit b10a5d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

staging/operator-lifecycle-manager/pkg/controller/install/certresources.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ var certGenerator certs.CertGenerator = certs.CertGeneratorFunc(certs.CreateSign
2828

2929
const (
3030
// DefaultCertMinFresh is the default min-fresh value - 1 day
31-
DefaultCertMinFresh = time.Hour * 24
31+
DefaultCertMinFresh = time.Minute * 2
3232
// DefaultCertValidFor is the default duration a cert can be valid for - 2 years
33-
DefaultCertValidFor = time.Hour * 24 * 730
33+
DefaultCertValidFor = time.Minute * 5
3434
// OLMCAPEMKey is the CAPEM
3535
OLMCAPEMKey = "olmCAKey"
3636
// OLMCAHashAnnotationKey is the label key used to store the hash of the CA cert

0 commit comments

Comments
 (0)