I'd like to run heartbeat in Openshift.
I am trying to deploy it using this yaml file https://raw.githubusercontent.com/elastic/beats/8.15/deploy/kubernetes/heartbeat-kubernetes.yaml
the issue is that in OCP we do not have root permissions and we cannot set runAsUser: 1000 and I get the following error:
/usr/local/bin/docker-entrypoint: line 8: /usr/share/heartbeat/heartbeat: Operation not permitted
How can I solve it?
Any reason why it requires root user?