Skip to content

Commit 1752b4d

Browse files
committed
reconcile clusteroperator status more frequently
If status is modified, the operator must set status to proper values. This ensures that accidents cannot permanently reset status and gives a clear indication that the operator is "live". This came up as important when operators were NOT live, during cert rotations and we had no indication of problems. Signed-off-by: Luis Sanchez <[email protected]>
1 parent 2be5e58 commit 1752b4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: pkg/lib/operatorstatus/status.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ func MonitorClusterStatus(name string, syncCh <-chan error, stopCh <-chan struct
228228
// if we've reported success, we can sleep longer, otherwise we want to keep watching for
229229
// successful
230230
if successfulSyncs > 0 {
231-
time.Sleep(5 * time.Minute)
231+
time.Sleep(25 * time.Second)
232232
}
233233

234234
}, 5*time.Second, stopCh)

0 commit comments

Comments
 (0)