From bb851ecc61575b83c01b2236843527f22ffa4f90 Mon Sep 17 00:00:00 2001 From: Marius Ensrud Date: Tue, 2 Mar 2021 19:03:05 +0100 Subject: [PATCH] configmap checksum --- charts/ycast/templates/deployment.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/charts/ycast/templates/deployment.yaml b/charts/ycast/templates/deployment.yaml index 1eedd31..dcb5566 100644 --- a/charts/ycast/templates/deployment.yaml +++ b/charts/ycast/templates/deployment.yaml @@ -13,8 +13,9 @@ spec: {{- include "ycast.selectorLabels" . | nindent 6 }} template: metadata: - {{- with .Values.podAnnotations }} annotations: + checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }} + {{- with .Values.podAnnotations }} {{- toYaml . | nindent 8 }} {{- end }} labels: