Reloader icon indicating copy to clipboard operation
Reloader copied to clipboard

Auto Reload for All Resources

Open itaispiegel opened this issue 2 years ago • 2 comments
trafficstars

We just integrated the Reloader controller in our Kubernetes cluster. We added the reloader.stakater.com/auto: "true" annotation to our deployments, and we expect them to be reloaded every time we update the configmaps and secrets they're using. We thought it would be better for us to change the policy to do this by default, since at the current state we need to add this annotation to all resources, and it's repetitive. In addition, we fear a case where one of the developers forgets to add this annotation, and doesn't understand why his deployment didn't get reloaded when he changed the configmap it was using.

I'd like to discuss this feature, and if you find it useful, then I'll be glad to open a PR for this :)

itaispiegel avatar Jun 22 '23 18:06 itaispiegel

I think we should have it as a parameter when deploying Reloader, and keep it disabled by default.

karl-johan-grahn avatar Jun 28 '23 07:06 karl-johan-grahn

I think that can be closed now? Though it would be good if documentation explicitly specified behaviour in case of missing annotation, otherwise the sentence about "undefined values" can lead to confusion. Though I undertstand "undefined value" is one explicitly specified as null?

Cavaler avatar Mar 21 '24 14:03 Cavaler