Create Kubernetes Job with mount

Hello,
Has anyone managed to create a Kubernetes Job with mount to an existing PVC in Openshift?

I’ve tried with the following custom job manifest:

apiVersion: batch/v1
kind: Job
metadata:
  labels:
    app: prefectjob
spec:
  template:
    spec:
       completions: 1
       containers:
         - name: prefect-job
           env: []
           resources: {}
           volumeMounts:
              name: logs
              mountPath: /.prefect/logs
        parallelism: 1
        restartPolicy: Never
        volumes:
          name: logs
          persistentVolumeClaim:
            claimName: dev-logs

The flow crushes with the reason: it could not be submitted to infrastructure.

When I remove the configuration regarding the mount the runs successfully.

I’m working with prefect version 2.16.0 and server-agent architecture.

If anyone can help / have an example of kubernetes job manifest with mount will be much appreciated!!