Store Gitea data (avatars, attachments, etc.) in Garage/S3 #451

Merged
greg merged 1 commits from feature/gitea_s3 into feature/garage 2022-11-26 16:19:19 +00:00
Owner

This configures Gitea to use a local Garage gateway node to store and retrieve all non-git data in our new Garage cluster.

Also adds a new garage_gateway role, which only allows RPC (inter-node) traffic to Garage.

Tested/running on gitea-2, and I have migrated the existing data to Garage using mc mirror (installed manually for this purpose, since it's easy enough and not necessary for other tasks at the moment). I have also tested taking down the node in DC4, which resulted in the expected behavior, i.e. Gitea will still be able to read all data, but not write new data while one zone is unavailable (until/unless the cluster's replication mode is changed if necessary).

This configures Gitea to use a local Garage gateway node to store and retrieve all non-git data in our new Garage cluster. Also adds a new `garage_gateway` role, which only allows RPC (inter-node) traffic to Garage. Tested/running on `gitea-2`, and I have migrated the existing data to Garage using `mc mirror` (installed manually for this purpose, since it's easy enough and not necessary for other tasks at the moment). I have also tested taking down the node in DC4, which resulted in the expected behavior, i.e. Gitea will still be able to read all data, but not write new data while one zone is unavailable (until/unless the cluster's replication mode is changed if necessary).
raucao added the
kredits-2
label 2022-11-26 14:21:58 +00:00
raucao added 1 commit 2022-11-26 14:21:58 +00:00
e0fb84e56c
Store Gitea data (avatars, attachments, etc.) in Garage/S3
Also adds a new garage gateway role, which only allows RPC (inter-node)
traffic to Garage.
raucao requested review from greg 2022-11-26 14:24:30 +00:00
greg approved these changes 2022-11-26 16:19:11 +00:00
greg left a comment
Owner

Looking good!

Looking good!
greg merged commit 3df9611a9d into feature/garage 2022-11-26 16:19:19 +00:00
greg deleted branch feature/gitea_s3 2022-11-26 16:19:19 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: kosmos/chef#451
No description provided.