From 6a6f5ed60b6816b2bf259ff9182cfdb111ffda69 Mon Sep 17 00:00:00 2001 From: tschmittni <31885280+tschmittni@users.noreply.github.com> Date: Wed, 9 Jan 2019 18:03:06 +0200 Subject: [PATCH] [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 --- incubator/fluentd-cloudwatch/Chart.yaml | 2 +- incubator/fluentd-cloudwatch/templates/daemonset.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/incubator/fluentd-cloudwatch/Chart.yaml b/incubator/fluentd-cloudwatch/Chart.yaml index c63e61d687..36d329d3d9 100644 --- a/incubator/fluentd-cloudwatch/Chart.yaml +++ b/incubator/fluentd-cloudwatch/Chart.yaml @@ -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/ diff --git a/incubator/fluentd-cloudwatch/templates/daemonset.yaml b/incubator/fluentd-cloudwatch/templates/daemonset.yaml index 778603572c..b72a6e1f47 100644 --- a/incubator/fluentd-cloudwatch/templates/daemonset.yaml +++ b/incubator/fluentd-cloudwatch/templates/daemonset.yaml @@ -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 }}