Add configmap hash to CoreDNS deployment

- This should force pod restarts when the coredns core file
  changes

Change-Id: I5bd34373f9846476e45b7b39ae170a8868997906
This commit is contained in:
Scott Hussey 2018-04-13 10:06:46 -05:00
parent d1b6e1e676
commit 1326e43417
1 changed files with 2 additions and 0 deletions

View File

@ -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: