From c72871b2e5dbe16ca752edc1919ceb08b33c5e4e Mon Sep 17 00:00:00 2001 From: djerfy Date: Mon, 4 Sep 2023 13:40:16 +0200 Subject: [PATCH] feat: add configmap checksump in deployment Signed-off-by: djerfy --- helm/zabbix-kubernetes-discovery/templates/deployment.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/helm/zabbix-kubernetes-discovery/templates/deployment.yaml b/helm/zabbix-kubernetes-discovery/templates/deployment.yaml index a6dbb7a..a524f25 100644 --- a/helm/zabbix-kubernetes-discovery/templates/deployment.yaml +++ b/helm/zabbix-kubernetes-discovery/templates/deployment.yaml @@ -16,6 +16,8 @@ spec: metadata: labels: app: {{ .Values.deployment.name }} + annotations: + checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }} spec: {{- if .Values.serviceAccount.create }} serviceAccountName: {{ .Values.serviceAccount.name }}