[incubator/fluentd-cloudwatch] Roll out configmap updates (#10099)

Added a checksum/config annotation so that configmap
changes are picked up and automatically rolled out.

see https://github.com/helm/helm/blob/master/docs/charts_tips_and_tricks.md#automatically-roll-deployments-when-configmaps-or-secrets-change

Signed-off-by: Thomas Schmitt <thomas.schmitt@ni.com>
This commit is contained in:
tschmittni
2019-01-09 08:03:06 -08:00
committed by Kubernetes Prow Robot
parent 1e2c3ef1d1
commit 6a6f5ed60b
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: fluentd-cloudwatch
version: 0.6.3
version: 0.6.4
appVersion: v0.12.43-cloudwatch
description: A Fluentd CloudWatch Helm chart for Kubernetes.
home: https://www.fluentd.org/
@@ -14,6 +14,7 @@ spec:
app: {{ template "fluentd-cloudwatch.name" . }}
release: "{{ .Release.Name }}"
annotations:
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
{{ if .Values.awsRole }}iam.amazonaws.com/role: {{ .Values.awsRole }}{{ end }}
{{- if .Values.podAnnotations }}
{{ toYaml .Values.podAnnotations | indent 8 }}