fix(forgejo): autoriser *.github.com + *.githubusercontent.com pour la migration/miroir

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 <noreply@anthropic.com>
This commit is contained in:
alkatrazz 2026-07-08 00:12:34 +02:00
parent 46298871fb
commit fea8b4548d

View file

@ -65,8 +65,12 @@ spec:
secretKeyRef: secretKeyRef:
name: forgejo-secret name: forgejo-secret
key: secret-key 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 <hôte> ».
- name: FORGEJO__migrations__ALLOWED_DOMAINS - name: FORGEJO__migrations__ALLOWED_DOMAINS
value: "github.com" # miroir : ne tire que depuis GitHub value: "github.com,*.github.com,*.githubusercontent.com"
- name: USER_UID - name: USER_UID
value: "1000" value: "1000"
- name: USER_GID - name: USER_GID