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

12 Commits

Author SHA1 Message Date
Tim Campbell
336f736a5c
Additional redis configuration options (#134) 2024-05-14 13:39:02 -07:00
JesseBot
69df6394ae
Add mastodon.persistence.assets.existingClaim and mastodon.persistence.assets.existingClaim (#79)
Signed-off-by: jessebot <jessebot@linux.com>
Co-authored-by: Tim Campbell <timetinytim@gmail.com>
2024-04-23 02:22:42 -07:00
Jeremiah Lee
2a6b7cf30b
Add existing Redis instance password to new Secret (#81) 2024-04-22 00:36:02 -07:00
Tim Campbell
2a7be687cd Added values for active record encryption 2024-04-17 16:04:48 +02:00
Tim Campbell
905f78fd72
Additional Elasticsearch options (#106) 2023-12-14 23:11:13 -08:00
Tim Campbell
4e742ac8e1 Add global labels 2023-12-14 21:40:18 +01:00
Roberto Santalla
b4302e04e6 store smtp credentials on a secret 2023-02-17 21:49:55 +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
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
Alex Nordlund
e237efdb4e Fix broken dependencies in helm chart and allow using existing secrets in the chart (#18941)
* Add ability to specify an existing Secret (#18139)

Closes #18139

* Allow using secrets with external postgres

* Upgrade CronJob to batch/v1

* Allow using redis.auth.existingSecret

* Helmignore mastodon-*.tgz for easy local development

* Upgrade helm dependencies

* Upgrade postgresql to 11

* Allow putting SMTP password into a secret

* Add optional login to SMTP secret

This to allow setting LOGIN either in values.yaml or
in the secret.

* Switch to bitnami charts full archive

This prevents older versions from disappearing, see
https://github.com/bitnami/charts/issues/10539 for
full context.

Co-authored-by: Ted Tramonte <ted.tramonte@gmail.com>
2022-08-10 17:12:58 +02:00
Alex Dunn
b451111a46 Add Helm chart (#14090)
* add Helm chart

known issues/future work:

- SSO is unsupported

- S3/Minio/GCS is unsupported

- Swift is unsupported

- WEB_DOMAIN is unsupported

- Tor is unsupported

* helm: clarify how LOCAL_DOMAIN is set

* helm: add chart description

* helm: make DB_POOL and Sidekiq concurrency configurable

* helm: only enforce pod affinity when using ReadWriteOnce

* helm: clarify compatibility

* helm: clean up application variables

* helm: add job to create initial admin
2020-06-29 13:58:48 +02:00