Skip to content

Commit

Permalink
Merge pull request #79 from small-hack/fix-es-cronjob
Browse files Browse the repository at this point in the history
fixes a small bug in the elastic search indexing cronjob
  • Loading branch information
jessebot authored Oct 25, 2024
2 parents 72fccbf + fcea95a commit 0c4d031
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/mastodon/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,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: 9.6.1
version: 9.6.2

# renovate: image=ghcr.io/mastodon/mastodon
appVersion: v4.3.1
Expand Down
2 changes: 1 addition & 1 deletion charts/mastodon/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# mastodon

![Version: 9.6.1](https://img.shields.io/badge/Version-9.6.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v4.3.1](https://img.shields.io/badge/AppVersion-v4.3.1-informational?style=flat-square)
![Version: 9.6.2](https://img.shields.io/badge/Version-9.6.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v4.3.1](https://img.shields.io/badge/AppVersion-v4.3.1-informational?style=flat-square)

Mastodon is a free, open-source social network server based on ActivityPub.

Expand Down
11 changes: 8 additions & 3 deletions charts/mastodon/templates/cronjob-elastic-search-index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,14 @@ spec:
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
command:
- bin/tootctl
- |
search deploy --only=instances accounts tags statuses public_statuses
- tootctl
- search
- deploy
- '--only=instances'
- accounts
- tags
- statuses
- public_statuses
envFrom:
- configMapRef:
name: {{ include "mastodon.fullname" . }}-env
Expand Down

0 comments on commit 0c4d031

Please sign in to comment.