<p>I deployed a helm chart using <code>config-v1.yaml</code>. I added some data to my helm chart app via an api exposed in the helm chart</p>

<p>I want to deploy/update the current chart with values from <code>config-v2.yaml</code> because there is a feature I want to expose.</p>

<p>When I use <code>helm upgrade -f config-v2.yaml my-chart stable/chart</code>. The previous helm version is blown away meaning the data I added with the API is gone. So I figure I need to add a volume to my container.</p>

<p>When I add a PersistentVolume and PersistentVolumeClaim, the app fails to update with values from <code>config-v2.yaml</code> which means I don't get the new features I want.</p>

<p>What is the proper way to do these types of updates to helm charts?</p>

<p>To upgrade, use '--reuse-values' flag as you are providing extra customization to the existing values.</p>

<p>In your case, you can use</p>

<p>helm upgrade <strong>--reuse-values</strong> -f config-v2.yaml my-chart stable/chart</p>

<p>Please refer the <a href="https://helm.sh/docs/helm/helm_upgrade/" rel="nofollow noreferrer">docs.</a></p>
