From 29e6b96ffe8c2e94ae6d59b8fbf4fdbffc8b9294 Mon Sep 17 00:00:00 2001 From: "David J. M. Karlsen" Date: Fri, 18 Jan 2019 11:50:15 +0100 Subject: [PATCH] get checksum of configmap (#10753) Signed-off-by: David J. M. Karlsen --- stable/node-problem-detector/Chart.yaml | 2 +- stable/node-problem-detector/templates/daemonset.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/stable/node-problem-detector/Chart.yaml b/stable/node-problem-detector/Chart.yaml index 52add2664b..71f02362d9 100644 --- a/stable/node-problem-detector/Chart.yaml +++ b/stable/node-problem-detector/Chart.yaml @@ -1,5 +1,5 @@ name: node-problem-detector -version: "1.1.3" +version: "1.1.4" appVersion: v0.6.1 home: https://github.com/kubernetes/node-problem-detector description: Installs the node-problem-detector daemonset for monitoring extra attributes on nodes diff --git a/stable/node-problem-detector/templates/daemonset.yaml b/stable/node-problem-detector/templates/daemonset.yaml index bb3a873faa..7199c769ab 100644 --- a/stable/node-problem-detector/templates/daemonset.yaml +++ b/stable/node-problem-detector/templates/daemonset.yaml @@ -18,6 +18,7 @@ spec: app.kubernetes.io/name: {{ include "node-problem-detector.name" . }} app.kubernetes.io/instance: {{ .Release.Name }} annotations: + checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }} scheduler.alpha.kubernetes.io/critical-pod: '' {{- if .Values.annotations }} {{ toYaml .Values.annotations | indent 8 }}