From b8bf5ff0c4b48dceaf39ee1ab386b08f1fd602b5 Mon Sep 17 00:00:00 2001 From: Andrea Mazzotti Date: Fri, 21 Jun 2024 15:32:59 +0200 Subject: [PATCH] Start the ManagedOSVersion controller Signed-off-by: Andrea Mazzotti --- cmd/operator/operator/root.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cmd/operator/operator/root.go b/cmd/operator/operator/root.go index 60e03fb9c..690ed500b 100644 --- a/cmd/operator/operator/root.go +++ b/cmd/operator/operator/root.go @@ -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) + } }