Skip to content

Commit 65fc794

Browse files
Merge pull request #1364 from tkashem/enable-dev-cert-rotation
enable dev cert rotation
2 parents ff87de9 + 604719e commit 65fc794

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkg/operator/certrotationcontroller/certrotationcontroller.go

+4
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,10 @@ func newCertRotationController(
122122
rotationDay = day
123123
klog.Warningf("!!! UNSUPPORTED VALUE SET !!!")
124124
klog.Warningf("Certificate rotation base set to %q", rotationDay)
125+
} else {
126+
// for the development cycle, make the rotation 60 times faster (every twelve hours or so).
127+
// This must be reverted before we ship
128+
rotationDay = rotationDay / 60
125129
}
126130

127131
certRotator := certrotation.NewCertRotationController(

0 commit comments

Comments
 (0)