Skip to content

Commit

Permalink
refactor/cleanup controller logic
Browse files Browse the repository at this point in the history
Signed-off-by: Bryce Palmer <bpalmer@redhat.com>
  • Loading branch information
everettraven committed Apr 11, 2023
1 parent bc7778c commit 7abf80b
Show file tree
Hide file tree
Showing 4 changed files with 169 additions and 215 deletions.
14 changes: 0 additions & 14 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,20 +92,6 @@ func main() {
setupLog.Error(err, "unable to create controller", "controller", "CatalogSource")
os.Exit(1)
}
if err = (&corecontrollers.BundleMetadataReconciler{
Client: mgr.GetClient(),
Scheme: mgr.GetScheme(),
}).SetupWithManager(mgr); err != nil {
setupLog.Error(err, "unable to create controller", "controller", "BundleMetadata")
os.Exit(1)
}
if err = (&corecontrollers.PackageReconciler{
Client: mgr.GetClient(),
Scheme: mgr.GetScheme(),
}).SetupWithManager(mgr); err != nil {
setupLog.Error(err, "unable to create controller", "controller", "Package")
os.Exit(1)
}
//+kubebuilder:scaffold:builder

if err := mgr.AddHealthzCheck("healthz", healthz.Ping); err != nil {
Expand Down
62 changes: 0 additions & 62 deletions pkg/controllers/core/bundlemetadata_controller.go

This file was deleted.

Loading

0 comments on commit 7abf80b

Please sign in to comment.