<p>I have the below annotation for my secrets</p>

<pre><code>annotations:
     "helm.sh/hook": "pre-install,pre-upgrade"
     "helm.sh/hook-weight": "1"
     "helm.sh/hook-delete-policy": "before-hook-creation"
</code></pre>

<p>it's giving me the following error when I try to upgrade.</p>

<blockquote>
  <p>Error: UPGRADE FAILED: secrets "my-secret" already exists </p>
</blockquote>

<p>My expectation is it should delete previous release hook and create a new one</p>

<p>Helm Version: </p>

<ul>
<li>Client: 2.7.2 </li>
<li>Server: 2.7.2</li>
</ul>

Coding Ninja
<p>after digging docs, came to know that <code>"helm.sh/hook-delete-policy": "before-hook-creation"</code> is not available in Helm version <code>2.7.2</code> it is available in <code>2.9.0</code></p>
