Persist K3S Traefik Logs to HostPath

We are using K3S with traefik ingress and would like the access logs persisted to a hostPath volume /var/log/somewhere/traefik/.

In the HelmChartConfig resource we have:

        enabled: true

    - hostPath:
        path: /var/log/somewhere/traefik/
      name: traefik-logs
      type: DirectoryOrCreate
      mountPath: /var/log/traefik/

Expected: The logs are written to the host path /var/log/somewhere/traefik/
Result: No logs are written to the host. Logs are only visible via kubectl logs pod

Apparently traefik is logging to stdout only, can we change this?


Also, it seems the helm chart mounts all volumes as readOnly link so maybe we are going about this the wrong way.