From be695bd437140fd8076e9535109ddf5856d2bacd Mon Sep 17 00:00:00 2001 From: ALI YESILKAYA Date: Wed, 8 Jul 2026 00:14:13 +0200 Subject: [PATCH] fix(forgejo): autoriser *.github.com + *.githubusercontent.com pour la migration/miroir (#99) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ALLOWED_DOMAINS=github.com bloquait api.github.com (importer GitHub : issues/releases) → échec de migration. Ajout de *.github.com (api/codeload) et *.githubusercontent.com (assets de release) pour couvrir toute la migration. Co-authored-by: Claude Opus 4.8 --- k8s/apps/forgejo/deployment.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/k8s/apps/forgejo/deployment.yaml b/k8s/apps/forgejo/deployment.yaml index 3e2c775..6a582ce 100644 --- a/k8s/apps/forgejo/deployment.yaml +++ b/k8s/apps/forgejo/deployment.yaml @@ -65,8 +65,12 @@ spec: secretKeyRef: name: forgejo-secret key: secret-key + # Miroir : ne tire que depuis GitHub. La migration appelle plusieurs hôtes : + # api.github.com (issues/releases), codeload.github.com (archives) et + # objects.githubusercontent.com (assets de release) — sinon + # « migration can only call allowed HTTP servers ... deny ». - name: FORGEJO__migrations__ALLOWED_DOMAINS - value: "github.com" # miroir : ne tire que depuis GitHub + value: "github.com,*.github.com,*.githubusercontent.com" - name: USER_UID value: "1000" - name: USER_GID