I need to copy files from a git repo to a persistent disk on google cloud, as part of the automated deployment process with "google cloud build".
How can I use persistent volume claims or mount nfs shares in cloud build yaml ?
I already achieved copying files from /workspace to the pod running the nfs server by using "kubectl cp", but kubectl's cp is limited, it doesn't support directory exclusion and doesn't have sync capabilities like rsync does.
In summary, how can I mount an nfs share with google cloud build ?