Forgot to update test setup
@@ -104,6 +104,13 @@ var _ = BeforeSuite(func(done Done) {
}).SetupWithManager(k8sManager)
Expect(err).ToNot(HaveOccurred())
+ err = (&ReadyReconciler{
+ Client: k8sManager.GetClient(),
+ Log: ctrl.Log.WithName("controllers").WithName("Wait"),
+ Scheme: k8sManager.GetScheme(),
+ }).SetupWithManager(k8sManager)
+ Expect(err).ToNot(HaveOccurred())
+
err = (&ServerReconciler{
Client: k8sManager.GetClient(),
Log: ctrl.Log.WithName("controllers").WithName("Server"),
@@ -126,13 +133,6 @@ var _ = BeforeSuite(func(done Done) {
}).SetupWithManager(k8sManager)
Expect(err).ToNot(HaveOccurred())
- err = (&WaitReconciler{
- Client: k8sManager.GetClient(),
- Log: ctrl.Log.WithName("controllers").WithName("Wait"),
- Scheme: k8sManager.GetScheme(),
- }).SetupWithManager(k8sManager)
- Expect(err).ToNot(HaveOccurred())
-
go func() {
err = k8sManager.Start(ctrl.SetupSignalHandler())
Expect(err).ToNot(HaveOccurred())
