Add Flows and Actions

[ZITADOPER-4]
This commit is contained in:
Haim Kortovich
2024-06-17 15:46:05 -05:00
parent 1d5364dee5
commit aa5a411251
29 changed files with 2108 additions and 0 deletions

View File

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