aboutsummaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorPatrick Jahns <kontakt@patrickjahns.de>2022-11-16 21:06:11 +0100
committerMaximilien Richer <me@mricher.fr>2023-01-27 00:08:32 +0100
commitda6f7b0dda594fc13c96db481dd0fa6ae4c8857e (patch)
tree1e999262de5f81f96495335f389ef067d271dd69 /script
parente17970773a14fb455ee945f77586080a11fc3f34 (diff)
downloadgarage-da6f7b0dda594fc13c96db481dd0fa6ae4c8857e.tar.gz
garage-da6f7b0dda594fc13c96db481dd0fa6ae4c8857e.zip
feat(helm): ensure that config changes trigger a pod rollout
Diffstat (limited to 'script')
-rw-r--r--script/helm/garage/templates/workload.yaml4
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: