From 457ac52ee63806a39487d466ab12a8a72990f20b Mon Sep 17 00:00:00 2001
From: Chinasubbareddy Mallavarapu <cr3938@att.com>
Date: Mon, 11 Mar 2019 13:45:58 -0500
Subject: [PATCH] ceph-osd: Add configmap hash as annotation

This is to add missing(ceph-osd-bin) configmap  hash
to ceph-osd ds

Change-Id: I192ad29cd59a8e58e690e2775be6ade02dc22711
---
 ceph-osd/templates/daemonset-osd.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ceph-osd/templates/daemonset-osd.yaml b/ceph-osd/templates/daemonset-osd.yaml
index b36dec08d..a1e5f39c0 100644
--- a/ceph-osd/templates/daemonset-osd.yaml
+++ b/ceph-osd/templates/daemonset-osd.yaml
@@ -38,6 +38,8 @@ spec:
     metadata:
       labels:
 {{ tuple $envAll "ceph" "osd" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
+      annotations:
+        configmap-bin-hash: {{ tuple "configmap-bin.yaml" . | include "helm-toolkit.utils.hash" }}
     spec:
       serviceAccountName: {{ $serviceAccountName }}
       nodeSelector: