From 8f9bffc08054f5d97b6ca93567a7e2baeb8814b6 Mon Sep 17 00:00:00 2001 From: kappa Date: Tue, 17 Mar 2026 16:55:44 +0900 Subject: [PATCH] =?UTF-8?q?gitea:=20=EC=9B=B9=20=EB=A1=9C=EA=B7=B8?= =?UTF-8?q?=EC=9D=B8=20=EB=B9=84=EB=B0=80=EB=B2=88=ED=98=B8=20=EB=A6=AC?= =?UTF-8?q?=EC=85=8B=20=EB=B0=A9=EB=B2=95=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/gitea.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/services/gitea.md b/services/gitea.md index 6d82e7a..38ed9c3 100644 --- a/services/gitea.md +++ b/services/gitea.md @@ -1,6 +1,6 @@ --- title: Gitea 서버 및 CI/CD -updated: 2026-03-15 +updated: 2026-03-17 --- ## 서버 @@ -48,3 +48,17 @@ K8s CronJob `gitea-backup` (매일 03:00 UTC): - `gitea dump` → `/backup/gitea-dump-*.tar.gz` - 7일 보존, Longhorn PVC 10Gi - 매니페스트: `~/k8s/gitea/backup-cronjob.yaml` + +## 트러블슈팅 + +### 웹 로그인 안 될 때 비밀번호 리셋 + +```bash +curl -s -X PATCH "https://gitea.anvil.it.com/api/v1/admin/users/kaffa" \ + -H "Authorization: token " \ + -H "Content-Type: application/json" \ + -d '{"password":"","must_change_password":false,"login_name":"kaffa","source_id":0}' +``` + +- API 토큰, 비밀번호: Vault `secret/apps/gitea` +- 2026-03-17 웹 로그인 불가 → API로 비밀번호 리셋하여 해결