[stable/telegraf] recreates pods when config change (#18143)

Signed-off-by: Sébastien Prud'homme <sebastien.prudhomme@gmail.com>
This commit is contained in:
Sébastien Prud'homme
2019-10-20 14:21:36 -07:00
committed by Kubernetes Prow Robot
parent ef8a37b05e
commit 7df5ddf388
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: telegraf
version: 1.1.6
version: 1.1.7
appVersion: 1.12
deprecated: false
description: Telegraf is an agent written in Go for collecting, processing, aggregating, and writing metrics.
+3 -2
View File
@@ -17,10 +17,11 @@ spec:
labels:
app.kubernetes.io/name: {{ include "telegraf.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- if .Values.podAnnotations }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
{{- if .Values.podAnnotations }}
{{ toYaml .Values.podAnnotations | indent 8 }}
{{- end }}
{{- end }}
spec:
containers:
- name: {{ .Chart.Name }}