diff --git a/controllers/k8ssandra/medusa_reconciler.go b/controllers/k8ssandra/medusa_reconciler.go index 3171c9d64..d9dcb0964 100644 --- a/controllers/k8ssandra/medusa_reconciler.go +++ b/controllers/k8ssandra/medusa_reconciler.go @@ -39,7 +39,7 @@ func (r *K8ssandraClusterReconciler) reconcileMedusa( logger logr.Logger, ) result.ReconcileResult { kc := desiredKc.DeepCopy() - namespace := utils.FirstNonEmptyString(dcConfig.Meta.Namespace, kc.Namespace) + namespace := utils.FirstNonEmptyString(kc.Spec.Medusa.MedusaConfigurationRef.Namespace, kc.Namespace) logger.Info("Medusa reconcile for " + dcConfig.CassDcName() + " on namespace " + namespace) if kc.Spec.Medusa != nil { logger.Info("Medusa is enabled")