<p>In my Mongo Helm Chart, I am using PVC for Persistence volume. I am using the chart to install Mongo. When I delete the chart my PV gets deleted. So, I found something to patch it in.</p>

<pre><code>kubectl patch pv &lt;your-pv-name&gt; -p '{"spec":{"persistentVolumeReclaimPolicy":"Retain"}}'
</code></pre>

<p>After this my PV is not getting deleted just the status in <strong>Released</strong></p>

<pre><code>pvc-fc29a491-499a-11e9-a426-42010a800ff9   8Gi        RWO            Retain           Released      default/myapp-mongodb           standard                 3d
</code></pre>

<p>How can I bound this PV to my new helm chart installation so that my data should remain persistent even after deleting my Helm Chart?</p>

avinashjha
<p>It's still not resolved issue by Helm. </p>

<ul>
<li><a href="https://github.com/helm/charts/issues/1472" rel="nofollow noreferrer">https://github.com/helm/charts/issues/1472</a></li>
<li><a href="https://github.com/helm/helm/issues/1933" rel="nofollow noreferrer">https://github.com/helm/helm/issues/1933</a></li>
</ul>

<p>The 'hack' to deal with it, you can find here:</p>

<p><a href="https://groups.google.com/forum/#!topic/kubernetes-sig-apps/sLL2pCJ5Ab8" rel="nofollow noreferrer">https://groups.google.com/forum/#!topic/kubernetes-sig-apps/sLL2pCJ5Ab8</a></p>
