Skip to content

Commit 0dbf79d

Browse files
authored
reconcile clusteroperator status more frequently (#3006)
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 2976198 commit 0dbf79d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)