Browse Source

Roll pods to pick up db migrations even if podAnnotations is empty (#19702)

closed-social-glitch-2
Alex Nordlund 1 year ago
committed by GitHub
parent
commit
fd3c482104
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      chart/templates/deployment-sidekiq.yaml
  2. +2
    -2
      chart/templates/deployment-web.yaml

+ 2
- 2
chart/templates/deployment-sidekiq.yaml View File

@ -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

+ 2
- 2
chart/templates/deployment-web.yaml View File

@ -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

Loading…
Cancel
Save