Skip to content

fix(chart): restart deployment on configmap change#996

Merged
gianklug merged 1 commit intomainfrom
fix/chart/configmap_checksum
Dec 1, 2025
Merged

fix(chart): restart deployment on configmap change#996
gianklug merged 1 commit intomainfrom
fix/chart/configmap_checksum

Conversation

@gianklug
Copy link
Member

@gianklug gianklug commented Dec 1, 2025

Currently, one has to manually restart a deployment after editing the corresponding ConfigMap. This can lead to unintended side effects as ArgoCD reports the status as Synced while e.g. the frontend is still running with old an config.

This PR adds a checksum/config[-.*] annotation to Deployments, which contains the sha256 sum of the respective ConfigMap.

This means, when the ConfigMap is changed in the future, Helm will detect a difference and the deployment will automatically restart.

@gianklug gianklug self-assigned this Dec 1, 2025
@gianklug gianklug requested a review from a team as a code owner December 1, 2025 11:41
@gianklug gianklug added the bug Something isn't working label Dec 1, 2025
Copy link
Member

@derrabauke derrabauke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@gianklug gianklug enabled auto-merge (squash) December 1, 2025 11:48
@gianklug gianklug merged commit 3afef30 into main Dec 1, 2025
2 checks passed
@gianklug gianklug deleted the fix/chart/configmap_checksum branch December 1, 2025 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants