Skip to content

Commit

Permalink
Merge pull request #62 from danielemery/57-helm-does-not-restart-cont…
Browse files Browse the repository at this point in the history
…ainer-when-config-map-is-updated

Add annotation to force deployment restart when config map changes
  • Loading branch information
danielemery authored Sep 29, 2024
2 parents 955b201 + 8a33fac commit 3c9c85e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions helm/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ spec:
metadata:
labels:
app: {{ .Release.Name }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/config.yaml") . | sha256sum }}
spec:
containers:
- name: {{ .Release.Name }}
Expand Down

0 comments on commit 3c9c85e

Please sign in to comment.