How can I using NFS to caching a path from helm install way on my k8s cluster?
I has been install gitlab-runner on my k8s and it works well, but there is a cache problem need to fixing, when stating a new pod to running, All of maven source will be downloading again, it's a waste time and don't necessary.
So, I'm already got a NFS for it, and I know where is the absolute path to caching, but I don't find it out where is configure into values.yaml
on helm. like this:
volumes:
- name: m2
nfs:
server: 192.168.3.40
path: "/gitlab-runner-maven-cache"
containers:
- name: gitlab-runner
image: gitlab-runner
volumeMounts:
- name: m2
mountPath: "/root/.m2"
Is there a way for doing this?