|
|
|
@ -11,7 +11,8 @@ spec: |
|
|
|
|
selector: |
|
|
|
|
matchLabels: |
|
|
|
|
{{- include "mastodon.selectorLabels" . | nindent 6 }} |
|
|
|
|
component: rails |
|
|
|
|
app.kubernetes.io/component: sidekiq |
|
|
|
|
app.kubernetes.io/part-of: rails |
|
|
|
|
template: |
|
|
|
|
metadata: |
|
|
|
|
annotations: |
|
|
|
@ -22,7 +23,8 @@ spec: |
|
|
|
|
rollme: {{ randAlphaNum 5 | quote }} |
|
|
|
|
labels: |
|
|
|
|
{{- include "mastodon.selectorLabels" . | nindent 8 }} |
|
|
|
|
component: rails |
|
|
|
|
app.kubernetes.io/component: sidekiq |
|
|
|
|
app.kubernetes.io/part-of: rails |
|
|
|
|
spec: |
|
|
|
|
{{- with .Values.imagePullSecrets }} |
|
|
|
|
imagePullSecrets: |
|
|
|
@ -40,7 +42,7 @@ spec: |
|
|
|
|
requiredDuringSchedulingIgnoredDuringExecution: |
|
|
|
|
- labelSelector: |
|
|
|
|
matchExpressions: |
|
|
|
|
- key: component |
|
|
|
|
- key: app.kubernetes.io/part-of |
|
|
|
|
operator: In |
|
|
|
|
values: |
|
|
|
|
- rails |
|
|
|
|