<p>We are using secret as environment variables on pod, but every time we have updated on secrets, we are redeploying the pods to take changes effect. We are looking for a mechanism where Pods get restarted automatically whenever secrets gets updated. Any help on this?</p>
<p>Thanks in advance.</p>

<p>If you mount your secrets to pod it will get updated automatically you don't have to restart your pod as mentioned <a href="https://kubernetes.io/docs/concepts/configuration/secret/#mounted-secrets-are-updated-automatically" rel="nofollow noreferrer">here</a></p>
<p>Other approaches are <a href="https://github.com/stakater/Reloader" rel="nofollow noreferrer">staker reloader</a> which can reload your deployments based on configs, secrets etc</p>
