adding redis to suite test
@@ -42,6 +42,7 @@ import (
resourcemanagerpsqldatabase "github.com/Azure/azure-service-operator/pkg/resourcemanager/psql/database"
resourcemanagerpsqlfirewallrule "github.com/Azure/azure-service-operator/pkg/resourcemanager/psql/firewallrule"
resourcemanagerpsqlserver "github.com/Azure/azure-service-operator/pkg/resourcemanager/psql/server"
+
resourcegroupsresourcemanager "github.com/Azure/azure-service-operator/pkg/resourcemanager/resourcegroups"
resourcemanagerstorages "github.com/Azure/azure-service-operator/pkg/resourcemanager/storages"
telemetry "github.com/Azure/azure-service-operator/pkg/telemetry"
@@ -129,6 +130,7 @@ func setup() error {
var appInsightsManager resourcemanagerappinsights.ApplicationInsightsManager
var resourceGroupManager resourcegroupsresourcemanager.ResourceGroupManager
+ var redisCacheManager resourcemanagerrediscaches.RedisCacheManager
var eventHubManagers resourcemanagereventhub.EventHubManagers
var storageManagers resourcemanagerstorages.StorageManagers
var eventhubNamespaceClient resourcemanagereventhub.EventHubNamespaceManager
@@ -259,6 +261,20 @@ func setup() error {
return err
}
+ err = (&RedisCacheReconciler{
+ Reconciler: &AsyncReconciler{
+ Client: k8sManager.GetClient(),
+ AzureClient: redisCacheManager,
+ Telemetry: telemetry.InitializePrometheusDefault(
+ ctrl.Log.WithName("controllers").WithName("RedisCache"),
+ "RedisCache",
+ ),
+ Recorder: k8sManager.GetEventRecorderFor("RedisCache-controller"),
+ Scheme: scheme.Scheme,
+ },
+ }).SetupWithManager(k8sManager)
+ Expect(err).ToNot(HaveOccurred())
+
err = (&EventhubNamespaceReconciler{
Reconciler: &AsyncReconciler{
Client: k8sManager.GetClient(),
