From f0f89b9425eba1f31f0e8d9fa2bdb404e6b6ea72 Mon Sep 17 00:00:00 2001 From: Tin Lam Date: Mon, 8 Oct 2018 21:36:48 -0500 Subject: [PATCH] Add configMap hash to annotation This patch set adds in the annotation for the configmap-bin-hash for the memcached chart. Change-Id: I8d0e624af18165a1b146680eefa86f1184ddd924 Signed-off-by: Tin Lam --- memcached/templates/deployment.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/memcached/templates/deployment.yaml b/memcached/templates/deployment.yaml index 5f3fe0723f..8237addb36 100644 --- a/memcached/templates/deployment.yaml +++ b/memcached/templates/deployment.yaml @@ -38,6 +38,8 @@ spec: {{ tuple $envAll | include "helm-toolkit.snippets.kubernetes_upgrades_deployment" | indent 2 }} template: metadata: + annotations: + configmap-bin-hash: {{ tuple "configmap-bin.yaml" . | include "helm-toolkit.utils.hash" }} labels: {{ tuple $envAll "memcached" "server" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }} spec: