diff --git a/operator/pkg/reconciliation/construct_statefulset.go b/operator/pkg/reconciliation/construct_statefulset.go index bb3a1506..5094fbc3 100644 --- a/operator/pkg/reconciliation/construct_statefulset.go +++ b/operator/pkg/reconciliation/construct_statefulset.go @@ -198,7 +198,7 @@ func newStatefulSetForCassandraDatacenterHelper( MatchLabels: statefulSetSelectorLabels, }, Replicas: &replicaCountInt32, - ServiceName: dc.GetDatacenterServiceName(), + ServiceName: dc.GetAllPodsServiceName(), PodManagementPolicy: appsv1.ParallelPodManagement, Template: *template, VolumeClaimTemplates: volumeClaimTemplates,