title: How do I upgrade a helm chart with a new values.yaml and keep the previous deployments data?
body: <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>