From 1326e43417db87ac800a064d2890329dbd84cde1 Mon Sep 17 00:00:00 2001 From: Scott Hussey Date: Fri, 13 Apr 2018 10:06:46 -0500 Subject: [PATCH] Add configmap hash to CoreDNS deployment - This should force pod restarts when the coredns core file changes Change-Id: I5bd34373f9846476e45b7b39ae170a8868997906 --- charts/coredns/templates/deployment.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/charts/coredns/templates/deployment.yaml b/charts/coredns/templates/deployment.yaml index 72c4fc6b..27d0acca 100644 --- a/charts/coredns/templates/deployment.yaml +++ b/charts/coredns/templates/deployment.yaml @@ -34,6 +34,8 @@ spec: metadata: labels: {{ .Values.service.name }}: enabled + annotations: + configmap-etc-hash: {{ tuple "configmap-etc.yaml" . | include "helm-toolkit.utils.hash" }} spec: serviceAccountName: coredns tolerations: