Commit 8c7cef42 authored by Sébastien Prud'homme's avatar Sébastien Prud'homme Committed by Kubernetes Prow Robot

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

parent 885f6b97
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.
......
......@@ -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 }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment