In Kubernetes Executor, how can I mount a pvc volume to the build directory?

Although I know that I can use cache or artifacts to pass the files during pipeline, I still think it's more convenient for me to mount a persistent volume on the build path, so that I can share the entire build directory between all stages in the pipeline. By default in the helm chart, the /build path is mounted as EmptyDir, which shared with the build and helper container. So how can I change this to a pvc volume? I don't find anything about this in the kubernetes executors docs. please help me,thx.

Edited by shinji3887