Skip to content
Permalink
Browse files
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.
  • Loading branch information
kocolosk committed Jan 13, 2022
1 parent 9f10dad commit c9e0b5f559ee7d81bbf42be59cef05875e687fdc
Showing 1 changed file with 1 addition and 0 deletions.
@@ -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 }}

0 comments on commit c9e0b5f

Please sign in to comment.