Skip to content
Snippets Groups Projects
Unverified Commit fd3c4821 authored by Alex Nordlund's avatar Alex Nordlund Committed by GitHub
Browse files

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

parent d3afd7a2
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment