diff --git a/controllers/k8ssandra/medusa_reconciler_test.go b/controllers/k8ssandra/medusa_reconciler_test.go index fe5d94c64..25740587a 100644 --- a/controllers/k8ssandra/medusa_reconciler_test.go +++ b/controllers/k8ssandra/medusa_reconciler_test.go @@ -77,8 +77,7 @@ func medusaTemplateWithoutConfigRef() *medusaapi.MedusaClusterTemplate { func medusaTemplateWithConfigRef(configRefName, namespace string) *medusaapi.MedusaClusterTemplate { configRef := &corev1.ObjectReference{ - Name: configRefName, - Namespace: namespace, + Name: configRefName, } return medusaTemplate(configRef) } @@ -623,8 +622,7 @@ func createMultiDcClusterWithReplicatedSecrets(t *testing.T, ctx context.Context }, Medusa: &medusaapi.MedusaClusterTemplate{ MedusaConfigurationRef: corev1.ObjectReference{ - Namespace: namespace, - Name: originalConfigName, + Name: originalConfigName, }, StorageProperties: medusaapi.Storage{ Prefix: "some-prefix",