22# This is a YAML-formatted file.
33# Declare variables to be passed into your templates.
44
5+ # Number of replicas for the deployments
56replicaCount : 1
67
78image :
89 repository : tootsuite/mastodon
10+ # Image pull policy. Options: Always, Never, IfNotPresent
911 pullPolicy : Always
1012 # Overrides the image tag whose default is the chart appVersion.
1113 tag : " v4.2.10"
1214
15+ # Secrets used to pull images from private registries
1316imagePullSecrets : []
1417nameOverride : " "
1518fullnameOverride : " "
1619
20+ # Global node selector for all pods (jobs, cronjobs will always use this)
21+ # (deployments will use this unless overridden)
22+ nodeSelector : {}
23+
24+ # Global tolerations for all pods (jobs, cronjobs will always use this)
25+ # (deployments will use this unless overridden)
26+ tolerations : []
27+
1728mastodon :
1829 # Please look at https://docs.joinmastodon.org/admin/config/ for the full documentation.
1930 localDomain : example.com
@@ -23,13 +34,17 @@ mastodon:
2334 logLevel : debug
2435
2536 sidekiq :
37+ # Number of concurrent threads for Sidekiq worker
2638 concurrency : 25
2739
40+ # Node selector for Sidekiq (This takes precedence over the global nodeSelector)
2841 nodeSelector :
2942 doks.digitalocean.com/node-pool : josa-cloud-np
3043
31- resources :
32- {}
44+ # Tolerations for Sidekiq (This takes precedence over the global tolerations)
45+ tolerations : []
46+
47+ resources : {}
3348 # limits:
3449 # cpu: 100m
3550 # memory: 128Mi
@@ -60,11 +75,14 @@ mastodon:
6075 successThreshold : 1
6176 failureThreshold : 3
6277
78+ # Node selector for streaming (This takes precedence over the global nodeSelector)
6379 nodeSelector :
6480 doks.digitalocean.com/node-pool : josa-cloud-np
6581
66- resources :
67- {}
82+ # Tolerations for streaming (This takes precedence over the global tolerations)
83+ tolerations : []
84+
85+ resources : {}
6886 # limits:
6987 # cpu: 100m
7088 # memory: 128Mi
@@ -89,10 +107,13 @@ mastodon:
89107 successThreshold : 1
90108 failureThreshold : 3
91109
110+ # Node selector for web (This takes precedence over the global nodeSelector)
92111 nodeSelector : {}
93112
94- resources :
95- {}
113+ # Tolerations for web (This takes precedence over the global tolerations)
114+ tolerations : []
115+
116+ resources : {}
96117 # limits:
97118 # cpu: 100m
98119 # memory: 128Mi
@@ -101,9 +122,10 @@ mastodon:
101122 # memory: 128Mi
102123
103124 cron :
104- # run `tootctl media remove` every week
105125 removeMedia :
126+ # Enable the media removal cron job
106127 enabled : true
128+ # Cron schedule for media removal (runs `tootctl media remove` every week by default)
107129 schedule : " 0 0 * * 0"
108130
109131 secrets :
@@ -219,14 +241,15 @@ serviceAccount:
219241 # If not set and create is true, a name is generated using the fullname template
220242 name : " mastodon-sa"
221243
244+ # Annotations to add to all pods
222245podAnnotations : {}
223246
224- podSecurityContext :
225- {}
247+ # Security context for all pods
248+ podSecurityContext : {}
226249 # fsGroup: 2000
227250
228- securityContext :
229- {}
251+ # Security context for containers
252+ securityContext : {}
230253 # capabilities:
231254 # drop:
232255 # - ALL
@@ -249,14 +272,12 @@ ingress:
249272 paths :
250273 - path : /
251274 pathType : ImplementationSpecific
252- tls :
253- []
275+ tls : []
254276 # - secretName: josa.social-tls
255277 # hosts:
256278 # - example.com
257279
258- resources :
259- {}
280+ resources : {}
260281 # We usually recommend not to specify default resources and to leave this as a conscious
261282 # choice for the user. This also increases chances charts run on environments with little
262283 # resources, such as Minikube. If you do want to specify resources, uncomment the following
@@ -275,11 +296,8 @@ autoscaling:
275296 targetCPUUtilizationPercentage : 80
276297 # targetMemoryUtilizationPercentage: 80
277298
278- nodeSelector : {}
279-
280- tolerations : []
281-
282299# The annotations set with jobAnnotations will be added to all job pods.
283300jobAnnotations : {}
284301
302+ # Affinity rules for pod scheduling
285303affinity : {}
0 commit comments