Skip to content

Commit

Permalink
Merge pull request #748 from deads2k/shorten-rotation-time
Browse files Browse the repository at this point in the history
bug 1797601: force cert rotation every couple days for development
  • Loading branch information
openshift-merge-robot committed Feb 4, 2020
2 parents d87ca2b + 4f38d53 commit 0ea4999
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/operator/certrotationcontroller/certrotationcontroller.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@ func newCertRotationController(
rotationDay = day
klog.Warningf("!!! UNSUPPORTED VALUE SET !!!")
klog.Warningf("Certificate rotation base set to %q", rotationDay)
} else {
// for the development cycle, make the rotation 60 times faster (every twelve hours or so).
// This must be reverted before we ship
rotationDay = rotationDay / 60
}

certRotator, err := certrotation.NewCertRotationController(
Expand Down

0 comments on commit 0ea4999

Please sign in to comment.