<p>I am mounting db secrets as a file in my Kubernetes container. Db secrets will get updated after the password expiry time. I am using polling mechanism to check if Db secrets has been reset to updated value.  Is it possible to change mounted secret inside file.</p>

Ambuj Kumar
<pre><code>is secret mounted as file is editable from application code in kubernetes
</code></pre>
<p>The file which gets loaded into the container will be loaded in readonly format, so loaded file can't be edited from inside the container.  But secret can be edited from either updating the secret or copying the file into different location within the container.</p>
