tiled icon indicating copy to clipboard operation
tiled copied to clipboard

(Helm) add checksum to config to force restart on changing config

Open DiamondJoseph opened this issue 1 month ago • 0 comments

When Helm mounts config as a configmap, changes to that configmap are not reflected in the pod until the files are read again. For something like root app settings, that means changes will not be picked up until the container is restarted. One way to accomplish that is adding a checksum annotation to the container based on the contents of the configmap.

See e.g. https://github.com/DiamondLightSource/blueapi/blob/d8a989cc6e2740e9eb3e8adf356a2c1b5ce41d3b/helm/blueapi/templates/statefulset.yaml#L18

DiamondJoseph avatar Nov 27 '25 16:11 DiamondJoseph