Skip to content
Snippets Groups Projects
Verified Commit 3cf28a23 authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

fix(mastodon): Add automatic detection of scheduler sidekiq

This patch adjusts the helm chart to automatically to
automatically switch to strategy `Recreate` when deploying the
scheduler queue to a sidekiq container. This will prevent
accidental concurrent execution of it.
parent ffffe1f8
No related branches found
No related tags found
No related merge requests found
Pipeline #15871 passed
......@@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 3.0.0
version: 3.0.1
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
......
# mastodon
![Version: 3.0.0](https://img.shields.io/badge/Version-3.0.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v3.5.3](https://img.shields.io/badge/AppVersion-v3.5.3-informational?style=flat-square)
![Version: 3.0.1](https://img.shields.io/badge/Version-3.0.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v3.5.3](https://img.shields.io/badge/AppVersion-v3.5.3-informational?style=flat-square)
Mastodon is a free, open-source social network server based on ActivityPub.
......
......@@ -10,6 +10,10 @@ metadata:
app.kubernetes.io/part-of: rails
spec:
replicas: {{ .replicas }}
{{- if (has "scheduler" .queues) }}
strategy:
type: Recreate
{{- end }}
selector:
matchLabels:
{{- include "mastodon.selectorLabels" $context | nindent 6 }}
......
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