Container images with readOnlyRootFileSystem set as false mounts the container root file system with write permissions.
The parameter 'readOnlyrootFileSystem' controls whether a container will be able to write into the root filesystem Therefore, make sure your Kubernetes workload configuration's securityContext field' 'readOnlyRootFileSystem' is set as true.