<p>when performing helm upgrade, I find that secrets that are created upon initial install are deleted. Why is this? The example I am using is dagster. When installing with:</p>
<p><code>helm install dagster dagster/dagster \                                                                                                                                                       --namespace dagster \ --create-namespace</code></p>
<p>everything starts up fine and secrets are created. When updating the image and tag and performing an upgrade with:</p>
<p><code>helm upgrade -f charts/dagster-user-deployments/values.yaml dagster ./charts/dagster-user-deployments -n dagster</code></p>
<p>the image is upgraded, but all secrets are deleted. Why would/ could this happen?</p>
<p>After running the upgrade command, I expect secrets to still be in place, and the new image to be pulled and run.</p>

<p><code>when performing helm upgrade, I find that secrets that are created upon initial install are deleted. Why is this?</code></p>
<p>This is currently how helm works, here's the <a href="https://github.com/helm/helm-www/issues/1259" rel="nofollow noreferrer">issue opened</a> for discussion, there are several workarounds provided here as well.</p>
