From 45dc6a383aa7a9e48dacf01f27773aecee0221ab Mon Sep 17 00:00:00 2001 From: Peter Kurfer Date: Tue, 7 May 2024 11:10:16 +0200 Subject: [PATCH] chore(forgejo): migrate to Garage --- forgejo/config/values.forgejo.yaml | 24 ++++++++---------- .../resources/secrets/infra-credentials.yaml | Bin 976 -> 964 bytes 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/forgejo/config/values.forgejo.yaml b/forgejo/config/values.forgejo.yaml index 1a45bb8..ca1f8a2 100644 --- a/forgejo/config/values.forgejo.yaml +++ b/forgejo/config/values.forgejo.yaml @@ -62,14 +62,13 @@ gitea: DEFAULT_USER_IS_RESTRICTED: 'true' session: PROVIDER: redis - PROVIDER_CONFIG: redis://forgejo-session.forgejo.svc.cluster.local:6379/0?pool_size=100&idle_timeout=180s& + PROVIDER_CONFIG: redis://forgejo-session.forgejo.svc:6379/0?pool_size=100&idle_timeout=180s& storage: STORAGE_TYPE: minio - MINIO_ENDPOINT: 2df513adaee2eeae12106af900bed297.r2.cloudflarestorage.com:443 - MINIO_BUCKET: gitea - MINIO_LOCATION: us-east-1 - MINIO_USE_SSL: 'true' - MINIO_CHECKSUM_ALGORITHM: md5 + MINIO_ENDPOINT: garage.garage.svc:3900 + MINIO_BUCKET: forgejo + MINIO_LOCATION: hel1 + MINIO_USE_SSL: 'false' indexer: ISSUE_INDEXER_TYPE: meilisearch ISSUE_INDEXER_NAME: gitea_issues @@ -82,11 +81,10 @@ gitea: MAX_SIZE: 30 MAX_FILES: 15 STORAGE_TYPE: minio - MINIO_ENDPOINT: 2df513adaee2eeae12106af900bed297.r2.cloudflarestorage.com:443 - MINIO_BUCKET: gitea - MINIO_LOCATION: us-east-1 - MINIO_USE_SSL: 'true' - MINIO_CHECKSUM_ALGORITHM: md5 + MINIO_ENDPOINT: garage.garage.svc:3900 + MINIO_BUCKET: forgejo + MINIO_LOCATION: hel1 + MINIO_USE_SSL: 'false' actions: ENABLED: 'true' DEFAULT_ACTIONS_URL: github @@ -101,10 +99,10 @@ gitea: cache: ENABLED: true ADAPTER: redis - HOST: redis://forgejo-session.forgejo.svc.cluster.local:6379/0?pool_size=100&idle_timeout=180s& + HOST: redis://forgejo-session.forgejo.svc:6379/0?pool_size=100&idle_timeout=180s& queue: TYPE: redis - CONN_STR: redis://forgejo-session.forgejo.svc.cluster.local:6379/0?pool_size=100&idle_timeout=180s& + CONN_STR: redis://forgejo-session.forgejo.svc:6379/0?pool_size=100&idle_timeout=180s& metrics: ENABLED: true diff --git a/forgejo/resources/secrets/infra-credentials.yaml b/forgejo/resources/secrets/infra-credentials.yaml index 476f10ea7f9bd9c8a3137f8368bd2aaa2fe090c9..0f9a1ba54348c242ff9723419156a46f9939b959 100644 GIT binary patch delta 946 zcmV;j15NzU2gC=EAb)dna%nk5c~MGLc{X})Sy)UtOlo&WOgC#*Z!<(sH&aPkD@{{& zMR86>O$t{uYECdKPIy5uHDgeCGI3gTMov&uMp0o%QEOCYOG8*yHCkzJT2fg^K?*HC zAXqXrH8D9LNkmySbZ%!=VQ4{DN>NvIQdCn#YcfMHLupZCQGZV_H+OAuLN9o9L^DWh z3UqTZN@;6vNNjgwdQ5dhHdc6IIc-E$IZ8^oQbWV%mLSd&H|2@Wj{?6EKP-EAXBNvS=E9;}2q)Z9V+He37tf2sO9sx<+3t z`_+O<#=6t!bpcT#A1gie0f*WH*za`PpE-ynkF}|pj(;4|-LRpOXi%Dz9#<~IuB50Y z8b$&QqX<%~-8wfHx;>arLl!THOuOqRi^=U(D<=w>#0r#R8Ql9m`0a`)4Uw#-2z5s-o>f)qcSm>Z4r zLt-n(D6K7>Btp+ypA)!(fVR0cpGw%TqSo{FTwYhE1z9fnIh0Pw7v4oAL!^&GV^d2O zE!n&vXeE5HXelb=Eu<9|+~bD|d;Ej(H%JnHb3A96(QIUGb>NpRTBQ$Jw8>W)Ul>&q zZhzy%oz%3qh2OyM;ih+04YjKdx6g2l$(Ddq#+fpD^Wwb%#Uw8(;xa_i|1UAylzr?N zOXh6j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