mirror of
https://github.com/storytold/irsa-manager.git
synced 2026-10-09 00:09:43 +00:00
add IRSA api
This commit is contained in:
@@ -129,6 +129,13 @@ func main() {
|
||||
setupLog.Error(err, "unable to create controller", "controller", "IRSASetup")
|
||||
os.Exit(1)
|
||||
}
|
||||
if err = (&controller.IRSAReconciler{
|
||||
Client: mgr.GetClient(),
|
||||
Scheme: mgr.GetScheme(),
|
||||
}).SetupWithManager(mgr); err != nil {
|
||||
setupLog.Error(err, "unable to create controller", "controller", "IRSA")
|
||||
os.Exit(1)
|
||||
}
|
||||
//+kubebuilder:scaffold:builder
|
||||
|
||||
if err := mgr.AddHealthzCheck("healthz", healthz.Ping); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user