3
0
mirror of https://github.com/mastodon/chart synced 2025-05-18 21:13:21 +00:00

add checksum for smtp secret to sidekiq deployments

This commit is contained in:
Roberto Santalla 2023-01-27 22:33:49 +01:00 committed by Renaud Chaput
parent e01a959506
commit 5a2bb4846f

View File

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