diff options
author | Patrick Jahns <kontakt@patrickjahns.de> | 2022-11-16 21:06:11 +0100 |
---|---|---|
committer | Maximilien Richer <me@mricher.fr> | 2023-01-27 00:08:32 +0100 |
commit | da6f7b0dda594fc13c96db481dd0fa6ae4c8857e (patch) | |
tree | 1e999262de5f81f96495335f389ef067d271dd69 /script/helm/garage/templates | |
parent | e17970773a14fb455ee945f77586080a11fc3f34 (diff) | |
download | garage-da6f7b0dda594fc13c96db481dd0fa6ae4c8857e.tar.gz garage-da6f7b0dda594fc13c96db481dd0fa6ae4c8857e.zip |
feat(helm): ensure that config changes trigger a pod rollout
Diffstat (limited to 'script/helm/garage/templates')
-rw-r--r-- | script/helm/garage/templates/workload.yaml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/script/helm/garage/templates/workload.yaml b/script/helm/garage/templates/workload.yaml index 057a9858..da5d386f 100644 --- a/script/helm/garage/templates/workload.yaml +++ b/script/helm/garage/templates/workload.yaml @@ -14,8 +14,10 @@ spec: {{- end }} template: metadata: - {{- with .Values.podAnnotations }} + annotations: + checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }} + {{- with .Values.podAnnotations }} {{- toYaml . | nindent 8 }} {{- end }} labels: |