[node operator] PendingNode API gen

Signed-off-by: Malte Poll <mp@edgeless.systems>
This commit is contained in:
Malte Poll 2022-06-27 11:01:54 +02:00 committed by Malte Poll
parent 4409c69cf6
commit 9c3f7fec39
13 changed files with 304 additions and 0 deletions

View file

@ -84,6 +84,13 @@ func main() {
setupLog.Error(err, "unable to create controller", "controller", "ScalingGroup")
os.Exit(1)
}
if err = (&controllers.PendingNodeReconciler{
Client: mgr.GetClient(),
Scheme: mgr.GetScheme(),
}).SetupWithManager(mgr); err != nil {
setupLog.Error(err, "unable to create controller", "controller", "PendingNode")
os.Exit(1)
}
//+kubebuilder:scaffold:builder
if err := mgr.AddHealthzCheck("healthz", healthz.Ping); err != nil {