<p>I am experimenting with HashiCorp Vault. I see that my screts ends at path <em>/vault/secrets</em> in my application pod after the whole mutating process is done.</p>
<p>But I want my secrets to be at a different location. I tried changing the volume mount directly in the YAML but it did not work.<br />
Kindly suggest.</p>

ashvin
<p>You need to add an annotation in your Kubernetes manifest :</p>
<pre><code>annotations:
  vault.hashicorp.com/secret-volume-path: &quot;wherever/you/want&quot;
</code></pre>
<p>Described here in the Vault documentation :
<a href="https://www.vaultproject.io/docs/platform/k8s/injector/annotations#vault-hashicorp-com-secret-volume-path" rel="nofollow noreferrer">https://www.vaultproject.io/docs/platform/k8s/injector/annotations#vault-hashicorp-com-secret-volume-path</a></p>
