Unable to start Filebeat due to hostPath volume

Hello folks.

I am facing an issue when trying to deploy Filebeat because there is an OPA policy that prevents the use of hostPath volumes. Is there any alternative method to make it work without relying on hostPath?

 name: varlibdockercontainers
        hostPath:
          path: /var/lib/docker/containers
      - name: varlog
        hostPath:
          path: /var/log
      - name: varrundockersock
        hostPath:
          path: /var/run/docker.sock

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.