From f8577deb62bedc5e129662b06ff612db4f20697f Mon Sep 17 00:00:00 2001 From: Robson Roberto Souza Peixoto Date: Sun, 1 Nov 2020 22:44:06 -0300 Subject: [PATCH] Automatically roll Deployment when ConfigMap change --- charts/kafka-lag-exporter/templates/040-Deployment.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/charts/kafka-lag-exporter/templates/040-Deployment.yaml b/charts/kafka-lag-exporter/templates/040-Deployment.yaml index 11ce04d3..8110a077 100644 --- a/charts/kafka-lag-exporter/templates/040-Deployment.yaml +++ b/charts/kafka-lag-exporter/templates/040-Deployment.yaml @@ -20,6 +20,7 @@ spec: app.kubernetes.io/instance: {{ .Release.Name }} {{- if .Values.podAnnotations }} annotations: + checksum/config: {{ include (print $.Template.BasePath "/030-ConfigMap.yaml") . | sha256sum }} {{ toYaml .Values.podAnnotations | indent 8 }} {{- end }} spec: