kminion
kminion copied to clipboard
[Helm] Add configmap checksum annotations to restart the pod on configuration change
Hi folks,
Currently when we do any configuration changes in the chart's configmap
(via the config
key in the values file), the changes aren't reflected in the pod and a manual restart is required for the new settings to take affect.
One way to handle it is to add an annotation to the pod with the checksum of the the file, so any changes cause it to change and restart the pod, see here for more details - https://helm.sh/docs/howto/charts_tips_and_tricks/#automatically-roll-deployments
Willing to PR this if you'd like