Reloader icon indicating copy to clipboard operation
Reloader copied to clipboard

[ENHANCE] Support reloading pods, not just deployments

Open mcamou opened this issue 1 month ago • 2 comments

I'm using the Cosmopilot Operator. I do not have access to the deployment that it generates, but I can add annotations to specific pods.

It would be great if Reloader supported annotations on pods, not just on deployments.

mcamou avatar Nov 21 '25 16:11 mcamou

I believe this should work because by default reloader will look for annotations on pod as well if they are not found at parent level.

Reference: https://github.com/stakater/Reloader/blob/master/pkg/common/common.go#L221-L234

msafwankarim avatar Nov 27 '25 12:11 msafwankarim

I'm using https://github.com/NibiruChain/cosmopilot which allows me to annotate pods but doesn't give me access to the deployment. From your link it should work. I tried it and it didn't seem to but it might have been something I did wrong. Thanks!

mcamou avatar Nov 27 '25 12:11 mcamou