diff --git a/pkg/operator/ceph/cluster/crash/crash.go b/pkg/operator/ceph/cluster/crash/crash.go index 3cc1254f7..52cc07a11 100644 --- a/pkg/operator/ceph/cluster/crash/crash.go +++ b/pkg/operator/ceph/cluster/crash/crash.go @@ -140,7 +140,7 @@ func getCrashChownInitContainer(cephCluster cephv1.CephCluster) corev1.Container cephCluster.Spec.CephVersion.Image, opspec.DaemonVolumeMounts(dataPathMap, ""), cephv1.GetCrashCollectorResources(cephCluster.Spec.Resources), - &corev1.SecurityContext{}, + mon.PodSecurityContext(), ) }