register NewClusterResourceQuotaReconciler & Tenant webhook for test
@@ -265,6 +265,7 @@ func (suite *BasicSuite) SetupTestEnv(testEnv *envtest.Environment, disableWebho
suite.Require().Nil(NewSingleSignOnConfigReconciler(mgr).SetupWithManager(mgr))
suite.Require().Nil(NewProtectedEndpointReconciler(mgr).SetupWithManager(mgr))
suite.Require().Nil(NewTenantReconciler(mgr).SetupWithManager(mgr))
+ suite.Require().Nil(NewClusterResourceQuotaReconciler(mgr).SetupWithManager(mgr))
v1alpha1.InitializeWebhookClient(mgr)
suite.Require().Nil((&v1alpha1.AccessToken{}).SetupWebhookWithManager(mgr))
@@ -279,6 +280,7 @@ func (suite *BasicSuite) SetupTestEnv(testEnv *envtest.Environment, disableWebho
suite.Require().Nil((&v1alpha1.SingleSignOnConfig{}).SetupWebhookWithManager(mgr))
suite.Require().Nil((&v1alpha1.LogSystem{}).SetupWebhookWithManager(mgr))
suite.Require().Nil((&v1alpha1.ACMEServer{}).SetupWebhookWithManager(mgr))
+ suite.Require().Nil((&v1alpha1.Tenant{}).SetupWebhookWithManager(mgr))
mgrStopChannel := make(chan struct{})
suite.StopChannel = mgrStopChannel
