You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by wi...@apache.org on 2020/06/27 09:00:13 UTC

[couchdb-helm] 37/43: Automatically Roll Deployments

This is an automated email from the ASF dual-hosted git repository.

willholley pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb-helm.git

commit 70b2777edd3b792c30dd025097ee598b64a45efa
Author: natcohen <co...@gmail.com>
AuthorDate: Tue Jun 2 16:13:16 2020 +0200

    Automatically Roll Deployments
    
    Best practice from: https://helm.sh/docs/howto/charts_tips_and_tricks/#automatically-roll-deployments
---
 couchdb/templates/statefulset.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/couchdb/templates/statefulset.yaml b/couchdb/templates/statefulset.yaml
index aecf2da..6225fbe 100644
--- a/couchdb/templates/statefulset.yaml
+++ b/couchdb/templates/statefulset.yaml
@@ -20,6 +20,7 @@ spec:
 {{ include "couchdb.ss.selector" . | indent 8 }}
 {{- with .Values.annotations }}
       annotations:
+        checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
 {{ toYaml . | indent 8 }}
 {{- end }}
     spec: