Skip to content

Commit

Permalink
Start the ManagedOSVersion controller
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Mazzotti <[email protected]>
  • Loading branch information
anmazzotti committed Jun 24, 2024
1 parent 77ddc7c commit b8bf5ff
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cmd/operator/operator/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -315,4 +315,11 @@ func setupReconcilers(mgr ctrl.Manager, config *rootConfig) {
setupLog.Error(err, "unable to create reconciler", "controller", "SeedImage")
os.Exit(1)
}

if err := (&controllers.ManagedOSVersionReconciler{
Client: mgr.GetClient(),
}).SetupWithManager(mgr); err != nil {
setupLog.Error(err, "unable to create reconciler", "controller", "ManagedOSVersion")
os.Exit(1)
}
}

0 comments on commit b8bf5ff

Please sign in to comment.