49 lines
1.2 KiB
YAML
49 lines
1.2 KiB
YAML
|
---
|
||
|
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
||
|
kind: HelmRelease
|
||
|
metadata:
|
||
|
name: &app mastodon-sidekiq-remote-pull
|
||
|
namespace: fediverse
|
||
|
labels:
|
||
|
app: mastodon
|
||
|
component: sidekiq
|
||
|
spec:
|
||
|
interval: 30m
|
||
|
chart:
|
||
|
spec:
|
||
|
chart: app-template
|
||
|
version: 1.5.1
|
||
|
sourceRef:
|
||
|
kind: HelmRepository
|
||
|
name: bjw-s
|
||
|
namespace: flux-system
|
||
|
values:
|
||
|
controller:
|
||
|
replicas: 1
|
||
|
strategy: RollingUpdate
|
||
|
annotations:
|
||
|
reloader.stakater.com/auto: "true"
|
||
|
labels:
|
||
|
app: mastodon
|
||
|
component: sidekiq
|
||
|
image:
|
||
|
repository: ghcr.io/mastodon/mastodon
|
||
|
tag: v4.1.6@sha256:51405bec6529860c88640bbca3d30bf3a9a82456a3fdae122dc52f4f941808ff
|
||
|
command: ["bundle", "exec", "sidekiq", "-c", "25", "-q", "pull"]
|
||
|
envFrom:
|
||
|
- secretRef:
|
||
|
name: mastodon-secret
|
||
|
env:
|
||
|
DB_NAME: "$(CP_SIDEKIQ_PULL)"
|
||
|
DB_PORT: "${CP_DB_PORT}"
|
||
|
PREPARED_STATEMENTS: "false" # neccessary for pgbouncer
|
||
|
service:
|
||
|
main:
|
||
|
enabled: false
|
||
|
# nodeSelector:
|
||
|
# doks.digitalocean.com/node-pool: pool-sidekiq
|
||
|
resources:
|
||
|
requests:
|
||
|
cpu: 2000m
|
||
|
memory: 800Mi
|