This is an automated email from the ASF dual-hosted git repository. kocolosk pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/couchdb-helm.git
commit c9e0b5f559ee7d81bbf42be59cef05875e687fdc Author: Adam Kocoloski <[email protected]> AuthorDate: Fri Jan 7 10:17:14 2022 -0500 Roll deployment if auth secrets change Previously we introduced the feature to roll the pods of the CouchDB deployment if general config settings changed. This patch extends that behavior to changes in authentication secrets; i.e., server admin credentials and the cookie auth secret. --- couchdb/templates/statefulset.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/couchdb/templates/statefulset.yaml b/couchdb/templates/statefulset.yaml index ae3ffa5..233441d 100644 --- a/couchdb/templates/statefulset.yaml +++ b/couchdb/templates/statefulset.yaml @@ -20,6 +20,7 @@ spec: {{ include "couchdb.ss.selector" . | indent 8 }} annotations: checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }} + checksum/secret: {{ include (print $.Template.BasePath "/secrets.yaml") . | sha256sum }} {{- if .Values.annotations }} {{ toYaml .Values.annotations | indent 8 }} {{- end }}
