diff --git a/chart/templates/deployment-sidekiq.yaml b/chart/templates/deployment-sidekiq.yaml index 994a66445ea..b2e5af522e5 100644 --- a/chart/templates/deployment-sidekiq.yaml +++ b/chart/templates/deployment-sidekiq.yaml @@ -14,12 +14,12 @@ spec: component: rails template: metadata: - {{- with .Values.podAnnotations }} annotations: + {{- with .Values.podAnnotations }} {{- toYaml . | nindent 8 }} + {{- end }} # roll the pods to pick up any db migrations rollme: {{ randAlphaNum 5 | quote }} - {{- end }} labels: {{- include "mastodon.selectorLabels" . | nindent 8 }} component: rails diff --git a/chart/templates/deployment-web.yaml b/chart/templates/deployment-web.yaml index ab722c77b1c..c50f32d9834 100644 --- a/chart/templates/deployment-web.yaml +++ b/chart/templates/deployment-web.yaml @@ -14,12 +14,12 @@ spec: component: rails template: metadata: - {{- with .Values.podAnnotations }} annotations: + {{- with .Values.podAnnotations }} {{- toYaml . | nindent 8 }} + {{- end }} # roll the pods to pick up any db migrations rollme: {{ randAlphaNum 5 | quote }} - {{- end }} labels: {{- include "mastodon.selectorLabels" . | nindent 8 }} component: rails