Skip to content

Commit a745940

Browse files
committed
react to changes
1 parent fccee03 commit a745940

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pkg/operator/starter.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -657,8 +657,9 @@ func prepareOauthAPIServerOperator(
657657
libraryapplyconfiguration.AdaptSyncFn(authOperatorInput.eventRecorder, "TODO-authenticatorCertRequester", authenticatorCertRequester.Sync),
658658
libraryapplyconfiguration.AdaptSyncFn(authOperatorInput.eventRecorder, "TODO-webhookAuthController", webhookAuthController.Sync),
659659
libraryapplyconfiguration.AdaptSyncFn(authOperatorInput.eventRecorder, "TODO-webhookCertsApprover", webhookCertsApprover.Sync),
660-
// TODO missing :(
661-
//libraryapplyconfiguration.AdaptSyncFn(authOperatorInput.eventRecorder, apiServerControllers.Sync),
660+
}
661+
for _, apiServerController := range apiServerControllers.Controllers() {
662+
runOnceFns = append(runOnceFns, libraryapplyconfiguration.AdaptSyncFn(authOperatorInput.eventRecorder, apiServerController.Name(), apiServerController.Sync))
662663
}
663664

664665
runFns := []libraryapplyconfiguration.RunFunc{

0 commit comments

Comments
 (0)