forked from rook/rook
Mgr sidecar was using a privileged security context because it needed to create the /var/lib/rook directory, generate the config on it, and then copy it to the /etc/ceph directory. This change creates empty directories on /var/lib/rook and /etc/ceph so the mgr sidecar can use them, removing the need for using a privileged security context. Fixes: https://github.com/rook/rook/issues/13719 Signed-off-by: Redouane Kachach <rkachach@redhat.com>