Skip to content

Commit

Permalink
Merge pull request #869 from sttts/sttts-reenable-quick-rotation-4.6
Browse files Browse the repository at this point in the history
Bug 1840597: Revert "remove override for fast cert rotation" for 4.6
  • Loading branch information
openshift-merge-robot committed Jun 2, 2020
2 parents 234d227 + e428063 commit daf3546
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 @@ -122,6 +122,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 := certrotation.NewCertRotationController(
Expand Down

0 comments on commit daf3546

Please sign in to comment.