3
0
mirror of https://github.com/mastodon/chart synced 2024-10-22 19:02:44 +00:00
Commit Graph

71 Commits

Author SHA1 Message Date
Lex
ce837a852a
Add alternate domains to Helm chart (#2) 2024-04-18 07:22:56 -07:00
Paolo Mainardi
349f76c610
feat: add configurable timezone (#42)
Co-authored-by: Tim Campbell <timetinytim@gmail.com>
2024-04-18 07:20:45 -07:00
Alexander "Ananace" Olofsson
d6d3f428a3
Fix container create error on unauthenticated SMTP (#49) 2024-04-18 07:12:36 -07:00
T. Hinrichsmeyer
6c902dccac
Add s3.mastodon.multipart_threshold config option (#67)
Co-authored-by: Tim Campbell <timetinytim@gmail.com>
2024-04-18 07:10:26 -07:00
Jeremiah Lee
1cce47b250
Change default Secret name to not rely on Bitnami (#82) 2024-04-18 06:42:06 -07:00
Matthew Abbott
674d9c4252
Add values to inject trusted certs into streaming (#92)
Co-authored-by: Tim Campbell <timetinytim@gmail.com>
2024-04-18 02:47:34 -07:00
Tim Campbell
2a7be687cd Added values for active record encryption 2024-04-17 16:04:48 +02:00
Matthew Abbott
3143ab1e34
Add S3_OVERRIDE_PATH_STYLE to mastodon-env ConfigMap (#94) 2024-03-12 06:49:53 -07:00
Jim Myhrberg
8e5ab7c068
feat(deployments): make spec.revisionHistoryLimit configurable (#121) 2024-02-16 02:32:01 -08:00
Alistair Young
84f04add25
Enable supplementary environment variables. (#69)
Co-authored-by: Tim Campbell <timetinytim@gmail.com>
2024-02-15 23:59:05 -08:00
lleyton
ef9e071c38
Use unique annotation key for smtp secret checksum (#48) (#51) 2024-02-14 09:08:13 -08:00
James Hammett
826d6e945f
add tolerations specific to web deployment to template (#100)
Co-authored-by: Norman <85173861+norman-zon@users.noreply.github.com>
Co-authored-by: Alex Nordlund <deep.alexander@gmail.com>
Co-authored-by: Effy Elden <effy@effy.space>
Co-authored-by: Sheogorath <sheogorath@shivering-isles.com>
Co-authored-by: Chris Funderburg <chris@funderburg.me>
Co-authored-by: Roberto Santalla <roobre@roobre.es>
Co-authored-by: Radim Dostál <radim.dostal@teta.eu>
Co-authored-by: Jim Myhrberg <contact@jimeh.me>
Co-authored-by: David Sanftenberg <david.sanftenberg@gmail.com>
Co-authored-by: Alexander "Ananace" Olofsson <me+github@ananace.dev>
Co-authored-by: Renaud Chaput <renchap@gmail.com>
Co-authored-by: Varac <varac@varac.net>
Co-authored-by: Cees-Jan Kiewiet <ceesjank@gmail.com>
Co-authored-by: Tim Campbell <timetinytim@gmail.com>
2024-02-02 05:03:35 -08:00
Tim Campbell
fba8496f01
Quick rearrange for ES_PRESET, add to values file (#114) 2024-01-19 03:52:00 -08:00
Tim Campbell
5527809faf
Added custom volume mounts, additional small tweaks to match internal (#115) 2024-01-19 03:39:42 -08:00
James Hammett
9cb9df98b6
add ES_PRESET environment variable (#98)
Co-authored-by: Tim Campbell <timetinytim@gmail.com>
2024-01-11 04:19:42 -08:00
YDKK
da64454fc3
fix accessModes misreference in pcv-assets (#112) 2024-01-11 04:01:40 -08:00
Tim Campbell
0072b14a6a
Add support for read replica (#105) 2024-01-11 03:56:14 -08:00
Tim Campbell
8f5e9dc971
Add options for hcaptcha and cachebuster (#108) 2024-01-11 03:56:04 -08:00
Tim Campbell
0c7466501c
Custom docker images and database configs (#110) 2023-12-18 04:45:00 -08:00
Tim Campbell
61b643b05d
Add separate streaming ingress object (#111) 2023-12-15 13:48:00 -08:00
Tim Campbell
6d5a6004e3 Add topology spread constraints 2023-12-15 18:36:25 +01:00
Tim Campbell
905f78fd72
Additional Elasticsearch options (#106) 2023-12-14 23:11:13 -08:00
Tim Campbell
03ea7244d7 Add deepl configuration 2023-12-14 22:57:00 +01:00
Tim Campbell
4e742ac8e1 Add global labels 2023-12-14 21:40:18 +01:00
Tim Campbell
bc19788acc Add sidecar capability for statsd 2023-12-12 10:47:18 +01:00
Tim Campbell
8014703818 Add hooks to jobs 2023-12-12 10:24:37 +01:00
Tim Campbell
1d0879b3c9 Add extra env vars 2023-12-12 10:24:23 +01:00
Tim Campbell
4b6fd9f7e6 Rename deployment annotations var, allow deploy-specific annotations 2023-04-21 18:16:21 +02:00
Tim Campbell
8f612abc72 Added deployment annotations to chart 2023-04-21 18:16:21 +02:00
Tim Campbell
1b503bb6b3 Added SMTP_RETURN_PATH option 2023-04-12 18:04:17 +02:00
Cees-Jan Kiewiet
3934da1d21 Add the PREPARED_STATEMENTS environment variable and set it to its default value
Being able to control it can be useful in situations where prepared statements don't work as expected. Once such case can be pgbouncer as provided by DigitalOcean for connection pooling.
2023-02-22 15:00:11 +01:00
Varac
6e6f8a36d1 Fix streaming route
Until now, only /api/v1/streaming/ was routed to the streaming
pod, while /api/v1/streaming/* was falsely routed to the web pod,
which returned 404 for each request.
Now everything below /api/v1/streaming will reach the streaming pod.

Fixes: #36
2023-02-20 11:02:37 +01:00
Alexander "Ananace" Olofsson
4fda7eea97
Fix and improve LDAP configuration (#3)
Co-authored-by: Renaud Chaput <renchap@gmail.com>
2023-02-17 22:13:19 +01:00
Roberto Santalla
9806bbc8b1 add checksum for smtp secret to sidekiq deployments 2023-02-17 21:49:55 +01:00
Roberto Santalla
b4302e04e6 store smtp credentials on a secret 2023-02-17 21:49:55 +01:00
David Sanftenberg
41152e0ed3 Fix alias_host break on bad var reference (#34) 2023-02-17 21:40:06 +01:00
Jim Myhrberg
f5e3c27ab6 feat(helm-chart): add values for various Puma related settings 2023-02-17 18:58:04 +01:00
Effy Elden
61194296af allow custom S3_PERMISSION env 2023-02-17 18:57:26 +01:00
Radim Dostál
a227f91a7f limited federation mode support 2023-02-17 18:56:35 +01:00
Roberto Santalla
890042fed8 allow to opt-out from rollme annotation 2023-02-17 18:55:21 +01:00
Alex Nordlund
ae892d539e
Refactor chart sidekiq queues (#1)
Co-authored-by: Effy Elden <effy@effy.space>
Co-authored-by: Sheogorath <sheogorath@shivering-isles.com>
Co-authored-by: Chris Funderburg <chris@funderburg.me>
2022-12-03 05:44:39 +01:00
Norman
543fdf7446
allow external redis instance (#6) 2022-12-01 06:41:51 +01:00
Erik Sundell
d74c7876c2 helm: Add helm chart tests (#20394)
* helm: Fix consistent list indentation

* helm: Add helm lint and helm template tests

* helm: Add helm template --validate test

* helm: Add helm install test
2022-11-13 22:22:07 +01:00
Cees-Jan Kiewiet
92f1734590 Add the option to configure external postgresql port (#20370)
While the normal assumption of port `5432` for a postgresql server is pretty reliable I found that DigitalOcean puts them on a somewhat random port. This adds the ability to specify the port in the helm chart.
2022-11-13 21:06:03 +01:00
Alex Nordlund
349aa7746f Helm: support statsd publishing (#20455)
* Allow statsd publishing from Helm

* Apply suggestions from code review

Co-authored-by: Erik Sundell <erik.i.sundell@gmail.com>

Co-authored-by: Erik Sundell <erik.i.sundell@gmail.com>
2022-11-13 21:05:30 +01:00
Erik Sundell
dc19e233b5 helm: fix consistent indentation, chomping, and use of with (#19918) 2022-11-10 23:24:39 +01:00
F
f0d8cc8184 Make enable_starttls configurable by envvars (#20321)
ENABLE_STARTTLS is designed to replace ENABLE_STARTTLS_AUTO by accepting
three values: 'auto' (the default), 'always', and 'never'. If
ENABLE_STARTTLS isn't provided, we fall back to ENABLE_STARTTLS_AUTO. In
this way, this change should be fully backwards compatible.

Resolves #20311
2022-11-10 21:06:21 +01:00
Joe Friedl
87fca05465 Give web container time to start (#19828) 2022-11-10 19:16:49 +01:00
mickkael
3d9c22eb54 Helm chart improved for ingress (#19826)
* ingressClassName

* ingress values must be optional
2022-11-10 19:11:25 +01:00
Sheogorath
730e165b36 fix(chart): Fix gitops-incompatible random rolling (#20184)
This patch reworks the Pod rolling mechanism, which is supposed to update Pods
with each migration run, but since the it generates a new random value on each
helm execution, this will constantly roll all pods in a GitOps driven deployment,
which reconciles the helm release.

This is resolved by fixing the upgrade to the `.Release.Revision`, which should
stay identical, unless config or helm release version have been changed. Further
it introduces automatic rolls based on adjustments to the environment variables
and secrets.

The implementation uses a helper template, following the 1-2-N rule, and omitting
code duplication.

References:
https://helm.sh/docs/chart_template_guide/builtin_objects/
https://helm.sh/docs/howto/charts_tips_and_tricks/#automatically-roll-deployments
2022-11-10 19:10:38 +01:00