mirror of
https://forge.liiib.re/indiehost/libre.sh/libre.sh.git
synced 2025-01-15 06:53:09 +00:00
This commit is contained in:
parent
1bb6c45640
commit
02a71f7960
1 changed files with 6 additions and 6 deletions
12
cmd/main.go
12
cmd/main.go
|
@ -294,6 +294,12 @@ func setupTenantControllers(mgr manager.Manager) {
|
||||||
setupLog.Error(err, "unable to create controller", "controller", "StaticWebsite")
|
setupLog.Error(err, "unable to create controller", "controller", "StaticWebsite")
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
}
|
}
|
||||||
|
if err = (&appscontroller.WikijsReconciler{
|
||||||
|
Client: mgr.GetClient(),
|
||||||
|
}).SetupWithManager(mgr); err != nil {
|
||||||
|
setupLog.Error(err, "unable to create controller", "controller", "Wikijs")
|
||||||
|
os.Exit(1)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
@ -404,12 +410,6 @@ func main() {
|
||||||
setupTenantControllers(mgr)
|
setupTenantControllers(mgr)
|
||||||
}
|
}
|
||||||
|
|
||||||
if err = (&appscontroller.WikijsReconciler{
|
|
||||||
Client: mgr.GetClient(),
|
|
||||||
}).SetupWithManager(mgr); err != nil {
|
|
||||||
setupLog.Error(err, "unable to create controller", "controller", "Wikijs")
|
|
||||||
os.Exit(1)
|
|
||||||
}
|
|
||||||
//+kubebuilder:scaffold:builder
|
//+kubebuilder:scaffold:builder
|
||||||
|
|
||||||
if err := mgr.AddHealthzCheck("healthz", healthz.Ping); err != nil {
|
if err := mgr.AddHealthzCheck("healthz", healthz.Ping); err != nil {
|
||||||
|
|
Loading…
Reference in a new issue