forked from rook/rook
With the recent enhancements csi containers for using logrotate, they need to run with securityContext to privileged, on platform like openshift. Used the ROOK_HOSTPATH_REQUIRES_PRIVILEGED flag wich is set with operator deployment to see if the securityCOntext is needed or not Closes: https://github.com/rook/rook/issues/14400 Signed-off-by: parth-gr <partharora1010@gmail.com>