<p>I understand volumeMounts: mountPath and hostPath in kubernetes are connected by there name in kubernetes. How can I do the same with helm charts ?  Are there any simple examples or readme docs ?</p>
<p>I am trying to use nfs mounts to run containers and package it as an application using helm charts.
Thanks</p>

user15087554
<p>Just have a look at bitnami/postgresql chart. They make use of statefulset and have a template for persistant volumes. In your case you should search for nfs csi provider in addition.</p>
