<p>Let's say that I have a running pod named <code>my-pod</code></p>
<p><code>my-pod</code> reads the secrets from <code>foobar-secrets</code></p>
<p>Now let's say that I update some value in <code>foobar-secrets</code></p>
<pre><code>kubectl patch secret foobar-secrets --namespace kube-system --context=cluster-1 --patch &quot;{\&quot;data\&quot;: {\&quot;FOOBAR\&quot;: \&quot;$FOOBAR_BASE64\&quot;}}&quot;
</code></pre>
<p>What I should do to restart/reload the pod in order to get the new value?</p>

Rodrigo
<p><a href="https://github.com/stakater/Reloader" rel="nofollow noreferrer">https://github.com/stakater/Reloader</a> is the usual solution for a fully standalone setup. Another option is <a href="https://github.com/jimmidyson/configmap-reload" rel="nofollow noreferrer">https://github.com/jimmidyson/configmap-reload</a> or similar but that requires coordination with the daemon process to have an API of some kind for reloading.</p>
