Add APIApp crd

[ZITADOPER-1]
This commit is contained in:
Haim Kortovich
2024-05-15 15:09:55 -05:00
parent b554730910
commit d46d53109f
19 changed files with 1092 additions and 34 deletions

View File

@@ -133,6 +133,10 @@ func main() {
setupLog.Error(err, "unable to create controller", "controller", "MachineUser")
os.Exit(1)
}
if err = controller.NewAPIAppReconciler(client, refResolver, builder, conditionReady, requeueZitadel).SetupWithManager(mgr); err != nil {
setupLog.Error(err, "unable to create controller", "controller", "APIApp")
os.Exit(1)
}
//+kubebuilder:scaffold:builder
if err := mgr.AddHealthzCheck("healthz", healthz.Ping); err != nil {