mirror of
https://github.com/mastodon/chart
synced 2025-03-15 13:31:51 +00:00
Roll pods to pick up db migrations even if podAnnotations is empty (#19702)
This commit is contained in:
parent
992c1c559e
commit
4a905323c5
|
@ -14,12 +14,12 @@ spec:
|
||||||
component: rails
|
component: rails
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
{{- with .Values.podAnnotations }}
|
|
||||||
annotations:
|
annotations:
|
||||||
|
{{- with .Values.podAnnotations }}
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
# roll the pods to pick up any db migrations
|
# roll the pods to pick up any db migrations
|
||||||
rollme: {{ randAlphaNum 5 | quote }}
|
rollme: {{ randAlphaNum 5 | quote }}
|
||||||
{{- end }}
|
|
||||||
labels:
|
labels:
|
||||||
{{- include "mastodon.selectorLabels" . | nindent 8 }}
|
{{- include "mastodon.selectorLabels" . | nindent 8 }}
|
||||||
component: rails
|
component: rails
|
||||||
|
|
|
@ -14,12 +14,12 @@ spec:
|
||||||
component: rails
|
component: rails
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
{{- with .Values.podAnnotations }}
|
|
||||||
annotations:
|
annotations:
|
||||||
|
{{- with .Values.podAnnotations }}
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
# roll the pods to pick up any db migrations
|
# roll the pods to pick up any db migrations
|
||||||
rollme: {{ randAlphaNum 5 | quote }}
|
rollme: {{ randAlphaNum 5 | quote }}
|
||||||
{{- end }}
|
|
||||||
labels:
|
labels:
|
||||||
{{- include "mastodon.selectorLabels" . | nindent 8 }}
|
{{- include "mastodon.selectorLabels" . | nindent 8 }}
|
||||||
component: rails
|
component: rails
|
||||||
|
|
Loading…
Reference in New Issue
Block a user