Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Helm] Add configmap checksum annotations to restart the pod on configuration change #238

Open
hagaibarel opened this issue Dec 27, 2023 · 0 comments

Comments

@hagaibarel
Copy link

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

@hagaibarel hagaibarel changed the title [Helm] Add configmap checksum annottation to restart the pod on configuration change [Helm] Add configmap checksum annotations to restart the pod on configuration change Dec 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant