#820·Reloader

[QUESTION] Restart pods after changes on any secrets fails

Author: rleffdCreated Jan 3, 2025Updated Sep 2, 2026
Labelskind/bug

Hello,

I'm discovering this tools. It is awesome !! I have successfully restarted pods after the secret or configmap changes.

But it is working only if the name of secret/configmap is the same of the deployment:

  • Deployment: demo
  • Secret: demo
  • Configmap: demo

To test, I have created a new secret called demo2 and mount it in a volume.

If I try to change demo2 secret, nothing happen. Am I missing something ?

If I configure the annotation with reload and specify all secrets statically, it works. But the goal for me is to restart the pods if any of secrets change. I have deployments with a lot of secrets and configmap.

Thanks.