3
0
mirror of https://github.com/mastodon/chart synced 2024-10-22 10:52:44 +00:00

Use unique annotation key for smtp secret checksum (#48) (#51)

This commit is contained in:
lleyton 2024-02-14 09:08:13 -08:00 committed by GitHub
parent f5c9cdc364
commit ef9e071c38
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -36,7 +36,7 @@ spec:
{{- end }}
# roll the pods to pick up any db migrations or other changes
{{- include "mastodon.rollingPodAnnotations" $context | nindent 8 }}
checksum/config-secrets: {{ include ( print $.Template.BasePath "/secret-smtp.yaml" ) $context | sha256sum | quote }}
checksum/config-secrets-smtp: {{ include ( print $.Template.BasePath "/secret-smtp.yaml" ) $context | sha256sum | quote }}
labels:
{{- include "mastodon.globalLabels" $context | nindent 8 }}
{{- include "mastodon.selectorLabels" $context | nindent 8 }}